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 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
374 #define SWIG_From_signed_SS_char PyInt_FromLong
376 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
377 #define SWIG_From_unsigned_SS_char PyInt_FromLong
379 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
380 #define SWIG_From_short PyInt_FromLong
382 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
383 #define SWIG_From_unsigned_SS_short PyInt_FromLong
385 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
386 #define SWIG_From_int PyInt_FromLong
388 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
389 #define SWIG_From_long PyInt_FromLong
391 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
392 #define SWIG_From_float PyFloat_FromDouble
394 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
395 #define SWIG_From_double PyFloat_FromDouble
399 #include "wx/wxPython/wxPython_int.h"
400 #include "wx/wxPython/pyclasses.h"
403 #ifndef wxPyUSE_EXPORT
404 // Helper functions for dealing with SWIG objects and such. These are
405 // located here so they know about the SWIG types and functions declared
406 // in the wrapper code.
408 #include <wx/hashmap.h>
409 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
412 // Maintains a hashmap of className to swig_type_info pointers. Given the
413 // name of a class either looks up the type info in the cache, or scans the
414 // SWIG tables for it.
415 extern PyObject
* wxPyPtrTypeMap
;
417 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
419 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
421 if (typeInfoCache
== NULL
)
422 typeInfoCache
= new wxPyTypeInfoHashMap
;
424 wxString
name(className
);
425 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
428 // it wasn't in the cache, so look it up from SWIG
429 name
.Append(wxT(" *"));
430 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
432 // if it still wasn't found, try looking for a mapped name
437 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
438 (char*)(const char*)name
.mbc_str())) != NULL
) {
439 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
440 name
.Append(wxT(" *"));
441 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
445 // and add it to the map if found
446 (*typeInfoCache
)[className
] = swigType
;
453 // Check if a class name is a type known to SWIG
454 bool wxPyCheckSwigType(const wxChar
* className
) {
456 swig_type_info
* swigType
= wxPyFindSwigType(className
);
457 return swigType
!= NULL
;
461 // Given a pointer to a C++ object and a class name, construct a Python proxy
463 PyObject
* wxPyConstructObject(void* ptr
,
464 const wxChar
* className
,
467 swig_type_info
* swigType
= wxPyFindSwigType(className
);
468 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
470 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
474 // Extract a pointer to the wrapped C++ object from a Python proxy object.
475 // Ensures that the proxy object is of the specified (or derived) type. If
476 // not able to perform the conversion then a Python exception is set and the
477 // error should be handled properly in the caller. Returns True on success.
478 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
479 const wxChar
* className
) {
481 swig_type_info
* swigType
= wxPyFindSwigType(className
);
482 wxCHECK_MSG(swigType
!= NULL
, False
, wxT("Unknown type in wxPyConvertSwigPtr"));
484 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
488 // Make a SWIGified pointer object suitable for a .this attribute
489 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
491 PyObject
* robj
= NULL
;
493 swig_type_info
* swigType
= wxPyFindSwigType(className
);
494 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
496 #ifdef SWIG_COBJECT_TYPES
497 robj
= PyCObject_FromVoidPtrAndDesc((void *) ptr
, (char *) swigType
->name
, NULL
);
503 r
= SWIG_Python_PackData(r
, &ptr
, sizeof(void *));
504 strcpy(r
, swigType
->name
);
505 robj
= PyString_FromString(result
);
515 // Export a C API in a struct. Other modules will be able to load this from
516 // the wx._core_ module and will then have safe access to these functions,
517 // even if they are located in another shared library.
518 static wxPyCoreAPI API
= {
520 (p_SWIG_Python_TypeRegister_t
)SWIG_Python_TypeRegister
,
521 (p_SWIG_Python_TypeCheck_t
)SWIG_Python_TypeCheck
,
522 (p_SWIG_Python_TypeCast_t
)SWIG_Python_TypeCast
,
523 (p_SWIG_Python_TypeDynamicCast_t
)SWIG_Python_TypeDynamicCast
,
524 (p_SWIG_Python_TypeName_t
)SWIG_Python_TypeName
,
525 (p_SWIG_Python_TypePrettyName_t
)SWIG_Python_TypePrettyName
,
526 (p_SWIG_Python_TypeQuery_t
)SWIG_Python_TypeQuery
,
527 (p_SWIG_Python_TypeClientData_t
)SWIG_Python_TypeClientData
,
528 (p_SWIG_Python_newvarlink_t
)SWIG_Python_newvarlink
,
529 (p_SWIG_Python_addvarlink_t
)SWIG_Python_addvarlink
,
530 (p_SWIG_Python_ConvertPtr_t
)SWIG_Python_ConvertPtr
,
531 (p_SWIG_Python_ConvertPacked_t
)SWIG_Python_ConvertPacked
,
532 (p_SWIG_Python_PackData_t
)SWIG_Python_PackData
,
533 (p_SWIG_Python_UnpackData_t
)SWIG_Python_UnpackData
,
534 (p_SWIG_Python_NewPointerObj_t
)SWIG_Python_NewPointerObj
,
535 (p_SWIG_Python_NewPackedObj_t
)SWIG_Python_NewPackedObj
,
536 (p_SWIG_Python_InstallConstants_t
)SWIG_Python_InstallConstants
,
537 (p_SWIG_Python_MustGetPtr_t
)SWIG_Python_MustGetPtr
,
544 wxPyBeginAllowThreads
,
546 wxPyBeginBlockThreads
,
560 wxBitmap_LIST_helper
,
561 wxString_LIST_helper
,
562 wxAcceleratorEntry_LIST_helper
,
571 wxPySimple_typecheck
,
574 wxPyCBH_setCallbackInfo
,
575 wxPyCBH_findCallback
,
576 wxPyCBH_callCallback
,
577 wxPyCBH_callCallbackObj
,
585 wxArrayString2PyList_helper
,
586 wxArrayInt2PyList_helper
,
590 wxPyOORClientData_dtor
,
592 wxPyCBInputStream_create
,
595 wxPySwigInstance_Check
,
605 enum wxHotkeyModifier
613 #define wxEVT_HOTKEY 9999
616 static const wxString
wxPyEmptyString(wxEmptyString
);
617 wxString
wxObject_GetClassName(wxObject
*self
){
618 return self
->GetClassInfo()->GetClassName();
620 void wxObject_Destroy(wxObject
*self
){
625 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
632 SWIGSTATICINLINE(int)
633 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
636 if (value
< min_value
) {
638 PyErr_Format(PyExc_OverflowError
,
639 "value %ld is less than '%s' minimum %ld",
640 value
, errmsg
, min_value
);
643 } else if (value
> max_value
) {
645 PyErr_Format(PyExc_OverflowError
,
646 "value %ld is greater than '%s' maximum %ld",
647 value
, errmsg
, max_value
);
655 // See my_fragments.i
656 SWIGSTATICINLINE(int)
657 SWIG_AsVal_long(PyObject
* obj
, long* val
)
659 if (PyNumber_Check(obj
)) {
660 if (val
) *val
= PyInt_AsLong(obj
);
664 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
665 obj
->ob_type
->tp_name
);
666 PyErr_SetObject(PyExc_TypeError
, errmsg
);
673 #if INT_MAX != LONG_MAX
674 SWIGSTATICINLINE(int)
675 SWIG_AsVal_int(PyObject
*obj
, int *val
)
677 const char* errmsg
= val
? "int" : 0;
679 if (SWIG_AsVal_long(obj
, &v
)) {
680 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
681 if (val
) *val
= swig_numeric_cast(v
, int);
690 PyErr_SetString(PyExc_TypeError
, "an int is expected");
695 SWIGSTATICINLINE(int)
696 SWIG_AsVal_int(PyObject
*obj
, int *val
)
698 return SWIG_AsVal_long(obj
,(long*)val
);
703 SWIGSTATICINLINE(int)
704 SWIG_As_int(PyObject
* obj
)
707 if (!SWIG_AsVal_int(obj
, &v
)) {
709 this is needed to make valgrind/purify happier. the other
710 solution is throw an exception, but since this code should work
713 memset((void*)&v
, 0, sizeof(int));
719 SWIGSTATICINLINE(int)
720 SWIG_Check_int(PyObject
* obj
)
722 return SWIG_AsVal_int(obj
, (int*)0);
725 PyObject
*wxSize_Get(wxSize
*self
){
726 bool blocked
= wxPyBeginBlockThreads();
727 PyObject
* tup
= PyTuple_New(2);
728 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
729 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
730 wxPyEndBlockThreads(blocked
);
734 // See my_fragments.i
735 SWIGSTATICINLINE(int)
736 SWIG_AsVal_double(PyObject
*obj
, double* val
)
738 if (PyNumber_Check(obj
)) {
739 if (val
) *val
= PyFloat_AsDouble(obj
);
743 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
744 obj
->ob_type
->tp_name
);
745 PyErr_SetObject(PyExc_TypeError
, errmsg
);
752 SWIGSTATICINLINE(double)
753 SWIG_As_double(PyObject
* obj
)
756 if (!SWIG_AsVal_double(obj
, &v
)) {
758 this is needed to make valgrind/purify happier. the other
759 solution is throw an exception, but since this code should work
762 memset((void*)&v
, 0, sizeof(double));
768 SWIGSTATICINLINE(int)
769 SWIG_Check_double(PyObject
* obj
)
771 return SWIG_AsVal_double(obj
, (double*)0);
774 void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
778 PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
779 bool blocked
= wxPyBeginBlockThreads();
780 PyObject
* tup
= PyTuple_New(2);
781 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
782 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
783 wxPyEndBlockThreads(blocked
);
787 SWIGSTATICINLINE(long)
788 SWIG_As_long(PyObject
* obj
)
791 if (!SWIG_AsVal_long(obj
, &v
)) {
793 this is needed to make valgrind/purify happier. the other
794 solution is throw an exception, but since this code should work
797 memset((void*)&v
, 0, sizeof(long));
803 SWIGSTATICINLINE(int)
804 SWIG_Check_long(PyObject
* obj
)
806 return SWIG_AsVal_long(obj
, (long*)0);
809 void wxPoint_Set(wxPoint
*self
,long x
,long y
){
813 PyObject
*wxPoint_Get(wxPoint
*self
){
814 bool blocked
= wxPyBeginBlockThreads();
815 PyObject
* tup
= PyTuple_New(2);
816 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
817 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
818 wxPyEndBlockThreads(blocked
);
821 void wxRect_Set(wxRect
*self
,int x
,int y
,int width
,int height
){
825 self
->height
= height
;
827 PyObject
*wxRect_Get(wxRect
*self
){
828 bool blocked
= wxPyBeginBlockThreads();
829 PyObject
* tup
= PyTuple_New(4);
830 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
831 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
832 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
833 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
834 wxPyEndBlockThreads(blocked
);
838 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
841 wxRect
dest(0,0,0,0);
844 reg1
.Intersect(reg2
);
845 dest
= reg1
.GetBox();
847 if (dest
!= wxRect(0,0,0,0)) {
848 bool blocked
= wxPyBeginBlockThreads();
849 wxRect
* newRect
= new wxRect(dest
);
850 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), True
);
851 wxPyEndBlockThreads(blocked
);
859 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
865 } else if (target
== Py_None
) {
870 target
= PyTuple_New(1);
871 PyTuple_SetItem(target
, 0, o2
);
874 PyTuple_SetItem(o3
, 0, o
);
877 target
= PySequence_Concat(o2
, o3
);
885 void wxPoint2D_Set(wxPoint2D
*self
,double x
,double y
){
889 PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
890 bool blocked
= wxPyBeginBlockThreads();
891 PyObject
* tup
= PyTuple_New(2);
892 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
893 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
894 wxPyEndBlockThreads(blocked
);
898 #include "wx/wxPython/pyistream.h"
900 wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
901 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
903 return new wxPyInputStream(wxis
);
908 SWIGSTATICINLINE(PyObject
*)
909 SWIG_From_char(char c
)
911 return PyString_FromStringAndSize(&c
,1);
915 SWIGSTATICINLINE(PyObject
* )
916 SWIG_From_unsigned_SS_long(unsigned long value
)
918 return (value
> LONG_MAX
) ?
919 PyLong_FromUnsignedLong(value
)
920 : PyInt_FromLong(swig_numeric_cast(value
,long));
924 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
926 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
)
928 static swig_type_info
* pchar_info
= 0;
930 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
931 if (SWIG_ConvertPtr(obj
, (void**)&vptr
, pchar_info
, 0) != -1) {
932 if (cptr
) *cptr
= vptr
;
933 if (psize
) *psize
= vptr
? (strlen(vptr
) + 1) : 0;
936 if (PyString_Check(obj
)) {
938 *cptr
= PyString_AS_STRING(obj
);
940 *psize
= PyString_GET_SIZE(obj
) + 1;
947 PyErr_SetString(PyExc_TypeError
, "a string is expected");
954 SWIG_AsCharArray(PyObject
*obj
, char *val
, size_t size
)
956 char* cptr
; size_t csize
;
957 if (SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
)) {
962 ie, assing the array using an extra '0' char.
964 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
967 if (csize
) memcpy(val
, cptr
, csize
);
968 if (csize
< size
) memset(val
+ csize
, 0, size
- csize
);
974 PyErr_Format(PyExc_TypeError
,
975 "a char array of maximum size %ld is expected",
982 SWIGSTATICINLINE(int)
983 SWIG_AsVal_char(PyObject
*obj
, char *val
)
985 const char* errmsg
= val
? "char" : 0;
987 if (SWIG_AsVal_long(obj
, &v
)) {
988 if (SWIG_CheckLongInRange(v
, CHAR_MIN
,CHAR_MAX
, errmsg
)) {
996 return SWIG_AsCharArray(obj
, val
, 1);
1001 SWIGSTATICINLINE(char)
1002 SWIG_As_char(PyObject
* obj
)
1005 if (!SWIG_AsVal_char(obj
, &v
)) {
1007 this is needed to make valgrind/purify happier. the other
1008 solution is throw an exception, but since this code should work
1011 memset((void*)&v
, 0, sizeof(char));
1017 SWIGSTATICINLINE(int)
1018 SWIG_Check_char(PyObject
* obj
)
1020 return SWIG_AsVal_char(obj
, (char*)0);
1023 void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
1024 // We use only strings for the streams, not unicode
1025 PyObject
* str
= PyObject_Str(obj
);
1027 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
1030 self
->Write(PyString_AS_STRING(str
),
1031 PyString_GET_SIZE(str
));
1035 #include "wx/wxPython/pyistream.h"
1038 class wxPyFileSystemHandler
: public wxFileSystemHandler
1041 wxPyFileSystemHandler() : wxFileSystemHandler() {}
1043 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
1044 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
1045 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
1046 DEC_PYCALLBACK_STRING__pure(FindNext
);
1048 wxString
GetProtocol(const wxString
& location
) {
1049 return wxFileSystemHandler::GetProtocol(location
);
1052 wxString
GetLeftLocation(const wxString
& location
) {
1053 return wxFileSystemHandler::GetLeftLocation(location
);
1056 wxString
GetAnchor(const wxString
& location
) {
1057 return wxFileSystemHandler::GetAnchor(location
);
1060 wxString
GetRightLocation(const wxString
& location
) {
1061 return wxFileSystemHandler::GetRightLocation(location
);
1064 wxString
GetMimeTypeFromExt(const wxString
& location
) {
1065 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
1072 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
1073 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
1074 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
1075 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
1078 SWIGSTATICINLINE(int)
1079 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1081 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
1082 if (obj
== Py_True
) {
1083 if (val
) *val
= true;
1086 if (obj
== Py_False
) {
1087 if (val
) *val
= false;
1091 if (SWIG_AsVal_int(obj
, &res
)) {
1092 if (val
) *val
= (bool)res
;
1096 PyErr_SetString(PyExc_TypeError
, "a bool is expected");
1102 SWIGSTATICINLINE(bool)
1103 SWIG_As_bool(PyObject
* obj
)
1106 if (!SWIG_AsVal_bool(obj
, &v
)) {
1108 this is needed to make valgrind/purify happier. the other
1109 solution is throw an exception, but since this code should work
1112 memset((void*)&v
, 0, sizeof(bool));
1118 SWIGSTATICINLINE(int)
1119 SWIG_Check_bool(PyObject
* obj
)
1121 return SWIG_AsVal_bool(obj
, (bool*)0);
1125 wxString
wxFileSystem_URLToFileName(const wxString
& url
) {
1126 wxFileName fname
= wxFileSystem::URLToFileName(url
);
1127 return fname
.GetFullPath();
1131 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
1134 wxMemoryFSHandler::AddFile(filename
, image
, type
);
1137 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
1138 const wxBitmap
& bitmap
,
1140 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
1143 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
1145 wxMemoryFSHandler::AddFile(filename
,
1146 // TODO: Verify data type
1147 (void*)PyString_AsString(data
),
1148 (size_t)PyString_Size(data
));
1152 #include "wx/wxPython/pyistream.h"
1155 // See my_fragments.i
1156 SWIGSTATICINLINE(int)
1157 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1160 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1161 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
1165 *val
= (unsigned long)v
;
1170 SWIGSTATICINLINE(int)
1171 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1172 unsigned long max_value
,
1175 if (value
> max_value
) {
1177 PyErr_Format(PyExc_OverflowError
,
1178 "value %ld is greater than '%s' minimum %ld",
1179 value
, errmsg
, max_value
);
1187 SWIGSTATICINLINE(int)
1188 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
1190 const char* errmsg
= val
? "unsigned char" : 0;
1192 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1193 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
1194 if (val
) *val
= swig_numeric_cast(v
, unsigned char);
1203 PyErr_SetString(PyExc_TypeError
, "an unsigned char is expected");
1209 SWIGSTATICINLINE(unsigned char)
1210 SWIG_As_unsigned_SS_char(PyObject
* obj
)
1213 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
1215 this is needed to make valgrind/purify happier. the other
1216 solution is throw an exception, but since this code should work
1219 memset((void*)&v
, 0, sizeof(unsigned char));
1225 SWIGSTATICINLINE(int)
1226 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
1228 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
1232 wxImage
*new_wxImage(int width
,int height
,bool clear
){
1233 if (width
> 0 && height
> 0)
1234 return new wxImage(width
, height
, clear
);
1238 wxImage
*new_wxImage(wxBitmap
const &bitmap
){
1239 return new wxImage(bitmap
.ConvertToImage());
1241 wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
1242 // Copy the source data so the wxImage can clean it up later
1243 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
1248 memcpy(copy
, data
, width
*height
*3);
1249 return new wxImage(width
, height
, copy
, False
);
1251 wxSize
wxImage_GetSize(wxImage
*self
){
1252 wxSize
size(self
->GetWidth(), self
->GetHeight());
1255 PyObject
*wxImage_GetData(wxImage
*self
){
1256 unsigned char* data
= self
->GetData();
1257 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1259 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
1262 void wxImage_SetData(wxImage
*self
,PyObject
*data
){
1263 unsigned char* dataPtr
;
1265 if (! PyString_Check(data
)) {
1266 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1270 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
1271 dataPtr
= (unsigned char*) malloc(len
);
1272 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1273 self
->SetData(dataPtr
);
1274 // wxImage takes ownership of dataPtr...
1276 PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
1277 unsigned char* data
= self
->GetData();
1278 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1280 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1283 void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
1284 unsigned char* buffer
;
1287 bool blocked
= wxPyBeginBlockThreads();
1288 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1291 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
1292 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1295 self
->SetData(buffer
);
1297 wxPyEndBlockThreads(blocked
);
1299 PyObject
*wxImage_GetAlphaData(wxImage
*self
){
1300 unsigned char* data
= self
->GetAlpha();
1304 int len
= self
->GetWidth() * self
->GetHeight();
1306 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
1310 void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
1311 unsigned char* dataPtr
;
1313 if (! PyString_Check(data
)) {
1314 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1318 size_t len
= self
->GetWidth() * self
->GetHeight();
1319 dataPtr
= (unsigned char*) malloc(len
);
1320 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1321 self
->SetAlpha(dataPtr
);
1322 // wxImage takes ownership of dataPtr...
1324 PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
1325 unsigned char* data
= self
->GetAlpha();
1326 int len
= self
->GetWidth() * self
->GetHeight();
1328 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1331 void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
1332 unsigned char* buffer
;
1335 bool blocked
= wxPyBeginBlockThreads();
1336 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1339 if (size
!= self
->GetWidth() * self
->GetHeight()) {
1340 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1343 self
->SetAlpha(buffer
);
1345 wxPyEndBlockThreads(blocked
);
1348 SWIGSTATICINLINE(unsigned long)
1349 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1352 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1354 this is needed to make valgrind/purify happier. the other
1355 solution is throw an exception, but since this code should work
1358 memset((void*)&v
, 0, sizeof(unsigned long));
1364 SWIGSTATICINLINE(int)
1365 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1367 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1370 wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
){
1371 wxBitmap
bitmap(*self
);
1374 wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
1375 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
1376 wxBitmap
bitmap( mono
, 1 );
1379 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
1380 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
1381 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
1382 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
1383 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
1385 #include <wx/quantize.h>
1387 bool Quantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
,int flags
){
1388 return wxQuantize::Quantize(src
, dest
,
1391 NULL
, // eightBitData
1394 void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
1395 if (PyCallable_Check(func
)) {
1396 self
->Connect(id
, lastId
, eventType
,
1397 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
1398 new wxPyCallback(func
));
1400 else if (func
== Py_None
) {
1401 self
->Disconnect(id
, lastId
, eventType
,
1402 (wxObjectEventFunction
)
1403 &wxPyCallback::EventThunker
);
1407 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
1410 bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
){
1411 return self
->Disconnect(id
, lastId
, eventType
,
1412 (wxObjectEventFunction
)
1413 &wxPyCallback::EventThunker
);
1415 void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
){
1416 if (_self
&& _self
!= Py_None
) {
1417 self
->SetClientObject(new wxPyOORClientData(_self
));
1420 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
1422 self
->SetClientObject(NULL
); // This will delete it too
1427 int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
1429 return self
->GetUnicodeKey();
1435 #if UINT_MAX < LONG_MAX
1436 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
1437 #define SWIG_From_unsigned_SS_int SWIG_From_long
1440 /*@/opt/swig/share/swig/1.3.22/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();
1523 int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
1525 void wxApp_CleanUp() {
1530 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
1534 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1535 wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
1536 void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
1537 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1538 wxWindowList
& list
= self
->GetChildren();
1539 return wxPy_ConvertList(&list
);
1541 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1543 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
1548 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1555 long wxWindow_GetHandle(wxWindow
*self
){
1556 return wxPyGetWinHandle(self
);
1559 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1560 return wxWindow::FindWindowById(id
, parent
);
1563 wxWindow
* wxFindWindowByName( const wxString
& name
,
1564 const wxWindow
*parent
= NULL
) {
1565 return wxWindow::FindWindowByName(name
, parent
);
1568 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1569 const wxWindow
*parent
= NULL
) {
1570 return wxWindow::FindWindowByLabel(label
, parent
);
1575 #include <wx/msw/private.h> // to get wxGetWindowId
1579 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
1581 WXHWND hWnd
= (WXHWND
)_hWnd
;
1582 long id
= wxGetWindowId(hWnd
);
1583 wxWindow
* win
= new wxWindow
;
1584 parent
->AddChild(win
);
1585 win
->SetEventHandler(win
);
1588 win
->SubclassWin(hWnd
);
1589 win
->AdoptAttributesFromHWND();
1590 win
->SetupColours();
1593 wxPyRaiseNotImplemented();
1599 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1600 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1601 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1603 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1605 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1606 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1607 wxMenuItemList
& list
= self
->GetMenuItems();
1608 return wxPy_ConvertList(&list
);
1610 int MenuItem_GetDefaultMarginWidth(){ return 0; }
1611 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1612 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1614 wxPyClientData
* data
= new wxPyClientData(clientData
);
1615 return self
->Append(item
, data
);
1617 return self
->Append(item
);
1619 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1621 wxPyClientData
* data
= new wxPyClientData(clientData
);
1622 return self
->Insert(item
, pos
, data
);
1624 return self
->Insert(item
, pos
);
1626 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1627 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1629 Py_INCREF(data
->m_obj
);
1636 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1637 wxPyClientData
* data
= new wxPyClientData(clientData
);
1638 self
->SetClientObject(n
, data
);
1642 wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
){
1643 wxPyUserData
* data
= NULL
;
1645 bool blocked
= wxPyBeginBlockThreads();
1646 data
= new wxPyUserData(userData
);
1647 wxPyEndBlockThreads(blocked
);
1649 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
1651 wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
){
1652 wxPyUserData
* data
= NULL
;
1654 bool blocked
= wxPyBeginBlockThreads();
1655 data
= new wxPyUserData(userData
);
1656 wxPyEndBlockThreads(blocked
);
1658 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
1660 wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
){
1661 wxPyUserData
* data
= NULL
;
1663 bool blocked
= wxPyBeginBlockThreads();
1664 data
= new wxPyUserData(userData
);
1665 wxPyEndBlockThreads(blocked
);
1667 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
1671 SWIGSTATICINLINE(int)
1672 SWIG_CheckDoubleInRange(double value
, double min_value
,
1673 double max_value
, const char* errmsg
)
1675 if (value
< min_value
) {
1677 PyErr_Format(PyExc_OverflowError
,
1678 "value %g is less than %s minimum %g",
1679 value
, errmsg
, min_value
);
1682 } else if (value
> max_value
) {
1684 PyErr_Format(PyExc_OverflowError
,
1685 "value %g is greater than %s maximum %g",
1686 value
, errmsg
, max_value
);
1694 SWIGSTATICINLINE(int)
1695 SWIG_AsVal_float(PyObject
*obj
, float *val
)
1697 const char* errmsg
= val
? "float" : 0;
1699 if (SWIG_AsVal_double(obj
, &v
)) {
1700 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
1710 PyErr_SetString(PyExc_TypeError
, "a float is expected");
1716 SWIGSTATICINLINE(float)
1717 SWIG_As_float(PyObject
* obj
)
1720 if (!SWIG_AsVal_float(obj
, &v
)) {
1722 this is needed to make valgrind/purify happier. the other
1723 solution is throw an exception, but since this code should work
1726 memset((void*)&v
, 0, sizeof(float));
1732 SWIGSTATICINLINE(int)
1733 SWIG_Check_float(PyObject
* obj
)
1735 return SWIG_AsVal_float(obj
, (float*)0);
1738 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1739 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1741 Py_INCREF(data
->m_obj
);
1749 // Figure out the type of the sizer item
1751 struct wxPySizerItemInfo
{
1753 : window(NULL
), sizer(NULL
), gotSize(False
),
1754 size(wxDefaultSize
), gotPos(False
), pos(-1)
1765 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1767 wxPySizerItemInfo info
;
1769 wxSize
* sizePtr
= &size
;
1771 // Find out what the type of the item is
1773 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1778 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1782 // try wxSize or (w,h)
1783 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1784 info
.size
= *sizePtr
;
1785 info
.gotSize
= True
;
1789 if (checkIdx
&& PyInt_Check(item
)) {
1790 info
.pos
= PyInt_AsLong(item
);
1796 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1797 // no expected type, figure out what kind of error message to generate
1798 if ( !checkSize
&& !checkIdx
)
1799 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1800 else if ( checkSize
&& !checkIdx
)
1801 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1802 else if ( !checkSize
&& checkIdx
)
1803 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1805 // can this one happen?
1806 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1812 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1813 if (!self
->GetClientObject())
1814 self
->SetClientObject(new wxPyOORClientData(_self
));
1816 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1818 wxPyUserData
* data
= NULL
;
1819 bool blocked
= wxPyBeginBlockThreads();
1820 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1821 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1822 data
= new wxPyUserData(userData
);
1823 wxPyEndBlockThreads(blocked
);
1825 // Now call the real Add method if a valid item type was found
1827 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1828 else if ( info
.sizer
)
1829 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1830 else if (info
.gotSize
)
1831 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1832 proportion
, flag
, border
, data
);
1834 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1836 wxPyUserData
* data
= NULL
;
1837 bool blocked
= wxPyBeginBlockThreads();
1838 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1839 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1840 data
= new wxPyUserData(userData
);
1841 wxPyEndBlockThreads(blocked
);
1843 // Now call the real Insert method if a valid item type was found
1845 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1846 else if ( info
.sizer
)
1847 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1848 else if (info
.gotSize
)
1849 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1850 proportion
, flag
, border
, data
);
1852 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1854 wxPyUserData
* data
= NULL
;
1855 bool blocked
= wxPyBeginBlockThreads();
1856 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1857 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1858 data
= new wxPyUserData(userData
);
1859 wxPyEndBlockThreads(blocked
);
1861 // Now call the real Prepend method if a valid item type was found
1863 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1864 else if ( info
.sizer
)
1865 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1866 else if (info
.gotSize
)
1867 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1868 proportion
, flag
, border
, data
);
1870 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1871 bool blocked
= wxPyBeginBlockThreads();
1872 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1873 wxPyEndBlockThreads(blocked
);
1875 return self
->Remove(info
.window
);
1876 else if ( info
.sizer
)
1877 return self
->Remove(info
.sizer
);
1878 else if ( info
.gotPos
)
1879 return self
->Remove(info
.pos
);
1883 bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
1884 bool blocked
= wxPyBeginBlockThreads();
1885 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1886 wxPyEndBlockThreads(blocked
);
1888 return self
->Detach(info
.window
);
1889 else if ( info
.sizer
)
1890 return self
->Detach(info
.sizer
);
1891 else if ( info
.gotPos
)
1892 return self
->Detach(info
.pos
);
1896 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1897 bool blocked
= wxPyBeginBlockThreads();
1898 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1899 wxPyEndBlockThreads(blocked
);
1901 self
->SetItemMinSize(info
.window
, size
);
1902 else if ( info
.sizer
)
1903 self
->SetItemMinSize(info
.sizer
, size
);
1904 else if ( info
.gotPos
)
1905 self
->SetItemMinSize(info
.pos
, size
);
1907 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1908 wxSizerItemList
& list
= self
->GetChildren();
1909 return wxPy_ConvertList(&list
);
1911 void wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
){
1912 bool blocked
= wxPyBeginBlockThreads();
1913 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1914 wxPyEndBlockThreads(blocked
);
1916 self
->Show(info
.window
, show
);
1917 else if ( info
.sizer
)
1918 self
->Show(info
.sizer
, show
);
1919 else if ( info
.gotPos
)
1920 self
->Show(info
.pos
, show
);
1922 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1923 bool blocked
= wxPyBeginBlockThreads();
1924 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1925 wxPyEndBlockThreads(blocked
);
1927 return self
->IsShown(info
.window
);
1928 else if ( info
.sizer
)
1929 return self
->IsShown(info
.sizer
);
1930 else if ( info
.gotPos
)
1931 return self
->IsShown(info
.pos
);
1937 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1938 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1939 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1944 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1946 if (source
== Py_None
) {
1947 **obj
= wxGBPosition(-1,-1);
1950 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1953 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1955 if (source
== Py_None
) {
1956 **obj
= wxGBSpan(-1,-1);
1959 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1963 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1967 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1968 bool blocked
= wxPyBeginBlockThreads();
1969 PyObject
* tup
= PyTuple_New(2);
1970 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1971 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1972 wxPyEndBlockThreads(blocked
);
1975 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1976 self
->SetRowspan(rowspan
);
1977 self
->SetColspan(colspan
);
1979 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1980 bool blocked
= wxPyBeginBlockThreads();
1981 PyObject
* tup
= PyTuple_New(2);
1982 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1983 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1984 wxPyEndBlockThreads(blocked
);
1987 wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1988 wxPyUserData
* data
= NULL
;
1990 bool blocked
= wxPyBeginBlockThreads();
1991 data
= new wxPyUserData(userData
);
1992 wxPyEndBlockThreads(blocked
);
1994 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
1996 wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1997 wxPyUserData
* data
= NULL
;
1999 bool blocked
= wxPyBeginBlockThreads();
2000 data
= new wxPyUserData(userData
);
2001 wxPyEndBlockThreads(blocked
);
2003 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
2005 wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2006 wxPyUserData
* data
= NULL
;
2008 bool blocked
= wxPyBeginBlockThreads();
2009 data
= new wxPyUserData(userData
);
2010 wxPyEndBlockThreads(blocked
);
2012 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
2014 wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
2016 self
->GetEndPos(row
, col
);
2017 return wxGBPosition(row
, col
);
2019 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2021 wxPyUserData
* data
= NULL
;
2022 bool blocked
= wxPyBeginBlockThreads();
2023 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
2024 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2025 data
= new wxPyUserData(userData
);
2026 wxPyEndBlockThreads(blocked
);
2028 // Now call the real Add method if a valid item type was found
2030 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
2031 else if ( info
.sizer
)
2032 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
2033 else if (info
.gotSize
)
2034 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
2035 pos
, span
, flag
, border
, data
);
2043 static int _wrap_EmptyString_set(PyObject
*) {
2044 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
2049 static PyObject
*_wrap_EmptyString_get() {
2054 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
2056 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
2063 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2064 PyObject
*resultobj
;
2065 wxObject
*arg1
= (wxObject
*) 0 ;
2067 PyObject
* obj0
= 0 ;
2069 (char *) "self", NULL
2072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
2073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
2074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2077 result
= wxObject_GetClassName(arg1
);
2079 wxPyEndAllowThreads(__tstate
);
2080 if (PyErr_Occurred()) SWIG_fail
;
2084 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2086 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2095 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2096 PyObject
*resultobj
;
2097 wxObject
*arg1
= (wxObject
*) 0 ;
2098 PyObject
* obj0
= 0 ;
2100 (char *) "self", NULL
2103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
2104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
2105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2108 wxObject_Destroy(arg1
);
2110 wxPyEndAllowThreads(__tstate
);
2111 if (PyErr_Occurred()) SWIG_fail
;
2113 Py_INCREF(Py_None
); resultobj
= Py_None
;
2120 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
2122 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2123 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
2125 return Py_BuildValue((char *)"");
2127 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2128 PyObject
*resultobj
;
2129 wxSize
*arg1
= (wxSize
*) 0 ;
2131 PyObject
* obj0
= 0 ;
2132 PyObject
* obj1
= 0 ;
2134 (char *) "self",(char *) "x", NULL
2137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2140 arg2
= (int)SWIG_As_int(obj1
);
2141 if (PyErr_Occurred()) SWIG_fail
;
2142 if (arg1
) (arg1
)->x
= arg2
;
2144 Py_INCREF(Py_None
); resultobj
= Py_None
;
2151 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2152 PyObject
*resultobj
;
2153 wxSize
*arg1
= (wxSize
*) 0 ;
2155 PyObject
* obj0
= 0 ;
2157 (char *) "self", NULL
2160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
2161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2163 result
= (int) ((arg1
)->x
);
2165 resultobj
= SWIG_From_int((int)result
);
2172 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2173 PyObject
*resultobj
;
2174 wxSize
*arg1
= (wxSize
*) 0 ;
2176 PyObject
* obj0
= 0 ;
2177 PyObject
* obj1
= 0 ;
2179 (char *) "self",(char *) "y", NULL
2182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2185 arg2
= (int)SWIG_As_int(obj1
);
2186 if (PyErr_Occurred()) SWIG_fail
;
2187 if (arg1
) (arg1
)->y
= arg2
;
2189 Py_INCREF(Py_None
); resultobj
= Py_None
;
2196 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2197 PyObject
*resultobj
;
2198 wxSize
*arg1
= (wxSize
*) 0 ;
2200 PyObject
* obj0
= 0 ;
2202 (char *) "self", NULL
2205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
2206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2208 result
= (int) ((arg1
)->y
);
2210 resultobj
= SWIG_From_int((int)result
);
2217 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2218 PyObject
*resultobj
;
2219 int arg1
= (int) 0 ;
2220 int arg2
= (int) 0 ;
2222 PyObject
* obj0
= 0 ;
2223 PyObject
* obj1
= 0 ;
2225 (char *) "w",(char *) "h", NULL
2228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
2230 arg1
= (int)SWIG_As_int(obj0
);
2231 if (PyErr_Occurred()) SWIG_fail
;
2234 arg2
= (int)SWIG_As_int(obj1
);
2235 if (PyErr_Occurred()) SWIG_fail
;
2238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2239 result
= (wxSize
*)new wxSize(arg1
,arg2
);
2241 wxPyEndAllowThreads(__tstate
);
2242 if (PyErr_Occurred()) SWIG_fail
;
2244 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
2251 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2252 PyObject
*resultobj
;
2253 wxSize
*arg1
= (wxSize
*) 0 ;
2254 PyObject
* obj0
= 0 ;
2256 (char *) "self", NULL
2259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
2260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2266 wxPyEndAllowThreads(__tstate
);
2267 if (PyErr_Occurred()) SWIG_fail
;
2269 Py_INCREF(Py_None
); resultobj
= Py_None
;
2276 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2277 PyObject
*resultobj
;
2278 wxSize
*arg1
= (wxSize
*) 0 ;
2282 PyObject
* obj0
= 0 ;
2283 PyObject
* obj1
= 0 ;
2285 (char *) "self",(char *) "sz", NULL
2288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2293 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2297 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
2299 wxPyEndAllowThreads(__tstate
);
2300 if (PyErr_Occurred()) SWIG_fail
;
2303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2311 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2312 PyObject
*resultobj
;
2313 wxSize
*arg1
= (wxSize
*) 0 ;
2317 PyObject
* obj0
= 0 ;
2318 PyObject
* obj1
= 0 ;
2320 (char *) "self",(char *) "sz", NULL
2323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2328 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2332 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2334 wxPyEndAllowThreads(__tstate
);
2335 if (PyErr_Occurred()) SWIG_fail
;
2338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2346 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2347 PyObject
*resultobj
;
2348 wxSize
*arg1
= (wxSize
*) 0 ;
2352 PyObject
* obj0
= 0 ;
2353 PyObject
* obj1
= 0 ;
2355 (char *) "self",(char *) "sz", NULL
2358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2363 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2367 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
2369 wxPyEndAllowThreads(__tstate
);
2370 if (PyErr_Occurred()) SWIG_fail
;
2374 resultptr
= new wxSize((wxSize
&) result
);
2375 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2383 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2384 PyObject
*resultobj
;
2385 wxSize
*arg1
= (wxSize
*) 0 ;
2389 PyObject
* obj0
= 0 ;
2390 PyObject
* obj1
= 0 ;
2392 (char *) "self",(char *) "sz", NULL
2395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2400 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2404 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2406 wxPyEndAllowThreads(__tstate
);
2407 if (PyErr_Occurred()) SWIG_fail
;
2411 resultptr
= new wxSize((wxSize
&) result
);
2412 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2420 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2421 PyObject
*resultobj
;
2422 wxSize
*arg1
= (wxSize
*) 0 ;
2425 PyObject
* obj0
= 0 ;
2426 PyObject
* obj1
= 0 ;
2428 (char *) "self",(char *) "sz", NULL
2431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2436 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2440 (arg1
)->IncTo((wxSize
const &)*arg2
);
2442 wxPyEndAllowThreads(__tstate
);
2443 if (PyErr_Occurred()) SWIG_fail
;
2445 Py_INCREF(Py_None
); resultobj
= Py_None
;
2452 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2453 PyObject
*resultobj
;
2454 wxSize
*arg1
= (wxSize
*) 0 ;
2457 PyObject
* obj0
= 0 ;
2458 PyObject
* obj1
= 0 ;
2460 (char *) "self",(char *) "sz", NULL
2463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2468 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2472 (arg1
)->DecTo((wxSize
const &)*arg2
);
2474 wxPyEndAllowThreads(__tstate
);
2475 if (PyErr_Occurred()) SWIG_fail
;
2477 Py_INCREF(Py_None
); resultobj
= Py_None
;
2484 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2485 PyObject
*resultobj
;
2486 wxSize
*arg1
= (wxSize
*) 0 ;
2489 PyObject
* obj0
= 0 ;
2490 PyObject
* obj1
= 0 ;
2491 PyObject
* obj2
= 0 ;
2493 (char *) "self",(char *) "w",(char *) "h", NULL
2496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2499 arg2
= (int)SWIG_As_int(obj1
);
2500 if (PyErr_Occurred()) SWIG_fail
;
2501 arg3
= (int)SWIG_As_int(obj2
);
2502 if (PyErr_Occurred()) SWIG_fail
;
2504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2505 (arg1
)->Set(arg2
,arg3
);
2507 wxPyEndAllowThreads(__tstate
);
2508 if (PyErr_Occurred()) SWIG_fail
;
2510 Py_INCREF(Py_None
); resultobj
= Py_None
;
2517 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2518 PyObject
*resultobj
;
2519 wxSize
*arg1
= (wxSize
*) 0 ;
2521 PyObject
* obj0
= 0 ;
2522 PyObject
* obj1
= 0 ;
2524 (char *) "self",(char *) "w", NULL
2527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2530 arg2
= (int)SWIG_As_int(obj1
);
2531 if (PyErr_Occurred()) SWIG_fail
;
2533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2534 (arg1
)->SetWidth(arg2
);
2536 wxPyEndAllowThreads(__tstate
);
2537 if (PyErr_Occurred()) SWIG_fail
;
2539 Py_INCREF(Py_None
); resultobj
= Py_None
;
2546 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2547 PyObject
*resultobj
;
2548 wxSize
*arg1
= (wxSize
*) 0 ;
2550 PyObject
* obj0
= 0 ;
2551 PyObject
* obj1
= 0 ;
2553 (char *) "self",(char *) "h", NULL
2556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2559 arg2
= (int)SWIG_As_int(obj1
);
2560 if (PyErr_Occurred()) SWIG_fail
;
2562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2563 (arg1
)->SetHeight(arg2
);
2565 wxPyEndAllowThreads(__tstate
);
2566 if (PyErr_Occurred()) SWIG_fail
;
2568 Py_INCREF(Py_None
); resultobj
= Py_None
;
2575 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2576 PyObject
*resultobj
;
2577 wxSize
*arg1
= (wxSize
*) 0 ;
2579 PyObject
* obj0
= 0 ;
2581 (char *) "self", NULL
2584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2589 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2591 wxPyEndAllowThreads(__tstate
);
2592 if (PyErr_Occurred()) SWIG_fail
;
2594 resultobj
= SWIG_From_int((int)result
);
2601 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2602 PyObject
*resultobj
;
2603 wxSize
*arg1
= (wxSize
*) 0 ;
2605 PyObject
* obj0
= 0 ;
2607 (char *) "self", NULL
2610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2615 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2617 wxPyEndAllowThreads(__tstate
);
2618 if (PyErr_Occurred()) SWIG_fail
;
2620 resultobj
= SWIG_From_int((int)result
);
2627 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2628 PyObject
*resultobj
;
2629 wxSize
*arg1
= (wxSize
*) 0 ;
2631 PyObject
* obj0
= 0 ;
2633 (char *) "self", NULL
2636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
2637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2641 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
2643 wxPyEndAllowThreads(__tstate
);
2644 if (PyErr_Occurred()) SWIG_fail
;
2647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2655 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2656 PyObject
*resultobj
;
2657 wxSize
*arg1
= (wxSize
*) 0 ;
2660 PyObject
* obj0
= 0 ;
2661 PyObject
* obj1
= 0 ;
2663 (char *) "self",(char *) "size", NULL
2666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
2667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2671 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2675 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
2677 wxPyEndAllowThreads(__tstate
);
2678 if (PyErr_Occurred()) SWIG_fail
;
2680 Py_INCREF(Py_None
); resultobj
= Py_None
;
2687 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2688 PyObject
*resultobj
;
2689 wxSize
*arg1
= (wxSize
*) 0 ;
2691 PyObject
* obj0
= 0 ;
2693 (char *) "self", NULL
2696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2701 result
= (PyObject
*)wxSize_Get(arg1
);
2703 wxPyEndAllowThreads(__tstate
);
2704 if (PyErr_Occurred()) SWIG_fail
;
2713 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
2715 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2716 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2718 return Py_BuildValue((char *)"");
2720 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2721 PyObject
*resultobj
;
2722 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2724 PyObject
* obj0
= 0 ;
2725 PyObject
* obj1
= 0 ;
2727 (char *) "self",(char *) "x", NULL
2730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2733 arg2
= (double)SWIG_As_double(obj1
);
2734 if (PyErr_Occurred()) SWIG_fail
;
2735 if (arg1
) (arg1
)->x
= arg2
;
2737 Py_INCREF(Py_None
); resultobj
= Py_None
;
2744 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2745 PyObject
*resultobj
;
2746 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2748 PyObject
* obj0
= 0 ;
2750 (char *) "self", NULL
2753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2756 result
= (double) ((arg1
)->x
);
2758 resultobj
= SWIG_From_double((double)result
);
2765 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2766 PyObject
*resultobj
;
2767 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2769 PyObject
* obj0
= 0 ;
2770 PyObject
* obj1
= 0 ;
2772 (char *) "self",(char *) "y", NULL
2775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2778 arg2
= (double)SWIG_As_double(obj1
);
2779 if (PyErr_Occurred()) SWIG_fail
;
2780 if (arg1
) (arg1
)->y
= arg2
;
2782 Py_INCREF(Py_None
); resultobj
= Py_None
;
2789 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2790 PyObject
*resultobj
;
2791 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2793 PyObject
* obj0
= 0 ;
2795 (char *) "self", NULL
2798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2801 result
= (double) ((arg1
)->y
);
2803 resultobj
= SWIG_From_double((double)result
);
2810 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2811 PyObject
*resultobj
;
2812 double arg1
= (double) 0.0 ;
2813 double arg2
= (double) 0.0 ;
2814 wxRealPoint
*result
;
2815 PyObject
* obj0
= 0 ;
2816 PyObject
* obj1
= 0 ;
2818 (char *) "x",(char *) "y", NULL
2821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2823 arg1
= (double)SWIG_As_double(obj0
);
2824 if (PyErr_Occurred()) SWIG_fail
;
2827 arg2
= (double)SWIG_As_double(obj1
);
2828 if (PyErr_Occurred()) SWIG_fail
;
2831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2832 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2834 wxPyEndAllowThreads(__tstate
);
2835 if (PyErr_Occurred()) SWIG_fail
;
2837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2844 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2845 PyObject
*resultobj
;
2846 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2847 PyObject
* obj0
= 0 ;
2849 (char *) "self", NULL
2852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2859 wxPyEndAllowThreads(__tstate
);
2860 if (PyErr_Occurred()) SWIG_fail
;
2862 Py_INCREF(Py_None
); resultobj
= Py_None
;
2869 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2870 PyObject
*resultobj
;
2871 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2872 wxRealPoint
*arg2
= 0 ;
2875 PyObject
* obj0
= 0 ;
2876 PyObject
* obj1
= 0 ;
2878 (char *) "self",(char *) "pt", NULL
2881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2886 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2890 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2892 wxPyEndAllowThreads(__tstate
);
2893 if (PyErr_Occurred()) SWIG_fail
;
2896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2904 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2905 PyObject
*resultobj
;
2906 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2907 wxRealPoint
*arg2
= 0 ;
2910 PyObject
* obj0
= 0 ;
2911 PyObject
* obj1
= 0 ;
2913 (char *) "self",(char *) "pt", NULL
2916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2921 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2925 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2927 wxPyEndAllowThreads(__tstate
);
2928 if (PyErr_Occurred()) SWIG_fail
;
2931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2939 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2940 PyObject
*resultobj
;
2941 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2942 wxRealPoint
*arg2
= 0 ;
2945 PyObject
* obj0
= 0 ;
2946 PyObject
* obj1
= 0 ;
2948 (char *) "self",(char *) "pt", NULL
2951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2956 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2960 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2962 wxPyEndAllowThreads(__tstate
);
2963 if (PyErr_Occurred()) SWIG_fail
;
2966 wxRealPoint
* resultptr
;
2967 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2968 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2976 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2977 PyObject
*resultobj
;
2978 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2979 wxRealPoint
*arg2
= 0 ;
2982 PyObject
* obj0
= 0 ;
2983 PyObject
* obj1
= 0 ;
2985 (char *) "self",(char *) "pt", NULL
2988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2993 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2997 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
2999 wxPyEndAllowThreads(__tstate
);
3000 if (PyErr_Occurred()) SWIG_fail
;
3003 wxRealPoint
* resultptr
;
3004 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
3005 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
3013 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3014 PyObject
*resultobj
;
3015 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3018 PyObject
* obj0
= 0 ;
3019 PyObject
* obj1
= 0 ;
3020 PyObject
* obj2
= 0 ;
3022 (char *) "self",(char *) "x",(char *) "y", NULL
3025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3028 arg2
= (double)SWIG_As_double(obj1
);
3029 if (PyErr_Occurred()) SWIG_fail
;
3030 arg3
= (double)SWIG_As_double(obj2
);
3031 if (PyErr_Occurred()) SWIG_fail
;
3033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3034 wxRealPoint_Set(arg1
,arg2
,arg3
);
3036 wxPyEndAllowThreads(__tstate
);
3037 if (PyErr_Occurred()) SWIG_fail
;
3039 Py_INCREF(Py_None
); resultobj
= Py_None
;
3046 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3047 PyObject
*resultobj
;
3048 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3050 PyObject
* obj0
= 0 ;
3052 (char *) "self", NULL
3055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
3056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3060 result
= (PyObject
*)wxRealPoint_Get(arg1
);
3062 wxPyEndAllowThreads(__tstate
);
3063 if (PyErr_Occurred()) SWIG_fail
;
3072 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
3074 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3075 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
3077 return Py_BuildValue((char *)"");
3079 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3080 PyObject
*resultobj
;
3081 wxPoint
*arg1
= (wxPoint
*) 0 ;
3083 PyObject
* obj0
= 0 ;
3084 PyObject
* obj1
= 0 ;
3086 (char *) "self",(char *) "x", NULL
3089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3092 arg2
= (int)SWIG_As_int(obj1
);
3093 if (PyErr_Occurred()) SWIG_fail
;
3094 if (arg1
) (arg1
)->x
= arg2
;
3096 Py_INCREF(Py_None
); resultobj
= Py_None
;
3103 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3104 PyObject
*resultobj
;
3105 wxPoint
*arg1
= (wxPoint
*) 0 ;
3107 PyObject
* obj0
= 0 ;
3109 (char *) "self", NULL
3112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
3113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3115 result
= (int) ((arg1
)->x
);
3117 resultobj
= SWIG_From_int((int)result
);
3124 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3125 PyObject
*resultobj
;
3126 wxPoint
*arg1
= (wxPoint
*) 0 ;
3128 PyObject
* obj0
= 0 ;
3129 PyObject
* obj1
= 0 ;
3131 (char *) "self",(char *) "y", NULL
3134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3137 arg2
= (int)SWIG_As_int(obj1
);
3138 if (PyErr_Occurred()) SWIG_fail
;
3139 if (arg1
) (arg1
)->y
= arg2
;
3141 Py_INCREF(Py_None
); resultobj
= Py_None
;
3148 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3149 PyObject
*resultobj
;
3150 wxPoint
*arg1
= (wxPoint
*) 0 ;
3152 PyObject
* obj0
= 0 ;
3154 (char *) "self", NULL
3157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
3158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3160 result
= (int) ((arg1
)->y
);
3162 resultobj
= SWIG_From_int((int)result
);
3169 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3170 PyObject
*resultobj
;
3171 int arg1
= (int) 0 ;
3172 int arg2
= (int) 0 ;
3174 PyObject
* obj0
= 0 ;
3175 PyObject
* obj1
= 0 ;
3177 (char *) "x",(char *) "y", NULL
3180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
3182 arg1
= (int)SWIG_As_int(obj0
);
3183 if (PyErr_Occurred()) SWIG_fail
;
3186 arg2
= (int)SWIG_As_int(obj1
);
3187 if (PyErr_Occurred()) SWIG_fail
;
3190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3191 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
3193 wxPyEndAllowThreads(__tstate
);
3194 if (PyErr_Occurred()) SWIG_fail
;
3196 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3203 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3204 PyObject
*resultobj
;
3205 wxPoint
*arg1
= (wxPoint
*) 0 ;
3206 PyObject
* obj0
= 0 ;
3208 (char *) "self", NULL
3211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
3212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3218 wxPyEndAllowThreads(__tstate
);
3219 if (PyErr_Occurred()) SWIG_fail
;
3221 Py_INCREF(Py_None
); resultobj
= Py_None
;
3228 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3229 PyObject
*resultobj
;
3230 wxPoint
*arg1
= (wxPoint
*) 0 ;
3234 PyObject
* obj0
= 0 ;
3235 PyObject
* obj1
= 0 ;
3237 (char *) "self",(char *) "pt", NULL
3240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3245 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3249 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
3251 wxPyEndAllowThreads(__tstate
);
3252 if (PyErr_Occurred()) SWIG_fail
;
3255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3263 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3264 PyObject
*resultobj
;
3265 wxPoint
*arg1
= (wxPoint
*) 0 ;
3269 PyObject
* obj0
= 0 ;
3270 PyObject
* obj1
= 0 ;
3272 (char *) "self",(char *) "pt", NULL
3275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3280 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3284 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
3286 wxPyEndAllowThreads(__tstate
);
3287 if (PyErr_Occurred()) SWIG_fail
;
3290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3298 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3299 PyObject
*resultobj
;
3300 wxPoint
*arg1
= (wxPoint
*) 0 ;
3304 PyObject
* obj0
= 0 ;
3305 PyObject
* obj1
= 0 ;
3307 (char *) "self",(char *) "pt", NULL
3310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3315 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3319 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
3321 wxPyEndAllowThreads(__tstate
);
3322 if (PyErr_Occurred()) SWIG_fail
;
3325 wxPoint
* resultptr
;
3326 resultptr
= new wxPoint((wxPoint
&) result
);
3327 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3335 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3336 PyObject
*resultobj
;
3337 wxPoint
*arg1
= (wxPoint
*) 0 ;
3341 PyObject
* obj0
= 0 ;
3342 PyObject
* obj1
= 0 ;
3344 (char *) "self",(char *) "pt", NULL
3347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3352 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3356 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
3358 wxPyEndAllowThreads(__tstate
);
3359 if (PyErr_Occurred()) SWIG_fail
;
3362 wxPoint
* resultptr
;
3363 resultptr
= new wxPoint((wxPoint
&) result
);
3364 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3372 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3373 PyObject
*resultobj
;
3374 wxPoint
*arg1
= (wxPoint
*) 0 ;
3378 PyObject
* obj0
= 0 ;
3379 PyObject
* obj1
= 0 ;
3381 (char *) "self",(char *) "pt", NULL
3384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3386 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
3389 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3394 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
3395 result
= (wxPoint
*) &_result_ref
;
3398 wxPyEndAllowThreads(__tstate
);
3399 if (PyErr_Occurred()) SWIG_fail
;
3401 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3408 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3409 PyObject
*resultobj
;
3410 wxPoint
*arg1
= (wxPoint
*) 0 ;
3414 PyObject
* obj0
= 0 ;
3415 PyObject
* obj1
= 0 ;
3417 (char *) "self",(char *) "pt", NULL
3420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3422 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
3425 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3430 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3431 result
= (wxPoint
*) &_result_ref
;
3434 wxPyEndAllowThreads(__tstate
);
3435 if (PyErr_Occurred()) SWIG_fail
;
3437 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3444 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3445 PyObject
*resultobj
;
3446 wxPoint
*arg1
= (wxPoint
*) 0 ;
3449 PyObject
* obj0
= 0 ;
3450 PyObject
* obj1
= 0 ;
3451 PyObject
* obj2
= 0 ;
3453 (char *) "self",(char *) "x",(char *) "y", NULL
3456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3459 arg2
= (long)SWIG_As_long(obj1
);
3460 if (PyErr_Occurred()) SWIG_fail
;
3461 arg3
= (long)SWIG_As_long(obj2
);
3462 if (PyErr_Occurred()) SWIG_fail
;
3464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3465 wxPoint_Set(arg1
,arg2
,arg3
);
3467 wxPyEndAllowThreads(__tstate
);
3468 if (PyErr_Occurred()) SWIG_fail
;
3470 Py_INCREF(Py_None
); resultobj
= Py_None
;
3477 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3478 PyObject
*resultobj
;
3479 wxPoint
*arg1
= (wxPoint
*) 0 ;
3481 PyObject
* obj0
= 0 ;
3483 (char *) "self", NULL
3486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3491 result
= (PyObject
*)wxPoint_Get(arg1
);
3493 wxPyEndAllowThreads(__tstate
);
3494 if (PyErr_Occurred()) SWIG_fail
;
3503 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
3505 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3506 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3508 return Py_BuildValue((char *)"");
3510 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3511 PyObject
*resultobj
;
3512 int arg1
= (int) 0 ;
3513 int arg2
= (int) 0 ;
3514 int arg3
= (int) 0 ;
3515 int arg4
= (int) 0 ;
3517 PyObject
* obj0
= 0 ;
3518 PyObject
* obj1
= 0 ;
3519 PyObject
* obj2
= 0 ;
3520 PyObject
* obj3
= 0 ;
3522 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3527 arg1
= (int)SWIG_As_int(obj0
);
3528 if (PyErr_Occurred()) SWIG_fail
;
3531 arg2
= (int)SWIG_As_int(obj1
);
3532 if (PyErr_Occurred()) SWIG_fail
;
3535 arg3
= (int)SWIG_As_int(obj2
);
3536 if (PyErr_Occurred()) SWIG_fail
;
3539 arg4
= (int)SWIG_As_int(obj3
);
3540 if (PyErr_Occurred()) SWIG_fail
;
3543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3544 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3546 wxPyEndAllowThreads(__tstate
);
3547 if (PyErr_Occurred()) SWIG_fail
;
3549 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3556 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3557 PyObject
*resultobj
;
3563 PyObject
* obj0
= 0 ;
3564 PyObject
* obj1
= 0 ;
3566 (char *) "topLeft",(char *) "bottomRight", NULL
3569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3572 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3576 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3580 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
3582 wxPyEndAllowThreads(__tstate
);
3583 if (PyErr_Occurred()) SWIG_fail
;
3585 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3592 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3593 PyObject
*resultobj
;
3599 PyObject
* obj0
= 0 ;
3600 PyObject
* obj1
= 0 ;
3602 (char *) "pos",(char *) "size", NULL
3605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3608 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3612 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3616 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3618 wxPyEndAllowThreads(__tstate
);
3619 if (PyErr_Occurred()) SWIG_fail
;
3621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3628 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3629 PyObject
*resultobj
;
3630 wxRect
*arg1
= (wxRect
*) 0 ;
3631 PyObject
* obj0
= 0 ;
3633 (char *) "self", NULL
3636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3643 wxPyEndAllowThreads(__tstate
);
3644 if (PyErr_Occurred()) SWIG_fail
;
3646 Py_INCREF(Py_None
); resultobj
= Py_None
;
3653 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3654 PyObject
*resultobj
;
3655 wxRect
*arg1
= (wxRect
*) 0 ;
3657 PyObject
* obj0
= 0 ;
3659 (char *) "self", NULL
3662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3667 result
= (int)((wxRect
const *)arg1
)->GetX();
3669 wxPyEndAllowThreads(__tstate
);
3670 if (PyErr_Occurred()) SWIG_fail
;
3672 resultobj
= SWIG_From_int((int)result
);
3679 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3680 PyObject
*resultobj
;
3681 wxRect
*arg1
= (wxRect
*) 0 ;
3683 PyObject
* obj0
= 0 ;
3684 PyObject
* obj1
= 0 ;
3686 (char *) "self",(char *) "x", NULL
3689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3692 arg2
= (int)SWIG_As_int(obj1
);
3693 if (PyErr_Occurred()) SWIG_fail
;
3695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3698 wxPyEndAllowThreads(__tstate
);
3699 if (PyErr_Occurred()) SWIG_fail
;
3701 Py_INCREF(Py_None
); resultobj
= Py_None
;
3708 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3709 PyObject
*resultobj
;
3710 wxRect
*arg1
= (wxRect
*) 0 ;
3712 PyObject
* obj0
= 0 ;
3714 (char *) "self", NULL
3717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3722 result
= (int)(arg1
)->GetY();
3724 wxPyEndAllowThreads(__tstate
);
3725 if (PyErr_Occurred()) SWIG_fail
;
3727 resultobj
= SWIG_From_int((int)result
);
3734 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3735 PyObject
*resultobj
;
3736 wxRect
*arg1
= (wxRect
*) 0 ;
3738 PyObject
* obj0
= 0 ;
3739 PyObject
* obj1
= 0 ;
3741 (char *) "self",(char *) "y", NULL
3744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3747 arg2
= (int)SWIG_As_int(obj1
);
3748 if (PyErr_Occurred()) SWIG_fail
;
3750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3753 wxPyEndAllowThreads(__tstate
);
3754 if (PyErr_Occurred()) SWIG_fail
;
3756 Py_INCREF(Py_None
); resultobj
= Py_None
;
3763 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3764 PyObject
*resultobj
;
3765 wxRect
*arg1
= (wxRect
*) 0 ;
3767 PyObject
* obj0
= 0 ;
3769 (char *) "self", NULL
3772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3777 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3779 wxPyEndAllowThreads(__tstate
);
3780 if (PyErr_Occurred()) SWIG_fail
;
3782 resultobj
= SWIG_From_int((int)result
);
3789 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3790 PyObject
*resultobj
;
3791 wxRect
*arg1
= (wxRect
*) 0 ;
3793 PyObject
* obj0
= 0 ;
3794 PyObject
* obj1
= 0 ;
3796 (char *) "self",(char *) "w", NULL
3799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3802 arg2
= (int)SWIG_As_int(obj1
);
3803 if (PyErr_Occurred()) SWIG_fail
;
3805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3806 (arg1
)->SetWidth(arg2
);
3808 wxPyEndAllowThreads(__tstate
);
3809 if (PyErr_Occurred()) SWIG_fail
;
3811 Py_INCREF(Py_None
); resultobj
= Py_None
;
3818 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3819 PyObject
*resultobj
;
3820 wxRect
*arg1
= (wxRect
*) 0 ;
3822 PyObject
* obj0
= 0 ;
3824 (char *) "self", NULL
3827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3832 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3834 wxPyEndAllowThreads(__tstate
);
3835 if (PyErr_Occurred()) SWIG_fail
;
3837 resultobj
= SWIG_From_int((int)result
);
3844 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3845 PyObject
*resultobj
;
3846 wxRect
*arg1
= (wxRect
*) 0 ;
3848 PyObject
* obj0
= 0 ;
3849 PyObject
* obj1
= 0 ;
3851 (char *) "self",(char *) "h", NULL
3854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3857 arg2
= (int)SWIG_As_int(obj1
);
3858 if (PyErr_Occurred()) SWIG_fail
;
3860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3861 (arg1
)->SetHeight(arg2
);
3863 wxPyEndAllowThreads(__tstate
);
3864 if (PyErr_Occurred()) SWIG_fail
;
3866 Py_INCREF(Py_None
); resultobj
= Py_None
;
3873 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3874 PyObject
*resultobj
;
3875 wxRect
*arg1
= (wxRect
*) 0 ;
3877 PyObject
* obj0
= 0 ;
3879 (char *) "self", NULL
3882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3887 result
= ((wxRect
const *)arg1
)->GetPosition();
3889 wxPyEndAllowThreads(__tstate
);
3890 if (PyErr_Occurred()) SWIG_fail
;
3893 wxPoint
* resultptr
;
3894 resultptr
= new wxPoint((wxPoint
&) result
);
3895 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3903 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3904 PyObject
*resultobj
;
3905 wxRect
*arg1
= (wxRect
*) 0 ;
3908 PyObject
* obj0
= 0 ;
3909 PyObject
* obj1
= 0 ;
3911 (char *) "self",(char *) "p", NULL
3914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3919 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3923 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3925 wxPyEndAllowThreads(__tstate
);
3926 if (PyErr_Occurred()) SWIG_fail
;
3928 Py_INCREF(Py_None
); resultobj
= Py_None
;
3935 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3936 PyObject
*resultobj
;
3937 wxRect
*arg1
= (wxRect
*) 0 ;
3939 PyObject
* obj0
= 0 ;
3941 (char *) "self", NULL
3944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3949 result
= ((wxRect
const *)arg1
)->GetSize();
3951 wxPyEndAllowThreads(__tstate
);
3952 if (PyErr_Occurred()) SWIG_fail
;
3956 resultptr
= new wxSize((wxSize
&) result
);
3957 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3965 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3966 PyObject
*resultobj
;
3967 wxRect
*arg1
= (wxRect
*) 0 ;
3970 PyObject
* obj0
= 0 ;
3971 PyObject
* obj1
= 0 ;
3973 (char *) "self",(char *) "s", NULL
3976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3981 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3985 (arg1
)->SetSize((wxSize
const &)*arg2
);
3987 wxPyEndAllowThreads(__tstate
);
3988 if (PyErr_Occurred()) SWIG_fail
;
3990 Py_INCREF(Py_None
); resultobj
= Py_None
;
3997 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3998 PyObject
*resultobj
;
3999 wxRect
*arg1
= (wxRect
*) 0 ;
4001 PyObject
* obj0
= 0 ;
4003 (char *) "self", NULL
4006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
4007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4011 result
= ((wxRect
const *)arg1
)->GetTopLeft();
4013 wxPyEndAllowThreads(__tstate
);
4014 if (PyErr_Occurred()) SWIG_fail
;
4017 wxPoint
* resultptr
;
4018 resultptr
= new wxPoint((wxPoint
&) result
);
4019 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4027 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4028 PyObject
*resultobj
;
4029 wxRect
*arg1
= (wxRect
*) 0 ;
4032 PyObject
* obj0
= 0 ;
4033 PyObject
* obj1
= 0 ;
4035 (char *) "self",(char *) "p", NULL
4038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
4039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4043 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4047 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
4049 wxPyEndAllowThreads(__tstate
);
4050 if (PyErr_Occurred()) SWIG_fail
;
4052 Py_INCREF(Py_None
); resultobj
= Py_None
;
4059 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4060 PyObject
*resultobj
;
4061 wxRect
*arg1
= (wxRect
*) 0 ;
4063 PyObject
* obj0
= 0 ;
4065 (char *) "self", NULL
4068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
4069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4073 result
= ((wxRect
const *)arg1
)->GetBottomRight();
4075 wxPyEndAllowThreads(__tstate
);
4076 if (PyErr_Occurred()) SWIG_fail
;
4079 wxPoint
* resultptr
;
4080 resultptr
= new wxPoint((wxPoint
&) result
);
4081 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4089 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4090 PyObject
*resultobj
;
4091 wxRect
*arg1
= (wxRect
*) 0 ;
4094 PyObject
* obj0
= 0 ;
4095 PyObject
* obj1
= 0 ;
4097 (char *) "self",(char *) "p", NULL
4100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4105 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4109 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
4111 wxPyEndAllowThreads(__tstate
);
4112 if (PyErr_Occurred()) SWIG_fail
;
4114 Py_INCREF(Py_None
); resultobj
= Py_None
;
4121 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4122 PyObject
*resultobj
;
4123 wxRect
*arg1
= (wxRect
*) 0 ;
4125 PyObject
* obj0
= 0 ;
4127 (char *) "self", NULL
4130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
4131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4135 result
= (int)((wxRect
const *)arg1
)->GetLeft();
4137 wxPyEndAllowThreads(__tstate
);
4138 if (PyErr_Occurred()) SWIG_fail
;
4140 resultobj
= SWIG_From_int((int)result
);
4147 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4148 PyObject
*resultobj
;
4149 wxRect
*arg1
= (wxRect
*) 0 ;
4151 PyObject
* obj0
= 0 ;
4153 (char *) "self", NULL
4156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
4157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4161 result
= (int)((wxRect
const *)arg1
)->GetTop();
4163 wxPyEndAllowThreads(__tstate
);
4164 if (PyErr_Occurred()) SWIG_fail
;
4166 resultobj
= SWIG_From_int((int)result
);
4173 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4174 PyObject
*resultobj
;
4175 wxRect
*arg1
= (wxRect
*) 0 ;
4177 PyObject
* obj0
= 0 ;
4179 (char *) "self", NULL
4182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
4183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4187 result
= (int)((wxRect
const *)arg1
)->GetBottom();
4189 wxPyEndAllowThreads(__tstate
);
4190 if (PyErr_Occurred()) SWIG_fail
;
4192 resultobj
= SWIG_From_int((int)result
);
4199 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4200 PyObject
*resultobj
;
4201 wxRect
*arg1
= (wxRect
*) 0 ;
4203 PyObject
* obj0
= 0 ;
4205 (char *) "self", NULL
4208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
4209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4213 result
= (int)((wxRect
const *)arg1
)->GetRight();
4215 wxPyEndAllowThreads(__tstate
);
4216 if (PyErr_Occurred()) SWIG_fail
;
4218 resultobj
= SWIG_From_int((int)result
);
4225 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4226 PyObject
*resultobj
;
4227 wxRect
*arg1
= (wxRect
*) 0 ;
4229 PyObject
* obj0
= 0 ;
4230 PyObject
* obj1
= 0 ;
4232 (char *) "self",(char *) "left", NULL
4235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
4236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4238 arg2
= (int)SWIG_As_int(obj1
);
4239 if (PyErr_Occurred()) SWIG_fail
;
4241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4242 (arg1
)->SetLeft(arg2
);
4244 wxPyEndAllowThreads(__tstate
);
4245 if (PyErr_Occurred()) SWIG_fail
;
4247 Py_INCREF(Py_None
); resultobj
= Py_None
;
4254 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4255 PyObject
*resultobj
;
4256 wxRect
*arg1
= (wxRect
*) 0 ;
4258 PyObject
* obj0
= 0 ;
4259 PyObject
* obj1
= 0 ;
4261 (char *) "self",(char *) "right", NULL
4264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4267 arg2
= (int)SWIG_As_int(obj1
);
4268 if (PyErr_Occurred()) SWIG_fail
;
4270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4271 (arg1
)->SetRight(arg2
);
4273 wxPyEndAllowThreads(__tstate
);
4274 if (PyErr_Occurred()) SWIG_fail
;
4276 Py_INCREF(Py_None
); resultobj
= Py_None
;
4283 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4284 PyObject
*resultobj
;
4285 wxRect
*arg1
= (wxRect
*) 0 ;
4287 PyObject
* obj0
= 0 ;
4288 PyObject
* obj1
= 0 ;
4290 (char *) "self",(char *) "top", NULL
4293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
4294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4296 arg2
= (int)SWIG_As_int(obj1
);
4297 if (PyErr_Occurred()) SWIG_fail
;
4299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4300 (arg1
)->SetTop(arg2
);
4302 wxPyEndAllowThreads(__tstate
);
4303 if (PyErr_Occurred()) SWIG_fail
;
4305 Py_INCREF(Py_None
); resultobj
= Py_None
;
4312 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4313 PyObject
*resultobj
;
4314 wxRect
*arg1
= (wxRect
*) 0 ;
4316 PyObject
* obj0
= 0 ;
4317 PyObject
* obj1
= 0 ;
4319 (char *) "self",(char *) "bottom", NULL
4322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
4323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4325 arg2
= (int)SWIG_As_int(obj1
);
4326 if (PyErr_Occurred()) SWIG_fail
;
4328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4329 (arg1
)->SetBottom(arg2
);
4331 wxPyEndAllowThreads(__tstate
);
4332 if (PyErr_Occurred()) SWIG_fail
;
4334 Py_INCREF(Py_None
); resultobj
= Py_None
;
4341 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4342 PyObject
*resultobj
;
4343 wxRect
*arg1
= (wxRect
*) 0 ;
4347 PyObject
* obj0
= 0 ;
4348 PyObject
* obj1
= 0 ;
4349 PyObject
* obj2
= 0 ;
4351 (char *) "self",(char *) "dx",(char *) "dy", NULL
4354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4357 arg2
= (int)SWIG_As_int(obj1
);
4358 if (PyErr_Occurred()) SWIG_fail
;
4359 arg3
= (int)SWIG_As_int(obj2
);
4360 if (PyErr_Occurred()) SWIG_fail
;
4362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4364 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
4365 result
= (wxRect
*) &_result_ref
;
4368 wxPyEndAllowThreads(__tstate
);
4369 if (PyErr_Occurred()) SWIG_fail
;
4371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4378 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4379 PyObject
*resultobj
;
4380 wxRect
*arg1
= (wxRect
*) 0 ;
4384 PyObject
* obj0
= 0 ;
4385 PyObject
* obj1
= 0 ;
4386 PyObject
* obj2
= 0 ;
4388 (char *) "self",(char *) "dx",(char *) "dy", NULL
4391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4394 arg2
= (int)SWIG_As_int(obj1
);
4395 if (PyErr_Occurred()) SWIG_fail
;
4396 arg3
= (int)SWIG_As_int(obj2
);
4397 if (PyErr_Occurred()) SWIG_fail
;
4399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4401 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4402 result
= (wxRect
*) &_result_ref
;
4405 wxPyEndAllowThreads(__tstate
);
4406 if (PyErr_Occurred()) SWIG_fail
;
4408 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4415 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4416 PyObject
*resultobj
;
4417 wxRect
*arg1
= (wxRect
*) 0 ;
4420 PyObject
* obj0
= 0 ;
4421 PyObject
* obj1
= 0 ;
4422 PyObject
* obj2
= 0 ;
4424 (char *) "self",(char *) "dx",(char *) "dy", NULL
4427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4430 arg2
= (int)SWIG_As_int(obj1
);
4431 if (PyErr_Occurred()) SWIG_fail
;
4432 arg3
= (int)SWIG_As_int(obj2
);
4433 if (PyErr_Occurred()) SWIG_fail
;
4435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4436 (arg1
)->Offset(arg2
,arg3
);
4438 wxPyEndAllowThreads(__tstate
);
4439 if (PyErr_Occurred()) SWIG_fail
;
4441 Py_INCREF(Py_None
); resultobj
= Py_None
;
4448 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4449 PyObject
*resultobj
;
4450 wxRect
*arg1
= (wxRect
*) 0 ;
4453 PyObject
* obj0
= 0 ;
4454 PyObject
* obj1
= 0 ;
4456 (char *) "self",(char *) "pt", NULL
4459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4464 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4468 (arg1
)->Offset((wxPoint
const &)*arg2
);
4470 wxPyEndAllowThreads(__tstate
);
4471 if (PyErr_Occurred()) SWIG_fail
;
4473 Py_INCREF(Py_None
); resultobj
= Py_None
;
4480 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4481 PyObject
*resultobj
;
4482 wxRect
*arg1
= (wxRect
*) 0 ;
4486 PyObject
* obj0
= 0 ;
4487 PyObject
* obj1
= 0 ;
4489 (char *) "self",(char *) "rect", NULL
4492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
4493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4497 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4502 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
4503 result
= (wxRect
*) &_result_ref
;
4506 wxPyEndAllowThreads(__tstate
);
4507 if (PyErr_Occurred()) SWIG_fail
;
4509 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4516 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4517 PyObject
*resultobj
;
4518 wxRect
*arg1
= (wxRect
*) 0 ;
4522 PyObject
* obj0
= 0 ;
4523 PyObject
* obj1
= 0 ;
4525 (char *) "self",(char *) "rect", NULL
4528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4533 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4537 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4539 wxPyEndAllowThreads(__tstate
);
4540 if (PyErr_Occurred()) SWIG_fail
;
4544 resultptr
= new wxRect((wxRect
&) result
);
4545 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4553 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4554 PyObject
*resultobj
;
4555 wxRect
*arg1
= (wxRect
*) 0 ;
4559 PyObject
* obj0
= 0 ;
4560 PyObject
* obj1
= 0 ;
4562 (char *) "self",(char *) "rect", NULL
4565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4567 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
4570 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4575 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4576 result
= (wxRect
*) &_result_ref
;
4579 wxPyEndAllowThreads(__tstate
);
4580 if (PyErr_Occurred()) SWIG_fail
;
4582 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4589 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4590 PyObject
*resultobj
;
4591 wxRect
*arg1
= (wxRect
*) 0 ;
4595 PyObject
* obj0
= 0 ;
4596 PyObject
* obj1
= 0 ;
4598 (char *) "self",(char *) "rect", NULL
4601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4606 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4610 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4612 wxPyEndAllowThreads(__tstate
);
4613 if (PyErr_Occurred()) SWIG_fail
;
4616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4624 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4625 PyObject
*resultobj
;
4626 wxRect
*arg1
= (wxRect
*) 0 ;
4630 PyObject
* obj0
= 0 ;
4631 PyObject
* obj1
= 0 ;
4633 (char *) "self",(char *) "rect", NULL
4636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4641 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4645 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4647 wxPyEndAllowThreads(__tstate
);
4648 if (PyErr_Occurred()) SWIG_fail
;
4651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4659 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4660 PyObject
*resultobj
;
4661 wxRect
*arg1
= (wxRect
*) 0 ;
4665 PyObject
* obj0
= 0 ;
4666 PyObject
* obj1
= 0 ;
4667 PyObject
* obj2
= 0 ;
4669 (char *) "self",(char *) "x",(char *) "y", NULL
4672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4675 arg2
= (int)SWIG_As_int(obj1
);
4676 if (PyErr_Occurred()) SWIG_fail
;
4677 arg3
= (int)SWIG_As_int(obj2
);
4678 if (PyErr_Occurred()) SWIG_fail
;
4680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4681 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4683 wxPyEndAllowThreads(__tstate
);
4684 if (PyErr_Occurred()) SWIG_fail
;
4687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4695 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4696 PyObject
*resultobj
;
4697 wxRect
*arg1
= (wxRect
*) 0 ;
4701 PyObject
* obj0
= 0 ;
4702 PyObject
* obj1
= 0 ;
4704 (char *) "self",(char *) "pt", NULL
4707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4712 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4716 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4718 wxPyEndAllowThreads(__tstate
);
4719 if (PyErr_Occurred()) SWIG_fail
;
4722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4730 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4731 PyObject
*resultobj
;
4732 wxRect
*arg1
= (wxRect
*) 0 ;
4736 PyObject
* obj0
= 0 ;
4737 PyObject
* obj1
= 0 ;
4739 (char *) "self",(char *) "rect", NULL
4742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4747 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4751 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4753 wxPyEndAllowThreads(__tstate
);
4754 if (PyErr_Occurred()) SWIG_fail
;
4757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4765 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4766 PyObject
*resultobj
;
4767 wxRect
*arg1
= (wxRect
*) 0 ;
4769 PyObject
* obj0
= 0 ;
4770 PyObject
* obj1
= 0 ;
4772 (char *) "self",(char *) "x", NULL
4775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4778 arg2
= (int)SWIG_As_int(obj1
);
4779 if (PyErr_Occurred()) SWIG_fail
;
4780 if (arg1
) (arg1
)->x
= arg2
;
4782 Py_INCREF(Py_None
); resultobj
= Py_None
;
4789 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4790 PyObject
*resultobj
;
4791 wxRect
*arg1
= (wxRect
*) 0 ;
4793 PyObject
* obj0
= 0 ;
4795 (char *) "self", NULL
4798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4801 result
= (int) ((arg1
)->x
);
4803 resultobj
= SWIG_From_int((int)result
);
4810 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4811 PyObject
*resultobj
;
4812 wxRect
*arg1
= (wxRect
*) 0 ;
4814 PyObject
* obj0
= 0 ;
4815 PyObject
* obj1
= 0 ;
4817 (char *) "self",(char *) "y", NULL
4820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4823 arg2
= (int)SWIG_As_int(obj1
);
4824 if (PyErr_Occurred()) SWIG_fail
;
4825 if (arg1
) (arg1
)->y
= arg2
;
4827 Py_INCREF(Py_None
); resultobj
= Py_None
;
4834 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4835 PyObject
*resultobj
;
4836 wxRect
*arg1
= (wxRect
*) 0 ;
4838 PyObject
* obj0
= 0 ;
4840 (char *) "self", NULL
4843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4846 result
= (int) ((arg1
)->y
);
4848 resultobj
= SWIG_From_int((int)result
);
4855 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4856 PyObject
*resultobj
;
4857 wxRect
*arg1
= (wxRect
*) 0 ;
4859 PyObject
* obj0
= 0 ;
4860 PyObject
* obj1
= 0 ;
4862 (char *) "self",(char *) "width", NULL
4865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4868 arg2
= (int)SWIG_As_int(obj1
);
4869 if (PyErr_Occurred()) SWIG_fail
;
4870 if (arg1
) (arg1
)->width
= arg2
;
4872 Py_INCREF(Py_None
); resultobj
= Py_None
;
4879 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4880 PyObject
*resultobj
;
4881 wxRect
*arg1
= (wxRect
*) 0 ;
4883 PyObject
* obj0
= 0 ;
4885 (char *) "self", NULL
4888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4891 result
= (int) ((arg1
)->width
);
4893 resultobj
= SWIG_From_int((int)result
);
4900 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4901 PyObject
*resultobj
;
4902 wxRect
*arg1
= (wxRect
*) 0 ;
4904 PyObject
* obj0
= 0 ;
4905 PyObject
* obj1
= 0 ;
4907 (char *) "self",(char *) "height", NULL
4910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4913 arg2
= (int)SWIG_As_int(obj1
);
4914 if (PyErr_Occurred()) SWIG_fail
;
4915 if (arg1
) (arg1
)->height
= arg2
;
4917 Py_INCREF(Py_None
); resultobj
= Py_None
;
4924 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4925 PyObject
*resultobj
;
4926 wxRect
*arg1
= (wxRect
*) 0 ;
4928 PyObject
* obj0
= 0 ;
4930 (char *) "self", NULL
4933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
4934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4936 result
= (int) ((arg1
)->height
);
4938 resultobj
= SWIG_From_int((int)result
);
4945 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4946 PyObject
*resultobj
;
4947 wxRect
*arg1
= (wxRect
*) 0 ;
4948 int arg2
= (int) 0 ;
4949 int arg3
= (int) 0 ;
4950 int arg4
= (int) 0 ;
4951 int arg5
= (int) 0 ;
4952 PyObject
* obj0
= 0 ;
4953 PyObject
* obj1
= 0 ;
4954 PyObject
* obj2
= 0 ;
4955 PyObject
* obj3
= 0 ;
4956 PyObject
* obj4
= 0 ;
4958 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4965 arg2
= (int)SWIG_As_int(obj1
);
4966 if (PyErr_Occurred()) SWIG_fail
;
4969 arg3
= (int)SWIG_As_int(obj2
);
4970 if (PyErr_Occurred()) SWIG_fail
;
4973 arg4
= (int)SWIG_As_int(obj3
);
4974 if (PyErr_Occurred()) SWIG_fail
;
4977 arg5
= (int)SWIG_As_int(obj4
);
4978 if (PyErr_Occurred()) SWIG_fail
;
4981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4982 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
4984 wxPyEndAllowThreads(__tstate
);
4985 if (PyErr_Occurred()) SWIG_fail
;
4987 Py_INCREF(Py_None
); resultobj
= Py_None
;
4994 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4995 PyObject
*resultobj
;
4996 wxRect
*arg1
= (wxRect
*) 0 ;
4998 PyObject
* obj0
= 0 ;
5000 (char *) "self", NULL
5003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
5004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5008 result
= (PyObject
*)wxRect_Get(arg1
);
5010 wxPyEndAllowThreads(__tstate
);
5011 if (PyErr_Occurred()) SWIG_fail
;
5020 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
5022 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5023 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
5025 return Py_BuildValue((char *)"");
5027 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5028 PyObject
*resultobj
;
5029 wxRect
*arg1
= (wxRect
*) 0 ;
5030 wxRect
*arg2
= (wxRect
*) 0 ;
5032 PyObject
* obj0
= 0 ;
5033 PyObject
* obj1
= 0 ;
5035 (char *) "r1",(char *) "r2", NULL
5038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5041 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
5042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5044 if (!wxPyCheckForApp()) SWIG_fail
;
5045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5046 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
5048 wxPyEndAllowThreads(__tstate
);
5049 if (PyErr_Occurred()) SWIG_fail
;
5058 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5059 PyObject
*resultobj
;
5060 double arg1
= (double) 0.0 ;
5061 double arg2
= (double) 0.0 ;
5063 PyObject
* obj0
= 0 ;
5064 PyObject
* obj1
= 0 ;
5066 (char *) "x",(char *) "y", NULL
5069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
5071 arg1
= (double)SWIG_As_double(obj0
);
5072 if (PyErr_Occurred()) SWIG_fail
;
5075 arg2
= (double)SWIG_As_double(obj1
);
5076 if (PyErr_Occurred()) SWIG_fail
;
5079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5080 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
5082 wxPyEndAllowThreads(__tstate
);
5083 if (PyErr_Occurred()) SWIG_fail
;
5085 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5092 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5093 PyObject
*resultobj
;
5094 wxPoint2D
*arg1
= 0 ;
5097 PyObject
* obj0
= 0 ;
5102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
5105 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
5108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5109 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
5111 wxPyEndAllowThreads(__tstate
);
5112 if (PyErr_Occurred()) SWIG_fail
;
5114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5121 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5122 PyObject
*resultobj
;
5126 PyObject
* obj0
= 0 ;
5131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
5134 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5138 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
5140 wxPyEndAllowThreads(__tstate
);
5141 if (PyErr_Occurred()) SWIG_fail
;
5143 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5150 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5151 PyObject
*resultobj
;
5152 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5153 int *arg2
= (int *) 0 ;
5154 int *arg3
= (int *) 0 ;
5159 PyObject
* obj0
= 0 ;
5161 (char *) "self", NULL
5164 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5165 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
5167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5171 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
5173 wxPyEndAllowThreads(__tstate
);
5174 if (PyErr_Occurred()) SWIG_fail
;
5176 Py_INCREF(Py_None
); resultobj
= Py_None
;
5177 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5178 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5179 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5180 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5187 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5188 PyObject
*resultobj
;
5189 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5190 int *arg2
= (int *) 0 ;
5191 int *arg3
= (int *) 0 ;
5196 PyObject
* obj0
= 0 ;
5198 (char *) "self", NULL
5201 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5202 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
5204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5208 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
5210 wxPyEndAllowThreads(__tstate
);
5211 if (PyErr_Occurred()) SWIG_fail
;
5213 Py_INCREF(Py_None
); resultobj
= Py_None
;
5214 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5215 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5216 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5217 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5224 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5225 PyObject
*resultobj
;
5226 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5228 PyObject
* obj0
= 0 ;
5230 (char *) "self", NULL
5233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
5234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5238 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
5240 wxPyEndAllowThreads(__tstate
);
5241 if (PyErr_Occurred()) SWIG_fail
;
5243 resultobj
= SWIG_From_double((double)result
);
5250 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5251 PyObject
*resultobj
;
5252 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5254 PyObject
* obj0
= 0 ;
5256 (char *) "self", NULL
5259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
5260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5264 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
5266 wxPyEndAllowThreads(__tstate
);
5267 if (PyErr_Occurred()) SWIG_fail
;
5269 resultobj
= SWIG_From_double((double)result
);
5276 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5277 PyObject
*resultobj
;
5278 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5280 PyObject
* obj0
= 0 ;
5281 PyObject
* obj1
= 0 ;
5283 (char *) "self",(char *) "length", NULL
5286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
5287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5289 arg2
= (double)SWIG_As_double(obj1
);
5290 if (PyErr_Occurred()) SWIG_fail
;
5292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5293 (arg1
)->SetVectorLength(arg2
);
5295 wxPyEndAllowThreads(__tstate
);
5296 if (PyErr_Occurred()) SWIG_fail
;
5298 Py_INCREF(Py_None
); resultobj
= Py_None
;
5305 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5306 PyObject
*resultobj
;
5307 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5309 PyObject
* obj0
= 0 ;
5310 PyObject
* obj1
= 0 ;
5312 (char *) "self",(char *) "degrees", NULL
5315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
5316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5318 arg2
= (double)SWIG_As_double(obj1
);
5319 if (PyErr_Occurred()) SWIG_fail
;
5321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5322 (arg1
)->SetVectorAngle(arg2
);
5324 wxPyEndAllowThreads(__tstate
);
5325 if (PyErr_Occurred()) SWIG_fail
;
5327 Py_INCREF(Py_None
); resultobj
= Py_None
;
5334 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5335 PyObject
*resultobj
;
5336 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5337 wxPoint2D
*arg2
= 0 ;
5340 PyObject
* obj0
= 0 ;
5341 PyObject
* obj1
= 0 ;
5343 (char *) "self",(char *) "pt", NULL
5346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
5347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5351 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5355 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
5357 wxPyEndAllowThreads(__tstate
);
5358 if (PyErr_Occurred()) SWIG_fail
;
5360 resultobj
= SWIG_From_double((double)result
);
5367 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5368 PyObject
*resultobj
;
5369 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5370 wxPoint2D
*arg2
= 0 ;
5373 PyObject
* obj0
= 0 ;
5374 PyObject
* obj1
= 0 ;
5376 (char *) "self",(char *) "pt", NULL
5379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
5380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5384 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5388 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5390 wxPyEndAllowThreads(__tstate
);
5391 if (PyErr_Occurred()) SWIG_fail
;
5393 resultobj
= SWIG_From_double((double)result
);
5400 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5401 PyObject
*resultobj
;
5402 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5403 wxPoint2D
*arg2
= 0 ;
5406 PyObject
* obj0
= 0 ;
5407 PyObject
* obj1
= 0 ;
5409 (char *) "self",(char *) "vec", NULL
5412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5417 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5421 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5423 wxPyEndAllowThreads(__tstate
);
5424 if (PyErr_Occurred()) SWIG_fail
;
5426 resultobj
= SWIG_From_double((double)result
);
5433 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5434 PyObject
*resultobj
;
5435 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5436 wxPoint2D
*arg2
= 0 ;
5439 PyObject
* obj0
= 0 ;
5440 PyObject
* obj1
= 0 ;
5442 (char *) "self",(char *) "vec", NULL
5445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5450 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5454 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5456 wxPyEndAllowThreads(__tstate
);
5457 if (PyErr_Occurred()) SWIG_fail
;
5459 resultobj
= SWIG_From_double((double)result
);
5466 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5467 PyObject
*resultobj
;
5468 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5470 PyObject
* obj0
= 0 ;
5472 (char *) "self", NULL
5475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5480 result
= (arg1
)->operator -();
5482 wxPyEndAllowThreads(__tstate
);
5483 if (PyErr_Occurred()) SWIG_fail
;
5486 wxPoint2D
* resultptr
;
5487 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5488 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5496 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5497 PyObject
*resultobj
;
5498 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5499 wxPoint2D
*arg2
= 0 ;
5502 PyObject
* obj0
= 0 ;
5503 PyObject
* obj1
= 0 ;
5505 (char *) "self",(char *) "pt", NULL
5508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5510 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5513 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5518 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
5519 result
= (wxPoint2D
*) &_result_ref
;
5522 wxPyEndAllowThreads(__tstate
);
5523 if (PyErr_Occurred()) SWIG_fail
;
5525 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5532 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5533 PyObject
*resultobj
;
5534 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5535 wxPoint2D
*arg2
= 0 ;
5538 PyObject
* obj0
= 0 ;
5539 PyObject
* obj1
= 0 ;
5541 (char *) "self",(char *) "pt", NULL
5544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
5545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5546 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5549 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5554 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
5555 result
= (wxPoint2D
*) &_result_ref
;
5558 wxPyEndAllowThreads(__tstate
);
5559 if (PyErr_Occurred()) SWIG_fail
;
5561 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5568 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5569 PyObject
*resultobj
;
5570 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5571 wxPoint2D
*arg2
= 0 ;
5574 PyObject
* obj0
= 0 ;
5575 PyObject
* obj1
= 0 ;
5577 (char *) "self",(char *) "pt", NULL
5580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
5581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5582 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5585 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5590 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
5591 result
= (wxPoint2D
*) &_result_ref
;
5594 wxPyEndAllowThreads(__tstate
);
5595 if (PyErr_Occurred()) SWIG_fail
;
5597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5604 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5605 PyObject
*resultobj
;
5606 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5607 wxPoint2D
*arg2
= 0 ;
5610 PyObject
* obj0
= 0 ;
5611 PyObject
* obj1
= 0 ;
5613 (char *) "self",(char *) "pt", NULL
5616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5618 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5621 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5626 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5627 result
= (wxPoint2D
*) &_result_ref
;
5630 wxPyEndAllowThreads(__tstate
);
5631 if (PyErr_Occurred()) SWIG_fail
;
5633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5640 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5641 PyObject
*resultobj
;
5642 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5643 wxPoint2D
*arg2
= 0 ;
5646 PyObject
* obj0
= 0 ;
5647 PyObject
* obj1
= 0 ;
5649 (char *) "self",(char *) "pt", NULL
5652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5657 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5661 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5663 wxPyEndAllowThreads(__tstate
);
5664 if (PyErr_Occurred()) SWIG_fail
;
5667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5675 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5676 PyObject
*resultobj
;
5677 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5678 wxPoint2D
*arg2
= 0 ;
5681 PyObject
* obj0
= 0 ;
5682 PyObject
* obj1
= 0 ;
5684 (char *) "self",(char *) "pt", NULL
5687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5692 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5696 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5698 wxPyEndAllowThreads(__tstate
);
5699 if (PyErr_Occurred()) SWIG_fail
;
5702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5710 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5711 PyObject
*resultobj
;
5712 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5714 PyObject
* obj0
= 0 ;
5715 PyObject
* obj1
= 0 ;
5717 (char *) "self",(char *) "m_x", NULL
5720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5723 arg2
= (double)SWIG_As_double(obj1
);
5724 if (PyErr_Occurred()) SWIG_fail
;
5725 if (arg1
) (arg1
)->m_x
= arg2
;
5727 Py_INCREF(Py_None
); resultobj
= Py_None
;
5734 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5735 PyObject
*resultobj
;
5736 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5738 PyObject
* obj0
= 0 ;
5740 (char *) "self", NULL
5743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5746 result
= (double) ((arg1
)->m_x
);
5748 resultobj
= SWIG_From_double((double)result
);
5755 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5756 PyObject
*resultobj
;
5757 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5759 PyObject
* obj0
= 0 ;
5760 PyObject
* obj1
= 0 ;
5762 (char *) "self",(char *) "m_y", NULL
5765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5768 arg2
= (double)SWIG_As_double(obj1
);
5769 if (PyErr_Occurred()) SWIG_fail
;
5770 if (arg1
) (arg1
)->m_y
= arg2
;
5772 Py_INCREF(Py_None
); resultobj
= Py_None
;
5779 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5780 PyObject
*resultobj
;
5781 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5783 PyObject
* obj0
= 0 ;
5785 (char *) "self", NULL
5788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5791 result
= (double) ((arg1
)->m_y
);
5793 resultobj
= SWIG_From_double((double)result
);
5800 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5801 PyObject
*resultobj
;
5802 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5803 double arg2
= (double) 0 ;
5804 double arg3
= (double) 0 ;
5805 PyObject
* obj0
= 0 ;
5806 PyObject
* obj1
= 0 ;
5807 PyObject
* obj2
= 0 ;
5809 (char *) "self",(char *) "x",(char *) "y", NULL
5812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5816 arg2
= (double)SWIG_As_double(obj1
);
5817 if (PyErr_Occurred()) SWIG_fail
;
5820 arg3
= (double)SWIG_As_double(obj2
);
5821 if (PyErr_Occurred()) SWIG_fail
;
5824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5825 wxPoint2D_Set(arg1
,arg2
,arg3
);
5827 wxPyEndAllowThreads(__tstate
);
5828 if (PyErr_Occurred()) SWIG_fail
;
5830 Py_INCREF(Py_None
); resultobj
= Py_None
;
5837 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5838 PyObject
*resultobj
;
5839 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5841 PyObject
* obj0
= 0 ;
5843 (char *) "self", NULL
5846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5851 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5853 wxPyEndAllowThreads(__tstate
);
5854 if (PyErr_Occurred()) SWIG_fail
;
5863 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
5865 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5866 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5868 return Py_BuildValue((char *)"");
5870 static int _wrap_DefaultPosition_set(PyObject
*) {
5871 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5876 static PyObject
*_wrap_DefaultPosition_get() {
5879 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
5884 static int _wrap_DefaultSize_set(PyObject
*) {
5885 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5890 static PyObject
*_wrap_DefaultSize_get() {
5893 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
5898 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5899 PyObject
*resultobj
;
5900 PyObject
*arg1
= (PyObject
*) 0 ;
5901 wxPyInputStream
*result
;
5902 PyObject
* obj0
= 0 ;
5907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5911 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5913 wxPyEndAllowThreads(__tstate
);
5914 if (PyErr_Occurred()) SWIG_fail
;
5916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
5923 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5924 PyObject
*resultobj
;
5925 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5926 PyObject
* obj0
= 0 ;
5928 (char *) "self", NULL
5931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
5932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5938 wxPyEndAllowThreads(__tstate
);
5939 if (PyErr_Occurred()) SWIG_fail
;
5941 Py_INCREF(Py_None
); resultobj
= Py_None
;
5948 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5949 PyObject
*resultobj
;
5950 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5951 PyObject
* obj0
= 0 ;
5953 (char *) "self", NULL
5956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
5957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5963 wxPyEndAllowThreads(__tstate
);
5964 if (PyErr_Occurred()) SWIG_fail
;
5966 Py_INCREF(Py_None
); resultobj
= Py_None
;
5973 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5974 PyObject
*resultobj
;
5975 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5977 PyObject
* obj0
= 0 ;
5979 (char *) "self", NULL
5982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
5983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5987 result
= (bool)(arg1
)->eof();
5989 wxPyEndAllowThreads(__tstate
);
5990 if (PyErr_Occurred()) SWIG_fail
;
5993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6001 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6002 PyObject
*resultobj
;
6003 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6004 int arg2
= (int) -1 ;
6006 PyObject
* obj0
= 0 ;
6007 PyObject
* obj1
= 0 ;
6009 (char *) "self",(char *) "size", NULL
6012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
6013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6016 arg2
= (int)SWIG_As_int(obj1
);
6017 if (PyErr_Occurred()) SWIG_fail
;
6020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6021 result
= (PyObject
*)(arg1
)->read(arg2
);
6023 wxPyEndAllowThreads(__tstate
);
6024 if (PyErr_Occurred()) SWIG_fail
;
6033 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6034 PyObject
*resultobj
;
6035 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6036 int arg2
= (int) -1 ;
6038 PyObject
* obj0
= 0 ;
6039 PyObject
* obj1
= 0 ;
6041 (char *) "self",(char *) "size", NULL
6044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
6045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6048 arg2
= (int)SWIG_As_int(obj1
);
6049 if (PyErr_Occurred()) SWIG_fail
;
6052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6053 result
= (PyObject
*)(arg1
)->readline(arg2
);
6055 wxPyEndAllowThreads(__tstate
);
6056 if (PyErr_Occurred()) SWIG_fail
;
6065 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6066 PyObject
*resultobj
;
6067 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6068 int arg2
= (int) -1 ;
6070 PyObject
* obj0
= 0 ;
6071 PyObject
* obj1
= 0 ;
6073 (char *) "self",(char *) "sizehint", NULL
6076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
6077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6080 arg2
= (int)SWIG_As_int(obj1
);
6081 if (PyErr_Occurred()) SWIG_fail
;
6084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6085 result
= (PyObject
*)(arg1
)->readlines(arg2
);
6087 wxPyEndAllowThreads(__tstate
);
6088 if (PyErr_Occurred()) SWIG_fail
;
6097 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6098 PyObject
*resultobj
;
6099 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6101 int arg3
= (int) 0 ;
6102 PyObject
* obj0
= 0 ;
6103 PyObject
* obj1
= 0 ;
6104 PyObject
* obj2
= 0 ;
6106 (char *) "self",(char *) "offset",(char *) "whence", NULL
6109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6112 arg2
= (int)SWIG_As_int(obj1
);
6113 if (PyErr_Occurred()) SWIG_fail
;
6115 arg3
= (int)SWIG_As_int(obj2
);
6116 if (PyErr_Occurred()) SWIG_fail
;
6119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6120 (arg1
)->seek(arg2
,arg3
);
6122 wxPyEndAllowThreads(__tstate
);
6123 if (PyErr_Occurred()) SWIG_fail
;
6125 Py_INCREF(Py_None
); resultobj
= Py_None
;
6132 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6133 PyObject
*resultobj
;
6134 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6136 PyObject
* obj0
= 0 ;
6138 (char *) "self", NULL
6141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
6142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6146 result
= (int)(arg1
)->tell();
6148 wxPyEndAllowThreads(__tstate
);
6149 if (PyErr_Occurred()) SWIG_fail
;
6151 resultobj
= SWIG_From_int((int)result
);
6158 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6159 PyObject
*resultobj
;
6160 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6162 PyObject
* obj0
= 0 ;
6164 (char *) "self", NULL
6167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
6168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6172 result
= (char)(arg1
)->Peek();
6174 wxPyEndAllowThreads(__tstate
);
6175 if (PyErr_Occurred()) SWIG_fail
;
6177 resultobj
= SWIG_From_char((char)result
);
6184 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6185 PyObject
*resultobj
;
6186 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6188 PyObject
* obj0
= 0 ;
6190 (char *) "self", NULL
6193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
6194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6198 result
= (char)(arg1
)->GetC();
6200 wxPyEndAllowThreads(__tstate
);
6201 if (PyErr_Occurred()) SWIG_fail
;
6203 resultobj
= SWIG_From_char((char)result
);
6210 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6211 PyObject
*resultobj
;
6212 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6214 PyObject
* obj0
= 0 ;
6216 (char *) "self", NULL
6219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
6220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6224 result
= (size_t)(arg1
)->LastRead();
6226 wxPyEndAllowThreads(__tstate
);
6227 if (PyErr_Occurred()) SWIG_fail
;
6229 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
6236 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6237 PyObject
*resultobj
;
6238 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6240 PyObject
* obj0
= 0 ;
6242 (char *) "self", NULL
6245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
6246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6250 result
= (bool)(arg1
)->CanRead();
6252 wxPyEndAllowThreads(__tstate
);
6253 if (PyErr_Occurred()) SWIG_fail
;
6256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6264 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6265 PyObject
*resultobj
;
6266 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6268 PyObject
* obj0
= 0 ;
6270 (char *) "self", NULL
6273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
6274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6278 result
= (bool)(arg1
)->Eof();
6280 wxPyEndAllowThreads(__tstate
);
6281 if (PyErr_Occurred()) SWIG_fail
;
6284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6292 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6293 PyObject
*resultobj
;
6294 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6297 PyObject
* obj0
= 0 ;
6298 PyObject
* obj1
= 0 ;
6300 (char *) "self",(char *) "c", NULL
6303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
6304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6306 arg2
= (char)SWIG_As_char(obj1
);
6307 if (PyErr_Occurred()) SWIG_fail
;
6309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6310 result
= (bool)(arg1
)->Ungetch(arg2
);
6312 wxPyEndAllowThreads(__tstate
);
6313 if (PyErr_Occurred()) SWIG_fail
;
6316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6324 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6325 PyObject
*resultobj
;
6326 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6328 int arg3
= (int) wxFromStart
;
6330 PyObject
* obj0
= 0 ;
6331 PyObject
* obj1
= 0 ;
6332 PyObject
* obj2
= 0 ;
6334 (char *) "self",(char *) "pos",(char *) "mode", NULL
6337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6340 arg2
= (long)SWIG_As_long(obj1
);
6341 if (PyErr_Occurred()) SWIG_fail
;
6343 arg3
= (int)SWIG_As_int(obj2
);
6344 if (PyErr_Occurred()) SWIG_fail
;
6347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6348 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
6350 wxPyEndAllowThreads(__tstate
);
6351 if (PyErr_Occurred()) SWIG_fail
;
6353 resultobj
= SWIG_From_long((long)result
);
6360 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6361 PyObject
*resultobj
;
6362 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6364 PyObject
* obj0
= 0 ;
6366 (char *) "self", NULL
6369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
6370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6374 result
= (long)(arg1
)->TellI();
6376 wxPyEndAllowThreads(__tstate
);
6377 if (PyErr_Occurred()) SWIG_fail
;
6379 resultobj
= SWIG_From_long((long)result
);
6386 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
6388 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6389 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
6391 return Py_BuildValue((char *)"");
6393 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6394 PyObject
*resultobj
;
6395 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
6396 PyObject
*arg2
= (PyObject
*) 0 ;
6397 PyObject
* obj0
= 0 ;
6398 PyObject
* obj1
= 0 ;
6400 (char *) "self",(char *) "obj", NULL
6403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6409 wxOutputStream_write(arg1
,arg2
);
6411 wxPyEndAllowThreads(__tstate
);
6412 if (PyErr_Occurred()) SWIG_fail
;
6414 Py_INCREF(Py_None
); resultobj
= Py_None
;
6421 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
6423 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6424 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6426 return Py_BuildValue((char *)"");
6428 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6429 PyObject
*resultobj
;
6430 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6431 wxString
*arg2
= 0 ;
6432 wxString
*arg3
= 0 ;
6433 wxString
*arg4
= 0 ;
6436 wxPyInputStream
*temp1
;
6438 bool temp2
= False
;
6439 bool temp3
= False
;
6440 bool temp4
= False
;
6442 PyObject
* obj0
= 0 ;
6443 PyObject
* obj1
= 0 ;
6444 PyObject
* obj2
= 0 ;
6445 PyObject
* obj3
= 0 ;
6446 PyObject
* obj4
= 0 ;
6448 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6453 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6454 arg1
= temp1
->m_wxis
;
6457 PyErr_Clear(); // clear the failure of the wxPyConvert above
6458 arg1
= wxPyCBInputStream_create(obj0
, False
);
6460 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6467 arg2
= wxString_in_helper(obj1
);
6468 if (arg2
== NULL
) SWIG_fail
;
6472 arg3
= wxString_in_helper(obj2
);
6473 if (arg3
== NULL
) SWIG_fail
;
6477 arg4
= wxString_in_helper(obj3
);
6478 if (arg4
== NULL
) SWIG_fail
;
6481 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6482 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6486 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6488 wxPyEndAllowThreads(__tstate
);
6489 if (PyErr_Occurred()) SWIG_fail
;
6492 resultobj
= wxPyMake_wxObject(result
, 1);
6532 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6533 PyObject
*resultobj
;
6534 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6535 PyObject
* obj0
= 0 ;
6537 (char *) "self", NULL
6540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
6541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6547 wxPyEndAllowThreads(__tstate
);
6548 if (PyErr_Occurred()) SWIG_fail
;
6550 Py_INCREF(Py_None
); resultobj
= Py_None
;
6557 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6558 PyObject
*resultobj
;
6559 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6560 wxInputStream
*result
;
6561 PyObject
* obj0
= 0 ;
6563 (char *) "self", NULL
6566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
6567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6571 result
= (wxInputStream
*)(arg1
)->GetStream();
6573 wxPyEndAllowThreads(__tstate
);
6574 if (PyErr_Occurred()) SWIG_fail
;
6577 wxPyInputStream
* _ptr
= NULL
;
6580 _ptr
= new wxPyInputStream(result
);
6582 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
6590 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6591 PyObject
*resultobj
;
6592 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6594 PyObject
* obj0
= 0 ;
6596 (char *) "self", NULL
6599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6605 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6606 result
= (wxString
*) &_result_ref
;
6609 wxPyEndAllowThreads(__tstate
);
6610 if (PyErr_Occurred()) SWIG_fail
;
6614 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6616 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6625 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6626 PyObject
*resultobj
;
6627 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6629 PyObject
* obj0
= 0 ;
6631 (char *) "self", NULL
6634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6640 wxString
const &_result_ref
= (arg1
)->GetLocation();
6641 result
= (wxString
*) &_result_ref
;
6644 wxPyEndAllowThreads(__tstate
);
6645 if (PyErr_Occurred()) SWIG_fail
;
6649 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6651 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6660 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6661 PyObject
*resultobj
;
6662 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6664 PyObject
* obj0
= 0 ;
6666 (char *) "self", NULL
6669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6675 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6676 result
= (wxString
*) &_result_ref
;
6679 wxPyEndAllowThreads(__tstate
);
6680 if (PyErr_Occurred()) SWIG_fail
;
6684 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6686 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6695 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6696 PyObject
*resultobj
;
6697 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6699 PyObject
* obj0
= 0 ;
6701 (char *) "self", NULL
6704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6709 result
= (arg1
)->GetModificationTime();
6711 wxPyEndAllowThreads(__tstate
);
6712 if (PyErr_Occurred()) SWIG_fail
;
6715 wxDateTime
* resultptr
;
6716 resultptr
= new wxDateTime((wxDateTime
&) result
);
6717 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6725 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
6727 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6728 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6730 return Py_BuildValue((char *)"");
6732 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
6734 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6735 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6737 return Py_BuildValue((char *)"");
6739 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6740 PyObject
*resultobj
;
6741 wxPyFileSystemHandler
*result
;
6746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6749 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6751 wxPyEndAllowThreads(__tstate
);
6752 if (PyErr_Occurred()) SWIG_fail
;
6754 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6761 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6762 PyObject
*resultobj
;
6763 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6764 PyObject
*arg2
= (PyObject
*) 0 ;
6765 PyObject
*arg3
= (PyObject
*) 0 ;
6766 PyObject
* obj0
= 0 ;
6767 PyObject
* obj1
= 0 ;
6768 PyObject
* obj2
= 0 ;
6770 (char *) "self",(char *) "self",(char *) "_class", NULL
6773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6780 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6782 wxPyEndAllowThreads(__tstate
);
6783 if (PyErr_Occurred()) SWIG_fail
;
6785 Py_INCREF(Py_None
); resultobj
= Py_None
;
6792 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6793 PyObject
*resultobj
;
6794 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6795 wxString
*arg2
= 0 ;
6797 bool temp2
= False
;
6798 PyObject
* obj0
= 0 ;
6799 PyObject
* obj1
= 0 ;
6801 (char *) "self",(char *) "location", NULL
6804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6808 arg2
= wxString_in_helper(obj1
);
6809 if (arg2
== NULL
) SWIG_fail
;
6813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6814 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6816 wxPyEndAllowThreads(__tstate
);
6817 if (PyErr_Occurred()) SWIG_fail
;
6820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6836 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6837 PyObject
*resultobj
;
6838 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6839 wxFileSystem
*arg2
= 0 ;
6840 wxString
*arg3
= 0 ;
6842 bool temp3
= False
;
6843 PyObject
* obj0
= 0 ;
6844 PyObject
* obj1
= 0 ;
6845 PyObject
* obj2
= 0 ;
6847 (char *) "self",(char *) "fs",(char *) "location", NULL
6850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6853 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
6854 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6857 PyErr_SetString(PyExc_TypeError
,"null reference");
6861 arg3
= wxString_in_helper(obj2
);
6862 if (arg3
== NULL
) SWIG_fail
;
6866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6867 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6869 wxPyEndAllowThreads(__tstate
);
6870 if (PyErr_Occurred()) SWIG_fail
;
6873 resultobj
= wxPyMake_wxObject(result
, 1);
6889 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6890 PyObject
*resultobj
;
6891 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6892 wxString
*arg2
= 0 ;
6893 int arg3
= (int) 0 ;
6895 bool temp2
= False
;
6896 PyObject
* obj0
= 0 ;
6897 PyObject
* obj1
= 0 ;
6898 PyObject
* obj2
= 0 ;
6900 (char *) "self",(char *) "spec",(char *) "flags", NULL
6903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6907 arg2
= wxString_in_helper(obj1
);
6908 if (arg2
== NULL
) SWIG_fail
;
6912 arg3
= (int)SWIG_As_int(obj2
);
6913 if (PyErr_Occurred()) SWIG_fail
;
6916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6917 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6919 wxPyEndAllowThreads(__tstate
);
6920 if (PyErr_Occurred()) SWIG_fail
;
6924 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6926 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6943 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6944 PyObject
*resultobj
;
6945 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6947 PyObject
* obj0
= 0 ;
6949 (char *) "self", NULL
6952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6957 result
= (arg1
)->FindNext();
6959 wxPyEndAllowThreads(__tstate
);
6960 if (PyErr_Occurred()) SWIG_fail
;
6964 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6966 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6975 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6976 PyObject
*resultobj
;
6977 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6978 wxString
*arg2
= 0 ;
6980 bool temp2
= False
;
6981 PyObject
* obj0
= 0 ;
6982 PyObject
* obj1
= 0 ;
6984 (char *) "self",(char *) "location", NULL
6987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
6988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6991 arg2
= wxString_in_helper(obj1
);
6992 if (arg2
== NULL
) SWIG_fail
;
6996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6997 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
6999 wxPyEndAllowThreads(__tstate
);
7000 if (PyErr_Occurred()) SWIG_fail
;
7004 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7006 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7023 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7024 PyObject
*resultobj
;
7025 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7026 wxString
*arg2
= 0 ;
7028 bool temp2
= False
;
7029 PyObject
* obj0
= 0 ;
7030 PyObject
* obj1
= 0 ;
7032 (char *) "self",(char *) "location", NULL
7035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
7036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7039 arg2
= wxString_in_helper(obj1
);
7040 if (arg2
== NULL
) SWIG_fail
;
7044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7045 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
7047 wxPyEndAllowThreads(__tstate
);
7048 if (PyErr_Occurred()) SWIG_fail
;
7052 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7054 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7071 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7072 PyObject
*resultobj
;
7073 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7074 wxString
*arg2
= 0 ;
7076 bool temp2
= False
;
7077 PyObject
* obj0
= 0 ;
7078 PyObject
* obj1
= 0 ;
7080 (char *) "self",(char *) "location", NULL
7083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
7084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7087 arg2
= wxString_in_helper(obj1
);
7088 if (arg2
== NULL
) SWIG_fail
;
7092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7093 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
7095 wxPyEndAllowThreads(__tstate
);
7096 if (PyErr_Occurred()) SWIG_fail
;
7100 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7102 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7119 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7120 PyObject
*resultobj
;
7121 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7122 wxString
*arg2
= 0 ;
7124 bool temp2
= False
;
7125 PyObject
* obj0
= 0 ;
7126 PyObject
* obj1
= 0 ;
7128 (char *) "self",(char *) "location", NULL
7131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
7132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7135 arg2
= wxString_in_helper(obj1
);
7136 if (arg2
== NULL
) SWIG_fail
;
7140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7141 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
7143 wxPyEndAllowThreads(__tstate
);
7144 if (PyErr_Occurred()) SWIG_fail
;
7148 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7150 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7167 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7168 PyObject
*resultobj
;
7169 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7170 wxString
*arg2
= 0 ;
7172 bool temp2
= False
;
7173 PyObject
* obj0
= 0 ;
7174 PyObject
* obj1
= 0 ;
7176 (char *) "self",(char *) "location", NULL
7179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
7180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7183 arg2
= wxString_in_helper(obj1
);
7184 if (arg2
== NULL
) SWIG_fail
;
7188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7189 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
7191 wxPyEndAllowThreads(__tstate
);
7192 if (PyErr_Occurred()) SWIG_fail
;
7196 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7198 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7215 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
7217 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7218 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
7220 return Py_BuildValue((char *)"");
7222 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7223 PyObject
*resultobj
;
7224 wxFileSystem
*result
;
7229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
7231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7232 result
= (wxFileSystem
*)new wxFileSystem();
7234 wxPyEndAllowThreads(__tstate
);
7235 if (PyErr_Occurred()) SWIG_fail
;
7238 resultobj
= wxPyMake_wxObject(result
, 1);
7246 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7247 PyObject
*resultobj
;
7248 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7249 PyObject
* obj0
= 0 ;
7251 (char *) "self", NULL
7254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
7255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7261 wxPyEndAllowThreads(__tstate
);
7262 if (PyErr_Occurred()) SWIG_fail
;
7264 Py_INCREF(Py_None
); resultobj
= Py_None
;
7271 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7272 PyObject
*resultobj
;
7273 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7274 wxString
*arg2
= 0 ;
7275 bool arg3
= (bool) False
;
7276 bool temp2
= False
;
7277 PyObject
* obj0
= 0 ;
7278 PyObject
* obj1
= 0 ;
7279 PyObject
* obj2
= 0 ;
7281 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7288 arg2
= wxString_in_helper(obj1
);
7289 if (arg2
== NULL
) SWIG_fail
;
7293 arg3
= (bool)SWIG_As_bool(obj2
);
7294 if (PyErr_Occurred()) SWIG_fail
;
7297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7298 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
7300 wxPyEndAllowThreads(__tstate
);
7301 if (PyErr_Occurred()) SWIG_fail
;
7303 Py_INCREF(Py_None
); resultobj
= Py_None
;
7318 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7319 PyObject
*resultobj
;
7320 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7322 PyObject
* obj0
= 0 ;
7324 (char *) "self", NULL
7327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
7328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7332 result
= (arg1
)->GetPath();
7334 wxPyEndAllowThreads(__tstate
);
7335 if (PyErr_Occurred()) SWIG_fail
;
7339 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7341 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7350 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7351 PyObject
*resultobj
;
7352 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7353 wxString
*arg2
= 0 ;
7355 bool temp2
= False
;
7356 PyObject
* obj0
= 0 ;
7357 PyObject
* obj1
= 0 ;
7359 (char *) "self",(char *) "location", NULL
7362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7366 arg2
= wxString_in_helper(obj1
);
7367 if (arg2
== NULL
) SWIG_fail
;
7371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7372 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
7374 wxPyEndAllowThreads(__tstate
);
7375 if (PyErr_Occurred()) SWIG_fail
;
7378 resultobj
= wxPyMake_wxObject(result
, 1);
7394 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7395 PyObject
*resultobj
;
7396 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7397 wxString
*arg2
= 0 ;
7398 int arg3
= (int) 0 ;
7400 bool temp2
= False
;
7401 PyObject
* obj0
= 0 ;
7402 PyObject
* obj1
= 0 ;
7403 PyObject
* obj2
= 0 ;
7405 (char *) "self",(char *) "spec",(char *) "flags", NULL
7408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7412 arg2
= wxString_in_helper(obj1
);
7413 if (arg2
== NULL
) SWIG_fail
;
7417 arg3
= (int)SWIG_As_int(obj2
);
7418 if (PyErr_Occurred()) SWIG_fail
;
7421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7422 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7424 wxPyEndAllowThreads(__tstate
);
7425 if (PyErr_Occurred()) SWIG_fail
;
7429 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7431 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7448 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7449 PyObject
*resultobj
;
7450 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7452 PyObject
* obj0
= 0 ;
7454 (char *) "self", NULL
7457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7462 result
= (arg1
)->FindNext();
7464 wxPyEndAllowThreads(__tstate
);
7465 if (PyErr_Occurred()) SWIG_fail
;
7469 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7471 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7480 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7481 PyObject
*resultobj
;
7482 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7483 PyObject
* obj0
= 0 ;
7485 (char *) "handler", NULL
7488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7493 wxFileSystem::AddHandler(arg1
);
7495 wxPyEndAllowThreads(__tstate
);
7496 if (PyErr_Occurred()) SWIG_fail
;
7498 Py_INCREF(Py_None
); resultobj
= Py_None
;
7505 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7506 PyObject
*resultobj
;
7511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7514 wxFileSystem::CleanUpHandlers();
7516 wxPyEndAllowThreads(__tstate
);
7517 if (PyErr_Occurred()) SWIG_fail
;
7519 Py_INCREF(Py_None
); resultobj
= Py_None
;
7526 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7527 PyObject
*resultobj
;
7528 wxString
*arg1
= 0 ;
7530 bool temp1
= False
;
7531 PyObject
* obj0
= 0 ;
7533 (char *) "filename", NULL
7536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7538 arg1
= wxString_in_helper(obj0
);
7539 if (arg1
== NULL
) SWIG_fail
;
7543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7544 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
7546 wxPyEndAllowThreads(__tstate
);
7547 if (PyErr_Occurred()) SWIG_fail
;
7551 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7553 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7570 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
7572 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7573 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7575 return Py_BuildValue((char *)"");
7577 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7578 PyObject
*resultobj
;
7579 wxString
*arg1
= 0 ;
7581 bool temp1
= False
;
7582 PyObject
* obj0
= 0 ;
7584 (char *) "url", NULL
7587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7589 arg1
= wxString_in_helper(obj0
);
7590 if (arg1
== NULL
) SWIG_fail
;
7594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7595 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
7597 wxPyEndAllowThreads(__tstate
);
7598 if (PyErr_Occurred()) SWIG_fail
;
7602 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7604 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7621 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7622 PyObject
*resultobj
;
7623 wxInternetFSHandler
*result
;
7628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7631 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7633 wxPyEndAllowThreads(__tstate
);
7634 if (PyErr_Occurred()) SWIG_fail
;
7636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7643 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7644 PyObject
*resultobj
;
7645 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7646 wxString
*arg2
= 0 ;
7648 bool temp2
= False
;
7649 PyObject
* obj0
= 0 ;
7650 PyObject
* obj1
= 0 ;
7652 (char *) "self",(char *) "location", NULL
7655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7659 arg2
= wxString_in_helper(obj1
);
7660 if (arg2
== NULL
) SWIG_fail
;
7664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7665 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7667 wxPyEndAllowThreads(__tstate
);
7668 if (PyErr_Occurred()) SWIG_fail
;
7671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7687 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7688 PyObject
*resultobj
;
7689 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7690 wxFileSystem
*arg2
= 0 ;
7691 wxString
*arg3
= 0 ;
7693 bool temp3
= False
;
7694 PyObject
* obj0
= 0 ;
7695 PyObject
* obj1
= 0 ;
7696 PyObject
* obj2
= 0 ;
7698 (char *) "self",(char *) "fs",(char *) "location", NULL
7701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7704 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7705 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7708 PyErr_SetString(PyExc_TypeError
,"null reference");
7712 arg3
= wxString_in_helper(obj2
);
7713 if (arg3
== NULL
) SWIG_fail
;
7717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7718 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7720 wxPyEndAllowThreads(__tstate
);
7721 if (PyErr_Occurred()) SWIG_fail
;
7724 resultobj
= wxPyMake_wxObject(result
, 1);
7740 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
7742 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7743 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7745 return Py_BuildValue((char *)"");
7747 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7748 PyObject
*resultobj
;
7749 wxZipFSHandler
*result
;
7754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7757 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7759 wxPyEndAllowThreads(__tstate
);
7760 if (PyErr_Occurred()) SWIG_fail
;
7762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7769 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7770 PyObject
*resultobj
;
7771 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7772 wxString
*arg2
= 0 ;
7774 bool temp2
= False
;
7775 PyObject
* obj0
= 0 ;
7776 PyObject
* obj1
= 0 ;
7778 (char *) "self",(char *) "location", NULL
7781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7785 arg2
= wxString_in_helper(obj1
);
7786 if (arg2
== NULL
) SWIG_fail
;
7790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7791 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7793 wxPyEndAllowThreads(__tstate
);
7794 if (PyErr_Occurred()) SWIG_fail
;
7797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7813 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7814 PyObject
*resultobj
;
7815 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7816 wxFileSystem
*arg2
= 0 ;
7817 wxString
*arg3
= 0 ;
7819 bool temp3
= False
;
7820 PyObject
* obj0
= 0 ;
7821 PyObject
* obj1
= 0 ;
7822 PyObject
* obj2
= 0 ;
7824 (char *) "self",(char *) "fs",(char *) "location", NULL
7827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7830 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7831 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7834 PyErr_SetString(PyExc_TypeError
,"null reference");
7838 arg3
= wxString_in_helper(obj2
);
7839 if (arg3
== NULL
) SWIG_fail
;
7843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7844 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7846 wxPyEndAllowThreads(__tstate
);
7847 if (PyErr_Occurred()) SWIG_fail
;
7850 resultobj
= wxPyMake_wxObject(result
, 1);
7866 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7867 PyObject
*resultobj
;
7868 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7869 wxString
*arg2
= 0 ;
7870 int arg3
= (int) 0 ;
7872 bool temp2
= False
;
7873 PyObject
* obj0
= 0 ;
7874 PyObject
* obj1
= 0 ;
7875 PyObject
* obj2
= 0 ;
7877 (char *) "self",(char *) "spec",(char *) "flags", NULL
7880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7884 arg2
= wxString_in_helper(obj1
);
7885 if (arg2
== NULL
) SWIG_fail
;
7889 arg3
= (int)SWIG_As_int(obj2
);
7890 if (PyErr_Occurred()) SWIG_fail
;
7893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7894 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7896 wxPyEndAllowThreads(__tstate
);
7897 if (PyErr_Occurred()) SWIG_fail
;
7901 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7903 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7920 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7921 PyObject
*resultobj
;
7922 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7924 PyObject
* obj0
= 0 ;
7926 (char *) "self", NULL
7929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7934 result
= (arg1
)->FindNext();
7936 wxPyEndAllowThreads(__tstate
);
7937 if (PyErr_Occurred()) SWIG_fail
;
7941 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7943 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7952 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
7954 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7955 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
7957 return Py_BuildValue((char *)"");
7959 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7960 PyObject
*resultobj
;
7961 wxString
*arg1
= 0 ;
7964 bool temp1
= False
;
7965 PyObject
* obj0
= 0 ;
7966 PyObject
* obj1
= 0 ;
7967 PyObject
* obj2
= 0 ;
7969 (char *) "filename",(char *) "image",(char *) "type", NULL
7972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7974 arg1
= wxString_in_helper(obj0
);
7975 if (arg1
== NULL
) SWIG_fail
;
7978 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
7979 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7982 PyErr_SetString(PyExc_TypeError
,"null reference");
7985 arg3
= (long)SWIG_As_long(obj2
);
7986 if (PyErr_Occurred()) SWIG_fail
;
7988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7989 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
7991 wxPyEndAllowThreads(__tstate
);
7992 if (PyErr_Occurred()) SWIG_fail
;
7994 Py_INCREF(Py_None
); resultobj
= Py_None
;
8009 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8010 PyObject
*resultobj
;
8011 wxString
*arg1
= 0 ;
8012 wxBitmap
*arg2
= 0 ;
8014 bool temp1
= False
;
8015 PyObject
* obj0
= 0 ;
8016 PyObject
* obj1
= 0 ;
8017 PyObject
* obj2
= 0 ;
8019 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
8022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8024 arg1
= wxString_in_helper(obj0
);
8025 if (arg1
== NULL
) SWIG_fail
;
8028 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
8029 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8032 PyErr_SetString(PyExc_TypeError
,"null reference");
8035 arg3
= (long)SWIG_As_long(obj2
);
8036 if (PyErr_Occurred()) SWIG_fail
;
8038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8039 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
8041 wxPyEndAllowThreads(__tstate
);
8042 if (PyErr_Occurred()) SWIG_fail
;
8044 Py_INCREF(Py_None
); resultobj
= Py_None
;
8059 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8060 PyObject
*resultobj
;
8061 wxString
*arg1
= 0 ;
8062 PyObject
*arg2
= (PyObject
*) 0 ;
8063 bool temp1
= False
;
8064 PyObject
* obj0
= 0 ;
8065 PyObject
* obj1
= 0 ;
8067 (char *) "filename",(char *) "data", NULL
8070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
8072 arg1
= wxString_in_helper(obj0
);
8073 if (arg1
== NULL
) SWIG_fail
;
8078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8079 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
8081 wxPyEndAllowThreads(__tstate
);
8082 if (PyErr_Occurred()) SWIG_fail
;
8084 Py_INCREF(Py_None
); resultobj
= Py_None
;
8099 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8100 PyObject
*resultobj
;
8101 wxMemoryFSHandler
*result
;
8106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
8108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8109 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
8111 wxPyEndAllowThreads(__tstate
);
8112 if (PyErr_Occurred()) SWIG_fail
;
8114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
8121 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8122 PyObject
*resultobj
;
8123 wxString
*arg1
= 0 ;
8124 bool temp1
= False
;
8125 PyObject
* obj0
= 0 ;
8127 (char *) "filename", NULL
8130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
8132 arg1
= wxString_in_helper(obj0
);
8133 if (arg1
== NULL
) SWIG_fail
;
8137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8138 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
8140 wxPyEndAllowThreads(__tstate
);
8141 if (PyErr_Occurred()) SWIG_fail
;
8143 Py_INCREF(Py_None
); resultobj
= Py_None
;
8158 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8159 PyObject
*resultobj
;
8160 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8161 wxString
*arg2
= 0 ;
8163 bool temp2
= False
;
8164 PyObject
* obj0
= 0 ;
8165 PyObject
* obj1
= 0 ;
8167 (char *) "self",(char *) "location", NULL
8170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8174 arg2
= wxString_in_helper(obj1
);
8175 if (arg2
== NULL
) SWIG_fail
;
8179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8180 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8182 wxPyEndAllowThreads(__tstate
);
8183 if (PyErr_Occurred()) SWIG_fail
;
8186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8202 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8203 PyObject
*resultobj
;
8204 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8205 wxFileSystem
*arg2
= 0 ;
8206 wxString
*arg3
= 0 ;
8208 bool temp3
= False
;
8209 PyObject
* obj0
= 0 ;
8210 PyObject
* obj1
= 0 ;
8211 PyObject
* obj2
= 0 ;
8213 (char *) "self",(char *) "fs",(char *) "location", NULL
8216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8219 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
8220 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8223 PyErr_SetString(PyExc_TypeError
,"null reference");
8227 arg3
= wxString_in_helper(obj2
);
8228 if (arg3
== NULL
) SWIG_fail
;
8232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8233 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8235 wxPyEndAllowThreads(__tstate
);
8236 if (PyErr_Occurred()) SWIG_fail
;
8239 resultobj
= wxPyMake_wxObject(result
, 1);
8255 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8256 PyObject
*resultobj
;
8257 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8258 wxString
*arg2
= 0 ;
8259 int arg3
= (int) 0 ;
8261 bool temp2
= False
;
8262 PyObject
* obj0
= 0 ;
8263 PyObject
* obj1
= 0 ;
8264 PyObject
* obj2
= 0 ;
8266 (char *) "self",(char *) "spec",(char *) "flags", NULL
8269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8273 arg2
= wxString_in_helper(obj1
);
8274 if (arg2
== NULL
) SWIG_fail
;
8278 arg3
= (int)SWIG_As_int(obj2
);
8279 if (PyErr_Occurred()) SWIG_fail
;
8282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8283 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8285 wxPyEndAllowThreads(__tstate
);
8286 if (PyErr_Occurred()) SWIG_fail
;
8290 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8292 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8309 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8310 PyObject
*resultobj
;
8311 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8313 PyObject
* obj0
= 0 ;
8315 (char *) "self", NULL
8318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8323 result
= (arg1
)->FindNext();
8325 wxPyEndAllowThreads(__tstate
);
8326 if (PyErr_Occurred()) SWIG_fail
;
8330 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8332 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8341 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
8343 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8344 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
8346 return Py_BuildValue((char *)"");
8348 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8349 PyObject
*resultobj
;
8350 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8352 PyObject
* obj0
= 0 ;
8354 (char *) "self", NULL
8357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
8358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8362 result
= (arg1
)->GetName();
8364 wxPyEndAllowThreads(__tstate
);
8365 if (PyErr_Occurred()) SWIG_fail
;
8369 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8371 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8380 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8381 PyObject
*resultobj
;
8382 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8384 PyObject
* obj0
= 0 ;
8386 (char *) "self", NULL
8389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
8390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8394 result
= (arg1
)->GetExtension();
8396 wxPyEndAllowThreads(__tstate
);
8397 if (PyErr_Occurred()) SWIG_fail
;
8401 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8403 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8412 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8413 PyObject
*resultobj
;
8414 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8416 PyObject
* obj0
= 0 ;
8418 (char *) "self", NULL
8421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8426 result
= (long)(arg1
)->GetType();
8428 wxPyEndAllowThreads(__tstate
);
8429 if (PyErr_Occurred()) SWIG_fail
;
8431 resultobj
= SWIG_From_long((long)result
);
8438 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8439 PyObject
*resultobj
;
8440 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8442 PyObject
* obj0
= 0 ;
8444 (char *) "self", NULL
8447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8452 result
= (arg1
)->GetMimeType();
8454 wxPyEndAllowThreads(__tstate
);
8455 if (PyErr_Occurred()) SWIG_fail
;
8459 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8461 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8470 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8471 PyObject
*resultobj
;
8472 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8473 wxString
*arg2
= 0 ;
8475 bool temp2
= False
;
8476 PyObject
* obj0
= 0 ;
8477 PyObject
* obj1
= 0 ;
8479 (char *) "self",(char *) "name", NULL
8482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8486 arg2
= wxString_in_helper(obj1
);
8487 if (arg2
== NULL
) SWIG_fail
;
8491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8492 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8494 wxPyEndAllowThreads(__tstate
);
8495 if (PyErr_Occurred()) SWIG_fail
;
8498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8514 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8515 PyObject
*resultobj
;
8516 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8517 wxString
*arg2
= 0 ;
8518 bool temp2
= False
;
8519 PyObject
* obj0
= 0 ;
8520 PyObject
* obj1
= 0 ;
8522 (char *) "self",(char *) "name", NULL
8525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8529 arg2
= wxString_in_helper(obj1
);
8530 if (arg2
== NULL
) SWIG_fail
;
8534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8535 (arg1
)->SetName((wxString
const &)*arg2
);
8537 wxPyEndAllowThreads(__tstate
);
8538 if (PyErr_Occurred()) SWIG_fail
;
8540 Py_INCREF(Py_None
); resultobj
= Py_None
;
8555 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8556 PyObject
*resultobj
;
8557 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8558 wxString
*arg2
= 0 ;
8559 bool temp2
= False
;
8560 PyObject
* obj0
= 0 ;
8561 PyObject
* obj1
= 0 ;
8563 (char *) "self",(char *) "extension", NULL
8566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8570 arg2
= wxString_in_helper(obj1
);
8571 if (arg2
== NULL
) SWIG_fail
;
8575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8576 (arg1
)->SetExtension((wxString
const &)*arg2
);
8578 wxPyEndAllowThreads(__tstate
);
8579 if (PyErr_Occurred()) SWIG_fail
;
8581 Py_INCREF(Py_None
); resultobj
= Py_None
;
8596 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8597 PyObject
*resultobj
;
8598 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8600 PyObject
* obj0
= 0 ;
8601 PyObject
* obj1
= 0 ;
8603 (char *) "self",(char *) "type", NULL
8606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8609 arg2
= (long)SWIG_As_long(obj1
);
8610 if (PyErr_Occurred()) SWIG_fail
;
8612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8613 (arg1
)->SetType(arg2
);
8615 wxPyEndAllowThreads(__tstate
);
8616 if (PyErr_Occurred()) SWIG_fail
;
8618 Py_INCREF(Py_None
); resultobj
= Py_None
;
8625 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8626 PyObject
*resultobj
;
8627 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8628 wxString
*arg2
= 0 ;
8629 bool temp2
= False
;
8630 PyObject
* obj0
= 0 ;
8631 PyObject
* obj1
= 0 ;
8633 (char *) "self",(char *) "mimetype", NULL
8636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8640 arg2
= wxString_in_helper(obj1
);
8641 if (arg2
== NULL
) SWIG_fail
;
8645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8646 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8648 wxPyEndAllowThreads(__tstate
);
8649 if (PyErr_Occurred()) SWIG_fail
;
8651 Py_INCREF(Py_None
); resultobj
= Py_None
;
8666 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
8668 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8669 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8671 return Py_BuildValue((char *)"");
8673 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8674 PyObject
*resultobj
;
8675 wxImageHistogram
*result
;
8680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8683 result
= (wxImageHistogram
*)new wxImageHistogram();
8685 wxPyEndAllowThreads(__tstate
);
8686 if (PyErr_Occurred()) SWIG_fail
;
8688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8695 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8696 PyObject
*resultobj
;
8697 unsigned char arg1
;
8698 unsigned char arg2
;
8699 unsigned char arg3
;
8700 unsigned long result
;
8701 PyObject
* obj0
= 0 ;
8702 PyObject
* obj1
= 0 ;
8703 PyObject
* obj2
= 0 ;
8705 (char *) "r",(char *) "g",(char *) "b", NULL
8708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8709 arg1
= (unsigned char)SWIG_As_unsigned_SS_char(obj0
);
8710 if (PyErr_Occurred()) SWIG_fail
;
8711 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
8712 if (PyErr_Occurred()) SWIG_fail
;
8713 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
8714 if (PyErr_Occurred()) SWIG_fail
;
8716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8717 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8719 wxPyEndAllowThreads(__tstate
);
8720 if (PyErr_Occurred()) SWIG_fail
;
8722 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
8729 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8730 PyObject
*resultobj
;
8731 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8732 unsigned char *arg2
= (unsigned char *) 0 ;
8733 unsigned char *arg3
= (unsigned char *) 0 ;
8734 unsigned char *arg4
= (unsigned char *) 0 ;
8735 unsigned char arg5
= (unsigned char) 1 ;
8736 unsigned char arg6
= (unsigned char) 0 ;
8737 unsigned char arg7
= (unsigned char) 0 ;
8739 unsigned char temp2
;
8741 unsigned char temp3
;
8743 unsigned char temp4
;
8745 PyObject
* obj0
= 0 ;
8746 PyObject
* obj1
= 0 ;
8747 PyObject
* obj2
= 0 ;
8748 PyObject
* obj3
= 0 ;
8750 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8753 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
8754 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
8755 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
8756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8760 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
8761 if (PyErr_Occurred()) SWIG_fail
;
8764 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
8765 if (PyErr_Occurred()) SWIG_fail
;
8768 arg7
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
8769 if (PyErr_Occurred()) SWIG_fail
;
8772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8773 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8775 wxPyEndAllowThreads(__tstate
);
8776 if (PyErr_Occurred()) SWIG_fail
;
8779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8781 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
8782 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
8783 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
8784 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
8785 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
8786 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
8793 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
8795 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8796 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8798 return Py_BuildValue((char *)"");
8800 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8801 PyObject
*resultobj
;
8802 wxString
*arg1
= 0 ;
8803 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8804 int arg3
= (int) -1 ;
8806 bool temp1
= False
;
8807 PyObject
* obj0
= 0 ;
8808 PyObject
* obj1
= 0 ;
8809 PyObject
* obj2
= 0 ;
8811 (char *) "name",(char *) "type",(char *) "index", NULL
8814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8816 arg1
= wxString_in_helper(obj0
);
8817 if (arg1
== NULL
) SWIG_fail
;
8821 arg2
= (long)SWIG_As_long(obj1
);
8822 if (PyErr_Occurred()) SWIG_fail
;
8825 arg3
= (int)SWIG_As_int(obj2
);
8826 if (PyErr_Occurred()) SWIG_fail
;
8829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8830 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8832 wxPyEndAllowThreads(__tstate
);
8833 if (PyErr_Occurred()) SWIG_fail
;
8835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8850 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8851 PyObject
*resultobj
;
8852 wxImage
*arg1
= (wxImage
*) 0 ;
8853 PyObject
* obj0
= 0 ;
8855 (char *) "self", NULL
8858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8865 wxPyEndAllowThreads(__tstate
);
8866 if (PyErr_Occurred()) SWIG_fail
;
8868 Py_INCREF(Py_None
); resultobj
= Py_None
;
8875 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8876 PyObject
*resultobj
;
8877 wxString
*arg1
= 0 ;
8878 wxString
*arg2
= 0 ;
8879 int arg3
= (int) -1 ;
8881 bool temp1
= False
;
8882 bool temp2
= False
;
8883 PyObject
* obj0
= 0 ;
8884 PyObject
* obj1
= 0 ;
8885 PyObject
* obj2
= 0 ;
8887 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8892 arg1
= wxString_in_helper(obj0
);
8893 if (arg1
== NULL
) SWIG_fail
;
8897 arg2
= wxString_in_helper(obj1
);
8898 if (arg2
== NULL
) SWIG_fail
;
8902 arg3
= (int)SWIG_As_int(obj2
);
8903 if (PyErr_Occurred()) SWIG_fail
;
8906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8907 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8909 wxPyEndAllowThreads(__tstate
);
8910 if (PyErr_Occurred()) SWIG_fail
;
8912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8935 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8936 PyObject
*resultobj
;
8937 wxInputStream
*arg1
= 0 ;
8938 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8939 int arg3
= (int) -1 ;
8941 wxPyInputStream
*temp1
;
8943 PyObject
* obj0
= 0 ;
8944 PyObject
* obj1
= 0 ;
8945 PyObject
* obj2
= 0 ;
8947 (char *) "stream",(char *) "type",(char *) "index", NULL
8950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8952 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8953 arg1
= temp1
->m_wxis
;
8956 PyErr_Clear(); // clear the failure of the wxPyConvert above
8957 arg1
= wxPyCBInputStream_create(obj0
, False
);
8959 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8966 arg2
= (long)SWIG_As_long(obj1
);
8967 if (PyErr_Occurred()) SWIG_fail
;
8970 arg3
= (int)SWIG_As_int(obj2
);
8971 if (PyErr_Occurred()) SWIG_fail
;
8974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8975 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
8977 wxPyEndAllowThreads(__tstate
);
8978 if (PyErr_Occurred()) SWIG_fail
;
8980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8995 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8996 PyObject
*resultobj
;
8997 wxInputStream
*arg1
= 0 ;
8998 wxString
*arg2
= 0 ;
8999 int arg3
= (int) -1 ;
9001 wxPyInputStream
*temp1
;
9003 bool temp2
= False
;
9004 PyObject
* obj0
= 0 ;
9005 PyObject
* obj1
= 0 ;
9006 PyObject
* obj2
= 0 ;
9008 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
9011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9013 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9014 arg1
= temp1
->m_wxis
;
9017 PyErr_Clear(); // clear the failure of the wxPyConvert above
9018 arg1
= wxPyCBInputStream_create(obj0
, False
);
9020 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9027 arg2
= wxString_in_helper(obj1
);
9028 if (arg2
== NULL
) SWIG_fail
;
9032 arg3
= (int)SWIG_As_int(obj2
);
9033 if (PyErr_Occurred()) SWIG_fail
;
9036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9037 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
9039 wxPyEndAllowThreads(__tstate
);
9040 if (PyErr_Occurred()) SWIG_fail
;
9042 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9065 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9066 PyObject
*resultobj
;
9067 int arg1
= (int) 0 ;
9068 int arg2
= (int) 0 ;
9069 bool arg3
= (bool) True
;
9071 PyObject
* obj0
= 0 ;
9072 PyObject
* obj1
= 0 ;
9073 PyObject
* obj2
= 0 ;
9075 (char *) "width",(char *) "height",(char *) "clear", NULL
9078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9080 arg1
= (int)SWIG_As_int(obj0
);
9081 if (PyErr_Occurred()) SWIG_fail
;
9084 arg2
= (int)SWIG_As_int(obj1
);
9085 if (PyErr_Occurred()) SWIG_fail
;
9088 arg3
= (bool)SWIG_As_bool(obj2
);
9089 if (PyErr_Occurred()) SWIG_fail
;
9092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9093 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
9095 wxPyEndAllowThreads(__tstate
);
9096 if (PyErr_Occurred()) SWIG_fail
;
9098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9105 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9106 PyObject
*resultobj
;
9107 wxBitmap
*arg1
= 0 ;
9109 PyObject
* obj0
= 0 ;
9111 (char *) "bitmap", NULL
9114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
9115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
9116 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9119 PyErr_SetString(PyExc_TypeError
,"null reference");
9123 if (!wxPyCheckForApp()) SWIG_fail
;
9124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9125 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
9127 wxPyEndAllowThreads(__tstate
);
9128 if (PyErr_Occurred()) SWIG_fail
;
9130 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9137 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9138 PyObject
*resultobj
;
9141 unsigned char *arg3
= (unsigned char *) 0 ;
9143 PyObject
* obj0
= 0 ;
9144 PyObject
* obj1
= 0 ;
9145 PyObject
* obj2
= 0 ;
9147 (char *) "width",(char *) "height",(char *) "data", NULL
9150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9151 arg1
= (int)SWIG_As_int(obj0
);
9152 if (PyErr_Occurred()) SWIG_fail
;
9153 arg2
= (int)SWIG_As_int(obj1
);
9154 if (PyErr_Occurred()) SWIG_fail
;
9155 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
9156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9159 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
9161 wxPyEndAllowThreads(__tstate
);
9162 if (PyErr_Occurred()) SWIG_fail
;
9164 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9171 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9172 PyObject
*resultobj
;
9173 wxImage
*arg1
= (wxImage
*) 0 ;
9176 PyObject
* obj0
= 0 ;
9177 PyObject
* obj1
= 0 ;
9178 PyObject
* obj2
= 0 ;
9180 (char *) "self",(char *) "width",(char *) "height", NULL
9183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9186 arg2
= (int)SWIG_As_int(obj1
);
9187 if (PyErr_Occurred()) SWIG_fail
;
9188 arg3
= (int)SWIG_As_int(obj2
);
9189 if (PyErr_Occurred()) SWIG_fail
;
9191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9192 (arg1
)->Create(arg2
,arg3
);
9194 wxPyEndAllowThreads(__tstate
);
9195 if (PyErr_Occurred()) SWIG_fail
;
9197 Py_INCREF(Py_None
); resultobj
= Py_None
;
9204 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9205 PyObject
*resultobj
;
9206 wxImage
*arg1
= (wxImage
*) 0 ;
9207 PyObject
* obj0
= 0 ;
9209 (char *) "self", NULL
9212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
9213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9219 wxPyEndAllowThreads(__tstate
);
9220 if (PyErr_Occurred()) SWIG_fail
;
9222 Py_INCREF(Py_None
); resultobj
= Py_None
;
9229 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9230 PyObject
*resultobj
;
9231 wxImage
*arg1
= (wxImage
*) 0 ;
9234 SwigValueWrapper
< wxImage
> result
;
9235 PyObject
* obj0
= 0 ;
9236 PyObject
* obj1
= 0 ;
9237 PyObject
* obj2
= 0 ;
9239 (char *) "self",(char *) "width",(char *) "height", NULL
9242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9245 arg2
= (int)SWIG_As_int(obj1
);
9246 if (PyErr_Occurred()) SWIG_fail
;
9247 arg3
= (int)SWIG_As_int(obj2
);
9248 if (PyErr_Occurred()) SWIG_fail
;
9250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9251 result
= (arg1
)->Scale(arg2
,arg3
);
9253 wxPyEndAllowThreads(__tstate
);
9254 if (PyErr_Occurred()) SWIG_fail
;
9257 wxImage
* resultptr
;
9258 resultptr
= new wxImage((wxImage
&) result
);
9259 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9267 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9268 PyObject
*resultobj
;
9269 wxImage
*arg1
= (wxImage
*) 0 ;
9272 SwigValueWrapper
< wxImage
> result
;
9273 PyObject
* obj0
= 0 ;
9274 PyObject
* obj1
= 0 ;
9275 PyObject
* obj2
= 0 ;
9277 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9283 arg2
= (int)SWIG_As_int(obj1
);
9284 if (PyErr_Occurred()) SWIG_fail
;
9285 arg3
= (int)SWIG_As_int(obj2
);
9286 if (PyErr_Occurred()) SWIG_fail
;
9288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9289 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
9291 wxPyEndAllowThreads(__tstate
);
9292 if (PyErr_Occurred()) SWIG_fail
;
9295 wxImage
* resultptr
;
9296 resultptr
= new wxImage((wxImage
&) result
);
9297 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9305 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9306 PyObject
*resultobj
;
9307 wxImage
*arg1
= (wxImage
*) 0 ;
9311 PyObject
* obj0
= 0 ;
9312 PyObject
* obj1
= 0 ;
9313 PyObject
* obj2
= 0 ;
9315 (char *) "self",(char *) "width",(char *) "height", NULL
9318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9321 arg2
= (int)SWIG_As_int(obj1
);
9322 if (PyErr_Occurred()) SWIG_fail
;
9323 arg3
= (int)SWIG_As_int(obj2
);
9324 if (PyErr_Occurred()) SWIG_fail
;
9326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9328 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
9329 result
= (wxImage
*) &_result_ref
;
9332 wxPyEndAllowThreads(__tstate
);
9333 if (PyErr_Occurred()) SWIG_fail
;
9335 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
9342 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9343 PyObject
*resultobj
;
9344 wxImage
*arg1
= (wxImage
*) 0 ;
9347 unsigned char arg4
;
9348 unsigned char arg5
;
9349 unsigned char arg6
;
9350 PyObject
* obj0
= 0 ;
9351 PyObject
* obj1
= 0 ;
9352 PyObject
* obj2
= 0 ;
9353 PyObject
* obj3
= 0 ;
9354 PyObject
* obj4
= 0 ;
9355 PyObject
* obj5
= 0 ;
9357 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9363 arg2
= (int)SWIG_As_int(obj1
);
9364 if (PyErr_Occurred()) SWIG_fail
;
9365 arg3
= (int)SWIG_As_int(obj2
);
9366 if (PyErr_Occurred()) SWIG_fail
;
9367 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
9368 if (PyErr_Occurred()) SWIG_fail
;
9369 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj4
);
9370 if (PyErr_Occurred()) SWIG_fail
;
9371 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj5
);
9372 if (PyErr_Occurred()) SWIG_fail
;
9374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9375 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
9377 wxPyEndAllowThreads(__tstate
);
9378 if (PyErr_Occurred()) SWIG_fail
;
9380 Py_INCREF(Py_None
); resultobj
= Py_None
;
9387 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9388 PyObject
*resultobj
;
9389 wxImage
*arg1
= (wxImage
*) 0 ;
9392 unsigned char result
;
9393 PyObject
* obj0
= 0 ;
9394 PyObject
* obj1
= 0 ;
9395 PyObject
* obj2
= 0 ;
9397 (char *) "self",(char *) "x",(char *) "y", NULL
9400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9403 arg2
= (int)SWIG_As_int(obj1
);
9404 if (PyErr_Occurred()) SWIG_fail
;
9405 arg3
= (int)SWIG_As_int(obj2
);
9406 if (PyErr_Occurred()) SWIG_fail
;
9408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9409 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
9411 wxPyEndAllowThreads(__tstate
);
9412 if (PyErr_Occurred()) SWIG_fail
;
9414 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9421 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9422 PyObject
*resultobj
;
9423 wxImage
*arg1
= (wxImage
*) 0 ;
9426 unsigned char result
;
9427 PyObject
* obj0
= 0 ;
9428 PyObject
* obj1
= 0 ;
9429 PyObject
* obj2
= 0 ;
9431 (char *) "self",(char *) "x",(char *) "y", NULL
9434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9437 arg2
= (int)SWIG_As_int(obj1
);
9438 if (PyErr_Occurred()) SWIG_fail
;
9439 arg3
= (int)SWIG_As_int(obj2
);
9440 if (PyErr_Occurred()) SWIG_fail
;
9442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9443 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
9445 wxPyEndAllowThreads(__tstate
);
9446 if (PyErr_Occurred()) SWIG_fail
;
9448 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9455 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9456 PyObject
*resultobj
;
9457 wxImage
*arg1
= (wxImage
*) 0 ;
9460 unsigned char result
;
9461 PyObject
* obj0
= 0 ;
9462 PyObject
* obj1
= 0 ;
9463 PyObject
* obj2
= 0 ;
9465 (char *) "self",(char *) "x",(char *) "y", NULL
9468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9471 arg2
= (int)SWIG_As_int(obj1
);
9472 if (PyErr_Occurred()) SWIG_fail
;
9473 arg3
= (int)SWIG_As_int(obj2
);
9474 if (PyErr_Occurred()) SWIG_fail
;
9476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9477 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
9479 wxPyEndAllowThreads(__tstate
);
9480 if (PyErr_Occurred()) SWIG_fail
;
9482 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9489 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9490 PyObject
*resultobj
;
9491 wxImage
*arg1
= (wxImage
*) 0 ;
9494 unsigned char arg4
;
9495 PyObject
* obj0
= 0 ;
9496 PyObject
* obj1
= 0 ;
9497 PyObject
* obj2
= 0 ;
9498 PyObject
* obj3
= 0 ;
9500 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9506 arg2
= (int)SWIG_As_int(obj1
);
9507 if (PyErr_Occurred()) SWIG_fail
;
9508 arg3
= (int)SWIG_As_int(obj2
);
9509 if (PyErr_Occurred()) SWIG_fail
;
9510 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
9511 if (PyErr_Occurred()) SWIG_fail
;
9513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9514 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
9516 wxPyEndAllowThreads(__tstate
);
9517 if (PyErr_Occurred()) SWIG_fail
;
9519 Py_INCREF(Py_None
); resultobj
= Py_None
;
9526 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9527 PyObject
*resultobj
;
9528 wxImage
*arg1
= (wxImage
*) 0 ;
9531 unsigned char result
;
9532 PyObject
* obj0
= 0 ;
9533 PyObject
* obj1
= 0 ;
9534 PyObject
* obj2
= 0 ;
9536 (char *) "self",(char *) "x",(char *) "y", NULL
9539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9542 arg2
= (int)SWIG_As_int(obj1
);
9543 if (PyErr_Occurred()) SWIG_fail
;
9544 arg3
= (int)SWIG_As_int(obj2
);
9545 if (PyErr_Occurred()) SWIG_fail
;
9547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9548 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
9550 wxPyEndAllowThreads(__tstate
);
9551 if (PyErr_Occurred()) SWIG_fail
;
9553 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9560 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9561 PyObject
*resultobj
;
9562 wxImage
*arg1
= (wxImage
*) 0 ;
9564 PyObject
* obj0
= 0 ;
9566 (char *) "self", NULL
9569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
9570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9574 result
= (bool)(arg1
)->HasAlpha();
9576 wxPyEndAllowThreads(__tstate
);
9577 if (PyErr_Occurred()) SWIG_fail
;
9580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9588 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9589 PyObject
*resultobj
;
9590 wxImage
*arg1
= (wxImage
*) 0 ;
9591 byte
*arg2
= (byte
*) 0 ;
9592 byte
*arg3
= (byte
*) 0 ;
9593 byte
*arg4
= (byte
*) 0 ;
9594 byte arg5
= (byte
) 0 ;
9595 byte arg6
= (byte
) 0 ;
9596 byte arg7
= (byte
) 0 ;
9604 PyObject
* obj0
= 0 ;
9605 PyObject
* obj1
= 0 ;
9606 PyObject
* obj2
= 0 ;
9607 PyObject
* obj3
= 0 ;
9609 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9612 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
9613 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9614 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
9615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9619 arg5
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
9620 if (PyErr_Occurred()) SWIG_fail
;
9623 arg6
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
9624 if (PyErr_Occurred()) SWIG_fail
;
9627 arg7
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
9628 if (PyErr_Occurred()) SWIG_fail
;
9631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9632 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9634 wxPyEndAllowThreads(__tstate
);
9635 if (PyErr_Occurred()) SWIG_fail
;
9638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9640 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
9641 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_byte
, 0)));
9642 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9643 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_byte
, 0)));
9644 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
9645 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_byte
, 0)));
9652 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9653 PyObject
*resultobj
;
9654 wxImage
*arg1
= (wxImage
*) 0 ;
9655 byte arg2
= (byte
) 128 ;
9657 PyObject
* obj0
= 0 ;
9658 PyObject
* obj1
= 0 ;
9660 (char *) "self",(char *) "threshold", NULL
9663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
9664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9667 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
9668 if (PyErr_Occurred()) SWIG_fail
;
9671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9672 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
9674 wxPyEndAllowThreads(__tstate
);
9675 if (PyErr_Occurred()) SWIG_fail
;
9678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9686 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9687 PyObject
*resultobj
;
9688 wxImage
*arg1
= (wxImage
*) 0 ;
9694 PyObject
* obj0
= 0 ;
9695 PyObject
* obj1
= 0 ;
9696 PyObject
* obj2
= 0 ;
9697 PyObject
* obj3
= 0 ;
9698 PyObject
* obj4
= 0 ;
9700 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9706 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9707 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9710 PyErr_SetString(PyExc_TypeError
,"null reference");
9713 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
9714 if (PyErr_Occurred()) SWIG_fail
;
9715 arg4
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
9716 if (PyErr_Occurred()) SWIG_fail
;
9717 arg5
= (byte
)SWIG_As_unsigned_SS_char(obj4
);
9718 if (PyErr_Occurred()) SWIG_fail
;
9720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9721 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9723 wxPyEndAllowThreads(__tstate
);
9724 if (PyErr_Occurred()) SWIG_fail
;
9727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9735 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9736 PyObject
*resultobj
;
9737 wxString
*arg1
= 0 ;
9739 bool temp1
= False
;
9740 PyObject
* obj0
= 0 ;
9742 (char *) "name", NULL
9745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9747 arg1
= wxString_in_helper(obj0
);
9748 if (arg1
== NULL
) SWIG_fail
;
9752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9753 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9755 wxPyEndAllowThreads(__tstate
);
9756 if (PyErr_Occurred()) SWIG_fail
;
9759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9775 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9776 PyObject
*resultobj
;
9777 wxString
*arg1
= 0 ;
9778 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9780 bool temp1
= False
;
9781 PyObject
* obj0
= 0 ;
9782 PyObject
* obj1
= 0 ;
9784 (char *) "name",(char *) "type", NULL
9787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9789 arg1
= wxString_in_helper(obj0
);
9790 if (arg1
== NULL
) SWIG_fail
;
9794 arg2
= (long)SWIG_As_long(obj1
);
9795 if (PyErr_Occurred()) SWIG_fail
;
9798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9799 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9801 wxPyEndAllowThreads(__tstate
);
9802 if (PyErr_Occurred()) SWIG_fail
;
9804 resultobj
= SWIG_From_int((int)result
);
9819 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9820 PyObject
*resultobj
;
9821 wxImage
*arg1
= (wxImage
*) 0 ;
9822 wxString
*arg2
= 0 ;
9823 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9824 int arg4
= (int) -1 ;
9826 bool temp2
= False
;
9827 PyObject
* obj0
= 0 ;
9828 PyObject
* obj1
= 0 ;
9829 PyObject
* obj2
= 0 ;
9830 PyObject
* obj3
= 0 ;
9832 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9839 arg2
= wxString_in_helper(obj1
);
9840 if (arg2
== NULL
) SWIG_fail
;
9844 arg3
= (long)SWIG_As_long(obj2
);
9845 if (PyErr_Occurred()) SWIG_fail
;
9848 arg4
= (int)SWIG_As_int(obj3
);
9849 if (PyErr_Occurred()) SWIG_fail
;
9852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9853 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
9855 wxPyEndAllowThreads(__tstate
);
9856 if (PyErr_Occurred()) SWIG_fail
;
9859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9875 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9876 PyObject
*resultobj
;
9877 wxImage
*arg1
= (wxImage
*) 0 ;
9878 wxString
*arg2
= 0 ;
9879 wxString
*arg3
= 0 ;
9880 int arg4
= (int) -1 ;
9882 bool temp2
= False
;
9883 bool temp3
= False
;
9884 PyObject
* obj0
= 0 ;
9885 PyObject
* obj1
= 0 ;
9886 PyObject
* obj2
= 0 ;
9887 PyObject
* obj3
= 0 ;
9889 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9896 arg2
= wxString_in_helper(obj1
);
9897 if (arg2
== NULL
) SWIG_fail
;
9901 arg3
= wxString_in_helper(obj2
);
9902 if (arg3
== NULL
) SWIG_fail
;
9906 arg4
= (int)SWIG_As_int(obj3
);
9907 if (PyErr_Occurred()) SWIG_fail
;
9910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9911 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9913 wxPyEndAllowThreads(__tstate
);
9914 if (PyErr_Occurred()) SWIG_fail
;
9917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9941 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9942 PyObject
*resultobj
;
9943 wxImage
*arg1
= (wxImage
*) 0 ;
9944 wxString
*arg2
= 0 ;
9947 bool temp2
= False
;
9948 PyObject
* obj0
= 0 ;
9949 PyObject
* obj1
= 0 ;
9950 PyObject
* obj2
= 0 ;
9952 (char *) "self",(char *) "name",(char *) "type", NULL
9955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9959 arg2
= wxString_in_helper(obj1
);
9960 if (arg2
== NULL
) SWIG_fail
;
9963 arg3
= (int)SWIG_As_int(obj2
);
9964 if (PyErr_Occurred()) SWIG_fail
;
9966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9967 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
9969 wxPyEndAllowThreads(__tstate
);
9970 if (PyErr_Occurred()) SWIG_fail
;
9973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9989 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9990 PyObject
*resultobj
;
9991 wxImage
*arg1
= (wxImage
*) 0 ;
9992 wxString
*arg2
= 0 ;
9993 wxString
*arg3
= 0 ;
9995 bool temp2
= False
;
9996 bool temp3
= False
;
9997 PyObject
* obj0
= 0 ;
9998 PyObject
* obj1
= 0 ;
9999 PyObject
* obj2
= 0 ;
10000 char *kwnames
[] = {
10001 (char *) "self",(char *) "name",(char *) "mimetype", NULL
10004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10008 arg2
= wxString_in_helper(obj1
);
10009 if (arg2
== NULL
) SWIG_fail
;
10013 arg3
= wxString_in_helper(obj2
);
10014 if (arg3
== NULL
) SWIG_fail
;
10018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10019 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10021 wxPyEndAllowThreads(__tstate
);
10022 if (PyErr_Occurred()) SWIG_fail
;
10025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10049 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10050 PyObject
*resultobj
;
10051 wxInputStream
*arg1
= 0 ;
10053 wxPyInputStream
*temp1
;
10055 PyObject
* obj0
= 0 ;
10056 char *kwnames
[] = {
10057 (char *) "stream", NULL
10060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
10062 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10063 arg1
= temp1
->m_wxis
;
10066 PyErr_Clear(); // clear the failure of the wxPyConvert above
10067 arg1
= wxPyCBInputStream_create(obj0
, False
);
10068 if (arg1
== NULL
) {
10069 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10077 result
= (bool)wxImage::CanRead(*arg1
);
10079 wxPyEndAllowThreads(__tstate
);
10080 if (PyErr_Occurred()) SWIG_fail
;
10083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10099 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10100 PyObject
*resultobj
;
10101 wxImage
*arg1
= (wxImage
*) 0 ;
10102 wxInputStream
*arg2
= 0 ;
10103 long arg3
= (long) wxBITMAP_TYPE_ANY
;
10104 int arg4
= (int) -1 ;
10106 wxPyInputStream
*temp2
;
10108 PyObject
* obj0
= 0 ;
10109 PyObject
* obj1
= 0 ;
10110 PyObject
* obj2
= 0 ;
10111 PyObject
* obj3
= 0 ;
10112 char *kwnames
[] = {
10113 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
10116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10120 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
10121 arg2
= temp2
->m_wxis
;
10124 PyErr_Clear(); // clear the failure of the wxPyConvert above
10125 arg2
= wxPyCBInputStream_create(obj1
, False
);
10126 if (arg2
== NULL
) {
10127 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10134 arg3
= (long)SWIG_As_long(obj2
);
10135 if (PyErr_Occurred()) SWIG_fail
;
10138 arg4
= (int)SWIG_As_int(obj3
);
10139 if (PyErr_Occurred()) SWIG_fail
;
10142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10143 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
10145 wxPyEndAllowThreads(__tstate
);
10146 if (PyErr_Occurred()) SWIG_fail
;
10149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10165 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10166 PyObject
*resultobj
;
10167 wxImage
*arg1
= (wxImage
*) 0 ;
10168 wxInputStream
*arg2
= 0 ;
10169 wxString
*arg3
= 0 ;
10170 int arg4
= (int) -1 ;
10172 wxPyInputStream
*temp2
;
10174 bool temp3
= False
;
10175 PyObject
* obj0
= 0 ;
10176 PyObject
* obj1
= 0 ;
10177 PyObject
* obj2
= 0 ;
10178 PyObject
* obj3
= 0 ;
10179 char *kwnames
[] = {
10180 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
10183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10187 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
10188 arg2
= temp2
->m_wxis
;
10191 PyErr_Clear(); // clear the failure of the wxPyConvert above
10192 arg2
= wxPyCBInputStream_create(obj1
, False
);
10193 if (arg2
== NULL
) {
10194 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10201 arg3
= wxString_in_helper(obj2
);
10202 if (arg3
== NULL
) SWIG_fail
;
10206 arg4
= (int)SWIG_As_int(obj3
);
10207 if (PyErr_Occurred()) SWIG_fail
;
10210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10211 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
10213 wxPyEndAllowThreads(__tstate
);
10214 if (PyErr_Occurred()) SWIG_fail
;
10217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10241 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10242 PyObject
*resultobj
;
10243 wxImage
*arg1
= (wxImage
*) 0 ;
10245 PyObject
* obj0
= 0 ;
10246 char *kwnames
[] = {
10247 (char *) "self", NULL
10250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
10251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10255 result
= (bool)(arg1
)->Ok();
10257 wxPyEndAllowThreads(__tstate
);
10258 if (PyErr_Occurred()) SWIG_fail
;
10261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10269 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10270 PyObject
*resultobj
;
10271 wxImage
*arg1
= (wxImage
*) 0 ;
10273 PyObject
* obj0
= 0 ;
10274 char *kwnames
[] = {
10275 (char *) "self", NULL
10278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
10279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10283 result
= (int)(arg1
)->GetWidth();
10285 wxPyEndAllowThreads(__tstate
);
10286 if (PyErr_Occurred()) SWIG_fail
;
10288 resultobj
= SWIG_From_int((int)result
);
10295 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10296 PyObject
*resultobj
;
10297 wxImage
*arg1
= (wxImage
*) 0 ;
10299 PyObject
* obj0
= 0 ;
10300 char *kwnames
[] = {
10301 (char *) "self", NULL
10304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
10305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10309 result
= (int)(arg1
)->GetHeight();
10311 wxPyEndAllowThreads(__tstate
);
10312 if (PyErr_Occurred()) SWIG_fail
;
10314 resultobj
= SWIG_From_int((int)result
);
10321 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10322 PyObject
*resultobj
;
10323 wxImage
*arg1
= (wxImage
*) 0 ;
10325 PyObject
* obj0
= 0 ;
10326 char *kwnames
[] = {
10327 (char *) "self", NULL
10330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
10331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10335 result
= wxImage_GetSize(arg1
);
10337 wxPyEndAllowThreads(__tstate
);
10338 if (PyErr_Occurred()) SWIG_fail
;
10341 wxSize
* resultptr
;
10342 resultptr
= new wxSize((wxSize
&) result
);
10343 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10351 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10352 PyObject
*resultobj
;
10353 wxImage
*arg1
= (wxImage
*) 0 ;
10355 SwigValueWrapper
< wxImage
> result
;
10357 PyObject
* obj0
= 0 ;
10358 PyObject
* obj1
= 0 ;
10359 char *kwnames
[] = {
10360 (char *) "self",(char *) "rect", NULL
10363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
10364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10368 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10372 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
10374 wxPyEndAllowThreads(__tstate
);
10375 if (PyErr_Occurred()) SWIG_fail
;
10378 wxImage
* resultptr
;
10379 resultptr
= new wxImage((wxImage
&) result
);
10380 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10388 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10389 PyObject
*resultobj
;
10390 wxImage
*arg1
= (wxImage
*) 0 ;
10391 SwigValueWrapper
< wxImage
> result
;
10392 PyObject
* obj0
= 0 ;
10393 char *kwnames
[] = {
10394 (char *) "self", NULL
10397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
10398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10402 result
= (arg1
)->Copy();
10404 wxPyEndAllowThreads(__tstate
);
10405 if (PyErr_Occurred()) SWIG_fail
;
10408 wxImage
* resultptr
;
10409 resultptr
= new wxImage((wxImage
&) result
);
10410 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10418 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10419 PyObject
*resultobj
;
10420 wxImage
*arg1
= (wxImage
*) 0 ;
10421 wxImage
*arg2
= 0 ;
10424 PyObject
* obj0
= 0 ;
10425 PyObject
* obj1
= 0 ;
10426 PyObject
* obj2
= 0 ;
10427 PyObject
* obj3
= 0 ;
10428 char *kwnames
[] = {
10429 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10435 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
10436 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10438 if (arg2
== NULL
) {
10439 PyErr_SetString(PyExc_TypeError
,"null reference");
10442 arg3
= (int)SWIG_As_int(obj2
);
10443 if (PyErr_Occurred()) SWIG_fail
;
10444 arg4
= (int)SWIG_As_int(obj3
);
10445 if (PyErr_Occurred()) SWIG_fail
;
10447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10448 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
10450 wxPyEndAllowThreads(__tstate
);
10451 if (PyErr_Occurred()) SWIG_fail
;
10453 Py_INCREF(Py_None
); resultobj
= Py_None
;
10460 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10461 PyObject
*resultobj
;
10462 wxImage
*arg1
= (wxImage
*) 0 ;
10464 PyObject
* obj0
= 0 ;
10465 char *kwnames
[] = {
10466 (char *) "self", NULL
10469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
10470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10474 result
= (PyObject
*)wxImage_GetData(arg1
);
10476 wxPyEndAllowThreads(__tstate
);
10477 if (PyErr_Occurred()) SWIG_fail
;
10479 resultobj
= result
;
10486 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10487 PyObject
*resultobj
;
10488 wxImage
*arg1
= (wxImage
*) 0 ;
10489 PyObject
*arg2
= (PyObject
*) 0 ;
10490 PyObject
* obj0
= 0 ;
10491 PyObject
* obj1
= 0 ;
10492 char *kwnames
[] = {
10493 (char *) "self",(char *) "data", NULL
10496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10502 wxImage_SetData(arg1
,arg2
);
10504 wxPyEndAllowThreads(__tstate
);
10505 if (PyErr_Occurred()) SWIG_fail
;
10507 Py_INCREF(Py_None
); resultobj
= Py_None
;
10514 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10515 PyObject
*resultobj
;
10516 wxImage
*arg1
= (wxImage
*) 0 ;
10518 PyObject
* obj0
= 0 ;
10519 char *kwnames
[] = {
10520 (char *) "self", NULL
10523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10528 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10530 wxPyEndAllowThreads(__tstate
);
10531 if (PyErr_Occurred()) SWIG_fail
;
10533 resultobj
= result
;
10540 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10541 PyObject
*resultobj
;
10542 wxImage
*arg1
= (wxImage
*) 0 ;
10543 PyObject
*arg2
= (PyObject
*) 0 ;
10544 PyObject
* obj0
= 0 ;
10545 PyObject
* obj1
= 0 ;
10546 char *kwnames
[] = {
10547 (char *) "self",(char *) "data", NULL
10550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10556 wxImage_SetDataBuffer(arg1
,arg2
);
10558 wxPyEndAllowThreads(__tstate
);
10559 if (PyErr_Occurred()) SWIG_fail
;
10561 Py_INCREF(Py_None
); resultobj
= Py_None
;
10568 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10569 PyObject
*resultobj
;
10570 wxImage
*arg1
= (wxImage
*) 0 ;
10572 PyObject
* obj0
= 0 ;
10573 char *kwnames
[] = {
10574 (char *) "self", NULL
10577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10582 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10584 wxPyEndAllowThreads(__tstate
);
10585 if (PyErr_Occurred()) SWIG_fail
;
10587 resultobj
= result
;
10594 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10595 PyObject
*resultobj
;
10596 wxImage
*arg1
= (wxImage
*) 0 ;
10597 PyObject
*arg2
= (PyObject
*) 0 ;
10598 PyObject
* obj0
= 0 ;
10599 PyObject
* obj1
= 0 ;
10600 char *kwnames
[] = {
10601 (char *) "self",(char *) "data", NULL
10604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10610 wxImage_SetAlphaData(arg1
,arg2
);
10612 wxPyEndAllowThreads(__tstate
);
10613 if (PyErr_Occurred()) SWIG_fail
;
10615 Py_INCREF(Py_None
); resultobj
= Py_None
;
10622 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10623 PyObject
*resultobj
;
10624 wxImage
*arg1
= (wxImage
*) 0 ;
10626 PyObject
* obj0
= 0 ;
10627 char *kwnames
[] = {
10628 (char *) "self", NULL
10631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
10632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10636 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10638 wxPyEndAllowThreads(__tstate
);
10639 if (PyErr_Occurred()) SWIG_fail
;
10641 resultobj
= result
;
10648 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10649 PyObject
*resultobj
;
10650 wxImage
*arg1
= (wxImage
*) 0 ;
10651 PyObject
*arg2
= (PyObject
*) 0 ;
10652 PyObject
* obj0
= 0 ;
10653 PyObject
* obj1
= 0 ;
10654 char *kwnames
[] = {
10655 (char *) "self",(char *) "data", NULL
10658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10664 wxImage_SetAlphaBuffer(arg1
,arg2
);
10666 wxPyEndAllowThreads(__tstate
);
10667 if (PyErr_Occurred()) SWIG_fail
;
10669 Py_INCREF(Py_None
); resultobj
= Py_None
;
10676 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10677 PyObject
*resultobj
;
10678 wxImage
*arg1
= (wxImage
*) 0 ;
10679 unsigned char arg2
;
10680 unsigned char arg3
;
10681 unsigned char arg4
;
10682 PyObject
* obj0
= 0 ;
10683 PyObject
* obj1
= 0 ;
10684 PyObject
* obj2
= 0 ;
10685 PyObject
* obj3
= 0 ;
10686 char *kwnames
[] = {
10687 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10693 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
10694 if (PyErr_Occurred()) SWIG_fail
;
10695 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
10696 if (PyErr_Occurred()) SWIG_fail
;
10697 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
10698 if (PyErr_Occurred()) SWIG_fail
;
10700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10701 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10703 wxPyEndAllowThreads(__tstate
);
10704 if (PyErr_Occurred()) SWIG_fail
;
10706 Py_INCREF(Py_None
); resultobj
= Py_None
;
10713 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10714 PyObject
*resultobj
;
10715 wxImage
*arg1
= (wxImage
*) 0 ;
10716 unsigned char result
;
10717 PyObject
* obj0
= 0 ;
10718 char *kwnames
[] = {
10719 (char *) "self", NULL
10722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10727 result
= (unsigned char)(arg1
)->GetMaskRed();
10729 wxPyEndAllowThreads(__tstate
);
10730 if (PyErr_Occurred()) SWIG_fail
;
10732 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
10739 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10740 PyObject
*resultobj
;
10741 wxImage
*arg1
= (wxImage
*) 0 ;
10742 unsigned char result
;
10743 PyObject
* obj0
= 0 ;
10744 char *kwnames
[] = {
10745 (char *) "self", NULL
10748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10753 result
= (unsigned char)(arg1
)->GetMaskGreen();
10755 wxPyEndAllowThreads(__tstate
);
10756 if (PyErr_Occurred()) SWIG_fail
;
10758 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
10765 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10766 PyObject
*resultobj
;
10767 wxImage
*arg1
= (wxImage
*) 0 ;
10768 unsigned char result
;
10769 PyObject
* obj0
= 0 ;
10770 char *kwnames
[] = {
10771 (char *) "self", NULL
10774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10779 result
= (unsigned char)(arg1
)->GetMaskBlue();
10781 wxPyEndAllowThreads(__tstate
);
10782 if (PyErr_Occurred()) SWIG_fail
;
10784 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
10791 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10792 PyObject
*resultobj
;
10793 wxImage
*arg1
= (wxImage
*) 0 ;
10794 bool arg2
= (bool) True
;
10795 PyObject
* obj0
= 0 ;
10796 PyObject
* obj1
= 0 ;
10797 char *kwnames
[] = {
10798 (char *) "self",(char *) "mask", NULL
10801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10805 arg2
= (bool)SWIG_As_bool(obj1
);
10806 if (PyErr_Occurred()) SWIG_fail
;
10809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10810 (arg1
)->SetMask(arg2
);
10812 wxPyEndAllowThreads(__tstate
);
10813 if (PyErr_Occurred()) SWIG_fail
;
10815 Py_INCREF(Py_None
); resultobj
= Py_None
;
10822 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10823 PyObject
*resultobj
;
10824 wxImage
*arg1
= (wxImage
*) 0 ;
10826 PyObject
* obj0
= 0 ;
10827 char *kwnames
[] = {
10828 (char *) "self", NULL
10831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10836 result
= (bool)(arg1
)->HasMask();
10838 wxPyEndAllowThreads(__tstate
);
10839 if (PyErr_Occurred()) SWIG_fail
;
10842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10850 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10851 PyObject
*resultobj
;
10852 wxImage
*arg1
= (wxImage
*) 0 ;
10854 wxPoint
*arg3
= 0 ;
10855 bool arg4
= (bool) True
;
10856 wxPoint
*arg5
= (wxPoint
*) NULL
;
10857 SwigValueWrapper
< wxImage
> result
;
10859 PyObject
* obj0
= 0 ;
10860 PyObject
* obj1
= 0 ;
10861 PyObject
* obj2
= 0 ;
10862 PyObject
* obj3
= 0 ;
10863 PyObject
* obj4
= 0 ;
10864 char *kwnames
[] = {
10865 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10871 arg2
= (double)SWIG_As_double(obj1
);
10872 if (PyErr_Occurred()) SWIG_fail
;
10875 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10878 arg4
= (bool)SWIG_As_bool(obj3
);
10879 if (PyErr_Occurred()) SWIG_fail
;
10882 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
10883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10887 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
10889 wxPyEndAllowThreads(__tstate
);
10890 if (PyErr_Occurred()) SWIG_fail
;
10893 wxImage
* resultptr
;
10894 resultptr
= new wxImage((wxImage
&) result
);
10895 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10903 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10904 PyObject
*resultobj
;
10905 wxImage
*arg1
= (wxImage
*) 0 ;
10906 bool arg2
= (bool) True
;
10907 SwigValueWrapper
< wxImage
> result
;
10908 PyObject
* obj0
= 0 ;
10909 PyObject
* obj1
= 0 ;
10910 char *kwnames
[] = {
10911 (char *) "self",(char *) "clockwise", NULL
10914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
10915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10918 arg2
= (bool)SWIG_As_bool(obj1
);
10919 if (PyErr_Occurred()) SWIG_fail
;
10922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10923 result
= (arg1
)->Rotate90(arg2
);
10925 wxPyEndAllowThreads(__tstate
);
10926 if (PyErr_Occurred()) SWIG_fail
;
10929 wxImage
* resultptr
;
10930 resultptr
= new wxImage((wxImage
&) result
);
10931 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10939 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10940 PyObject
*resultobj
;
10941 wxImage
*arg1
= (wxImage
*) 0 ;
10942 bool arg2
= (bool) True
;
10943 SwigValueWrapper
< wxImage
> result
;
10944 PyObject
* obj0
= 0 ;
10945 PyObject
* obj1
= 0 ;
10946 char *kwnames
[] = {
10947 (char *) "self",(char *) "horizontally", NULL
10950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
10951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10954 arg2
= (bool)SWIG_As_bool(obj1
);
10955 if (PyErr_Occurred()) SWIG_fail
;
10958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10959 result
= (arg1
)->Mirror(arg2
);
10961 wxPyEndAllowThreads(__tstate
);
10962 if (PyErr_Occurred()) SWIG_fail
;
10965 wxImage
* resultptr
;
10966 resultptr
= new wxImage((wxImage
&) result
);
10967 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10975 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10976 PyObject
*resultobj
;
10977 wxImage
*arg1
= (wxImage
*) 0 ;
10978 unsigned char arg2
;
10979 unsigned char arg3
;
10980 unsigned char arg4
;
10981 unsigned char arg5
;
10982 unsigned char arg6
;
10983 unsigned char arg7
;
10984 PyObject
* obj0
= 0 ;
10985 PyObject
* obj1
= 0 ;
10986 PyObject
* obj2
= 0 ;
10987 PyObject
* obj3
= 0 ;
10988 PyObject
* obj4
= 0 ;
10989 PyObject
* obj5
= 0 ;
10990 PyObject
* obj6
= 0 ;
10991 char *kwnames
[] = {
10992 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10998 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
10999 if (PyErr_Occurred()) SWIG_fail
;
11000 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11001 if (PyErr_Occurred()) SWIG_fail
;
11002 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11003 if (PyErr_Occurred()) SWIG_fail
;
11004 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj4
);
11005 if (PyErr_Occurred()) SWIG_fail
;
11006 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj5
);
11007 if (PyErr_Occurred()) SWIG_fail
;
11008 arg7
= (unsigned char)SWIG_As_unsigned_SS_char(obj6
);
11009 if (PyErr_Occurred()) SWIG_fail
;
11011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11012 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11014 wxPyEndAllowThreads(__tstate
);
11015 if (PyErr_Occurred()) SWIG_fail
;
11017 Py_INCREF(Py_None
); resultobj
= Py_None
;
11024 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11025 PyObject
*resultobj
;
11026 wxImage
*arg1
= (wxImage
*) 0 ;
11027 unsigned char arg2
;
11028 unsigned char arg3
;
11029 unsigned char arg4
;
11030 SwigValueWrapper
< wxImage
> result
;
11031 PyObject
* obj0
= 0 ;
11032 PyObject
* obj1
= 0 ;
11033 PyObject
* obj2
= 0 ;
11034 PyObject
* obj3
= 0 ;
11035 char *kwnames
[] = {
11036 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11042 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11043 if (PyErr_Occurred()) SWIG_fail
;
11044 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11045 if (PyErr_Occurred()) SWIG_fail
;
11046 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11047 if (PyErr_Occurred()) SWIG_fail
;
11049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11050 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
11052 wxPyEndAllowThreads(__tstate
);
11053 if (PyErr_Occurred()) SWIG_fail
;
11056 wxImage
* resultptr
;
11057 resultptr
= new wxImage((wxImage
&) result
);
11058 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11066 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11067 PyObject
*resultobj
;
11068 wxImage
*arg1
= (wxImage
*) 0 ;
11069 wxString
*arg2
= 0 ;
11070 wxString
*arg3
= 0 ;
11071 bool temp2
= False
;
11072 bool temp3
= False
;
11073 PyObject
* obj0
= 0 ;
11074 PyObject
* obj1
= 0 ;
11075 PyObject
* obj2
= 0 ;
11076 char *kwnames
[] = {
11077 (char *) "self",(char *) "name",(char *) "value", NULL
11080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11084 arg2
= wxString_in_helper(obj1
);
11085 if (arg2
== NULL
) SWIG_fail
;
11089 arg3
= wxString_in_helper(obj2
);
11090 if (arg3
== NULL
) SWIG_fail
;
11094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11095 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
11097 wxPyEndAllowThreads(__tstate
);
11098 if (PyErr_Occurred()) SWIG_fail
;
11100 Py_INCREF(Py_None
); resultobj
= Py_None
;
11123 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11124 PyObject
*resultobj
;
11125 wxImage
*arg1
= (wxImage
*) 0 ;
11126 wxString
*arg2
= 0 ;
11128 bool temp2
= False
;
11129 PyObject
* obj0
= 0 ;
11130 PyObject
* obj1
= 0 ;
11131 PyObject
* obj2
= 0 ;
11132 char *kwnames
[] = {
11133 (char *) "self",(char *) "name",(char *) "value", NULL
11136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11140 arg2
= wxString_in_helper(obj1
);
11141 if (arg2
== NULL
) SWIG_fail
;
11144 arg3
= (int)SWIG_As_int(obj2
);
11145 if (PyErr_Occurred()) SWIG_fail
;
11147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11148 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
11150 wxPyEndAllowThreads(__tstate
);
11151 if (PyErr_Occurred()) SWIG_fail
;
11153 Py_INCREF(Py_None
); resultobj
= Py_None
;
11168 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11169 PyObject
*resultobj
;
11170 wxImage
*arg1
= (wxImage
*) 0 ;
11171 wxString
*arg2
= 0 ;
11173 bool temp2
= False
;
11174 PyObject
* obj0
= 0 ;
11175 PyObject
* obj1
= 0 ;
11176 char *kwnames
[] = {
11177 (char *) "self",(char *) "name", NULL
11180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
11181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11184 arg2
= wxString_in_helper(obj1
);
11185 if (arg2
== NULL
) SWIG_fail
;
11189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11190 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
11192 wxPyEndAllowThreads(__tstate
);
11193 if (PyErr_Occurred()) SWIG_fail
;
11197 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11199 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11216 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11217 PyObject
*resultobj
;
11218 wxImage
*arg1
= (wxImage
*) 0 ;
11219 wxString
*arg2
= 0 ;
11221 bool temp2
= False
;
11222 PyObject
* obj0
= 0 ;
11223 PyObject
* obj1
= 0 ;
11224 char *kwnames
[] = {
11225 (char *) "self",(char *) "name", NULL
11228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
11229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11232 arg2
= wxString_in_helper(obj1
);
11233 if (arg2
== NULL
) SWIG_fail
;
11237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11238 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
11240 wxPyEndAllowThreads(__tstate
);
11241 if (PyErr_Occurred()) SWIG_fail
;
11243 resultobj
= SWIG_From_int((int)result
);
11258 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11259 PyObject
*resultobj
;
11260 wxImage
*arg1
= (wxImage
*) 0 ;
11261 wxString
*arg2
= 0 ;
11263 bool temp2
= False
;
11264 PyObject
* obj0
= 0 ;
11265 PyObject
* obj1
= 0 ;
11266 char *kwnames
[] = {
11267 (char *) "self",(char *) "name", NULL
11270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
11271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11274 arg2
= wxString_in_helper(obj1
);
11275 if (arg2
== NULL
) SWIG_fail
;
11279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11280 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
11282 wxPyEndAllowThreads(__tstate
);
11283 if (PyErr_Occurred()) SWIG_fail
;
11286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11302 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11303 PyObject
*resultobj
;
11304 wxImage
*arg1
= (wxImage
*) 0 ;
11305 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
11306 unsigned long result
;
11307 PyObject
* obj0
= 0 ;
11308 PyObject
* obj1
= 0 ;
11309 char *kwnames
[] = {
11310 (char *) "self",(char *) "stopafter", NULL
11313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
11314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11317 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
11318 if (PyErr_Occurred()) SWIG_fail
;
11321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11322 result
= (unsigned long)(arg1
)->CountColours(arg2
);
11324 wxPyEndAllowThreads(__tstate
);
11325 if (PyErr_Occurred()) SWIG_fail
;
11327 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
11334 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11335 PyObject
*resultobj
;
11336 wxImage
*arg1
= (wxImage
*) 0 ;
11337 wxImageHistogram
*arg2
= 0 ;
11338 unsigned long result
;
11339 PyObject
* obj0
= 0 ;
11340 PyObject
* obj1
= 0 ;
11341 char *kwnames
[] = {
11342 (char *) "self",(char *) "h", NULL
11345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
11346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11348 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
11349 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11351 if (arg2
== NULL
) {
11352 PyErr_SetString(PyExc_TypeError
,"null reference");
11356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11357 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
11359 wxPyEndAllowThreads(__tstate
);
11360 if (PyErr_Occurred()) SWIG_fail
;
11362 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
11369 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11370 PyObject
*resultobj
;
11371 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11372 PyObject
* obj0
= 0 ;
11373 char *kwnames
[] = {
11374 (char *) "handler", NULL
11377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
11378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11382 wxImage::AddHandler(arg1
);
11384 wxPyEndAllowThreads(__tstate
);
11385 if (PyErr_Occurred()) SWIG_fail
;
11387 Py_INCREF(Py_None
); resultobj
= Py_None
;
11394 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11395 PyObject
*resultobj
;
11396 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11397 PyObject
* obj0
= 0 ;
11398 char *kwnames
[] = {
11399 (char *) "handler", NULL
11402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
11403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11407 wxImage::InsertHandler(arg1
);
11409 wxPyEndAllowThreads(__tstate
);
11410 if (PyErr_Occurred()) SWIG_fail
;
11412 Py_INCREF(Py_None
); resultobj
= Py_None
;
11419 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11420 PyObject
*resultobj
;
11421 wxString
*arg1
= 0 ;
11423 bool temp1
= False
;
11424 PyObject
* obj0
= 0 ;
11425 char *kwnames
[] = {
11426 (char *) "name", NULL
11429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
11431 arg1
= wxString_in_helper(obj0
);
11432 if (arg1
== NULL
) SWIG_fail
;
11436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11437 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
11439 wxPyEndAllowThreads(__tstate
);
11440 if (PyErr_Occurred()) SWIG_fail
;
11443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11459 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11460 PyObject
*resultobj
;
11462 char *kwnames
[] = {
11466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
11468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11469 result
= wxImage::GetImageExtWildcard();
11471 wxPyEndAllowThreads(__tstate
);
11472 if (PyErr_Occurred()) SWIG_fail
;
11476 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11478 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11487 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11488 PyObject
*resultobj
;
11489 wxImage
*arg1
= (wxImage
*) 0 ;
11491 PyObject
* obj0
= 0 ;
11492 char *kwnames
[] = {
11493 (char *) "self", NULL
11496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
11497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11500 if (!wxPyCheckForApp()) SWIG_fail
;
11501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11502 result
= wxImage_ConvertToBitmap(arg1
);
11504 wxPyEndAllowThreads(__tstate
);
11505 if (PyErr_Occurred()) SWIG_fail
;
11508 wxBitmap
* resultptr
;
11509 resultptr
= new wxBitmap((wxBitmap
&) result
);
11510 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11518 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11519 PyObject
*resultobj
;
11520 wxImage
*arg1
= (wxImage
*) 0 ;
11521 unsigned char arg2
;
11522 unsigned char arg3
;
11523 unsigned char arg4
;
11525 PyObject
* obj0
= 0 ;
11526 PyObject
* obj1
= 0 ;
11527 PyObject
* obj2
= 0 ;
11528 PyObject
* obj3
= 0 ;
11529 char *kwnames
[] = {
11530 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11536 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11537 if (PyErr_Occurred()) SWIG_fail
;
11538 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11539 if (PyErr_Occurred()) SWIG_fail
;
11540 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11541 if (PyErr_Occurred()) SWIG_fail
;
11543 if (!wxPyCheckForApp()) SWIG_fail
;
11544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11545 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11547 wxPyEndAllowThreads(__tstate
);
11548 if (PyErr_Occurred()) SWIG_fail
;
11551 wxBitmap
* resultptr
;
11552 resultptr
= new wxBitmap((wxBitmap
&) result
);
11553 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11561 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
11563 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11564 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11566 return Py_BuildValue((char *)"");
11568 static int _wrap_NullImage_set(PyObject
*) {
11569 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11574 static PyObject
*_wrap_NullImage_get() {
11577 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11582 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
11583 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11588 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11593 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11595 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11602 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
11603 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11608 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11613 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11615 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11622 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
11623 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11628 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11633 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11635 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11642 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
11643 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11648 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11653 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11655 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11662 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
11663 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11668 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11673 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11675 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11682 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11683 PyObject
*resultobj
;
11684 wxBMPHandler
*result
;
11685 char *kwnames
[] = {
11689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11692 result
= (wxBMPHandler
*)new wxBMPHandler();
11694 wxPyEndAllowThreads(__tstate
);
11695 if (PyErr_Occurred()) SWIG_fail
;
11697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11704 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
11706 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11707 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11709 return Py_BuildValue((char *)"");
11711 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11712 PyObject
*resultobj
;
11713 wxICOHandler
*result
;
11714 char *kwnames
[] = {
11718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11721 result
= (wxICOHandler
*)new wxICOHandler();
11723 wxPyEndAllowThreads(__tstate
);
11724 if (PyErr_Occurred()) SWIG_fail
;
11726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11733 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
11735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11736 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11738 return Py_BuildValue((char *)"");
11740 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11741 PyObject
*resultobj
;
11742 wxCURHandler
*result
;
11743 char *kwnames
[] = {
11747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11750 result
= (wxCURHandler
*)new wxCURHandler();
11752 wxPyEndAllowThreads(__tstate
);
11753 if (PyErr_Occurred()) SWIG_fail
;
11755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11762 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
11764 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11765 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11767 return Py_BuildValue((char *)"");
11769 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11770 PyObject
*resultobj
;
11771 wxANIHandler
*result
;
11772 char *kwnames
[] = {
11776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11779 result
= (wxANIHandler
*)new wxANIHandler();
11781 wxPyEndAllowThreads(__tstate
);
11782 if (PyErr_Occurred()) SWIG_fail
;
11784 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
11791 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
11793 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11794 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11796 return Py_BuildValue((char *)"");
11798 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11799 PyObject
*resultobj
;
11800 wxPNGHandler
*result
;
11801 char *kwnames
[] = {
11805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11808 result
= (wxPNGHandler
*)new wxPNGHandler();
11810 wxPyEndAllowThreads(__tstate
);
11811 if (PyErr_Occurred()) SWIG_fail
;
11813 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
11820 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
11822 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11823 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11825 return Py_BuildValue((char *)"");
11827 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11828 PyObject
*resultobj
;
11829 wxGIFHandler
*result
;
11830 char *kwnames
[] = {
11834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11837 result
= (wxGIFHandler
*)new wxGIFHandler();
11839 wxPyEndAllowThreads(__tstate
);
11840 if (PyErr_Occurred()) SWIG_fail
;
11842 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
11849 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
11851 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11852 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11854 return Py_BuildValue((char *)"");
11856 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11857 PyObject
*resultobj
;
11858 wxPCXHandler
*result
;
11859 char *kwnames
[] = {
11863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11866 result
= (wxPCXHandler
*)new wxPCXHandler();
11868 wxPyEndAllowThreads(__tstate
);
11869 if (PyErr_Occurred()) SWIG_fail
;
11871 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
11878 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
11880 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11881 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11883 return Py_BuildValue((char *)"");
11885 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11886 PyObject
*resultobj
;
11887 wxJPEGHandler
*result
;
11888 char *kwnames
[] = {
11892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11895 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11897 wxPyEndAllowThreads(__tstate
);
11898 if (PyErr_Occurred()) SWIG_fail
;
11900 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
11907 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
11909 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11910 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11912 return Py_BuildValue((char *)"");
11914 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11915 PyObject
*resultobj
;
11916 wxPNMHandler
*result
;
11917 char *kwnames
[] = {
11921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11924 result
= (wxPNMHandler
*)new wxPNMHandler();
11926 wxPyEndAllowThreads(__tstate
);
11927 if (PyErr_Occurred()) SWIG_fail
;
11929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
11936 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
11938 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11939 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11941 return Py_BuildValue((char *)"");
11943 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11944 PyObject
*resultobj
;
11945 wxXPMHandler
*result
;
11946 char *kwnames
[] = {
11950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11953 result
= (wxXPMHandler
*)new wxXPMHandler();
11955 wxPyEndAllowThreads(__tstate
);
11956 if (PyErr_Occurred()) SWIG_fail
;
11958 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
11965 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
11967 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11968 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
11970 return Py_BuildValue((char *)"");
11972 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11973 PyObject
*resultobj
;
11974 wxTIFFHandler
*result
;
11975 char *kwnames
[] = {
11979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
11981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11982 result
= (wxTIFFHandler
*)new wxTIFFHandler();
11984 wxPyEndAllowThreads(__tstate
);
11985 if (PyErr_Occurred()) SWIG_fail
;
11987 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
11994 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
11996 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11997 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
11999 return Py_BuildValue((char *)"");
12001 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12002 PyObject
*resultobj
;
12003 wxImage
*arg1
= 0 ;
12004 wxImage
*arg2
= 0 ;
12005 int arg3
= (int) 236 ;
12006 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
12008 PyObject
* obj0
= 0 ;
12009 PyObject
* obj1
= 0 ;
12010 PyObject
* obj2
= 0 ;
12011 PyObject
* obj3
= 0 ;
12012 char *kwnames
[] = {
12013 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
12016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
12018 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12020 if (arg1
== NULL
) {
12021 PyErr_SetString(PyExc_TypeError
,"null reference");
12024 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
12025 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12027 if (arg2
== NULL
) {
12028 PyErr_SetString(PyExc_TypeError
,"null reference");
12032 arg3
= (int)SWIG_As_int(obj2
);
12033 if (PyErr_Occurred()) SWIG_fail
;
12036 arg4
= (int)SWIG_As_int(obj3
);
12037 if (PyErr_Occurred()) SWIG_fail
;
12040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12041 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
12043 wxPyEndAllowThreads(__tstate
);
12044 if (PyErr_Occurred()) SWIG_fail
;
12047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12055 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
12057 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12058 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
12060 return Py_BuildValue((char *)"");
12062 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12063 PyObject
*resultobj
;
12064 wxEvtHandler
*result
;
12065 char *kwnames
[] = {
12069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
12071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12072 result
= (wxEvtHandler
*)new wxEvtHandler();
12074 wxPyEndAllowThreads(__tstate
);
12075 if (PyErr_Occurred()) SWIG_fail
;
12077 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
12084 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12085 PyObject
*resultobj
;
12086 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12087 wxEvtHandler
*result
;
12088 PyObject
* obj0
= 0 ;
12089 char *kwnames
[] = {
12090 (char *) "self", NULL
12093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
12094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12098 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
12100 wxPyEndAllowThreads(__tstate
);
12101 if (PyErr_Occurred()) SWIG_fail
;
12104 resultobj
= wxPyMake_wxObject(result
, 0);
12112 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12113 PyObject
*resultobj
;
12114 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12115 wxEvtHandler
*result
;
12116 PyObject
* obj0
= 0 ;
12117 char *kwnames
[] = {
12118 (char *) "self", NULL
12121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
12122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12126 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
12128 wxPyEndAllowThreads(__tstate
);
12129 if (PyErr_Occurred()) SWIG_fail
;
12132 resultobj
= wxPyMake_wxObject(result
, 0);
12140 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12141 PyObject
*resultobj
;
12142 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12143 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
12144 PyObject
* obj0
= 0 ;
12145 PyObject
* obj1
= 0 ;
12146 char *kwnames
[] = {
12147 (char *) "self",(char *) "handler", NULL
12150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
12151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12153 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
12154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12157 (arg1
)->SetNextHandler(arg2
);
12159 wxPyEndAllowThreads(__tstate
);
12160 if (PyErr_Occurred()) SWIG_fail
;
12162 Py_INCREF(Py_None
); resultobj
= Py_None
;
12169 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12170 PyObject
*resultobj
;
12171 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12172 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
12173 PyObject
* obj0
= 0 ;
12174 PyObject
* obj1
= 0 ;
12175 char *kwnames
[] = {
12176 (char *) "self",(char *) "handler", NULL
12179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
12180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12182 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
12183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12186 (arg1
)->SetPreviousHandler(arg2
);
12188 wxPyEndAllowThreads(__tstate
);
12189 if (PyErr_Occurred()) SWIG_fail
;
12191 Py_INCREF(Py_None
); resultobj
= Py_None
;
12198 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12199 PyObject
*resultobj
;
12200 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12202 PyObject
* obj0
= 0 ;
12203 char *kwnames
[] = {
12204 (char *) "self", NULL
12207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
12208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12212 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
12214 wxPyEndAllowThreads(__tstate
);
12215 if (PyErr_Occurred()) SWIG_fail
;
12218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12226 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12227 PyObject
*resultobj
;
12228 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12230 PyObject
* obj0
= 0 ;
12231 PyObject
* obj1
= 0 ;
12232 char *kwnames
[] = {
12233 (char *) "self",(char *) "enabled", NULL
12236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
12237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12239 arg2
= (bool)SWIG_As_bool(obj1
);
12240 if (PyErr_Occurred()) SWIG_fail
;
12242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12243 (arg1
)->SetEvtHandlerEnabled(arg2
);
12245 wxPyEndAllowThreads(__tstate
);
12246 if (PyErr_Occurred()) SWIG_fail
;
12248 Py_INCREF(Py_None
); resultobj
= Py_None
;
12255 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12256 PyObject
*resultobj
;
12257 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12258 wxEvent
*arg2
= 0 ;
12260 PyObject
* obj0
= 0 ;
12261 PyObject
* obj1
= 0 ;
12262 char *kwnames
[] = {
12263 (char *) "self",(char *) "event", NULL
12266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12269 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12270 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12272 if (arg2
== NULL
) {
12273 PyErr_SetString(PyExc_TypeError
,"null reference");
12277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12278 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
12280 wxPyEndAllowThreads(__tstate
);
12281 if (PyErr_Occurred()) SWIG_fail
;
12284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12292 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12293 PyObject
*resultobj
;
12294 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12295 wxEvent
*arg2
= 0 ;
12296 PyObject
* obj0
= 0 ;
12297 PyObject
* obj1
= 0 ;
12298 char *kwnames
[] = {
12299 (char *) "self",(char *) "event", NULL
12302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12305 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12306 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12308 if (arg2
== NULL
) {
12309 PyErr_SetString(PyExc_TypeError
,"null reference");
12313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12314 (arg1
)->AddPendingEvent(*arg2
);
12316 wxPyEndAllowThreads(__tstate
);
12317 if (PyErr_Occurred()) SWIG_fail
;
12319 Py_INCREF(Py_None
); resultobj
= Py_None
;
12326 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12327 PyObject
*resultobj
;
12328 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12329 PyObject
* obj0
= 0 ;
12330 char *kwnames
[] = {
12331 (char *) "self", NULL
12334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
12335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12339 (arg1
)->ProcessPendingEvents();
12341 wxPyEndAllowThreads(__tstate
);
12342 if (PyErr_Occurred()) SWIG_fail
;
12344 Py_INCREF(Py_None
); resultobj
= Py_None
;
12351 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12352 PyObject
*resultobj
;
12353 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12357 PyObject
*arg5
= (PyObject
*) 0 ;
12358 PyObject
* obj0
= 0 ;
12359 PyObject
* obj1
= 0 ;
12360 PyObject
* obj2
= 0 ;
12361 PyObject
* obj3
= 0 ;
12362 PyObject
* obj4
= 0 ;
12363 char *kwnames
[] = {
12364 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12370 arg2
= (int)SWIG_As_int(obj1
);
12371 if (PyErr_Occurred()) SWIG_fail
;
12372 arg3
= (int)SWIG_As_int(obj2
);
12373 if (PyErr_Occurred()) SWIG_fail
;
12374 arg4
= (int)SWIG_As_int(obj3
);
12375 if (PyErr_Occurred()) SWIG_fail
;
12378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12379 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
12381 wxPyEndAllowThreads(__tstate
);
12382 if (PyErr_Occurred()) SWIG_fail
;
12384 Py_INCREF(Py_None
); resultobj
= Py_None
;
12391 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12392 PyObject
*resultobj
;
12393 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12395 int arg3
= (int) -1 ;
12396 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
12398 PyObject
* obj0
= 0 ;
12399 PyObject
* obj1
= 0 ;
12400 PyObject
* obj2
= 0 ;
12401 PyObject
* obj3
= 0 ;
12402 char *kwnames
[] = {
12403 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12409 arg2
= (int)SWIG_As_int(obj1
);
12410 if (PyErr_Occurred()) SWIG_fail
;
12412 arg3
= (int)SWIG_As_int(obj2
);
12413 if (PyErr_Occurred()) SWIG_fail
;
12416 arg4
= (wxEventType
)SWIG_As_int(obj3
);
12417 if (PyErr_Occurred()) SWIG_fail
;
12420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12421 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
12423 wxPyEndAllowThreads(__tstate
);
12424 if (PyErr_Occurred()) SWIG_fail
;
12427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12435 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12436 PyObject
*resultobj
;
12437 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12438 PyObject
*arg2
= (PyObject
*) 0 ;
12439 PyObject
* obj0
= 0 ;
12440 PyObject
* obj1
= 0 ;
12441 char *kwnames
[] = {
12442 (char *) "self",(char *) "_self", NULL
12445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
12446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12451 wxEvtHandler__setOORInfo(arg1
,arg2
);
12453 wxPyEndAllowThreads(__tstate
);
12454 if (PyErr_Occurred()) SWIG_fail
;
12456 Py_INCREF(Py_None
); resultobj
= Py_None
;
12463 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
12465 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12466 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12468 return Py_BuildValue((char *)"");
12470 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12471 PyObject
*resultobj
;
12472 wxEventType result
;
12473 char *kwnames
[] = {
12477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12480 result
= (wxEventType
)wxNewEventType();
12482 wxPyEndAllowThreads(__tstate
);
12483 if (PyErr_Occurred()) SWIG_fail
;
12485 resultobj
= SWIG_From_int((int)result
);
12492 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12493 PyObject
*resultobj
;
12494 wxEvent
*arg1
= (wxEvent
*) 0 ;
12495 PyObject
* obj0
= 0 ;
12496 char *kwnames
[] = {
12497 (char *) "self", NULL
12500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
12501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12507 wxPyEndAllowThreads(__tstate
);
12508 if (PyErr_Occurred()) SWIG_fail
;
12510 Py_INCREF(Py_None
); resultobj
= Py_None
;
12517 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12518 PyObject
*resultobj
;
12519 wxEvent
*arg1
= (wxEvent
*) 0 ;
12521 PyObject
* obj0
= 0 ;
12522 PyObject
* obj1
= 0 ;
12523 char *kwnames
[] = {
12524 (char *) "self",(char *) "typ", NULL
12527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12530 arg2
= (wxEventType
)SWIG_As_int(obj1
);
12531 if (PyErr_Occurred()) SWIG_fail
;
12533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12534 (arg1
)->SetEventType(arg2
);
12536 wxPyEndAllowThreads(__tstate
);
12537 if (PyErr_Occurred()) SWIG_fail
;
12539 Py_INCREF(Py_None
); resultobj
= Py_None
;
12546 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12547 PyObject
*resultobj
;
12548 wxEvent
*arg1
= (wxEvent
*) 0 ;
12549 wxEventType result
;
12550 PyObject
* obj0
= 0 ;
12551 char *kwnames
[] = {
12552 (char *) "self", NULL
12555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12560 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12562 wxPyEndAllowThreads(__tstate
);
12563 if (PyErr_Occurred()) SWIG_fail
;
12565 resultobj
= SWIG_From_int((int)result
);
12572 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12573 PyObject
*resultobj
;
12574 wxEvent
*arg1
= (wxEvent
*) 0 ;
12576 PyObject
* obj0
= 0 ;
12577 char *kwnames
[] = {
12578 (char *) "self", NULL
12581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12586 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12588 wxPyEndAllowThreads(__tstate
);
12589 if (PyErr_Occurred()) SWIG_fail
;
12592 resultobj
= wxPyMake_wxObject(result
, 0);
12600 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12601 PyObject
*resultobj
;
12602 wxEvent
*arg1
= (wxEvent
*) 0 ;
12603 wxObject
*arg2
= (wxObject
*) 0 ;
12604 PyObject
* obj0
= 0 ;
12605 PyObject
* obj1
= 0 ;
12606 char *kwnames
[] = {
12607 (char *) "self",(char *) "obj", NULL
12610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12613 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12617 (arg1
)->SetEventObject(arg2
);
12619 wxPyEndAllowThreads(__tstate
);
12620 if (PyErr_Occurred()) SWIG_fail
;
12622 Py_INCREF(Py_None
); resultobj
= Py_None
;
12629 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12630 PyObject
*resultobj
;
12631 wxEvent
*arg1
= (wxEvent
*) 0 ;
12633 PyObject
* obj0
= 0 ;
12634 char *kwnames
[] = {
12635 (char *) "self", NULL
12638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12643 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12645 wxPyEndAllowThreads(__tstate
);
12646 if (PyErr_Occurred()) SWIG_fail
;
12648 resultobj
= SWIG_From_long((long)result
);
12655 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12656 PyObject
*resultobj
;
12657 wxEvent
*arg1
= (wxEvent
*) 0 ;
12658 long arg2
= (long) 0 ;
12659 PyObject
* obj0
= 0 ;
12660 PyObject
* obj1
= 0 ;
12661 char *kwnames
[] = {
12662 (char *) "self",(char *) "ts", NULL
12665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12669 arg2
= (long)SWIG_As_long(obj1
);
12670 if (PyErr_Occurred()) SWIG_fail
;
12673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12674 (arg1
)->SetTimestamp(arg2
);
12676 wxPyEndAllowThreads(__tstate
);
12677 if (PyErr_Occurred()) SWIG_fail
;
12679 Py_INCREF(Py_None
); resultobj
= Py_None
;
12686 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12687 PyObject
*resultobj
;
12688 wxEvent
*arg1
= (wxEvent
*) 0 ;
12690 PyObject
* obj0
= 0 ;
12691 char *kwnames
[] = {
12692 (char *) "self", NULL
12695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12700 result
= (int)((wxEvent
const *)arg1
)->GetId();
12702 wxPyEndAllowThreads(__tstate
);
12703 if (PyErr_Occurred()) SWIG_fail
;
12705 resultobj
= SWIG_From_int((int)result
);
12712 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12713 PyObject
*resultobj
;
12714 wxEvent
*arg1
= (wxEvent
*) 0 ;
12716 PyObject
* obj0
= 0 ;
12717 PyObject
* obj1
= 0 ;
12718 char *kwnames
[] = {
12719 (char *) "self",(char *) "Id", NULL
12722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12725 arg2
= (int)SWIG_As_int(obj1
);
12726 if (PyErr_Occurred()) SWIG_fail
;
12728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12729 (arg1
)->SetId(arg2
);
12731 wxPyEndAllowThreads(__tstate
);
12732 if (PyErr_Occurred()) SWIG_fail
;
12734 Py_INCREF(Py_None
); resultobj
= Py_None
;
12741 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12742 PyObject
*resultobj
;
12743 wxEvent
*arg1
= (wxEvent
*) 0 ;
12745 PyObject
* obj0
= 0 ;
12746 char *kwnames
[] = {
12747 (char *) "self", NULL
12750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12755 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12757 wxPyEndAllowThreads(__tstate
);
12758 if (PyErr_Occurred()) SWIG_fail
;
12761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12769 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12770 PyObject
*resultobj
;
12771 wxEvent
*arg1
= (wxEvent
*) 0 ;
12772 bool arg2
= (bool) True
;
12773 PyObject
* obj0
= 0 ;
12774 PyObject
* obj1
= 0 ;
12775 char *kwnames
[] = {
12776 (char *) "self",(char *) "skip", NULL
12779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12783 arg2
= (bool)SWIG_As_bool(obj1
);
12784 if (PyErr_Occurred()) SWIG_fail
;
12787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12788 (arg1
)->Skip(arg2
);
12790 wxPyEndAllowThreads(__tstate
);
12791 if (PyErr_Occurred()) SWIG_fail
;
12793 Py_INCREF(Py_None
); resultobj
= Py_None
;
12800 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12801 PyObject
*resultobj
;
12802 wxEvent
*arg1
= (wxEvent
*) 0 ;
12804 PyObject
* obj0
= 0 ;
12805 char *kwnames
[] = {
12806 (char *) "self", NULL
12809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12814 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12816 wxPyEndAllowThreads(__tstate
);
12817 if (PyErr_Occurred()) SWIG_fail
;
12820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12828 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12829 PyObject
*resultobj
;
12830 wxEvent
*arg1
= (wxEvent
*) 0 ;
12832 PyObject
* obj0
= 0 ;
12833 char *kwnames
[] = {
12834 (char *) "self", NULL
12837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12842 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12844 wxPyEndAllowThreads(__tstate
);
12845 if (PyErr_Occurred()) SWIG_fail
;
12848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12856 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12857 PyObject
*resultobj
;
12858 wxEvent
*arg1
= (wxEvent
*) 0 ;
12860 PyObject
* obj0
= 0 ;
12861 char *kwnames
[] = {
12862 (char *) "self", NULL
12865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12870 result
= (int)(arg1
)->StopPropagation();
12872 wxPyEndAllowThreads(__tstate
);
12873 if (PyErr_Occurred()) SWIG_fail
;
12875 resultobj
= SWIG_From_int((int)result
);
12882 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12883 PyObject
*resultobj
;
12884 wxEvent
*arg1
= (wxEvent
*) 0 ;
12886 PyObject
* obj0
= 0 ;
12887 PyObject
* obj1
= 0 ;
12888 char *kwnames
[] = {
12889 (char *) "self",(char *) "propagationLevel", NULL
12892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12895 arg2
= (int)SWIG_As_int(obj1
);
12896 if (PyErr_Occurred()) SWIG_fail
;
12898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12899 (arg1
)->ResumePropagation(arg2
);
12901 wxPyEndAllowThreads(__tstate
);
12902 if (PyErr_Occurred()) SWIG_fail
;
12904 Py_INCREF(Py_None
); resultobj
= Py_None
;
12911 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12912 PyObject
*resultobj
;
12913 wxEvent
*arg1
= (wxEvent
*) 0 ;
12915 PyObject
* obj0
= 0 ;
12916 char *kwnames
[] = {
12917 (char *) "self", NULL
12920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12925 result
= (wxEvent
*)(arg1
)->Clone();
12927 wxPyEndAllowThreads(__tstate
);
12928 if (PyErr_Occurred()) SWIG_fail
;
12930 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12937 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
12939 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12940 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12942 return Py_BuildValue((char *)"");
12944 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12945 PyObject
*resultobj
;
12946 wxEvent
*arg1
= 0 ;
12947 wxPropagationDisabler
*result
;
12948 PyObject
* obj0
= 0 ;
12949 char *kwnames
[] = {
12950 (char *) "event", NULL
12953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12955 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12957 if (arg1
== NULL
) {
12958 PyErr_SetString(PyExc_TypeError
,"null reference");
12962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12963 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
12965 wxPyEndAllowThreads(__tstate
);
12966 if (PyErr_Occurred()) SWIG_fail
;
12968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
12975 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12976 PyObject
*resultobj
;
12977 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
12978 PyObject
* obj0
= 0 ;
12979 char *kwnames
[] = {
12980 (char *) "self", NULL
12983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
12985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12990 wxPyEndAllowThreads(__tstate
);
12991 if (PyErr_Occurred()) SWIG_fail
;
12993 Py_INCREF(Py_None
); resultobj
= Py_None
;
13000 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
13002 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13003 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
13005 return Py_BuildValue((char *)"");
13007 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13008 PyObject
*resultobj
;
13009 wxEvent
*arg1
= 0 ;
13010 wxPropagateOnce
*result
;
13011 PyObject
* obj0
= 0 ;
13012 char *kwnames
[] = {
13013 (char *) "event", NULL
13016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
13017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13018 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13020 if (arg1
== NULL
) {
13021 PyErr_SetString(PyExc_TypeError
,"null reference");
13025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13026 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
13028 wxPyEndAllowThreads(__tstate
);
13029 if (PyErr_Occurred()) SWIG_fail
;
13031 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
13038 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13039 PyObject
*resultobj
;
13040 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
13041 PyObject
* obj0
= 0 ;
13042 char *kwnames
[] = {
13043 (char *) "self", NULL
13046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
13047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
13048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13053 wxPyEndAllowThreads(__tstate
);
13054 if (PyErr_Occurred()) SWIG_fail
;
13056 Py_INCREF(Py_None
); resultobj
= Py_None
;
13063 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
13065 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13066 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
13068 return Py_BuildValue((char *)"");
13070 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13071 PyObject
*resultobj
;
13072 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13073 int arg2
= (int) 0 ;
13074 wxCommandEvent
*result
;
13075 PyObject
* obj0
= 0 ;
13076 PyObject
* obj1
= 0 ;
13077 char *kwnames
[] = {
13078 (char *) "commandType",(char *) "winid", NULL
13081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13083 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13084 if (PyErr_Occurred()) SWIG_fail
;
13087 arg2
= (int)SWIG_As_int(obj1
);
13088 if (PyErr_Occurred()) SWIG_fail
;
13091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13092 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
13094 wxPyEndAllowThreads(__tstate
);
13095 if (PyErr_Occurred()) SWIG_fail
;
13097 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
13104 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13105 PyObject
*resultobj
;
13106 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13108 PyObject
* obj0
= 0 ;
13109 char *kwnames
[] = {
13110 (char *) "self", NULL
13113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
13114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13118 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
13120 wxPyEndAllowThreads(__tstate
);
13121 if (PyErr_Occurred()) SWIG_fail
;
13123 resultobj
= SWIG_From_int((int)result
);
13130 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13131 PyObject
*resultobj
;
13132 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13133 wxString
*arg2
= 0 ;
13134 bool temp2
= False
;
13135 PyObject
* obj0
= 0 ;
13136 PyObject
* obj1
= 0 ;
13137 char *kwnames
[] = {
13138 (char *) "self",(char *) "s", NULL
13141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
13142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13145 arg2
= wxString_in_helper(obj1
);
13146 if (arg2
== NULL
) SWIG_fail
;
13150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13151 (arg1
)->SetString((wxString
const &)*arg2
);
13153 wxPyEndAllowThreads(__tstate
);
13154 if (PyErr_Occurred()) SWIG_fail
;
13156 Py_INCREF(Py_None
); resultobj
= Py_None
;
13171 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13172 PyObject
*resultobj
;
13173 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13175 PyObject
* obj0
= 0 ;
13176 char *kwnames
[] = {
13177 (char *) "self", NULL
13180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
13181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13185 result
= ((wxCommandEvent
const *)arg1
)->GetString();
13187 wxPyEndAllowThreads(__tstate
);
13188 if (PyErr_Occurred()) SWIG_fail
;
13192 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13194 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13203 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13204 PyObject
*resultobj
;
13205 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13207 PyObject
* obj0
= 0 ;
13208 char *kwnames
[] = {
13209 (char *) "self", NULL
13212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
13213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13217 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
13219 wxPyEndAllowThreads(__tstate
);
13220 if (PyErr_Occurred()) SWIG_fail
;
13223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13231 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13232 PyObject
*resultobj
;
13233 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13235 PyObject
* obj0
= 0 ;
13236 char *kwnames
[] = {
13237 (char *) "self", NULL
13240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
13241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13245 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
13247 wxPyEndAllowThreads(__tstate
);
13248 if (PyErr_Occurred()) SWIG_fail
;
13251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13259 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13260 PyObject
*resultobj
;
13261 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13263 PyObject
* obj0
= 0 ;
13264 PyObject
* obj1
= 0 ;
13265 char *kwnames
[] = {
13266 (char *) "self",(char *) "extraLong", NULL
13269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
13270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13272 arg2
= (long)SWIG_As_long(obj1
);
13273 if (PyErr_Occurred()) SWIG_fail
;
13275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13276 (arg1
)->SetExtraLong(arg2
);
13278 wxPyEndAllowThreads(__tstate
);
13279 if (PyErr_Occurred()) SWIG_fail
;
13281 Py_INCREF(Py_None
); resultobj
= Py_None
;
13288 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13289 PyObject
*resultobj
;
13290 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13292 PyObject
* obj0
= 0 ;
13293 char *kwnames
[] = {
13294 (char *) "self", NULL
13297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
13298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13302 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
13304 wxPyEndAllowThreads(__tstate
);
13305 if (PyErr_Occurred()) SWIG_fail
;
13307 resultobj
= SWIG_From_long((long)result
);
13314 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13315 PyObject
*resultobj
;
13316 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13318 PyObject
* obj0
= 0 ;
13319 PyObject
* obj1
= 0 ;
13320 char *kwnames
[] = {
13321 (char *) "self",(char *) "i", NULL
13324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13327 arg2
= (int)SWIG_As_int(obj1
);
13328 if (PyErr_Occurred()) SWIG_fail
;
13330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13331 (arg1
)->SetInt(arg2
);
13333 wxPyEndAllowThreads(__tstate
);
13334 if (PyErr_Occurred()) SWIG_fail
;
13336 Py_INCREF(Py_None
); resultobj
= Py_None
;
13343 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13344 PyObject
*resultobj
;
13345 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13347 PyObject
* obj0
= 0 ;
13348 char *kwnames
[] = {
13349 (char *) "self", NULL
13352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
13353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13357 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
13359 wxPyEndAllowThreads(__tstate
);
13360 if (PyErr_Occurred()) SWIG_fail
;
13362 resultobj
= SWIG_From_long((long)result
);
13369 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13370 PyObject
*resultobj
;
13371 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13373 PyObject
* obj0
= 0 ;
13374 char *kwnames
[] = {
13375 (char *) "self", NULL
13378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
13379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13383 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
13385 wxPyEndAllowThreads(__tstate
);
13386 if (PyErr_Occurred()) SWIG_fail
;
13388 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13395 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
13397 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13398 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
13400 return Py_BuildValue((char *)"");
13402 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13403 PyObject
*resultobj
;
13404 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13405 int arg2
= (int) 0 ;
13406 wxNotifyEvent
*result
;
13407 PyObject
* obj0
= 0 ;
13408 PyObject
* obj1
= 0 ;
13409 char *kwnames
[] = {
13410 (char *) "commandType",(char *) "winid", NULL
13413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13415 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13416 if (PyErr_Occurred()) SWIG_fail
;
13419 arg2
= (int)SWIG_As_int(obj1
);
13420 if (PyErr_Occurred()) SWIG_fail
;
13423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13424 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
13426 wxPyEndAllowThreads(__tstate
);
13427 if (PyErr_Occurred()) SWIG_fail
;
13429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
13436 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13437 PyObject
*resultobj
;
13438 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13439 PyObject
* obj0
= 0 ;
13440 char *kwnames
[] = {
13441 (char *) "self", NULL
13444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
13445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13451 wxPyEndAllowThreads(__tstate
);
13452 if (PyErr_Occurred()) SWIG_fail
;
13454 Py_INCREF(Py_None
); resultobj
= Py_None
;
13461 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13462 PyObject
*resultobj
;
13463 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13464 PyObject
* obj0
= 0 ;
13465 char *kwnames
[] = {
13466 (char *) "self", NULL
13469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13476 wxPyEndAllowThreads(__tstate
);
13477 if (PyErr_Occurred()) SWIG_fail
;
13479 Py_INCREF(Py_None
); resultobj
= Py_None
;
13486 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13487 PyObject
*resultobj
;
13488 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13490 PyObject
* obj0
= 0 ;
13491 char *kwnames
[] = {
13492 (char *) "self", NULL
13495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13500 result
= (bool)(arg1
)->IsAllowed();
13502 wxPyEndAllowThreads(__tstate
);
13503 if (PyErr_Occurred()) SWIG_fail
;
13506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13514 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
13516 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13517 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13519 return Py_BuildValue((char *)"");
13521 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13522 PyObject
*resultobj
;
13523 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13524 int arg2
= (int) 0 ;
13525 int arg3
= (int) 0 ;
13526 int arg4
= (int) 0 ;
13527 wxScrollEvent
*result
;
13528 PyObject
* obj0
= 0 ;
13529 PyObject
* obj1
= 0 ;
13530 PyObject
* obj2
= 0 ;
13531 PyObject
* obj3
= 0 ;
13532 char *kwnames
[] = {
13533 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13538 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13539 if (PyErr_Occurred()) SWIG_fail
;
13542 arg2
= (int)SWIG_As_int(obj1
);
13543 if (PyErr_Occurred()) SWIG_fail
;
13546 arg3
= (int)SWIG_As_int(obj2
);
13547 if (PyErr_Occurred()) SWIG_fail
;
13550 arg4
= (int)SWIG_As_int(obj3
);
13551 if (PyErr_Occurred()) SWIG_fail
;
13554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13555 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13557 wxPyEndAllowThreads(__tstate
);
13558 if (PyErr_Occurred()) SWIG_fail
;
13560 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13567 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13568 PyObject
*resultobj
;
13569 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13571 PyObject
* obj0
= 0 ;
13572 char *kwnames
[] = {
13573 (char *) "self", NULL
13576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13581 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13583 wxPyEndAllowThreads(__tstate
);
13584 if (PyErr_Occurred()) SWIG_fail
;
13586 resultobj
= SWIG_From_int((int)result
);
13593 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13594 PyObject
*resultobj
;
13595 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13597 PyObject
* obj0
= 0 ;
13598 char *kwnames
[] = {
13599 (char *) "self", NULL
13602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13607 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13609 wxPyEndAllowThreads(__tstate
);
13610 if (PyErr_Occurred()) SWIG_fail
;
13612 resultobj
= SWIG_From_int((int)result
);
13619 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13620 PyObject
*resultobj
;
13621 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13623 PyObject
* obj0
= 0 ;
13624 PyObject
* obj1
= 0 ;
13625 char *kwnames
[] = {
13626 (char *) "self",(char *) "orient", NULL
13629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13632 arg2
= (int)SWIG_As_int(obj1
);
13633 if (PyErr_Occurred()) SWIG_fail
;
13635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13636 (arg1
)->SetOrientation(arg2
);
13638 wxPyEndAllowThreads(__tstate
);
13639 if (PyErr_Occurred()) SWIG_fail
;
13641 Py_INCREF(Py_None
); resultobj
= Py_None
;
13648 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13649 PyObject
*resultobj
;
13650 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13652 PyObject
* obj0
= 0 ;
13653 PyObject
* obj1
= 0 ;
13654 char *kwnames
[] = {
13655 (char *) "self",(char *) "pos", NULL
13658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13661 arg2
= (int)SWIG_As_int(obj1
);
13662 if (PyErr_Occurred()) SWIG_fail
;
13664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13665 (arg1
)->SetPosition(arg2
);
13667 wxPyEndAllowThreads(__tstate
);
13668 if (PyErr_Occurred()) SWIG_fail
;
13670 Py_INCREF(Py_None
); resultobj
= Py_None
;
13677 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
13679 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13680 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13682 return Py_BuildValue((char *)"");
13684 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13685 PyObject
*resultobj
;
13686 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13687 int arg2
= (int) 0 ;
13688 int arg3
= (int) 0 ;
13689 wxScrollWinEvent
*result
;
13690 PyObject
* obj0
= 0 ;
13691 PyObject
* obj1
= 0 ;
13692 PyObject
* obj2
= 0 ;
13693 char *kwnames
[] = {
13694 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13699 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13700 if (PyErr_Occurred()) SWIG_fail
;
13703 arg2
= (int)SWIG_As_int(obj1
);
13704 if (PyErr_Occurred()) SWIG_fail
;
13707 arg3
= (int)SWIG_As_int(obj2
);
13708 if (PyErr_Occurred()) SWIG_fail
;
13711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13712 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13714 wxPyEndAllowThreads(__tstate
);
13715 if (PyErr_Occurred()) SWIG_fail
;
13717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13724 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13725 PyObject
*resultobj
;
13726 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13728 PyObject
* obj0
= 0 ;
13729 char *kwnames
[] = {
13730 (char *) "self", NULL
13733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13738 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13740 wxPyEndAllowThreads(__tstate
);
13741 if (PyErr_Occurred()) SWIG_fail
;
13743 resultobj
= SWIG_From_int((int)result
);
13750 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13751 PyObject
*resultobj
;
13752 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13754 PyObject
* obj0
= 0 ;
13755 char *kwnames
[] = {
13756 (char *) "self", NULL
13759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13764 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13766 wxPyEndAllowThreads(__tstate
);
13767 if (PyErr_Occurred()) SWIG_fail
;
13769 resultobj
= SWIG_From_int((int)result
);
13776 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13777 PyObject
*resultobj
;
13778 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13780 PyObject
* obj0
= 0 ;
13781 PyObject
* obj1
= 0 ;
13782 char *kwnames
[] = {
13783 (char *) "self",(char *) "orient", NULL
13786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13789 arg2
= (int)SWIG_As_int(obj1
);
13790 if (PyErr_Occurred()) SWIG_fail
;
13792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13793 (arg1
)->SetOrientation(arg2
);
13795 wxPyEndAllowThreads(__tstate
);
13796 if (PyErr_Occurred()) SWIG_fail
;
13798 Py_INCREF(Py_None
); resultobj
= Py_None
;
13805 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13806 PyObject
*resultobj
;
13807 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13809 PyObject
* obj0
= 0 ;
13810 PyObject
* obj1
= 0 ;
13811 char *kwnames
[] = {
13812 (char *) "self",(char *) "pos", NULL
13815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13818 arg2
= (int)SWIG_As_int(obj1
);
13819 if (PyErr_Occurred()) SWIG_fail
;
13821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13822 (arg1
)->SetPosition(arg2
);
13824 wxPyEndAllowThreads(__tstate
);
13825 if (PyErr_Occurred()) SWIG_fail
;
13827 Py_INCREF(Py_None
); resultobj
= Py_None
;
13834 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
13836 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13837 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13839 return Py_BuildValue((char *)"");
13841 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13842 PyObject
*resultobj
;
13843 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13844 wxMouseEvent
*result
;
13845 PyObject
* obj0
= 0 ;
13846 char *kwnames
[] = {
13847 (char *) "mouseType", NULL
13850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13852 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13853 if (PyErr_Occurred()) SWIG_fail
;
13856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13857 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13859 wxPyEndAllowThreads(__tstate
);
13860 if (PyErr_Occurred()) SWIG_fail
;
13863 resultobj
= wxPyMake_wxObject(result
, 1);
13871 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13872 PyObject
*resultobj
;
13873 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13875 PyObject
* obj0
= 0 ;
13876 char *kwnames
[] = {
13877 (char *) "self", NULL
13880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13885 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13887 wxPyEndAllowThreads(__tstate
);
13888 if (PyErr_Occurred()) SWIG_fail
;
13891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13899 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13900 PyObject
*resultobj
;
13901 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13902 int arg2
= (int) wxMOUSE_BTN_ANY
;
13904 PyObject
* obj0
= 0 ;
13905 PyObject
* obj1
= 0 ;
13906 char *kwnames
[] = {
13907 (char *) "self",(char *) "but", NULL
13910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13914 arg2
= (int)SWIG_As_int(obj1
);
13915 if (PyErr_Occurred()) SWIG_fail
;
13918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13919 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
13921 wxPyEndAllowThreads(__tstate
);
13922 if (PyErr_Occurred()) SWIG_fail
;
13925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13933 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13934 PyObject
*resultobj
;
13935 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13936 int arg2
= (int) wxMOUSE_BTN_ANY
;
13938 PyObject
* obj0
= 0 ;
13939 PyObject
* obj1
= 0 ;
13940 char *kwnames
[] = {
13941 (char *) "self",(char *) "but", NULL
13944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
13945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13948 arg2
= (int)SWIG_As_int(obj1
);
13949 if (PyErr_Occurred()) SWIG_fail
;
13952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13953 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
13955 wxPyEndAllowThreads(__tstate
);
13956 if (PyErr_Occurred()) SWIG_fail
;
13959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13967 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13968 PyObject
*resultobj
;
13969 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13970 int arg2
= (int) wxMOUSE_BTN_ANY
;
13972 PyObject
* obj0
= 0 ;
13973 PyObject
* obj1
= 0 ;
13974 char *kwnames
[] = {
13975 (char *) "self",(char *) "but", NULL
13978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13982 arg2
= (int)SWIG_As_int(obj1
);
13983 if (PyErr_Occurred()) SWIG_fail
;
13986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13987 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
13989 wxPyEndAllowThreads(__tstate
);
13990 if (PyErr_Occurred()) SWIG_fail
;
13993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14001 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14002 PyObject
*resultobj
;
14003 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14006 PyObject
* obj0
= 0 ;
14007 PyObject
* obj1
= 0 ;
14008 char *kwnames
[] = {
14009 (char *) "self",(char *) "but", NULL
14012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
14013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14015 arg2
= (int)SWIG_As_int(obj1
);
14016 if (PyErr_Occurred()) SWIG_fail
;
14018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14019 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
14021 wxPyEndAllowThreads(__tstate
);
14022 if (PyErr_Occurred()) SWIG_fail
;
14025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14033 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14034 PyObject
*resultobj
;
14035 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14038 PyObject
* obj0
= 0 ;
14039 PyObject
* obj1
= 0 ;
14040 char *kwnames
[] = {
14041 (char *) "self",(char *) "but", NULL
14044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
14045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14047 arg2
= (int)SWIG_As_int(obj1
);
14048 if (PyErr_Occurred()) SWIG_fail
;
14050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14051 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
14053 wxPyEndAllowThreads(__tstate
);
14054 if (PyErr_Occurred()) SWIG_fail
;
14057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14065 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14066 PyObject
*resultobj
;
14067 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14069 PyObject
* obj0
= 0 ;
14070 char *kwnames
[] = {
14071 (char *) "self", NULL
14074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
14075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14079 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
14081 wxPyEndAllowThreads(__tstate
);
14082 if (PyErr_Occurred()) SWIG_fail
;
14084 resultobj
= SWIG_From_int((int)result
);
14091 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14092 PyObject
*resultobj
;
14093 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14095 PyObject
* obj0
= 0 ;
14096 char *kwnames
[] = {
14097 (char *) "self", NULL
14100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
14101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14105 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
14107 wxPyEndAllowThreads(__tstate
);
14108 if (PyErr_Occurred()) SWIG_fail
;
14111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14119 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14120 PyObject
*resultobj
;
14121 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14123 PyObject
* obj0
= 0 ;
14124 char *kwnames
[] = {
14125 (char *) "self", NULL
14128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
14129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14133 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
14135 wxPyEndAllowThreads(__tstate
);
14136 if (PyErr_Occurred()) SWIG_fail
;
14139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14147 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14148 PyObject
*resultobj
;
14149 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14151 PyObject
* obj0
= 0 ;
14152 char *kwnames
[] = {
14153 (char *) "self", NULL
14156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
14157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14161 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
14163 wxPyEndAllowThreads(__tstate
);
14164 if (PyErr_Occurred()) SWIG_fail
;
14167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14175 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14176 PyObject
*resultobj
;
14177 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14179 PyObject
* obj0
= 0 ;
14180 char *kwnames
[] = {
14181 (char *) "self", NULL
14184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
14185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14189 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
14191 wxPyEndAllowThreads(__tstate
);
14192 if (PyErr_Occurred()) SWIG_fail
;
14195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14203 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14204 PyObject
*resultobj
;
14205 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14207 PyObject
* obj0
= 0 ;
14208 char *kwnames
[] = {
14209 (char *) "self", NULL
14212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
14213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14217 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
14219 wxPyEndAllowThreads(__tstate
);
14220 if (PyErr_Occurred()) SWIG_fail
;
14223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14231 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14232 PyObject
*resultobj
;
14233 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14235 PyObject
* obj0
= 0 ;
14236 char *kwnames
[] = {
14237 (char *) "self", NULL
14240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
14241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14245 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
14247 wxPyEndAllowThreads(__tstate
);
14248 if (PyErr_Occurred()) SWIG_fail
;
14251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14259 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14260 PyObject
*resultobj
;
14261 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14263 PyObject
* obj0
= 0 ;
14264 char *kwnames
[] = {
14265 (char *) "self", NULL
14268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
14269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14273 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
14275 wxPyEndAllowThreads(__tstate
);
14276 if (PyErr_Occurred()) SWIG_fail
;
14279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14287 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14288 PyObject
*resultobj
;
14289 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14291 PyObject
* obj0
= 0 ;
14292 char *kwnames
[] = {
14293 (char *) "self", NULL
14296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
14297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14301 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
14303 wxPyEndAllowThreads(__tstate
);
14304 if (PyErr_Occurred()) SWIG_fail
;
14307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14315 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14316 PyObject
*resultobj
;
14317 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14319 PyObject
* obj0
= 0 ;
14320 char *kwnames
[] = {
14321 (char *) "self", NULL
14324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
14325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14329 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
14331 wxPyEndAllowThreads(__tstate
);
14332 if (PyErr_Occurred()) SWIG_fail
;
14335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14343 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14344 PyObject
*resultobj
;
14345 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14347 PyObject
* obj0
= 0 ;
14348 char *kwnames
[] = {
14349 (char *) "self", NULL
14352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
14353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14357 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
14359 wxPyEndAllowThreads(__tstate
);
14360 if (PyErr_Occurred()) SWIG_fail
;
14363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14371 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14372 PyObject
*resultobj
;
14373 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14375 PyObject
* obj0
= 0 ;
14376 char *kwnames
[] = {
14377 (char *) "self", NULL
14380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
14381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14385 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
14387 wxPyEndAllowThreads(__tstate
);
14388 if (PyErr_Occurred()) SWIG_fail
;
14391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14399 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14400 PyObject
*resultobj
;
14401 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14403 PyObject
* obj0
= 0 ;
14404 char *kwnames
[] = {
14405 (char *) "self", NULL
14408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
14409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14413 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
14415 wxPyEndAllowThreads(__tstate
);
14416 if (PyErr_Occurred()) SWIG_fail
;
14419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14427 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14428 PyObject
*resultobj
;
14429 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14431 PyObject
* obj0
= 0 ;
14432 char *kwnames
[] = {
14433 (char *) "self", NULL
14436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
14437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14441 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
14443 wxPyEndAllowThreads(__tstate
);
14444 if (PyErr_Occurred()) SWIG_fail
;
14447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14455 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14456 PyObject
*resultobj
;
14457 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14459 PyObject
* obj0
= 0 ;
14460 char *kwnames
[] = {
14461 (char *) "self", NULL
14464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
14465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14469 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
14471 wxPyEndAllowThreads(__tstate
);
14472 if (PyErr_Occurred()) SWIG_fail
;
14475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14483 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14484 PyObject
*resultobj
;
14485 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14487 PyObject
* obj0
= 0 ;
14488 char *kwnames
[] = {
14489 (char *) "self", NULL
14492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14497 result
= (bool)(arg1
)->LeftIsDown();
14499 wxPyEndAllowThreads(__tstate
);
14500 if (PyErr_Occurred()) SWIG_fail
;
14503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14511 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14512 PyObject
*resultobj
;
14513 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14515 PyObject
* obj0
= 0 ;
14516 char *kwnames
[] = {
14517 (char *) "self", NULL
14520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14525 result
= (bool)(arg1
)->MiddleIsDown();
14527 wxPyEndAllowThreads(__tstate
);
14528 if (PyErr_Occurred()) SWIG_fail
;
14531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14539 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14540 PyObject
*resultobj
;
14541 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14543 PyObject
* obj0
= 0 ;
14544 char *kwnames
[] = {
14545 (char *) "self", NULL
14548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14553 result
= (bool)(arg1
)->RightIsDown();
14555 wxPyEndAllowThreads(__tstate
);
14556 if (PyErr_Occurred()) SWIG_fail
;
14559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14567 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14568 PyObject
*resultobj
;
14569 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14571 PyObject
* obj0
= 0 ;
14572 char *kwnames
[] = {
14573 (char *) "self", NULL
14576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14581 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14583 wxPyEndAllowThreads(__tstate
);
14584 if (PyErr_Occurred()) SWIG_fail
;
14587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14595 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14596 PyObject
*resultobj
;
14597 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14599 PyObject
* obj0
= 0 ;
14600 char *kwnames
[] = {
14601 (char *) "self", NULL
14604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14609 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14611 wxPyEndAllowThreads(__tstate
);
14612 if (PyErr_Occurred()) SWIG_fail
;
14615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14623 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14624 PyObject
*resultobj
;
14625 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14627 PyObject
* obj0
= 0 ;
14628 char *kwnames
[] = {
14629 (char *) "self", NULL
14632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14637 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14639 wxPyEndAllowThreads(__tstate
);
14640 if (PyErr_Occurred()) SWIG_fail
;
14643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14651 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14652 PyObject
*resultobj
;
14653 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14655 PyObject
* obj0
= 0 ;
14656 char *kwnames
[] = {
14657 (char *) "self", NULL
14660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14665 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14667 wxPyEndAllowThreads(__tstate
);
14668 if (PyErr_Occurred()) SWIG_fail
;
14671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14679 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14680 PyObject
*resultobj
;
14681 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14683 PyObject
* obj0
= 0 ;
14684 char *kwnames
[] = {
14685 (char *) "self", NULL
14688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14693 result
= (arg1
)->GetPosition();
14695 wxPyEndAllowThreads(__tstate
);
14696 if (PyErr_Occurred()) SWIG_fail
;
14699 wxPoint
* resultptr
;
14700 resultptr
= new wxPoint((wxPoint
&) result
);
14701 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14709 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14710 PyObject
*resultobj
;
14711 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14712 long *arg2
= (long *) 0 ;
14713 long *arg3
= (long *) 0 ;
14718 PyObject
* obj0
= 0 ;
14719 char *kwnames
[] = {
14720 (char *) "self", NULL
14723 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14724 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14730 (arg1
)->GetPosition(arg2
,arg3
);
14732 wxPyEndAllowThreads(__tstate
);
14733 if (PyErr_Occurred()) SWIG_fail
;
14735 Py_INCREF(Py_None
); resultobj
= Py_None
;
14736 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14737 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
14738 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14739 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
14746 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14747 PyObject
*resultobj
;
14748 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14751 PyObject
* obj0
= 0 ;
14752 PyObject
* obj1
= 0 ;
14753 char *kwnames
[] = {
14754 (char *) "self",(char *) "dc", NULL
14757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14760 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14761 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14763 if (arg2
== NULL
) {
14764 PyErr_SetString(PyExc_TypeError
,"null reference");
14768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14769 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14771 wxPyEndAllowThreads(__tstate
);
14772 if (PyErr_Occurred()) SWIG_fail
;
14775 wxPoint
* resultptr
;
14776 resultptr
= new wxPoint((wxPoint
&) result
);
14777 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14785 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14786 PyObject
*resultobj
;
14787 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14789 PyObject
* obj0
= 0 ;
14790 char *kwnames
[] = {
14791 (char *) "self", NULL
14794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
14795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14799 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
14801 wxPyEndAllowThreads(__tstate
);
14802 if (PyErr_Occurred()) SWIG_fail
;
14804 resultobj
= SWIG_From_int((int)result
);
14811 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14812 PyObject
*resultobj
;
14813 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14815 PyObject
* obj0
= 0 ;
14816 char *kwnames
[] = {
14817 (char *) "self", NULL
14820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
14821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14825 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
14827 wxPyEndAllowThreads(__tstate
);
14828 if (PyErr_Occurred()) SWIG_fail
;
14830 resultobj
= SWIG_From_int((int)result
);
14837 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14838 PyObject
*resultobj
;
14839 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14841 PyObject
* obj0
= 0 ;
14842 char *kwnames
[] = {
14843 (char *) "self", NULL
14846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
14847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14851 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
14853 wxPyEndAllowThreads(__tstate
);
14854 if (PyErr_Occurred()) SWIG_fail
;
14856 resultobj
= SWIG_From_int((int)result
);
14863 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14864 PyObject
*resultobj
;
14865 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14867 PyObject
* obj0
= 0 ;
14868 char *kwnames
[] = {
14869 (char *) "self", NULL
14872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
14873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14877 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
14879 wxPyEndAllowThreads(__tstate
);
14880 if (PyErr_Occurred()) SWIG_fail
;
14882 resultobj
= SWIG_From_int((int)result
);
14889 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14890 PyObject
*resultobj
;
14891 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14893 PyObject
* obj0
= 0 ;
14894 char *kwnames
[] = {
14895 (char *) "self", NULL
14898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14903 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14905 wxPyEndAllowThreads(__tstate
);
14906 if (PyErr_Occurred()) SWIG_fail
;
14908 resultobj
= SWIG_From_int((int)result
);
14915 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14916 PyObject
*resultobj
;
14917 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14919 PyObject
* obj0
= 0 ;
14920 char *kwnames
[] = {
14921 (char *) "self", NULL
14924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14929 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14931 wxPyEndAllowThreads(__tstate
);
14932 if (PyErr_Occurred()) SWIG_fail
;
14935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14943 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14944 PyObject
*resultobj
;
14945 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14947 PyObject
* obj0
= 0 ;
14948 PyObject
* obj1
= 0 ;
14949 char *kwnames
[] = {
14950 (char *) "self",(char *) "m_x", NULL
14953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14956 arg2
= (int)SWIG_As_int(obj1
);
14957 if (PyErr_Occurred()) SWIG_fail
;
14958 if (arg1
) (arg1
)->m_x
= arg2
;
14960 Py_INCREF(Py_None
); resultobj
= Py_None
;
14967 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14968 PyObject
*resultobj
;
14969 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14971 PyObject
* obj0
= 0 ;
14972 char *kwnames
[] = {
14973 (char *) "self", NULL
14976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14979 result
= (int) ((arg1
)->m_x
);
14981 resultobj
= SWIG_From_int((int)result
);
14988 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14989 PyObject
*resultobj
;
14990 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14992 PyObject
* obj0
= 0 ;
14993 PyObject
* obj1
= 0 ;
14994 char *kwnames
[] = {
14995 (char *) "self",(char *) "m_y", NULL
14998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15001 arg2
= (int)SWIG_As_int(obj1
);
15002 if (PyErr_Occurred()) SWIG_fail
;
15003 if (arg1
) (arg1
)->m_y
= arg2
;
15005 Py_INCREF(Py_None
); resultobj
= Py_None
;
15012 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15013 PyObject
*resultobj
;
15014 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15016 PyObject
* obj0
= 0 ;
15017 char *kwnames
[] = {
15018 (char *) "self", NULL
15021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15024 result
= (int) ((arg1
)->m_y
);
15026 resultobj
= SWIG_From_int((int)result
);
15033 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15034 PyObject
*resultobj
;
15035 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15037 PyObject
* obj0
= 0 ;
15038 PyObject
* obj1
= 0 ;
15039 char *kwnames
[] = {
15040 (char *) "self",(char *) "m_leftDown", NULL
15043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15046 arg2
= (bool)SWIG_As_bool(obj1
);
15047 if (PyErr_Occurred()) SWIG_fail
;
15048 if (arg1
) (arg1
)->m_leftDown
= arg2
;
15050 Py_INCREF(Py_None
); resultobj
= Py_None
;
15057 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15058 PyObject
*resultobj
;
15059 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15061 PyObject
* obj0
= 0 ;
15062 char *kwnames
[] = {
15063 (char *) "self", NULL
15066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
15067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15069 result
= (bool) ((arg1
)->m_leftDown
);
15072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15080 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15081 PyObject
*resultobj
;
15082 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15084 PyObject
* obj0
= 0 ;
15085 PyObject
* obj1
= 0 ;
15086 char *kwnames
[] = {
15087 (char *) "self",(char *) "m_middleDown", NULL
15090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15093 arg2
= (bool)SWIG_As_bool(obj1
);
15094 if (PyErr_Occurred()) SWIG_fail
;
15095 if (arg1
) (arg1
)->m_middleDown
= arg2
;
15097 Py_INCREF(Py_None
); resultobj
= Py_None
;
15104 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15105 PyObject
*resultobj
;
15106 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15108 PyObject
* obj0
= 0 ;
15109 char *kwnames
[] = {
15110 (char *) "self", NULL
15113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
15114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15116 result
= (bool) ((arg1
)->m_middleDown
);
15119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15127 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15128 PyObject
*resultobj
;
15129 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15131 PyObject
* obj0
= 0 ;
15132 PyObject
* obj1
= 0 ;
15133 char *kwnames
[] = {
15134 (char *) "self",(char *) "m_rightDown", NULL
15137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15140 arg2
= (bool)SWIG_As_bool(obj1
);
15141 if (PyErr_Occurred()) SWIG_fail
;
15142 if (arg1
) (arg1
)->m_rightDown
= arg2
;
15144 Py_INCREF(Py_None
); resultobj
= Py_None
;
15151 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15152 PyObject
*resultobj
;
15153 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15155 PyObject
* obj0
= 0 ;
15156 char *kwnames
[] = {
15157 (char *) "self", NULL
15160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
15161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15163 result
= (bool) ((arg1
)->m_rightDown
);
15166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15174 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15175 PyObject
*resultobj
;
15176 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15178 PyObject
* obj0
= 0 ;
15179 PyObject
* obj1
= 0 ;
15180 char *kwnames
[] = {
15181 (char *) "self",(char *) "m_controlDown", NULL
15184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15187 arg2
= (bool)SWIG_As_bool(obj1
);
15188 if (PyErr_Occurred()) SWIG_fail
;
15189 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15191 Py_INCREF(Py_None
); resultobj
= Py_None
;
15198 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15199 PyObject
*resultobj
;
15200 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15202 PyObject
* obj0
= 0 ;
15203 char *kwnames
[] = {
15204 (char *) "self", NULL
15207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15210 result
= (bool) ((arg1
)->m_controlDown
);
15213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15221 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15222 PyObject
*resultobj
;
15223 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15225 PyObject
* obj0
= 0 ;
15226 PyObject
* obj1
= 0 ;
15227 char *kwnames
[] = {
15228 (char *) "self",(char *) "m_shiftDown", NULL
15231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15234 arg2
= (bool)SWIG_As_bool(obj1
);
15235 if (PyErr_Occurred()) SWIG_fail
;
15236 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15238 Py_INCREF(Py_None
); resultobj
= Py_None
;
15245 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15246 PyObject
*resultobj
;
15247 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15249 PyObject
* obj0
= 0 ;
15250 char *kwnames
[] = {
15251 (char *) "self", NULL
15254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
15255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15257 result
= (bool) ((arg1
)->m_shiftDown
);
15260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15268 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15269 PyObject
*resultobj
;
15270 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15272 PyObject
* obj0
= 0 ;
15273 PyObject
* obj1
= 0 ;
15274 char *kwnames
[] = {
15275 (char *) "self",(char *) "m_altDown", NULL
15278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15281 arg2
= (bool)SWIG_As_bool(obj1
);
15282 if (PyErr_Occurred()) SWIG_fail
;
15283 if (arg1
) (arg1
)->m_altDown
= arg2
;
15285 Py_INCREF(Py_None
); resultobj
= Py_None
;
15292 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15293 PyObject
*resultobj
;
15294 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15296 PyObject
* obj0
= 0 ;
15297 char *kwnames
[] = {
15298 (char *) "self", NULL
15301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15304 result
= (bool) ((arg1
)->m_altDown
);
15307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15315 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15316 PyObject
*resultobj
;
15317 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15319 PyObject
* obj0
= 0 ;
15320 PyObject
* obj1
= 0 ;
15321 char *kwnames
[] = {
15322 (char *) "self",(char *) "m_metaDown", NULL
15325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15328 arg2
= (bool)SWIG_As_bool(obj1
);
15329 if (PyErr_Occurred()) SWIG_fail
;
15330 if (arg1
) (arg1
)->m_metaDown
= arg2
;
15332 Py_INCREF(Py_None
); resultobj
= Py_None
;
15339 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15340 PyObject
*resultobj
;
15341 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15343 PyObject
* obj0
= 0 ;
15344 char *kwnames
[] = {
15345 (char *) "self", NULL
15348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
15349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15351 result
= (bool) ((arg1
)->m_metaDown
);
15354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15362 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15363 PyObject
*resultobj
;
15364 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15366 PyObject
* obj0
= 0 ;
15367 PyObject
* obj1
= 0 ;
15368 char *kwnames
[] = {
15369 (char *) "self",(char *) "m_wheelRotation", NULL
15372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15375 arg2
= (int)SWIG_As_int(obj1
);
15376 if (PyErr_Occurred()) SWIG_fail
;
15377 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
15379 Py_INCREF(Py_None
); resultobj
= Py_None
;
15386 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15387 PyObject
*resultobj
;
15388 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15390 PyObject
* obj0
= 0 ;
15391 char *kwnames
[] = {
15392 (char *) "self", NULL
15395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
15396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15398 result
= (int) ((arg1
)->m_wheelRotation
);
15400 resultobj
= SWIG_From_int((int)result
);
15407 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15408 PyObject
*resultobj
;
15409 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15411 PyObject
* obj0
= 0 ;
15412 PyObject
* obj1
= 0 ;
15413 char *kwnames
[] = {
15414 (char *) "self",(char *) "m_wheelDelta", NULL
15417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15420 arg2
= (int)SWIG_As_int(obj1
);
15421 if (PyErr_Occurred()) SWIG_fail
;
15422 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
15424 Py_INCREF(Py_None
); resultobj
= Py_None
;
15431 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15432 PyObject
*resultobj
;
15433 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15435 PyObject
* obj0
= 0 ;
15436 char *kwnames
[] = {
15437 (char *) "self", NULL
15440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
15441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15443 result
= (int) ((arg1
)->m_wheelDelta
);
15445 resultobj
= SWIG_From_int((int)result
);
15452 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15453 PyObject
*resultobj
;
15454 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15456 PyObject
* obj0
= 0 ;
15457 PyObject
* obj1
= 0 ;
15458 char *kwnames
[] = {
15459 (char *) "self",(char *) "m_linesPerAction", NULL
15462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15465 arg2
= (int)SWIG_As_int(obj1
);
15466 if (PyErr_Occurred()) SWIG_fail
;
15467 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
15469 Py_INCREF(Py_None
); resultobj
= Py_None
;
15476 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15477 PyObject
*resultobj
;
15478 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15480 PyObject
* obj0
= 0 ;
15481 char *kwnames
[] = {
15482 (char *) "self", NULL
15485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15488 result
= (int) ((arg1
)->m_linesPerAction
);
15490 resultobj
= SWIG_From_int((int)result
);
15497 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
15499 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15500 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15502 return Py_BuildValue((char *)"");
15504 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15505 PyObject
*resultobj
;
15506 int arg1
= (int) 0 ;
15507 int arg2
= (int) 0 ;
15508 wxSetCursorEvent
*result
;
15509 PyObject
* obj0
= 0 ;
15510 PyObject
* obj1
= 0 ;
15511 char *kwnames
[] = {
15512 (char *) "x",(char *) "y", NULL
15515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15517 arg1
= (int)SWIG_As_int(obj0
);
15518 if (PyErr_Occurred()) SWIG_fail
;
15521 arg2
= (int)SWIG_As_int(obj1
);
15522 if (PyErr_Occurred()) SWIG_fail
;
15525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15526 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15528 wxPyEndAllowThreads(__tstate
);
15529 if (PyErr_Occurred()) SWIG_fail
;
15531 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15538 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15539 PyObject
*resultobj
;
15540 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15542 PyObject
* obj0
= 0 ;
15543 char *kwnames
[] = {
15544 (char *) "self", NULL
15547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15552 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15554 wxPyEndAllowThreads(__tstate
);
15555 if (PyErr_Occurred()) SWIG_fail
;
15557 resultobj
= SWIG_From_int((int)result
);
15564 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15565 PyObject
*resultobj
;
15566 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15568 PyObject
* obj0
= 0 ;
15569 char *kwnames
[] = {
15570 (char *) "self", NULL
15573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15578 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15580 wxPyEndAllowThreads(__tstate
);
15581 if (PyErr_Occurred()) SWIG_fail
;
15583 resultobj
= SWIG_From_int((int)result
);
15590 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15591 PyObject
*resultobj
;
15592 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15593 wxCursor
*arg2
= 0 ;
15594 PyObject
* obj0
= 0 ;
15595 PyObject
* obj1
= 0 ;
15596 char *kwnames
[] = {
15597 (char *) "self",(char *) "cursor", NULL
15600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15603 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15604 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15606 if (arg2
== NULL
) {
15607 PyErr_SetString(PyExc_TypeError
,"null reference");
15611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15612 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15614 wxPyEndAllowThreads(__tstate
);
15615 if (PyErr_Occurred()) SWIG_fail
;
15617 Py_INCREF(Py_None
); resultobj
= Py_None
;
15624 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15625 PyObject
*resultobj
;
15626 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15628 PyObject
* obj0
= 0 ;
15629 char *kwnames
[] = {
15630 (char *) "self", NULL
15633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15639 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15640 result
= (wxCursor
*) &_result_ref
;
15643 wxPyEndAllowThreads(__tstate
);
15644 if (PyErr_Occurred()) SWIG_fail
;
15647 wxCursor
* resultptr
= new wxCursor(*result
);
15648 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15656 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15657 PyObject
*resultobj
;
15658 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15660 PyObject
* obj0
= 0 ;
15661 char *kwnames
[] = {
15662 (char *) "self", NULL
15665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15670 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15672 wxPyEndAllowThreads(__tstate
);
15673 if (PyErr_Occurred()) SWIG_fail
;
15676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15684 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
15686 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15687 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15689 return Py_BuildValue((char *)"");
15691 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15692 PyObject
*resultobj
;
15693 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15694 wxKeyEvent
*result
;
15695 PyObject
* obj0
= 0 ;
15696 char *kwnames
[] = {
15697 (char *) "keyType", NULL
15700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15702 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15703 if (PyErr_Occurred()) SWIG_fail
;
15706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15707 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15709 wxPyEndAllowThreads(__tstate
);
15710 if (PyErr_Occurred()) SWIG_fail
;
15712 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15719 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15720 PyObject
*resultobj
;
15721 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15723 PyObject
* obj0
= 0 ;
15724 char *kwnames
[] = {
15725 (char *) "self", NULL
15728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15733 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15735 wxPyEndAllowThreads(__tstate
);
15736 if (PyErr_Occurred()) SWIG_fail
;
15739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15747 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15748 PyObject
*resultobj
;
15749 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15751 PyObject
* obj0
= 0 ;
15752 char *kwnames
[] = {
15753 (char *) "self", NULL
15756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15761 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15763 wxPyEndAllowThreads(__tstate
);
15764 if (PyErr_Occurred()) SWIG_fail
;
15767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15775 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15776 PyObject
*resultobj
;
15777 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15779 PyObject
* obj0
= 0 ;
15780 char *kwnames
[] = {
15781 (char *) "self", NULL
15784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15789 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
15791 wxPyEndAllowThreads(__tstate
);
15792 if (PyErr_Occurred()) SWIG_fail
;
15795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15803 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15804 PyObject
*resultobj
;
15805 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15807 PyObject
* obj0
= 0 ;
15808 char *kwnames
[] = {
15809 (char *) "self", NULL
15812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15817 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
15819 wxPyEndAllowThreads(__tstate
);
15820 if (PyErr_Occurred()) SWIG_fail
;
15823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15831 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15832 PyObject
*resultobj
;
15833 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15835 PyObject
* obj0
= 0 ;
15836 char *kwnames
[] = {
15837 (char *) "self", NULL
15840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
15841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15845 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
15847 wxPyEndAllowThreads(__tstate
);
15848 if (PyErr_Occurred()) SWIG_fail
;
15851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15859 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15860 PyObject
*resultobj
;
15861 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15863 PyObject
* obj0
= 0 ;
15864 char *kwnames
[] = {
15865 (char *) "self", NULL
15868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
15869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15873 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
15875 wxPyEndAllowThreads(__tstate
);
15876 if (PyErr_Occurred()) SWIG_fail
;
15879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15887 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15888 PyObject
*resultobj
;
15889 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15891 PyObject
* obj0
= 0 ;
15892 char *kwnames
[] = {
15893 (char *) "self", NULL
15896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
15897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15901 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
15903 wxPyEndAllowThreads(__tstate
);
15904 if (PyErr_Occurred()) SWIG_fail
;
15906 resultobj
= SWIG_From_int((int)result
);
15913 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15914 PyObject
*resultobj
;
15915 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15917 PyObject
* obj0
= 0 ;
15918 char *kwnames
[] = {
15919 (char *) "self", NULL
15922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
15923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15927 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
15929 wxPyEndAllowThreads(__tstate
);
15930 if (PyErr_Occurred()) SWIG_fail
;
15932 resultobj
= SWIG_From_int((int)result
);
15939 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15940 PyObject
*resultobj
;
15941 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15942 unsigned int result
;
15943 PyObject
* obj0
= 0 ;
15944 char *kwnames
[] = {
15945 (char *) "self", NULL
15948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
15949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15953 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
15955 wxPyEndAllowThreads(__tstate
);
15956 if (PyErr_Occurred()) SWIG_fail
;
15958 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
15965 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15966 PyObject
*resultobj
;
15967 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15968 unsigned int result
;
15969 PyObject
* obj0
= 0 ;
15970 char *kwnames
[] = {
15971 (char *) "self", NULL
15974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
15975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15979 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
15981 wxPyEndAllowThreads(__tstate
);
15982 if (PyErr_Occurred()) SWIG_fail
;
15984 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
15991 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15992 PyObject
*resultobj
;
15993 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15995 PyObject
* obj0
= 0 ;
15996 char *kwnames
[] = {
15997 (char *) "self", NULL
16000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16005 result
= (arg1
)->GetPosition();
16007 wxPyEndAllowThreads(__tstate
);
16008 if (PyErr_Occurred()) SWIG_fail
;
16011 wxPoint
* resultptr
;
16012 resultptr
= new wxPoint((wxPoint
&) result
);
16013 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16021 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16022 PyObject
*resultobj
;
16023 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16024 long *arg2
= (long *) 0 ;
16025 long *arg3
= (long *) 0 ;
16030 PyObject
* obj0
= 0 ;
16031 char *kwnames
[] = {
16032 (char *) "self", NULL
16035 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16036 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
16038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16042 (arg1
)->GetPosition(arg2
,arg3
);
16044 wxPyEndAllowThreads(__tstate
);
16045 if (PyErr_Occurred()) SWIG_fail
;
16047 Py_INCREF(Py_None
); resultobj
= Py_None
;
16048 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16049 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
16050 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16051 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
16058 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16059 PyObject
*resultobj
;
16060 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16062 PyObject
* obj0
= 0 ;
16063 char *kwnames
[] = {
16064 (char *) "self", NULL
16067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
16068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16072 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
16074 wxPyEndAllowThreads(__tstate
);
16075 if (PyErr_Occurred()) SWIG_fail
;
16077 resultobj
= SWIG_From_int((int)result
);
16084 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16085 PyObject
*resultobj
;
16086 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16088 PyObject
* obj0
= 0 ;
16089 char *kwnames
[] = {
16090 (char *) "self", NULL
16093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
16094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16098 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
16100 wxPyEndAllowThreads(__tstate
);
16101 if (PyErr_Occurred()) SWIG_fail
;
16103 resultobj
= SWIG_From_int((int)result
);
16110 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16111 PyObject
*resultobj
;
16112 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16114 PyObject
* obj0
= 0 ;
16115 PyObject
* obj1
= 0 ;
16116 char *kwnames
[] = {
16117 (char *) "self",(char *) "m_x", NULL
16120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16123 arg2
= (int)SWIG_As_int(obj1
);
16124 if (PyErr_Occurred()) SWIG_fail
;
16125 if (arg1
) (arg1
)->m_x
= arg2
;
16127 Py_INCREF(Py_None
); resultobj
= Py_None
;
16134 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16135 PyObject
*resultobj
;
16136 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16138 PyObject
* obj0
= 0 ;
16139 char *kwnames
[] = {
16140 (char *) "self", NULL
16143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
16144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16146 result
= (int) ((arg1
)->m_x
);
16148 resultobj
= SWIG_From_int((int)result
);
16155 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16156 PyObject
*resultobj
;
16157 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16159 PyObject
* obj0
= 0 ;
16160 PyObject
* obj1
= 0 ;
16161 char *kwnames
[] = {
16162 (char *) "self",(char *) "m_y", NULL
16165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16168 arg2
= (int)SWIG_As_int(obj1
);
16169 if (PyErr_Occurred()) SWIG_fail
;
16170 if (arg1
) (arg1
)->m_y
= arg2
;
16172 Py_INCREF(Py_None
); resultobj
= Py_None
;
16179 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16180 PyObject
*resultobj
;
16181 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16183 PyObject
* obj0
= 0 ;
16184 char *kwnames
[] = {
16185 (char *) "self", NULL
16188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
16189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16191 result
= (int) ((arg1
)->m_y
);
16193 resultobj
= SWIG_From_int((int)result
);
16200 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16201 PyObject
*resultobj
;
16202 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16204 PyObject
* obj0
= 0 ;
16205 PyObject
* obj1
= 0 ;
16206 char *kwnames
[] = {
16207 (char *) "self",(char *) "m_keyCode", NULL
16210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16213 arg2
= (long)SWIG_As_long(obj1
);
16214 if (PyErr_Occurred()) SWIG_fail
;
16215 if (arg1
) (arg1
)->m_keyCode
= arg2
;
16217 Py_INCREF(Py_None
); resultobj
= Py_None
;
16224 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16225 PyObject
*resultobj
;
16226 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16228 PyObject
* obj0
= 0 ;
16229 char *kwnames
[] = {
16230 (char *) "self", NULL
16233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
16234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16236 result
= (long) ((arg1
)->m_keyCode
);
16238 resultobj
= SWIG_From_long((long)result
);
16245 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16246 PyObject
*resultobj
;
16247 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16249 PyObject
* obj0
= 0 ;
16250 PyObject
* obj1
= 0 ;
16251 char *kwnames
[] = {
16252 (char *) "self",(char *) "m_controlDown", NULL
16255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16258 arg2
= (bool)SWIG_As_bool(obj1
);
16259 if (PyErr_Occurred()) SWIG_fail
;
16260 if (arg1
) (arg1
)->m_controlDown
= arg2
;
16262 Py_INCREF(Py_None
); resultobj
= Py_None
;
16269 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16270 PyObject
*resultobj
;
16271 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16273 PyObject
* obj0
= 0 ;
16274 char *kwnames
[] = {
16275 (char *) "self", NULL
16278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
16279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16281 result
= (bool) ((arg1
)->m_controlDown
);
16284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16292 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16293 PyObject
*resultobj
;
16294 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16296 PyObject
* obj0
= 0 ;
16297 PyObject
* obj1
= 0 ;
16298 char *kwnames
[] = {
16299 (char *) "self",(char *) "m_shiftDown", NULL
16302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16305 arg2
= (bool)SWIG_As_bool(obj1
);
16306 if (PyErr_Occurred()) SWIG_fail
;
16307 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
16309 Py_INCREF(Py_None
); resultobj
= Py_None
;
16316 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16317 PyObject
*resultobj
;
16318 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16320 PyObject
* obj0
= 0 ;
16321 char *kwnames
[] = {
16322 (char *) "self", NULL
16325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
16326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16328 result
= (bool) ((arg1
)->m_shiftDown
);
16331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16339 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16340 PyObject
*resultobj
;
16341 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16343 PyObject
* obj0
= 0 ;
16344 PyObject
* obj1
= 0 ;
16345 char *kwnames
[] = {
16346 (char *) "self",(char *) "m_altDown", NULL
16349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16352 arg2
= (bool)SWIG_As_bool(obj1
);
16353 if (PyErr_Occurred()) SWIG_fail
;
16354 if (arg1
) (arg1
)->m_altDown
= arg2
;
16356 Py_INCREF(Py_None
); resultobj
= Py_None
;
16363 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16364 PyObject
*resultobj
;
16365 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16367 PyObject
* obj0
= 0 ;
16368 char *kwnames
[] = {
16369 (char *) "self", NULL
16372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
16373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16375 result
= (bool) ((arg1
)->m_altDown
);
16378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16386 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16387 PyObject
*resultobj
;
16388 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16390 PyObject
* obj0
= 0 ;
16391 PyObject
* obj1
= 0 ;
16392 char *kwnames
[] = {
16393 (char *) "self",(char *) "m_metaDown", NULL
16396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16399 arg2
= (bool)SWIG_As_bool(obj1
);
16400 if (PyErr_Occurred()) SWIG_fail
;
16401 if (arg1
) (arg1
)->m_metaDown
= arg2
;
16403 Py_INCREF(Py_None
); resultobj
= Py_None
;
16410 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16411 PyObject
*resultobj
;
16412 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16414 PyObject
* obj0
= 0 ;
16415 char *kwnames
[] = {
16416 (char *) "self", NULL
16419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
16420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16422 result
= (bool) ((arg1
)->m_metaDown
);
16425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16433 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16434 PyObject
*resultobj
;
16435 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16437 PyObject
* obj0
= 0 ;
16438 PyObject
* obj1
= 0 ;
16439 char *kwnames
[] = {
16440 (char *) "self",(char *) "m_scanCode", NULL
16443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16446 arg2
= (bool)SWIG_As_bool(obj1
);
16447 if (PyErr_Occurred()) SWIG_fail
;
16448 if (arg1
) (arg1
)->m_scanCode
= arg2
;
16450 Py_INCREF(Py_None
); resultobj
= Py_None
;
16457 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16458 PyObject
*resultobj
;
16459 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16461 PyObject
* obj0
= 0 ;
16462 char *kwnames
[] = {
16463 (char *) "self", NULL
16466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
16467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16469 result
= (bool) ((arg1
)->m_scanCode
);
16472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16480 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16481 PyObject
*resultobj
;
16482 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16483 unsigned int arg2
;
16484 PyObject
* obj0
= 0 ;
16485 PyObject
* obj1
= 0 ;
16486 char *kwnames
[] = {
16487 (char *) "self",(char *) "m_rawCode", NULL
16490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16493 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
16494 if (PyErr_Occurred()) SWIG_fail
;
16495 if (arg1
) (arg1
)->m_rawCode
= arg2
;
16497 Py_INCREF(Py_None
); resultobj
= Py_None
;
16504 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16505 PyObject
*resultobj
;
16506 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16507 unsigned int result
;
16508 PyObject
* obj0
= 0 ;
16509 char *kwnames
[] = {
16510 (char *) "self", NULL
16513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16516 result
= (unsigned int) ((arg1
)->m_rawCode
);
16518 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16525 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16526 PyObject
*resultobj
;
16527 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16528 unsigned int arg2
;
16529 PyObject
* obj0
= 0 ;
16530 PyObject
* obj1
= 0 ;
16531 char *kwnames
[] = {
16532 (char *) "self",(char *) "m_rawFlags", NULL
16535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16538 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
16539 if (PyErr_Occurred()) SWIG_fail
;
16540 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16542 Py_INCREF(Py_None
); resultobj
= Py_None
;
16549 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16550 PyObject
*resultobj
;
16551 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16552 unsigned int result
;
16553 PyObject
* obj0
= 0 ;
16554 char *kwnames
[] = {
16555 (char *) "self", NULL
16558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16561 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16563 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16570 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
16572 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16573 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16575 return Py_BuildValue((char *)"");
16577 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16578 PyObject
*resultobj
;
16579 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16580 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16581 int arg2
= (int) 0 ;
16582 wxSizeEvent
*result
;
16584 PyObject
* obj0
= 0 ;
16585 PyObject
* obj1
= 0 ;
16586 char *kwnames
[] = {
16587 (char *) "sz",(char *) "winid", NULL
16590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16594 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16598 arg2
= (int)SWIG_As_int(obj1
);
16599 if (PyErr_Occurred()) SWIG_fail
;
16602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16603 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16605 wxPyEndAllowThreads(__tstate
);
16606 if (PyErr_Occurred()) SWIG_fail
;
16608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16615 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16616 PyObject
*resultobj
;
16617 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16619 PyObject
* obj0
= 0 ;
16620 char *kwnames
[] = {
16621 (char *) "self", NULL
16624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16629 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16631 wxPyEndAllowThreads(__tstate
);
16632 if (PyErr_Occurred()) SWIG_fail
;
16635 wxSize
* resultptr
;
16636 resultptr
= new wxSize((wxSize
&) result
);
16637 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16645 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16646 PyObject
*resultobj
;
16647 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16649 PyObject
* obj0
= 0 ;
16650 char *kwnames
[] = {
16651 (char *) "self", NULL
16654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16659 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16661 wxPyEndAllowThreads(__tstate
);
16662 if (PyErr_Occurred()) SWIG_fail
;
16665 wxRect
* resultptr
;
16666 resultptr
= new wxRect((wxRect
&) result
);
16667 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16675 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16676 PyObject
*resultobj
;
16677 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16680 PyObject
* obj0
= 0 ;
16681 PyObject
* obj1
= 0 ;
16682 char *kwnames
[] = {
16683 (char *) "self",(char *) "rect", NULL
16686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16689 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16690 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16694 (arg1
)->SetRect(arg2
);
16696 wxPyEndAllowThreads(__tstate
);
16697 if (PyErr_Occurred()) SWIG_fail
;
16699 Py_INCREF(Py_None
); resultobj
= Py_None
;
16706 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16707 PyObject
*resultobj
;
16708 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16711 PyObject
* obj0
= 0 ;
16712 PyObject
* obj1
= 0 ;
16713 char *kwnames
[] = {
16714 (char *) "self",(char *) "size", NULL
16717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16720 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16721 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16725 wxSizeEvent_SetSize(arg1
,arg2
);
16727 wxPyEndAllowThreads(__tstate
);
16728 if (PyErr_Occurred()) SWIG_fail
;
16730 Py_INCREF(Py_None
); resultobj
= Py_None
;
16737 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16738 PyObject
*resultobj
;
16739 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16740 wxSize
*arg2
= (wxSize
*) 0 ;
16741 PyObject
* obj0
= 0 ;
16742 PyObject
* obj1
= 0 ;
16743 char *kwnames
[] = {
16744 (char *) "self",(char *) "m_size", NULL
16747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16750 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16752 if (arg1
) (arg1
)->m_size
= *arg2
;
16754 Py_INCREF(Py_None
); resultobj
= Py_None
;
16761 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16762 PyObject
*resultobj
;
16763 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16765 PyObject
* obj0
= 0 ;
16766 char *kwnames
[] = {
16767 (char *) "self", NULL
16770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
16771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16773 result
= (wxSize
*)& ((arg1
)->m_size
);
16775 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16782 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16783 PyObject
*resultobj
;
16784 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16785 wxRect
*arg2
= (wxRect
*) 0 ;
16786 PyObject
* obj0
= 0 ;
16787 PyObject
* obj1
= 0 ;
16788 char *kwnames
[] = {
16789 (char *) "self",(char *) "m_rect", NULL
16792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16795 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16797 if (arg1
) (arg1
)->m_rect
= *arg2
;
16799 Py_INCREF(Py_None
); resultobj
= Py_None
;
16806 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16807 PyObject
*resultobj
;
16808 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16810 PyObject
* obj0
= 0 ;
16811 char *kwnames
[] = {
16812 (char *) "self", NULL
16815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16818 result
= (wxRect
*)& ((arg1
)->m_rect
);
16820 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16827 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
16829 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16830 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
16832 return Py_BuildValue((char *)"");
16834 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16835 PyObject
*resultobj
;
16836 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
16837 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
16838 int arg2
= (int) 0 ;
16839 wxMoveEvent
*result
;
16841 PyObject
* obj0
= 0 ;
16842 PyObject
* obj1
= 0 ;
16843 char *kwnames
[] = {
16844 (char *) "pos",(char *) "winid", NULL
16847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16851 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
16855 arg2
= (int)SWIG_As_int(obj1
);
16856 if (PyErr_Occurred()) SWIG_fail
;
16859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16860 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
16862 wxPyEndAllowThreads(__tstate
);
16863 if (PyErr_Occurred()) SWIG_fail
;
16865 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
16872 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16873 PyObject
*resultobj
;
16874 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16876 PyObject
* obj0
= 0 ;
16877 char *kwnames
[] = {
16878 (char *) "self", NULL
16881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16886 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
16888 wxPyEndAllowThreads(__tstate
);
16889 if (PyErr_Occurred()) SWIG_fail
;
16892 wxPoint
* resultptr
;
16893 resultptr
= new wxPoint((wxPoint
&) result
);
16894 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16902 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16903 PyObject
*resultobj
;
16904 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16906 PyObject
* obj0
= 0 ;
16907 char *kwnames
[] = {
16908 (char *) "self", NULL
16911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16916 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
16918 wxPyEndAllowThreads(__tstate
);
16919 if (PyErr_Occurred()) SWIG_fail
;
16922 wxRect
* resultptr
;
16923 resultptr
= new wxRect((wxRect
&) result
);
16924 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16932 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16933 PyObject
*resultobj
;
16934 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16937 PyObject
* obj0
= 0 ;
16938 PyObject
* obj1
= 0 ;
16939 char *kwnames
[] = {
16940 (char *) "self",(char *) "rect", NULL
16943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16946 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16947 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16951 (arg1
)->SetRect(arg2
);
16953 wxPyEndAllowThreads(__tstate
);
16954 if (PyErr_Occurred()) SWIG_fail
;
16956 Py_INCREF(Py_None
); resultobj
= Py_None
;
16963 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16964 PyObject
*resultobj
;
16965 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16968 PyObject
* obj0
= 0 ;
16969 PyObject
* obj1
= 0 ;
16970 char *kwnames
[] = {
16971 (char *) "self",(char *) "pos", NULL
16974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16977 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
16978 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16982 wxMoveEvent_SetPosition(arg1
,arg2
);
16984 wxPyEndAllowThreads(__tstate
);
16985 if (PyErr_Occurred()) SWIG_fail
;
16987 Py_INCREF(Py_None
); resultobj
= Py_None
;
16994 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16995 PyObject
*resultobj
;
16996 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16997 wxPoint
*arg2
= (wxPoint
*) 0 ;
16998 PyObject
* obj0
= 0 ;
16999 PyObject
* obj1
= 0 ;
17000 char *kwnames
[] = {
17001 (char *) "self",(char *) "m_pos", NULL
17004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17007 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
17008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17009 if (arg1
) (arg1
)->m_pos
= *arg2
;
17011 Py_INCREF(Py_None
); resultobj
= Py_None
;
17018 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17019 PyObject
*resultobj
;
17020 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17022 PyObject
* obj0
= 0 ;
17023 char *kwnames
[] = {
17024 (char *) "self", NULL
17027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
17028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17030 result
= (wxPoint
*)& ((arg1
)->m_pos
);
17032 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
17039 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17040 PyObject
*resultobj
;
17041 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17042 wxRect
*arg2
= (wxRect
*) 0 ;
17043 PyObject
* obj0
= 0 ;
17044 PyObject
* obj1
= 0 ;
17045 char *kwnames
[] = {
17046 (char *) "self",(char *) "m_rect", NULL
17049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17052 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
17053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17054 if (arg1
) (arg1
)->m_rect
= *arg2
;
17056 Py_INCREF(Py_None
); resultobj
= Py_None
;
17063 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17064 PyObject
*resultobj
;
17065 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17067 PyObject
* obj0
= 0 ;
17068 char *kwnames
[] = {
17069 (char *) "self", NULL
17072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
17073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17075 result
= (wxRect
*)& ((arg1
)->m_rect
);
17077 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
17084 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
17086 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17087 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
17089 return Py_BuildValue((char *)"");
17091 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17092 PyObject
*resultobj
;
17093 int arg1
= (int) 0 ;
17094 wxPaintEvent
*result
;
17095 PyObject
* obj0
= 0 ;
17096 char *kwnames
[] = {
17097 (char *) "Id", NULL
17100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
17102 arg1
= (int)SWIG_As_int(obj0
);
17103 if (PyErr_Occurred()) SWIG_fail
;
17106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17107 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
17109 wxPyEndAllowThreads(__tstate
);
17110 if (PyErr_Occurred()) SWIG_fail
;
17112 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
17119 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
17121 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17122 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
17124 return Py_BuildValue((char *)"");
17126 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17127 PyObject
*resultobj
;
17128 int arg1
= (int) 0 ;
17129 wxNcPaintEvent
*result
;
17130 PyObject
* obj0
= 0 ;
17131 char *kwnames
[] = {
17132 (char *) "winid", NULL
17135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
17137 arg1
= (int)SWIG_As_int(obj0
);
17138 if (PyErr_Occurred()) SWIG_fail
;
17141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17142 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
17144 wxPyEndAllowThreads(__tstate
);
17145 if (PyErr_Occurred()) SWIG_fail
;
17147 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
17154 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
17156 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17157 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
17159 return Py_BuildValue((char *)"");
17161 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17162 PyObject
*resultobj
;
17163 int arg1
= (int) 0 ;
17164 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
17165 wxEraseEvent
*result
;
17166 PyObject
* obj0
= 0 ;
17167 PyObject
* obj1
= 0 ;
17168 char *kwnames
[] = {
17169 (char *) "Id",(char *) "dc", NULL
17172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17174 arg1
= (int)SWIG_As_int(obj0
);
17175 if (PyErr_Occurred()) SWIG_fail
;
17178 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17183 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
17185 wxPyEndAllowThreads(__tstate
);
17186 if (PyErr_Occurred()) SWIG_fail
;
17188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
17195 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17196 PyObject
*resultobj
;
17197 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
17199 PyObject
* obj0
= 0 ;
17200 char *kwnames
[] = {
17201 (char *) "self", NULL
17204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
17205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
17206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17209 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
17211 wxPyEndAllowThreads(__tstate
);
17212 if (PyErr_Occurred()) SWIG_fail
;
17215 resultobj
= wxPyMake_wxObject(result
, 0);
17223 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
17225 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17226 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
17228 return Py_BuildValue((char *)"");
17230 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17231 PyObject
*resultobj
;
17232 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17233 int arg2
= (int) 0 ;
17234 wxFocusEvent
*result
;
17235 PyObject
* obj0
= 0 ;
17236 PyObject
* obj1
= 0 ;
17237 char *kwnames
[] = {
17238 (char *) "type",(char *) "winid", NULL
17241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17243 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17244 if (PyErr_Occurred()) SWIG_fail
;
17247 arg2
= (int)SWIG_As_int(obj1
);
17248 if (PyErr_Occurred()) SWIG_fail
;
17251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17252 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
17254 wxPyEndAllowThreads(__tstate
);
17255 if (PyErr_Occurred()) SWIG_fail
;
17257 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
17264 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17265 PyObject
*resultobj
;
17266 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17268 PyObject
* obj0
= 0 ;
17269 char *kwnames
[] = {
17270 (char *) "self", NULL
17273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17278 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
17280 wxPyEndAllowThreads(__tstate
);
17281 if (PyErr_Occurred()) SWIG_fail
;
17284 resultobj
= wxPyMake_wxObject(result
, 0);
17292 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17293 PyObject
*resultobj
;
17294 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17295 wxWindow
*arg2
= (wxWindow
*) 0 ;
17296 PyObject
* obj0
= 0 ;
17297 PyObject
* obj1
= 0 ;
17298 char *kwnames
[] = {
17299 (char *) "self",(char *) "win", NULL
17302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17305 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17309 (arg1
)->SetWindow(arg2
);
17311 wxPyEndAllowThreads(__tstate
);
17312 if (PyErr_Occurred()) SWIG_fail
;
17314 Py_INCREF(Py_None
); resultobj
= Py_None
;
17321 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
17323 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17324 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
17326 return Py_BuildValue((char *)"");
17328 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17329 PyObject
*resultobj
;
17330 wxWindow
*arg1
= (wxWindow
*) NULL
;
17331 wxChildFocusEvent
*result
;
17332 PyObject
* obj0
= 0 ;
17333 char *kwnames
[] = {
17334 (char *) "win", NULL
17337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
17339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17344 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
17346 wxPyEndAllowThreads(__tstate
);
17347 if (PyErr_Occurred()) SWIG_fail
;
17349 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
17356 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17357 PyObject
*resultobj
;
17358 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
17360 PyObject
* obj0
= 0 ;
17361 char *kwnames
[] = {
17362 (char *) "self", NULL
17365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
17367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17370 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
17372 wxPyEndAllowThreads(__tstate
);
17373 if (PyErr_Occurred()) SWIG_fail
;
17376 resultobj
= wxPyMake_wxObject(result
, 0);
17384 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
17386 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17387 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
17389 return Py_BuildValue((char *)"");
17391 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17392 PyObject
*resultobj
;
17393 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17394 bool arg2
= (bool) True
;
17395 int arg3
= (int) 0 ;
17396 wxActivateEvent
*result
;
17397 PyObject
* obj0
= 0 ;
17398 PyObject
* obj1
= 0 ;
17399 PyObject
* obj2
= 0 ;
17400 char *kwnames
[] = {
17401 (char *) "type",(char *) "active",(char *) "Id", NULL
17404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17406 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17407 if (PyErr_Occurred()) SWIG_fail
;
17410 arg2
= (bool)SWIG_As_bool(obj1
);
17411 if (PyErr_Occurred()) SWIG_fail
;
17414 arg3
= (int)SWIG_As_int(obj2
);
17415 if (PyErr_Occurred()) SWIG_fail
;
17418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17419 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
17421 wxPyEndAllowThreads(__tstate
);
17422 if (PyErr_Occurred()) SWIG_fail
;
17424 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
17431 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17432 PyObject
*resultobj
;
17433 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
17435 PyObject
* obj0
= 0 ;
17436 char *kwnames
[] = {
17437 (char *) "self", NULL
17440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
17441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
17442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17445 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
17447 wxPyEndAllowThreads(__tstate
);
17448 if (PyErr_Occurred()) SWIG_fail
;
17451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17459 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
17461 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17462 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
17464 return Py_BuildValue((char *)"");
17466 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17467 PyObject
*resultobj
;
17468 int arg1
= (int) 0 ;
17469 wxInitDialogEvent
*result
;
17470 PyObject
* obj0
= 0 ;
17471 char *kwnames
[] = {
17472 (char *) "Id", NULL
17475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
17477 arg1
= (int)SWIG_As_int(obj0
);
17478 if (PyErr_Occurred()) SWIG_fail
;
17481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17482 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
17484 wxPyEndAllowThreads(__tstate
);
17485 if (PyErr_Occurred()) SWIG_fail
;
17487 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
17494 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
17496 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17497 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
17499 return Py_BuildValue((char *)"");
17501 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17502 PyObject
*resultobj
;
17503 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17504 int arg2
= (int) 0 ;
17505 wxMenu
*arg3
= (wxMenu
*) NULL
;
17506 wxMenuEvent
*result
;
17507 PyObject
* obj0
= 0 ;
17508 PyObject
* obj1
= 0 ;
17509 PyObject
* obj2
= 0 ;
17510 char *kwnames
[] = {
17511 (char *) "type",(char *) "winid",(char *) "menu", NULL
17514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17516 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17517 if (PyErr_Occurred()) SWIG_fail
;
17520 arg2
= (int)SWIG_As_int(obj1
);
17521 if (PyErr_Occurred()) SWIG_fail
;
17524 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17529 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17531 wxPyEndAllowThreads(__tstate
);
17532 if (PyErr_Occurred()) SWIG_fail
;
17534 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17541 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17542 PyObject
*resultobj
;
17543 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17545 PyObject
* obj0
= 0 ;
17546 char *kwnames
[] = {
17547 (char *) "self", NULL
17550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17555 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17557 wxPyEndAllowThreads(__tstate
);
17558 if (PyErr_Occurred()) SWIG_fail
;
17560 resultobj
= SWIG_From_int((int)result
);
17567 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17568 PyObject
*resultobj
;
17569 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17571 PyObject
* obj0
= 0 ;
17572 char *kwnames
[] = {
17573 (char *) "self", NULL
17576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
17577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17581 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17583 wxPyEndAllowThreads(__tstate
);
17584 if (PyErr_Occurred()) SWIG_fail
;
17587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17595 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17596 PyObject
*resultobj
;
17597 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17599 PyObject
* obj0
= 0 ;
17600 char *kwnames
[] = {
17601 (char *) "self", NULL
17604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17609 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17611 wxPyEndAllowThreads(__tstate
);
17612 if (PyErr_Occurred()) SWIG_fail
;
17615 resultobj
= wxPyMake_wxObject(result
, 0);
17623 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
17625 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17626 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17628 return Py_BuildValue((char *)"");
17630 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17631 PyObject
*resultobj
;
17632 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17633 int arg2
= (int) 0 ;
17634 wxCloseEvent
*result
;
17635 PyObject
* obj0
= 0 ;
17636 PyObject
* obj1
= 0 ;
17637 char *kwnames
[] = {
17638 (char *) "type",(char *) "winid", NULL
17641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17643 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17644 if (PyErr_Occurred()) SWIG_fail
;
17647 arg2
= (int)SWIG_As_int(obj1
);
17648 if (PyErr_Occurred()) SWIG_fail
;
17651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17652 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17654 wxPyEndAllowThreads(__tstate
);
17655 if (PyErr_Occurred()) SWIG_fail
;
17657 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17664 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17665 PyObject
*resultobj
;
17666 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17668 PyObject
* obj0
= 0 ;
17669 PyObject
* obj1
= 0 ;
17670 char *kwnames
[] = {
17671 (char *) "self",(char *) "logOff", NULL
17674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17677 arg2
= (bool)SWIG_As_bool(obj1
);
17678 if (PyErr_Occurred()) SWIG_fail
;
17680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17681 (arg1
)->SetLoggingOff(arg2
);
17683 wxPyEndAllowThreads(__tstate
);
17684 if (PyErr_Occurred()) SWIG_fail
;
17686 Py_INCREF(Py_None
); resultobj
= Py_None
;
17693 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17694 PyObject
*resultobj
;
17695 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17697 PyObject
* obj0
= 0 ;
17698 char *kwnames
[] = {
17699 (char *) "self", NULL
17702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17707 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17709 wxPyEndAllowThreads(__tstate
);
17710 if (PyErr_Occurred()) SWIG_fail
;
17713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17721 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17722 PyObject
*resultobj
;
17723 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17724 bool arg2
= (bool) True
;
17725 PyObject
* obj0
= 0 ;
17726 PyObject
* obj1
= 0 ;
17727 char *kwnames
[] = {
17728 (char *) "self",(char *) "veto", NULL
17731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17735 arg2
= (bool)SWIG_As_bool(obj1
);
17736 if (PyErr_Occurred()) SWIG_fail
;
17739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17740 (arg1
)->Veto(arg2
);
17742 wxPyEndAllowThreads(__tstate
);
17743 if (PyErr_Occurred()) SWIG_fail
;
17745 Py_INCREF(Py_None
); resultobj
= Py_None
;
17752 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17753 PyObject
*resultobj
;
17754 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17756 PyObject
* obj0
= 0 ;
17757 PyObject
* obj1
= 0 ;
17758 char *kwnames
[] = {
17759 (char *) "self",(char *) "canVeto", NULL
17762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
17763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17765 arg2
= (bool)SWIG_As_bool(obj1
);
17766 if (PyErr_Occurred()) SWIG_fail
;
17768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17769 (arg1
)->SetCanVeto(arg2
);
17771 wxPyEndAllowThreads(__tstate
);
17772 if (PyErr_Occurred()) SWIG_fail
;
17774 Py_INCREF(Py_None
); resultobj
= Py_None
;
17781 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17782 PyObject
*resultobj
;
17783 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17785 PyObject
* obj0
= 0 ;
17786 char *kwnames
[] = {
17787 (char *) "self", NULL
17790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
17791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17795 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
17797 wxPyEndAllowThreads(__tstate
);
17798 if (PyErr_Occurred()) SWIG_fail
;
17801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17809 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17810 PyObject
*resultobj
;
17811 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17813 PyObject
* obj0
= 0 ;
17814 char *kwnames
[] = {
17815 (char *) "self", NULL
17818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
17819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17823 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
17825 wxPyEndAllowThreads(__tstate
);
17826 if (PyErr_Occurred()) SWIG_fail
;
17829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17837 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
17839 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17840 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
17842 return Py_BuildValue((char *)"");
17844 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17845 PyObject
*resultobj
;
17846 int arg1
= (int) 0 ;
17847 bool arg2
= (bool) False
;
17848 wxShowEvent
*result
;
17849 PyObject
* obj0
= 0 ;
17850 PyObject
* obj1
= 0 ;
17851 char *kwnames
[] = {
17852 (char *) "winid",(char *) "show", NULL
17855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17857 arg1
= (int)SWIG_As_int(obj0
);
17858 if (PyErr_Occurred()) SWIG_fail
;
17861 arg2
= (bool)SWIG_As_bool(obj1
);
17862 if (PyErr_Occurred()) SWIG_fail
;
17865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17866 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
17868 wxPyEndAllowThreads(__tstate
);
17869 if (PyErr_Occurred()) SWIG_fail
;
17871 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
17878 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17879 PyObject
*resultobj
;
17880 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17882 PyObject
* obj0
= 0 ;
17883 PyObject
* obj1
= 0 ;
17884 char *kwnames
[] = {
17885 (char *) "self",(char *) "show", NULL
17888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
17889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17891 arg2
= (bool)SWIG_As_bool(obj1
);
17892 if (PyErr_Occurred()) SWIG_fail
;
17894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17895 (arg1
)->SetShow(arg2
);
17897 wxPyEndAllowThreads(__tstate
);
17898 if (PyErr_Occurred()) SWIG_fail
;
17900 Py_INCREF(Py_None
); resultobj
= Py_None
;
17907 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17908 PyObject
*resultobj
;
17909 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17911 PyObject
* obj0
= 0 ;
17912 char *kwnames
[] = {
17913 (char *) "self", NULL
17916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
17917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17921 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
17923 wxPyEndAllowThreads(__tstate
);
17924 if (PyErr_Occurred()) SWIG_fail
;
17927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17935 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
17937 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17938 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
17940 return Py_BuildValue((char *)"");
17942 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17943 PyObject
*resultobj
;
17944 int arg1
= (int) 0 ;
17945 bool arg2
= (bool) True
;
17946 wxIconizeEvent
*result
;
17947 PyObject
* obj0
= 0 ;
17948 PyObject
* obj1
= 0 ;
17949 char *kwnames
[] = {
17950 (char *) "id",(char *) "iconized", NULL
17953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17955 arg1
= (int)SWIG_As_int(obj0
);
17956 if (PyErr_Occurred()) SWIG_fail
;
17959 arg2
= (bool)SWIG_As_bool(obj1
);
17960 if (PyErr_Occurred()) SWIG_fail
;
17963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17964 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
17966 wxPyEndAllowThreads(__tstate
);
17967 if (PyErr_Occurred()) SWIG_fail
;
17969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
17976 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17977 PyObject
*resultobj
;
17978 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
17980 PyObject
* obj0
= 0 ;
17981 char *kwnames
[] = {
17982 (char *) "self", NULL
17985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
17986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
17987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17990 result
= (bool)(arg1
)->Iconized();
17992 wxPyEndAllowThreads(__tstate
);
17993 if (PyErr_Occurred()) SWIG_fail
;
17996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18004 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
18006 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18007 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
18009 return Py_BuildValue((char *)"");
18011 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18012 PyObject
*resultobj
;
18013 int arg1
= (int) 0 ;
18014 wxMaximizeEvent
*result
;
18015 PyObject
* obj0
= 0 ;
18016 char *kwnames
[] = {
18017 (char *) "id", NULL
18020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
18022 arg1
= (int)SWIG_As_int(obj0
);
18023 if (PyErr_Occurred()) SWIG_fail
;
18026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18027 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
18029 wxPyEndAllowThreads(__tstate
);
18030 if (PyErr_Occurred()) SWIG_fail
;
18032 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
18039 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
18041 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18042 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
18044 return Py_BuildValue((char *)"");
18046 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18047 PyObject
*resultobj
;
18048 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18050 PyObject
* obj0
= 0 ;
18051 char *kwnames
[] = {
18052 (char *) "self", NULL
18055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18060 result
= (arg1
)->GetPosition();
18062 wxPyEndAllowThreads(__tstate
);
18063 if (PyErr_Occurred()) SWIG_fail
;
18066 wxPoint
* resultptr
;
18067 resultptr
= new wxPoint((wxPoint
&) result
);
18068 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18076 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18077 PyObject
*resultobj
;
18078 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18080 PyObject
* obj0
= 0 ;
18081 char *kwnames
[] = {
18082 (char *) "self", NULL
18085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
18086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18090 result
= (int)(arg1
)->GetNumberOfFiles();
18092 wxPyEndAllowThreads(__tstate
);
18093 if (PyErr_Occurred()) SWIG_fail
;
18095 resultobj
= SWIG_From_int((int)result
);
18102 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18103 PyObject
*resultobj
;
18104 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18106 PyObject
* obj0
= 0 ;
18107 char *kwnames
[] = {
18108 (char *) "self", NULL
18111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
18112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18116 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
18118 wxPyEndAllowThreads(__tstate
);
18119 if (PyErr_Occurred()) SWIG_fail
;
18121 resultobj
= result
;
18128 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
18130 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18131 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
18133 return Py_BuildValue((char *)"");
18135 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18136 PyObject
*resultobj
;
18137 int arg1
= (int) 0 ;
18138 wxUpdateUIEvent
*result
;
18139 PyObject
* obj0
= 0 ;
18140 char *kwnames
[] = {
18141 (char *) "commandId", NULL
18144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
18146 arg1
= (int)SWIG_As_int(obj0
);
18147 if (PyErr_Occurred()) SWIG_fail
;
18150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18151 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
18153 wxPyEndAllowThreads(__tstate
);
18154 if (PyErr_Occurred()) SWIG_fail
;
18156 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
18163 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18164 PyObject
*resultobj
;
18165 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18167 PyObject
* obj0
= 0 ;
18168 char *kwnames
[] = {
18169 (char *) "self", NULL
18172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
18173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18177 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
18179 wxPyEndAllowThreads(__tstate
);
18180 if (PyErr_Occurred()) SWIG_fail
;
18183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18191 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18192 PyObject
*resultobj
;
18193 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18195 PyObject
* obj0
= 0 ;
18196 char *kwnames
[] = {
18197 (char *) "self", NULL
18200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
18201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18205 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
18207 wxPyEndAllowThreads(__tstate
);
18208 if (PyErr_Occurred()) SWIG_fail
;
18211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18219 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18220 PyObject
*resultobj
;
18221 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18223 PyObject
* obj0
= 0 ;
18224 char *kwnames
[] = {
18225 (char *) "self", NULL
18228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
18229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18233 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
18235 wxPyEndAllowThreads(__tstate
);
18236 if (PyErr_Occurred()) SWIG_fail
;
18240 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18242 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18251 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18252 PyObject
*resultobj
;
18253 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18255 PyObject
* obj0
= 0 ;
18256 char *kwnames
[] = {
18257 (char *) "self", NULL
18260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
18261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18265 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
18267 wxPyEndAllowThreads(__tstate
);
18268 if (PyErr_Occurred()) SWIG_fail
;
18271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18279 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18280 PyObject
*resultobj
;
18281 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18283 PyObject
* obj0
= 0 ;
18284 char *kwnames
[] = {
18285 (char *) "self", NULL
18288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
18289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18293 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
18295 wxPyEndAllowThreads(__tstate
);
18296 if (PyErr_Occurred()) SWIG_fail
;
18299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18307 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18308 PyObject
*resultobj
;
18309 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18311 PyObject
* obj0
= 0 ;
18312 char *kwnames
[] = {
18313 (char *) "self", NULL
18316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
18317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18321 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
18323 wxPyEndAllowThreads(__tstate
);
18324 if (PyErr_Occurred()) SWIG_fail
;
18327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18335 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18336 PyObject
*resultobj
;
18337 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18339 PyObject
* obj0
= 0 ;
18340 PyObject
* obj1
= 0 ;
18341 char *kwnames
[] = {
18342 (char *) "self",(char *) "check", NULL
18345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
18346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18348 arg2
= (bool)SWIG_As_bool(obj1
);
18349 if (PyErr_Occurred()) SWIG_fail
;
18351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18352 (arg1
)->Check(arg2
);
18354 wxPyEndAllowThreads(__tstate
);
18355 if (PyErr_Occurred()) SWIG_fail
;
18357 Py_INCREF(Py_None
); resultobj
= Py_None
;
18364 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18365 PyObject
*resultobj
;
18366 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18368 PyObject
* obj0
= 0 ;
18369 PyObject
* obj1
= 0 ;
18370 char *kwnames
[] = {
18371 (char *) "self",(char *) "enable", NULL
18374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18377 arg2
= (bool)SWIG_As_bool(obj1
);
18378 if (PyErr_Occurred()) SWIG_fail
;
18380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18381 (arg1
)->Enable(arg2
);
18383 wxPyEndAllowThreads(__tstate
);
18384 if (PyErr_Occurred()) SWIG_fail
;
18386 Py_INCREF(Py_None
); resultobj
= Py_None
;
18393 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18394 PyObject
*resultobj
;
18395 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18396 wxString
*arg2
= 0 ;
18397 bool temp2
= False
;
18398 PyObject
* obj0
= 0 ;
18399 PyObject
* obj1
= 0 ;
18400 char *kwnames
[] = {
18401 (char *) "self",(char *) "text", NULL
18404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18408 arg2
= wxString_in_helper(obj1
);
18409 if (arg2
== NULL
) SWIG_fail
;
18413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18414 (arg1
)->SetText((wxString
const &)*arg2
);
18416 wxPyEndAllowThreads(__tstate
);
18417 if (PyErr_Occurred()) SWIG_fail
;
18419 Py_INCREF(Py_None
); resultobj
= Py_None
;
18434 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18435 PyObject
*resultobj
;
18437 PyObject
* obj0
= 0 ;
18438 char *kwnames
[] = {
18439 (char *) "updateInterval", NULL
18442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
18443 arg1
= (long)SWIG_As_long(obj0
);
18444 if (PyErr_Occurred()) SWIG_fail
;
18446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18447 wxUpdateUIEvent::SetUpdateInterval(arg1
);
18449 wxPyEndAllowThreads(__tstate
);
18450 if (PyErr_Occurred()) SWIG_fail
;
18452 Py_INCREF(Py_None
); resultobj
= Py_None
;
18459 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18460 PyObject
*resultobj
;
18462 char *kwnames
[] = {
18466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
18468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18469 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
18471 wxPyEndAllowThreads(__tstate
);
18472 if (PyErr_Occurred()) SWIG_fail
;
18474 resultobj
= SWIG_From_long((long)result
);
18481 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18482 PyObject
*resultobj
;
18483 wxWindow
*arg1
= (wxWindow
*) 0 ;
18485 PyObject
* obj0
= 0 ;
18486 char *kwnames
[] = {
18487 (char *) "win", NULL
18490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
18491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18495 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
18497 wxPyEndAllowThreads(__tstate
);
18498 if (PyErr_Occurred()) SWIG_fail
;
18501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18509 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18510 PyObject
*resultobj
;
18511 char *kwnames
[] = {
18515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18518 wxUpdateUIEvent::ResetUpdateTime();
18520 wxPyEndAllowThreads(__tstate
);
18521 if (PyErr_Occurred()) SWIG_fail
;
18523 Py_INCREF(Py_None
); resultobj
= Py_None
;
18530 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18531 PyObject
*resultobj
;
18533 PyObject
* obj0
= 0 ;
18534 char *kwnames
[] = {
18535 (char *) "mode", NULL
18538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18539 arg1
= (int)SWIG_As_int(obj0
);
18540 if (PyErr_Occurred()) SWIG_fail
;
18542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18543 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18545 wxPyEndAllowThreads(__tstate
);
18546 if (PyErr_Occurred()) SWIG_fail
;
18548 Py_INCREF(Py_None
); resultobj
= Py_None
;
18555 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18556 PyObject
*resultobj
;
18558 char *kwnames
[] = {
18562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18565 result
= (int)wxUpdateUIEvent::GetMode();
18567 wxPyEndAllowThreads(__tstate
);
18568 if (PyErr_Occurred()) SWIG_fail
;
18570 resultobj
= SWIG_From_int((int)result
);
18577 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
18579 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18580 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18582 return Py_BuildValue((char *)"");
18584 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18585 PyObject
*resultobj
;
18586 wxSysColourChangedEvent
*result
;
18587 char *kwnames
[] = {
18591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18594 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18596 wxPyEndAllowThreads(__tstate
);
18597 if (PyErr_Occurred()) SWIG_fail
;
18599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18606 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18608 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18609 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18611 return Py_BuildValue((char *)"");
18613 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18614 PyObject
*resultobj
;
18615 int arg1
= (int) 0 ;
18616 wxWindow
*arg2
= (wxWindow
*) NULL
;
18617 wxMouseCaptureChangedEvent
*result
;
18618 PyObject
* obj0
= 0 ;
18619 PyObject
* obj1
= 0 ;
18620 char *kwnames
[] = {
18621 (char *) "winid",(char *) "gainedCapture", NULL
18624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18626 arg1
= (int)SWIG_As_int(obj0
);
18627 if (PyErr_Occurred()) SWIG_fail
;
18630 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18635 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18637 wxPyEndAllowThreads(__tstate
);
18638 if (PyErr_Occurred()) SWIG_fail
;
18640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18647 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18648 PyObject
*resultobj
;
18649 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18651 PyObject
* obj0
= 0 ;
18652 char *kwnames
[] = {
18653 (char *) "self", NULL
18656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18661 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18663 wxPyEndAllowThreads(__tstate
);
18664 if (PyErr_Occurred()) SWIG_fail
;
18667 resultobj
= wxPyMake_wxObject(result
, 0);
18675 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18677 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18678 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18680 return Py_BuildValue((char *)"");
18682 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18683 PyObject
*resultobj
;
18684 wxDisplayChangedEvent
*result
;
18685 char *kwnames
[] = {
18689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18692 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18694 wxPyEndAllowThreads(__tstate
);
18695 if (PyErr_Occurred()) SWIG_fail
;
18697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18704 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18706 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18707 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
18709 return Py_BuildValue((char *)"");
18711 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18712 PyObject
*resultobj
;
18713 int arg1
= (int) 0 ;
18714 wxPaletteChangedEvent
*result
;
18715 PyObject
* obj0
= 0 ;
18716 char *kwnames
[] = {
18717 (char *) "id", NULL
18720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
18722 arg1
= (int)SWIG_As_int(obj0
);
18723 if (PyErr_Occurred()) SWIG_fail
;
18726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18727 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
18729 wxPyEndAllowThreads(__tstate
);
18730 if (PyErr_Occurred()) SWIG_fail
;
18732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18739 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18740 PyObject
*resultobj
;
18741 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18742 wxWindow
*arg2
= (wxWindow
*) 0 ;
18743 PyObject
* obj0
= 0 ;
18744 PyObject
* obj1
= 0 ;
18745 char *kwnames
[] = {
18746 (char *) "self",(char *) "win", NULL
18749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18752 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18756 (arg1
)->SetChangedWindow(arg2
);
18758 wxPyEndAllowThreads(__tstate
);
18759 if (PyErr_Occurred()) SWIG_fail
;
18761 Py_INCREF(Py_None
); resultobj
= Py_None
;
18768 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18769 PyObject
*resultobj
;
18770 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18772 PyObject
* obj0
= 0 ;
18773 char *kwnames
[] = {
18774 (char *) "self", NULL
18777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18782 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18784 wxPyEndAllowThreads(__tstate
);
18785 if (PyErr_Occurred()) SWIG_fail
;
18788 resultobj
= wxPyMake_wxObject(result
, 0);
18796 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18798 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18799 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
18801 return Py_BuildValue((char *)"");
18803 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18804 PyObject
*resultobj
;
18805 int arg1
= (int) 0 ;
18806 wxQueryNewPaletteEvent
*result
;
18807 PyObject
* obj0
= 0 ;
18808 char *kwnames
[] = {
18809 (char *) "winid", NULL
18812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
18814 arg1
= (int)SWIG_As_int(obj0
);
18815 if (PyErr_Occurred()) SWIG_fail
;
18818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18819 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
18821 wxPyEndAllowThreads(__tstate
);
18822 if (PyErr_Occurred()) SWIG_fail
;
18824 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
18831 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18832 PyObject
*resultobj
;
18833 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18835 PyObject
* obj0
= 0 ;
18836 PyObject
* obj1
= 0 ;
18837 char *kwnames
[] = {
18838 (char *) "self",(char *) "realized", NULL
18841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
18842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18844 arg2
= (bool)SWIG_As_bool(obj1
);
18845 if (PyErr_Occurred()) SWIG_fail
;
18847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18848 (arg1
)->SetPaletteRealized(arg2
);
18850 wxPyEndAllowThreads(__tstate
);
18851 if (PyErr_Occurred()) SWIG_fail
;
18853 Py_INCREF(Py_None
); resultobj
= Py_None
;
18860 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18861 PyObject
*resultobj
;
18862 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18864 PyObject
* obj0
= 0 ;
18865 char *kwnames
[] = {
18866 (char *) "self", NULL
18869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
18870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18874 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
18876 wxPyEndAllowThreads(__tstate
);
18877 if (PyErr_Occurred()) SWIG_fail
;
18880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18888 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
18890 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18891 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
18893 return Py_BuildValue((char *)"");
18895 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18896 PyObject
*resultobj
;
18897 wxNavigationKeyEvent
*result
;
18898 char *kwnames
[] = {
18902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
18904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18905 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
18907 wxPyEndAllowThreads(__tstate
);
18908 if (PyErr_Occurred()) SWIG_fail
;
18910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
18917 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18918 PyObject
*resultobj
;
18919 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18921 PyObject
* obj0
= 0 ;
18922 char *kwnames
[] = {
18923 (char *) "self", NULL
18926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
18927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18931 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
18933 wxPyEndAllowThreads(__tstate
);
18934 if (PyErr_Occurred()) SWIG_fail
;
18937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18945 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18946 PyObject
*resultobj
;
18947 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18949 PyObject
* obj0
= 0 ;
18950 PyObject
* obj1
= 0 ;
18951 char *kwnames
[] = {
18952 (char *) "self",(char *) "forward", NULL
18955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
18956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18958 arg2
= (bool)SWIG_As_bool(obj1
);
18959 if (PyErr_Occurred()) SWIG_fail
;
18961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18962 (arg1
)->SetDirection(arg2
);
18964 wxPyEndAllowThreads(__tstate
);
18965 if (PyErr_Occurred()) SWIG_fail
;
18967 Py_INCREF(Py_None
); resultobj
= Py_None
;
18974 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18975 PyObject
*resultobj
;
18976 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18978 PyObject
* obj0
= 0 ;
18979 char *kwnames
[] = {
18980 (char *) "self", NULL
18983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
18984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18988 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
18990 wxPyEndAllowThreads(__tstate
);
18991 if (PyErr_Occurred()) SWIG_fail
;
18994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19002 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19003 PyObject
*resultobj
;
19004 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19006 PyObject
* obj0
= 0 ;
19007 PyObject
* obj1
= 0 ;
19008 char *kwnames
[] = {
19009 (char *) "self",(char *) "ischange", NULL
19012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
19013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19015 arg2
= (bool)SWIG_As_bool(obj1
);
19016 if (PyErr_Occurred()) SWIG_fail
;
19018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19019 (arg1
)->SetWindowChange(arg2
);
19021 wxPyEndAllowThreads(__tstate
);
19022 if (PyErr_Occurred()) SWIG_fail
;
19024 Py_INCREF(Py_None
); resultobj
= Py_None
;
19031 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19032 PyObject
*resultobj
;
19033 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19035 PyObject
* obj0
= 0 ;
19036 PyObject
* obj1
= 0 ;
19037 char *kwnames
[] = {
19038 (char *) "self",(char *) "flags", NULL
19041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
19042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19044 arg2
= (long)SWIG_As_long(obj1
);
19045 if (PyErr_Occurred()) SWIG_fail
;
19047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19048 (arg1
)->SetFlags(arg2
);
19050 wxPyEndAllowThreads(__tstate
);
19051 if (PyErr_Occurred()) SWIG_fail
;
19053 Py_INCREF(Py_None
); resultobj
= Py_None
;
19060 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19061 PyObject
*resultobj
;
19062 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19064 PyObject
* obj0
= 0 ;
19065 char *kwnames
[] = {
19066 (char *) "self", NULL
19069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
19070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19074 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
19076 wxPyEndAllowThreads(__tstate
);
19077 if (PyErr_Occurred()) SWIG_fail
;
19080 resultobj
= wxPyMake_wxObject(result
, 0);
19088 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19089 PyObject
*resultobj
;
19090 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19091 wxWindow
*arg2
= (wxWindow
*) 0 ;
19092 PyObject
* obj0
= 0 ;
19093 PyObject
* obj1
= 0 ;
19094 char *kwnames
[] = {
19095 (char *) "self",(char *) "win", NULL
19098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
19099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19101 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19105 (arg1
)->SetCurrentFocus(arg2
);
19107 wxPyEndAllowThreads(__tstate
);
19108 if (PyErr_Occurred()) SWIG_fail
;
19110 Py_INCREF(Py_None
); resultobj
= Py_None
;
19117 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
19119 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19120 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
19122 return Py_BuildValue((char *)"");
19124 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19125 PyObject
*resultobj
;
19126 wxWindow
*arg1
= (wxWindow
*) NULL
;
19127 wxWindowCreateEvent
*result
;
19128 PyObject
* obj0
= 0 ;
19129 char *kwnames
[] = {
19130 (char *) "win", NULL
19133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
19135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19140 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
19142 wxPyEndAllowThreads(__tstate
);
19143 if (PyErr_Occurred()) SWIG_fail
;
19145 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
19152 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19153 PyObject
*resultobj
;
19154 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
19156 PyObject
* obj0
= 0 ;
19157 char *kwnames
[] = {
19158 (char *) "self", NULL
19161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
19163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19166 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
19168 wxPyEndAllowThreads(__tstate
);
19169 if (PyErr_Occurred()) SWIG_fail
;
19172 resultobj
= wxPyMake_wxObject(result
, 0);
19180 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
19182 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19183 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
19185 return Py_BuildValue((char *)"");
19187 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19188 PyObject
*resultobj
;
19189 wxWindow
*arg1
= (wxWindow
*) NULL
;
19190 wxWindowDestroyEvent
*result
;
19191 PyObject
* obj0
= 0 ;
19192 char *kwnames
[] = {
19193 (char *) "win", NULL
19196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
19198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19203 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
19205 wxPyEndAllowThreads(__tstate
);
19206 if (PyErr_Occurred()) SWIG_fail
;
19208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
19215 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19216 PyObject
*resultobj
;
19217 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
19219 PyObject
* obj0
= 0 ;
19220 char *kwnames
[] = {
19221 (char *) "self", NULL
19224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
19226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19229 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
19231 wxPyEndAllowThreads(__tstate
);
19232 if (PyErr_Occurred()) SWIG_fail
;
19235 resultobj
= wxPyMake_wxObject(result
, 0);
19243 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
19245 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19246 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
19248 return Py_BuildValue((char *)"");
19250 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19251 PyObject
*resultobj
;
19252 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19253 int arg2
= (int) 0 ;
19254 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19255 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19256 wxContextMenuEvent
*result
;
19258 PyObject
* obj0
= 0 ;
19259 PyObject
* obj1
= 0 ;
19260 PyObject
* obj2
= 0 ;
19261 char *kwnames
[] = {
19262 (char *) "type",(char *) "winid",(char *) "pt", NULL
19265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19267 arg1
= (wxEventType
)SWIG_As_int(obj0
);
19268 if (PyErr_Occurred()) SWIG_fail
;
19271 arg2
= (int)SWIG_As_int(obj1
);
19272 if (PyErr_Occurred()) SWIG_fail
;
19277 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19282 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
19284 wxPyEndAllowThreads(__tstate
);
19285 if (PyErr_Occurred()) SWIG_fail
;
19287 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
19294 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19295 PyObject
*resultobj
;
19296 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19298 PyObject
* obj0
= 0 ;
19299 char *kwnames
[] = {
19300 (char *) "self", NULL
19303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19309 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
19310 result
= (wxPoint
*) &_result_ref
;
19313 wxPyEndAllowThreads(__tstate
);
19314 if (PyErr_Occurred()) SWIG_fail
;
19316 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19323 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19324 PyObject
*resultobj
;
19325 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19326 wxPoint
*arg2
= 0 ;
19328 PyObject
* obj0
= 0 ;
19329 PyObject
* obj1
= 0 ;
19330 char *kwnames
[] = {
19331 (char *) "self",(char *) "pos", NULL
19334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19339 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19343 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19345 wxPyEndAllowThreads(__tstate
);
19346 if (PyErr_Occurred()) SWIG_fail
;
19348 Py_INCREF(Py_None
); resultobj
= Py_None
;
19355 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
19357 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19358 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
19360 return Py_BuildValue((char *)"");
19362 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19363 PyObject
*resultobj
;
19364 wxIdleEvent
*result
;
19365 char *kwnames
[] = {
19369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
19371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19372 result
= (wxIdleEvent
*)new wxIdleEvent();
19374 wxPyEndAllowThreads(__tstate
);
19375 if (PyErr_Occurred()) SWIG_fail
;
19377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
19384 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19385 PyObject
*resultobj
;
19386 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19387 bool arg2
= (bool) True
;
19388 PyObject
* obj0
= 0 ;
19389 PyObject
* obj1
= 0 ;
19390 char *kwnames
[] = {
19391 (char *) "self",(char *) "needMore", NULL
19394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
19395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19398 arg2
= (bool)SWIG_As_bool(obj1
);
19399 if (PyErr_Occurred()) SWIG_fail
;
19402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19403 (arg1
)->RequestMore(arg2
);
19405 wxPyEndAllowThreads(__tstate
);
19406 if (PyErr_Occurred()) SWIG_fail
;
19408 Py_INCREF(Py_None
); resultobj
= Py_None
;
19415 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19416 PyObject
*resultobj
;
19417 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19419 PyObject
* obj0
= 0 ;
19420 char *kwnames
[] = {
19421 (char *) "self", NULL
19424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
19425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19429 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
19431 wxPyEndAllowThreads(__tstate
);
19432 if (PyErr_Occurred()) SWIG_fail
;
19435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19443 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19444 PyObject
*resultobj
;
19446 PyObject
* obj0
= 0 ;
19447 char *kwnames
[] = {
19448 (char *) "mode", NULL
19451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
19452 arg1
= (int)SWIG_As_int(obj0
);
19453 if (PyErr_Occurred()) SWIG_fail
;
19455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19456 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
19458 wxPyEndAllowThreads(__tstate
);
19459 if (PyErr_Occurred()) SWIG_fail
;
19461 Py_INCREF(Py_None
); resultobj
= Py_None
;
19468 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19469 PyObject
*resultobj
;
19471 char *kwnames
[] = {
19475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
19477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19478 result
= (int)wxIdleEvent::GetMode();
19480 wxPyEndAllowThreads(__tstate
);
19481 if (PyErr_Occurred()) SWIG_fail
;
19483 resultobj
= SWIG_From_int((int)result
);
19490 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19491 PyObject
*resultobj
;
19492 wxWindow
*arg1
= (wxWindow
*) 0 ;
19494 PyObject
* obj0
= 0 ;
19495 char *kwnames
[] = {
19496 (char *) "win", NULL
19499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
19500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19504 result
= (bool)wxIdleEvent::CanSend(arg1
);
19506 wxPyEndAllowThreads(__tstate
);
19507 if (PyErr_Occurred()) SWIG_fail
;
19510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19518 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
19520 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19521 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
19523 return Py_BuildValue((char *)"");
19525 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19526 PyObject
*resultobj
;
19527 int arg1
= (int) 0 ;
19528 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
19530 PyObject
* obj0
= 0 ;
19531 PyObject
* obj1
= 0 ;
19532 char *kwnames
[] = {
19533 (char *) "winid",(char *) "commandType", NULL
19536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19538 arg1
= (int)SWIG_As_int(obj0
);
19539 if (PyErr_Occurred()) SWIG_fail
;
19542 arg2
= (wxEventType
)SWIG_As_int(obj1
);
19543 if (PyErr_Occurred()) SWIG_fail
;
19546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19547 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19549 wxPyEndAllowThreads(__tstate
);
19550 if (PyErr_Occurred()) SWIG_fail
;
19552 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19559 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19560 PyObject
*resultobj
;
19561 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19562 PyObject
* obj0
= 0 ;
19563 char *kwnames
[] = {
19564 (char *) "self", NULL
19567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19574 wxPyEndAllowThreads(__tstate
);
19575 if (PyErr_Occurred()) SWIG_fail
;
19577 Py_INCREF(Py_None
); resultobj
= Py_None
;
19584 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19585 PyObject
*resultobj
;
19586 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19587 PyObject
*arg2
= (PyObject
*) 0 ;
19588 PyObject
* obj0
= 0 ;
19589 PyObject
* obj1
= 0 ;
19590 char *kwnames
[] = {
19591 (char *) "self",(char *) "self", NULL
19594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19600 (arg1
)->SetSelf(arg2
);
19602 wxPyEndAllowThreads(__tstate
);
19603 if (PyErr_Occurred()) SWIG_fail
;
19605 Py_INCREF(Py_None
); resultobj
= Py_None
;
19612 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19613 PyObject
*resultobj
;
19614 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19616 PyObject
* obj0
= 0 ;
19617 char *kwnames
[] = {
19618 (char *) "self", NULL
19621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19626 result
= (PyObject
*)(arg1
)->GetSelf();
19628 wxPyEndAllowThreads(__tstate
);
19629 if (PyErr_Occurred()) SWIG_fail
;
19631 resultobj
= result
;
19638 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
19640 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19641 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19643 return Py_BuildValue((char *)"");
19645 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19646 PyObject
*resultobj
;
19647 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19648 int arg2
= (int) 0 ;
19649 wxPyCommandEvent
*result
;
19650 PyObject
* obj0
= 0 ;
19651 PyObject
* obj1
= 0 ;
19652 char *kwnames
[] = {
19653 (char *) "commandType",(char *) "id", NULL
19656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19658 arg1
= (wxEventType
)SWIG_As_int(obj0
);
19659 if (PyErr_Occurred()) SWIG_fail
;
19662 arg2
= (int)SWIG_As_int(obj1
);
19663 if (PyErr_Occurred()) SWIG_fail
;
19666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19667 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19669 wxPyEndAllowThreads(__tstate
);
19670 if (PyErr_Occurred()) SWIG_fail
;
19672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19679 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19680 PyObject
*resultobj
;
19681 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19682 PyObject
* obj0
= 0 ;
19683 char *kwnames
[] = {
19684 (char *) "self", NULL
19687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19694 wxPyEndAllowThreads(__tstate
);
19695 if (PyErr_Occurred()) SWIG_fail
;
19697 Py_INCREF(Py_None
); resultobj
= Py_None
;
19704 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19705 PyObject
*resultobj
;
19706 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19707 PyObject
*arg2
= (PyObject
*) 0 ;
19708 PyObject
* obj0
= 0 ;
19709 PyObject
* obj1
= 0 ;
19710 char *kwnames
[] = {
19711 (char *) "self",(char *) "self", NULL
19714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19720 (arg1
)->SetSelf(arg2
);
19722 wxPyEndAllowThreads(__tstate
);
19723 if (PyErr_Occurred()) SWIG_fail
;
19725 Py_INCREF(Py_None
); resultobj
= Py_None
;
19732 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19733 PyObject
*resultobj
;
19734 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19736 PyObject
* obj0
= 0 ;
19737 char *kwnames
[] = {
19738 (char *) "self", NULL
19741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19746 result
= (PyObject
*)(arg1
)->GetSelf();
19748 wxPyEndAllowThreads(__tstate
);
19749 if (PyErr_Occurred()) SWIG_fail
;
19751 resultobj
= result
;
19758 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
19760 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19761 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
19763 return Py_BuildValue((char *)"");
19765 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19766 PyObject
*resultobj
;
19768 char *kwnames
[] = {
19772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19775 result
= (wxPyApp
*)new_wxPyApp();
19777 wxPyEndAllowThreads(__tstate
);
19778 if (PyErr_Occurred()) SWIG_fail
;
19780 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
19787 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19788 PyObject
*resultobj
;
19789 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19790 PyObject
* obj0
= 0 ;
19791 char *kwnames
[] = {
19792 (char *) "self", NULL
19795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
19796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19802 wxPyEndAllowThreads(__tstate
);
19803 if (PyErr_Occurred()) SWIG_fail
;
19805 Py_INCREF(Py_None
); resultobj
= Py_None
;
19812 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19813 PyObject
*resultobj
;
19814 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19815 PyObject
*arg2
= (PyObject
*) 0 ;
19816 PyObject
*arg3
= (PyObject
*) 0 ;
19817 PyObject
* obj0
= 0 ;
19818 PyObject
* obj1
= 0 ;
19819 PyObject
* obj2
= 0 ;
19820 char *kwnames
[] = {
19821 (char *) "self",(char *) "self",(char *) "_class", NULL
19824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19831 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19833 wxPyEndAllowThreads(__tstate
);
19834 if (PyErr_Occurred()) SWIG_fail
;
19836 Py_INCREF(Py_None
); resultobj
= Py_None
;
19843 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19844 PyObject
*resultobj
;
19845 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19847 PyObject
* obj0
= 0 ;
19848 char *kwnames
[] = {
19849 (char *) "self", NULL
19852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
19853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19857 result
= ((wxPyApp
const *)arg1
)->GetAppName();
19859 wxPyEndAllowThreads(__tstate
);
19860 if (PyErr_Occurred()) SWIG_fail
;
19864 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19866 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19875 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19876 PyObject
*resultobj
;
19877 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19878 wxString
*arg2
= 0 ;
19879 bool temp2
= False
;
19880 PyObject
* obj0
= 0 ;
19881 PyObject
* obj1
= 0 ;
19882 char *kwnames
[] = {
19883 (char *) "self",(char *) "name", NULL
19886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19890 arg2
= wxString_in_helper(obj1
);
19891 if (arg2
== NULL
) SWIG_fail
;
19895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19896 (arg1
)->SetAppName((wxString
const &)*arg2
);
19898 wxPyEndAllowThreads(__tstate
);
19899 if (PyErr_Occurred()) SWIG_fail
;
19901 Py_INCREF(Py_None
); resultobj
= Py_None
;
19916 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19917 PyObject
*resultobj
;
19918 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19920 PyObject
* obj0
= 0 ;
19921 char *kwnames
[] = {
19922 (char *) "self", NULL
19925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
19926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19930 result
= ((wxPyApp
const *)arg1
)->GetClassName();
19932 wxPyEndAllowThreads(__tstate
);
19933 if (PyErr_Occurred()) SWIG_fail
;
19937 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19939 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19948 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19949 PyObject
*resultobj
;
19950 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19951 wxString
*arg2
= 0 ;
19952 bool temp2
= False
;
19953 PyObject
* obj0
= 0 ;
19954 PyObject
* obj1
= 0 ;
19955 char *kwnames
[] = {
19956 (char *) "self",(char *) "name", NULL
19959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
19960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19963 arg2
= wxString_in_helper(obj1
);
19964 if (arg2
== NULL
) SWIG_fail
;
19968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19969 (arg1
)->SetClassName((wxString
const &)*arg2
);
19971 wxPyEndAllowThreads(__tstate
);
19972 if (PyErr_Occurred()) SWIG_fail
;
19974 Py_INCREF(Py_None
); resultobj
= Py_None
;
19989 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19990 PyObject
*resultobj
;
19991 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19993 PyObject
* obj0
= 0 ;
19994 char *kwnames
[] = {
19995 (char *) "self", NULL
19998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
19999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20004 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
20005 result
= (wxString
*) &_result_ref
;
20008 wxPyEndAllowThreads(__tstate
);
20009 if (PyErr_Occurred()) SWIG_fail
;
20013 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20015 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20024 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20025 PyObject
*resultobj
;
20026 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20027 wxString
*arg2
= 0 ;
20028 bool temp2
= False
;
20029 PyObject
* obj0
= 0 ;
20030 PyObject
* obj1
= 0 ;
20031 char *kwnames
[] = {
20032 (char *) "self",(char *) "name", NULL
20035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
20036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20039 arg2
= wxString_in_helper(obj1
);
20040 if (arg2
== NULL
) SWIG_fail
;
20044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20045 (arg1
)->SetVendorName((wxString
const &)*arg2
);
20047 wxPyEndAllowThreads(__tstate
);
20048 if (PyErr_Occurred()) SWIG_fail
;
20050 Py_INCREF(Py_None
); resultobj
= Py_None
;
20065 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20066 PyObject
*resultobj
;
20067 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20068 wxAppTraits
*result
;
20069 PyObject
* obj0
= 0 ;
20070 char *kwnames
[] = {
20071 (char *) "self", NULL
20074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
20075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20079 result
= (wxAppTraits
*)(arg1
)->GetTraits();
20081 wxPyEndAllowThreads(__tstate
);
20082 if (PyErr_Occurred()) SWIG_fail
;
20084 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
20091 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20092 PyObject
*resultobj
;
20093 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20094 PyObject
* obj0
= 0 ;
20095 char *kwnames
[] = {
20096 (char *) "self", NULL
20099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
20100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20104 (arg1
)->ProcessPendingEvents();
20106 wxPyEndAllowThreads(__tstate
);
20107 if (PyErr_Occurred()) SWIG_fail
;
20109 Py_INCREF(Py_None
); resultobj
= Py_None
;
20116 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20117 PyObject
*resultobj
;
20118 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20119 bool arg2
= (bool) False
;
20121 PyObject
* obj0
= 0 ;
20122 PyObject
* obj1
= 0 ;
20123 char *kwnames
[] = {
20124 (char *) "self",(char *) "onlyIfNeeded", NULL
20127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
20128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20131 arg2
= (bool)SWIG_As_bool(obj1
);
20132 if (PyErr_Occurred()) SWIG_fail
;
20135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20136 result
= (bool)(arg1
)->Yield(arg2
);
20138 wxPyEndAllowThreads(__tstate
);
20139 if (PyErr_Occurred()) SWIG_fail
;
20142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20150 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20151 PyObject
*resultobj
;
20152 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20153 PyObject
* obj0
= 0 ;
20154 char *kwnames
[] = {
20155 (char *) "self", NULL
20158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
20159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20163 (arg1
)->WakeUpIdle();
20165 wxPyEndAllowThreads(__tstate
);
20166 if (PyErr_Occurred()) SWIG_fail
;
20168 Py_INCREF(Py_None
); resultobj
= Py_None
;
20175 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20176 PyObject
*resultobj
;
20177 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20179 PyObject
* obj0
= 0 ;
20180 char *kwnames
[] = {
20181 (char *) "self", NULL
20184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
20185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20189 result
= (int)(arg1
)->MainLoop();
20191 wxPyEndAllowThreads(__tstate
);
20192 if (PyErr_Occurred()) SWIG_fail
;
20194 resultobj
= SWIG_From_int((int)result
);
20201 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20202 PyObject
*resultobj
;
20203 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20204 PyObject
* obj0
= 0 ;
20205 char *kwnames
[] = {
20206 (char *) "self", NULL
20209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
20210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20216 wxPyEndAllowThreads(__tstate
);
20217 if (PyErr_Occurred()) SWIG_fail
;
20219 Py_INCREF(Py_None
); resultobj
= Py_None
;
20226 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20227 PyObject
*resultobj
;
20228 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20229 PyObject
* obj0
= 0 ;
20230 char *kwnames
[] = {
20231 (char *) "self", NULL
20234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
20235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20239 (arg1
)->ExitMainLoop();
20241 wxPyEndAllowThreads(__tstate
);
20242 if (PyErr_Occurred()) SWIG_fail
;
20244 Py_INCREF(Py_None
); resultobj
= Py_None
;
20251 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20252 PyObject
*resultobj
;
20253 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20255 PyObject
* obj0
= 0 ;
20256 char *kwnames
[] = {
20257 (char *) "self", NULL
20260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
20261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20265 result
= (bool)(arg1
)->Pending();
20267 wxPyEndAllowThreads(__tstate
);
20268 if (PyErr_Occurred()) SWIG_fail
;
20271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20279 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20280 PyObject
*resultobj
;
20281 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20283 PyObject
* obj0
= 0 ;
20284 char *kwnames
[] = {
20285 (char *) "self", NULL
20288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
20289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20293 result
= (bool)(arg1
)->Dispatch();
20295 wxPyEndAllowThreads(__tstate
);
20296 if (PyErr_Occurred()) SWIG_fail
;
20299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20307 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20308 PyObject
*resultobj
;
20309 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20311 PyObject
* obj0
= 0 ;
20312 char *kwnames
[] = {
20313 (char *) "self", NULL
20316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
20317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20321 result
= (bool)(arg1
)->ProcessIdle();
20323 wxPyEndAllowThreads(__tstate
);
20324 if (PyErr_Occurred()) SWIG_fail
;
20327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20335 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20336 PyObject
*resultobj
;
20337 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20338 wxWindow
*arg2
= (wxWindow
*) 0 ;
20339 wxIdleEvent
*arg3
= 0 ;
20341 PyObject
* obj0
= 0 ;
20342 PyObject
* obj1
= 0 ;
20343 PyObject
* obj2
= 0 ;
20344 char *kwnames
[] = {
20345 (char *) "self",(char *) "win",(char *) "event", NULL
20348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20351 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20353 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
20354 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20356 if (arg3
== NULL
) {
20357 PyErr_SetString(PyExc_TypeError
,"null reference");
20361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20362 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
20364 wxPyEndAllowThreads(__tstate
);
20365 if (PyErr_Occurred()) SWIG_fail
;
20368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20376 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20377 PyObject
*resultobj
;
20378 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20380 PyObject
* obj0
= 0 ;
20381 char *kwnames
[] = {
20382 (char *) "self", NULL
20385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
20386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20390 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
20392 wxPyEndAllowThreads(__tstate
);
20393 if (PyErr_Occurred()) SWIG_fail
;
20396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20404 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20405 PyObject
*resultobj
;
20406 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20407 wxWindow
*arg2
= (wxWindow
*) 0 ;
20408 PyObject
* obj0
= 0 ;
20409 PyObject
* obj1
= 0 ;
20410 char *kwnames
[] = {
20411 (char *) "self",(char *) "win", NULL
20414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20417 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20421 (arg1
)->SetTopWindow(arg2
);
20423 wxPyEndAllowThreads(__tstate
);
20424 if (PyErr_Occurred()) SWIG_fail
;
20426 Py_INCREF(Py_None
); resultobj
= Py_None
;
20433 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20434 PyObject
*resultobj
;
20435 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20437 PyObject
* obj0
= 0 ;
20438 char *kwnames
[] = {
20439 (char *) "self", NULL
20442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
20443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20447 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
20449 wxPyEndAllowThreads(__tstate
);
20450 if (PyErr_Occurred()) SWIG_fail
;
20453 resultobj
= wxPyMake_wxObject(result
, 0);
20461 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20462 PyObject
*resultobj
;
20463 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20465 PyObject
* obj0
= 0 ;
20466 PyObject
* obj1
= 0 ;
20467 char *kwnames
[] = {
20468 (char *) "self",(char *) "flag", NULL
20471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
20472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20474 arg2
= (bool)SWIG_As_bool(obj1
);
20475 if (PyErr_Occurred()) SWIG_fail
;
20477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20478 (arg1
)->SetExitOnFrameDelete(arg2
);
20480 wxPyEndAllowThreads(__tstate
);
20481 if (PyErr_Occurred()) SWIG_fail
;
20483 Py_INCREF(Py_None
); resultobj
= Py_None
;
20490 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20491 PyObject
*resultobj
;
20492 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20494 PyObject
* obj0
= 0 ;
20495 char *kwnames
[] = {
20496 (char *) "self", NULL
20499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
20500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20504 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
20506 wxPyEndAllowThreads(__tstate
);
20507 if (PyErr_Occurred()) SWIG_fail
;
20510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20518 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20519 PyObject
*resultobj
;
20520 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20522 PyObject
* obj0
= 0 ;
20523 PyObject
* obj1
= 0 ;
20524 char *kwnames
[] = {
20525 (char *) "self",(char *) "flag", NULL
20528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
20529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20531 arg2
= (bool)SWIG_As_bool(obj1
);
20532 if (PyErr_Occurred()) SWIG_fail
;
20534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20535 (arg1
)->SetUseBestVisual(arg2
);
20537 wxPyEndAllowThreads(__tstate
);
20538 if (PyErr_Occurred()) SWIG_fail
;
20540 Py_INCREF(Py_None
); resultobj
= Py_None
;
20547 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20548 PyObject
*resultobj
;
20549 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20551 PyObject
* obj0
= 0 ;
20552 char *kwnames
[] = {
20553 (char *) "self", NULL
20556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20561 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20563 wxPyEndAllowThreads(__tstate
);
20564 if (PyErr_Occurred()) SWIG_fail
;
20567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20575 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20576 PyObject
*resultobj
;
20577 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20579 PyObject
* obj0
= 0 ;
20580 PyObject
* obj1
= 0 ;
20581 char *kwnames
[] = {
20582 (char *) "self",(char *) "mode", NULL
20585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20588 arg2
= (int)SWIG_As_int(obj1
);
20589 if (PyErr_Occurred()) SWIG_fail
;
20591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20592 (arg1
)->SetPrintMode(arg2
);
20594 wxPyEndAllowThreads(__tstate
);
20595 if (PyErr_Occurred()) SWIG_fail
;
20597 Py_INCREF(Py_None
); resultobj
= Py_None
;
20604 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20605 PyObject
*resultobj
;
20606 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20608 PyObject
* obj0
= 0 ;
20609 char *kwnames
[] = {
20610 (char *) "self", NULL
20613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20618 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
20620 wxPyEndAllowThreads(__tstate
);
20621 if (PyErr_Occurred()) SWIG_fail
;
20623 resultobj
= SWIG_From_int((int)result
);
20630 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20631 PyObject
*resultobj
;
20632 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20634 PyObject
* obj0
= 0 ;
20635 PyObject
* obj1
= 0 ;
20636 char *kwnames
[] = {
20637 (char *) "self",(char *) "mode", NULL
20640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20643 arg2
= (int)SWIG_As_int(obj1
);
20644 if (PyErr_Occurred()) SWIG_fail
;
20646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20647 (arg1
)->SetAssertMode(arg2
);
20649 wxPyEndAllowThreads(__tstate
);
20650 if (PyErr_Occurred()) SWIG_fail
;
20652 Py_INCREF(Py_None
); resultobj
= Py_None
;
20659 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20660 PyObject
*resultobj
;
20661 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20663 PyObject
* obj0
= 0 ;
20664 char *kwnames
[] = {
20665 (char *) "self", NULL
20668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20673 result
= (int)(arg1
)->GetAssertMode();
20675 wxPyEndAllowThreads(__tstate
);
20676 if (PyErr_Occurred()) SWIG_fail
;
20678 resultobj
= SWIG_From_int((int)result
);
20685 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20686 PyObject
*resultobj
;
20688 char *kwnames
[] = {
20692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
20694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20695 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20697 wxPyEndAllowThreads(__tstate
);
20698 if (PyErr_Occurred()) SWIG_fail
;
20701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20709 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20710 PyObject
*resultobj
;
20712 char *kwnames
[] = {
20716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
20718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20719 result
= (long)wxPyApp::GetMacAboutMenuItemId();
20721 wxPyEndAllowThreads(__tstate
);
20722 if (PyErr_Occurred()) SWIG_fail
;
20724 resultobj
= SWIG_From_long((long)result
);
20731 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20732 PyObject
*resultobj
;
20734 char *kwnames
[] = {
20738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
20740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20741 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
20743 wxPyEndAllowThreads(__tstate
);
20744 if (PyErr_Occurred()) SWIG_fail
;
20746 resultobj
= SWIG_From_long((long)result
);
20753 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20754 PyObject
*resultobj
;
20756 char *kwnames
[] = {
20760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
20762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20763 result
= (long)wxPyApp::GetMacExitMenuItemId();
20765 wxPyEndAllowThreads(__tstate
);
20766 if (PyErr_Occurred()) SWIG_fail
;
20768 resultobj
= SWIG_From_long((long)result
);
20775 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20776 PyObject
*resultobj
;
20778 char *kwnames
[] = {
20782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
20784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20785 result
= wxPyApp::GetMacHelpMenuTitleName();
20787 wxPyEndAllowThreads(__tstate
);
20788 if (PyErr_Occurred()) SWIG_fail
;
20792 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20794 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20803 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20804 PyObject
*resultobj
;
20806 PyObject
* obj0
= 0 ;
20807 char *kwnames
[] = {
20808 (char *) "val", NULL
20811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
20812 arg1
= (bool)SWIG_As_bool(obj0
);
20813 if (PyErr_Occurred()) SWIG_fail
;
20815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20816 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
20818 wxPyEndAllowThreads(__tstate
);
20819 if (PyErr_Occurred()) SWIG_fail
;
20821 Py_INCREF(Py_None
); resultobj
= Py_None
;
20828 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20829 PyObject
*resultobj
;
20831 PyObject
* obj0
= 0 ;
20832 char *kwnames
[] = {
20833 (char *) "val", NULL
20836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
20837 arg1
= (long)SWIG_As_long(obj0
);
20838 if (PyErr_Occurred()) SWIG_fail
;
20840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20841 wxPyApp::SetMacAboutMenuItemId(arg1
);
20843 wxPyEndAllowThreads(__tstate
);
20844 if (PyErr_Occurred()) SWIG_fail
;
20846 Py_INCREF(Py_None
); resultobj
= Py_None
;
20853 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20854 PyObject
*resultobj
;
20856 PyObject
* obj0
= 0 ;
20857 char *kwnames
[] = {
20858 (char *) "val", NULL
20861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
20862 arg1
= (long)SWIG_As_long(obj0
);
20863 if (PyErr_Occurred()) SWIG_fail
;
20865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20866 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
20868 wxPyEndAllowThreads(__tstate
);
20869 if (PyErr_Occurred()) SWIG_fail
;
20871 Py_INCREF(Py_None
); resultobj
= Py_None
;
20878 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20879 PyObject
*resultobj
;
20881 PyObject
* obj0
= 0 ;
20882 char *kwnames
[] = {
20883 (char *) "val", NULL
20886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
20887 arg1
= (long)SWIG_As_long(obj0
);
20888 if (PyErr_Occurred()) SWIG_fail
;
20890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20891 wxPyApp::SetMacExitMenuItemId(arg1
);
20893 wxPyEndAllowThreads(__tstate
);
20894 if (PyErr_Occurred()) SWIG_fail
;
20896 Py_INCREF(Py_None
); resultobj
= Py_None
;
20903 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20904 PyObject
*resultobj
;
20905 wxString
*arg1
= 0 ;
20906 bool temp1
= False
;
20907 PyObject
* obj0
= 0 ;
20908 char *kwnames
[] = {
20909 (char *) "val", NULL
20912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
20914 arg1
= wxString_in_helper(obj0
);
20915 if (arg1
== NULL
) SWIG_fail
;
20919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20920 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
20922 wxPyEndAllowThreads(__tstate
);
20923 if (PyErr_Occurred()) SWIG_fail
;
20925 Py_INCREF(Py_None
); resultobj
= Py_None
;
20940 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20941 PyObject
*resultobj
;
20942 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20943 PyObject
* obj0
= 0 ;
20944 char *kwnames
[] = {
20945 (char *) "self", NULL
20948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
20949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20953 (arg1
)->_BootstrapApp();
20955 wxPyEndAllowThreads(__tstate
);
20956 if (PyErr_Occurred()) SWIG_fail
;
20958 Py_INCREF(Py_None
); resultobj
= Py_None
;
20965 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20966 PyObject
*resultobj
;
20968 char *kwnames
[] = {
20972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
20974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20975 result
= (int)PyApp_GetComCtl32Version();
20977 wxPyEndAllowThreads(__tstate
);
20978 if (PyErr_Occurred()) SWIG_fail
;
20980 resultobj
= SWIG_From_int((int)result
);
20987 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
20989 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20990 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
20992 return Py_BuildValue((char *)"");
20994 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20995 PyObject
*resultobj
;
20996 char *kwnames
[] = {
21000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
21002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21005 wxPyEndAllowThreads(__tstate
);
21006 if (PyErr_Occurred()) SWIG_fail
;
21008 Py_INCREF(Py_None
); resultobj
= Py_None
;
21015 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21016 PyObject
*resultobj
;
21018 char *kwnames
[] = {
21022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
21024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21025 result
= (bool)wxYield();
21027 wxPyEndAllowThreads(__tstate
);
21028 if (PyErr_Occurred()) SWIG_fail
;
21031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21039 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21040 PyObject
*resultobj
;
21042 char *kwnames
[] = {
21046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
21048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21049 result
= (bool)wxYieldIfNeeded();
21051 wxPyEndAllowThreads(__tstate
);
21052 if (PyErr_Occurred()) SWIG_fail
;
21055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21063 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21064 PyObject
*resultobj
;
21065 wxWindow
*arg1
= (wxWindow
*) NULL
;
21066 bool arg2
= (bool) False
;
21068 PyObject
* obj0
= 0 ;
21069 PyObject
* obj1
= 0 ;
21070 char *kwnames
[] = {
21071 (char *) "win",(char *) "onlyIfNeeded", NULL
21074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
21076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21080 arg2
= (bool)SWIG_As_bool(obj1
);
21081 if (PyErr_Occurred()) SWIG_fail
;
21084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21085 result
= (bool)wxSafeYield(arg1
,arg2
);
21087 wxPyEndAllowThreads(__tstate
);
21088 if (PyErr_Occurred()) SWIG_fail
;
21091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21099 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21100 PyObject
*resultobj
;
21101 char *kwnames
[] = {
21105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
21107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21110 wxPyEndAllowThreads(__tstate
);
21111 if (PyErr_Occurred()) SWIG_fail
;
21113 Py_INCREF(Py_None
); resultobj
= Py_None
;
21120 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21121 PyObject
*resultobj
;
21122 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
21123 wxEvent
*arg2
= 0 ;
21124 PyObject
* obj0
= 0 ;
21125 PyObject
* obj1
= 0 ;
21126 char *kwnames
[] = {
21127 (char *) "dest",(char *) "event", NULL
21130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
21132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21133 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
21134 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21136 if (arg2
== NULL
) {
21137 PyErr_SetString(PyExc_TypeError
,"null reference");
21141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21142 wxPostEvent(arg1
,*arg2
);
21144 wxPyEndAllowThreads(__tstate
);
21145 if (PyErr_Occurred()) SWIG_fail
;
21147 Py_INCREF(Py_None
); resultobj
= Py_None
;
21154 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21155 PyObject
*resultobj
;
21156 char *kwnames
[] = {
21160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
21162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21165 wxPyEndAllowThreads(__tstate
);
21166 if (PyErr_Occurred()) SWIG_fail
;
21168 Py_INCREF(Py_None
); resultobj
= Py_None
;
21175 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21176 PyObject
*resultobj
;
21178 char *kwnames
[] = {
21182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
21184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21185 result
= (wxPyApp
*)wxPyGetApp();
21187 wxPyEndAllowThreads(__tstate
);
21188 if (PyErr_Occurred()) SWIG_fail
;
21191 resultobj
= wxPyMake_wxObject(result
, 0);
21199 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21200 PyObject
*resultobj
;
21201 int arg1
= (int) 0 ;
21202 int arg2
= (int) 0 ;
21203 int arg3
= (int) 0 ;
21204 wxAcceleratorEntry
*result
;
21205 PyObject
* obj0
= 0 ;
21206 PyObject
* obj1
= 0 ;
21207 PyObject
* obj2
= 0 ;
21208 char *kwnames
[] = {
21209 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
21212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21214 arg1
= (int)SWIG_As_int(obj0
);
21215 if (PyErr_Occurred()) SWIG_fail
;
21218 arg2
= (int)SWIG_As_int(obj1
);
21219 if (PyErr_Occurred()) SWIG_fail
;
21222 arg3
= (int)SWIG_As_int(obj2
);
21223 if (PyErr_Occurred()) SWIG_fail
;
21226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21227 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
21229 wxPyEndAllowThreads(__tstate
);
21230 if (PyErr_Occurred()) SWIG_fail
;
21232 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
21239 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21240 PyObject
*resultobj
;
21241 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21242 PyObject
* obj0
= 0 ;
21243 char *kwnames
[] = {
21244 (char *) "self", NULL
21247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
21248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21254 wxPyEndAllowThreads(__tstate
);
21255 if (PyErr_Occurred()) SWIG_fail
;
21257 Py_INCREF(Py_None
); resultobj
= Py_None
;
21264 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21265 PyObject
*resultobj
;
21266 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21270 PyObject
* obj0
= 0 ;
21271 PyObject
* obj1
= 0 ;
21272 PyObject
* obj2
= 0 ;
21273 PyObject
* obj3
= 0 ;
21274 char *kwnames
[] = {
21275 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
21278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21281 arg2
= (int)SWIG_As_int(obj1
);
21282 if (PyErr_Occurred()) SWIG_fail
;
21283 arg3
= (int)SWIG_As_int(obj2
);
21284 if (PyErr_Occurred()) SWIG_fail
;
21285 arg4
= (int)SWIG_As_int(obj3
);
21286 if (PyErr_Occurred()) SWIG_fail
;
21288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21289 (arg1
)->Set(arg2
,arg3
,arg4
);
21291 wxPyEndAllowThreads(__tstate
);
21292 if (PyErr_Occurred()) SWIG_fail
;
21294 Py_INCREF(Py_None
); resultobj
= Py_None
;
21301 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21302 PyObject
*resultobj
;
21303 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21305 PyObject
* obj0
= 0 ;
21306 char *kwnames
[] = {
21307 (char *) "self", NULL
21310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
21311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21315 result
= (int)(arg1
)->GetFlags();
21317 wxPyEndAllowThreads(__tstate
);
21318 if (PyErr_Occurred()) SWIG_fail
;
21320 resultobj
= SWIG_From_int((int)result
);
21327 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21328 PyObject
*resultobj
;
21329 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21331 PyObject
* obj0
= 0 ;
21332 char *kwnames
[] = {
21333 (char *) "self", NULL
21336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
21337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21341 result
= (int)(arg1
)->GetKeyCode();
21343 wxPyEndAllowThreads(__tstate
);
21344 if (PyErr_Occurred()) SWIG_fail
;
21346 resultobj
= SWIG_From_int((int)result
);
21353 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21354 PyObject
*resultobj
;
21355 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21357 PyObject
* obj0
= 0 ;
21358 char *kwnames
[] = {
21359 (char *) "self", NULL
21362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
21363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21367 result
= (int)(arg1
)->GetCommand();
21369 wxPyEndAllowThreads(__tstate
);
21370 if (PyErr_Occurred()) SWIG_fail
;
21372 resultobj
= SWIG_From_int((int)result
);
21379 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
21381 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21382 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
21384 return Py_BuildValue((char *)"");
21386 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21387 PyObject
*resultobj
;
21389 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
21390 wxAcceleratorTable
*result
;
21391 PyObject
* obj0
= 0 ;
21392 char *kwnames
[] = {
21396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21398 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
21399 if (arg2
) arg1
= PyList_Size(obj0
);
21403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21404 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
21406 wxPyEndAllowThreads(__tstate
);
21407 if (PyErr_Occurred()) SWIG_fail
;
21409 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
21422 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21423 PyObject
*resultobj
;
21424 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21425 PyObject
* obj0
= 0 ;
21426 char *kwnames
[] = {
21427 (char *) "self", NULL
21430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21437 wxPyEndAllowThreads(__tstate
);
21438 if (PyErr_Occurred()) SWIG_fail
;
21440 Py_INCREF(Py_None
); resultobj
= Py_None
;
21447 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21448 PyObject
*resultobj
;
21449 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21451 PyObject
* obj0
= 0 ;
21452 char *kwnames
[] = {
21453 (char *) "self", NULL
21456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
21457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21461 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
21463 wxPyEndAllowThreads(__tstate
);
21464 if (PyErr_Occurred()) SWIG_fail
;
21467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21475 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
21477 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21478 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
21480 return Py_BuildValue((char *)"");
21482 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
21483 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
21488 static PyObject
*_wrap_NullAcceleratorTable_get() {
21491 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
21496 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21497 PyObject
*resultobj
;
21498 wxString
*arg1
= 0 ;
21499 wxAcceleratorEntry
*result
;
21500 bool temp1
= False
;
21501 PyObject
* obj0
= 0 ;
21502 char *kwnames
[] = {
21503 (char *) "label", NULL
21506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
21508 arg1
= wxString_in_helper(obj0
);
21509 if (arg1
== NULL
) SWIG_fail
;
21513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21514 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
21516 wxPyEndAllowThreads(__tstate
);
21517 if (PyErr_Occurred()) SWIG_fail
;
21519 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
21534 static int _wrap_PanelNameStr_set(PyObject
*) {
21535 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
21540 static PyObject
*_wrap_PanelNameStr_get() {
21545 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21547 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21554 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21555 PyObject
*resultobj
;
21556 wxVisualAttributes
*result
;
21557 char *kwnames
[] = {
21561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
21563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21564 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
21566 wxPyEndAllowThreads(__tstate
);
21567 if (PyErr_Occurred()) SWIG_fail
;
21569 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
21576 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21577 PyObject
*resultobj
;
21578 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21579 PyObject
* obj0
= 0 ;
21580 char *kwnames
[] = {
21581 (char *) "self", NULL
21584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
21585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21589 delete_wxVisualAttributes(arg1
);
21591 wxPyEndAllowThreads(__tstate
);
21592 if (PyErr_Occurred()) SWIG_fail
;
21594 Py_INCREF(Py_None
); resultobj
= Py_None
;
21601 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21602 PyObject
*resultobj
;
21603 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21604 wxFont
*arg2
= (wxFont
*) 0 ;
21605 PyObject
* obj0
= 0 ;
21606 PyObject
* obj1
= 0 ;
21607 char *kwnames
[] = {
21608 (char *) "self",(char *) "font", NULL
21611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21614 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
21615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21616 if (arg1
) (arg1
)->font
= *arg2
;
21618 Py_INCREF(Py_None
); resultobj
= Py_None
;
21625 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21626 PyObject
*resultobj
;
21627 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21629 PyObject
* obj0
= 0 ;
21630 char *kwnames
[] = {
21631 (char *) "self", NULL
21634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
21635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21637 result
= (wxFont
*)& ((arg1
)->font
);
21639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
21646 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21647 PyObject
*resultobj
;
21648 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21649 wxColour
*arg2
= (wxColour
*) 0 ;
21650 PyObject
* obj0
= 0 ;
21651 PyObject
* obj1
= 0 ;
21652 char *kwnames
[] = {
21653 (char *) "self",(char *) "colFg", NULL
21656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21659 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21661 if (arg1
) (arg1
)->colFg
= *arg2
;
21663 Py_INCREF(Py_None
); resultobj
= Py_None
;
21670 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21671 PyObject
*resultobj
;
21672 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21674 PyObject
* obj0
= 0 ;
21675 char *kwnames
[] = {
21676 (char *) "self", NULL
21679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
21680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21682 result
= (wxColour
*)& ((arg1
)->colFg
);
21684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21691 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21692 PyObject
*resultobj
;
21693 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21694 wxColour
*arg2
= (wxColour
*) 0 ;
21695 PyObject
* obj0
= 0 ;
21696 PyObject
* obj1
= 0 ;
21697 char *kwnames
[] = {
21698 (char *) "self",(char *) "colBg", NULL
21701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21704 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21706 if (arg1
) (arg1
)->colBg
= *arg2
;
21708 Py_INCREF(Py_None
); resultobj
= Py_None
;
21715 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21716 PyObject
*resultobj
;
21717 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21719 PyObject
* obj0
= 0 ;
21720 char *kwnames
[] = {
21721 (char *) "self", NULL
21724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
21725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21727 result
= (wxColour
*)& ((arg1
)->colBg
);
21729 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21736 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
21738 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21739 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
21741 return Py_BuildValue((char *)"");
21743 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21744 PyObject
*resultobj
;
21745 wxWindow
*arg1
= (wxWindow
*) 0 ;
21746 int arg2
= (int) (int)-1 ;
21747 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21748 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21749 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21750 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21751 long arg5
= (long) 0 ;
21752 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21753 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21757 bool temp6
= False
;
21758 PyObject
* obj0
= 0 ;
21759 PyObject
* obj1
= 0 ;
21760 PyObject
* obj2
= 0 ;
21761 PyObject
* obj3
= 0 ;
21762 PyObject
* obj4
= 0 ;
21763 PyObject
* obj5
= 0 ;
21764 char *kwnames
[] = {
21765 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21772 arg2
= (int)SWIG_As_int(obj1
);
21773 if (PyErr_Occurred()) SWIG_fail
;
21778 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21784 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21788 arg5
= (long)SWIG_As_long(obj4
);
21789 if (PyErr_Occurred()) SWIG_fail
;
21793 arg6
= wxString_in_helper(obj5
);
21794 if (arg6
== NULL
) SWIG_fail
;
21799 if (!wxPyCheckForApp()) SWIG_fail
;
21800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21801 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21803 wxPyEndAllowThreads(__tstate
);
21804 if (PyErr_Occurred()) SWIG_fail
;
21806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
21821 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21822 PyObject
*resultobj
;
21824 char *kwnames
[] = {
21828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
21830 if (!wxPyCheckForApp()) SWIG_fail
;
21831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21832 result
= (wxWindow
*)new wxWindow();
21834 wxPyEndAllowThreads(__tstate
);
21835 if (PyErr_Occurred()) SWIG_fail
;
21837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
21844 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21845 PyObject
*resultobj
;
21846 wxWindow
*arg1
= (wxWindow
*) 0 ;
21847 wxWindow
*arg2
= (wxWindow
*) 0 ;
21848 int arg3
= (int) (int)-1 ;
21849 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21850 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21851 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21852 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21853 long arg6
= (long) 0 ;
21854 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
21855 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21859 bool temp7
= False
;
21860 PyObject
* obj0
= 0 ;
21861 PyObject
* obj1
= 0 ;
21862 PyObject
* obj2
= 0 ;
21863 PyObject
* obj3
= 0 ;
21864 PyObject
* obj4
= 0 ;
21865 PyObject
* obj5
= 0 ;
21866 PyObject
* obj6
= 0 ;
21867 char *kwnames
[] = {
21868 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21874 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21877 arg3
= (int)SWIG_As_int(obj2
);
21878 if (PyErr_Occurred()) SWIG_fail
;
21883 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21889 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21893 arg6
= (long)SWIG_As_long(obj5
);
21894 if (PyErr_Occurred()) SWIG_fail
;
21898 arg7
= wxString_in_helper(obj6
);
21899 if (arg7
== NULL
) SWIG_fail
;
21904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21905 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21907 wxPyEndAllowThreads(__tstate
);
21908 if (PyErr_Occurred()) SWIG_fail
;
21911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21927 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21928 PyObject
*resultobj
;
21929 wxWindow
*arg1
= (wxWindow
*) 0 ;
21930 bool arg2
= (bool) False
;
21932 PyObject
* obj0
= 0 ;
21933 PyObject
* obj1
= 0 ;
21934 char *kwnames
[] = {
21935 (char *) "self",(char *) "force", NULL
21938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
21939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21942 arg2
= (bool)SWIG_As_bool(obj1
);
21943 if (PyErr_Occurred()) SWIG_fail
;
21946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21947 result
= (bool)(arg1
)->Close(arg2
);
21949 wxPyEndAllowThreads(__tstate
);
21950 if (PyErr_Occurred()) SWIG_fail
;
21953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21961 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21962 PyObject
*resultobj
;
21963 wxWindow
*arg1
= (wxWindow
*) 0 ;
21965 PyObject
* obj0
= 0 ;
21966 char *kwnames
[] = {
21967 (char *) "self", NULL
21970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
21971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21975 result
= (bool)(arg1
)->Destroy();
21977 wxPyEndAllowThreads(__tstate
);
21978 if (PyErr_Occurred()) SWIG_fail
;
21981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21989 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21990 PyObject
*resultobj
;
21991 wxWindow
*arg1
= (wxWindow
*) 0 ;
21993 PyObject
* obj0
= 0 ;
21994 char *kwnames
[] = {
21995 (char *) "self", NULL
21998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
21999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22003 result
= (bool)(arg1
)->DestroyChildren();
22005 wxPyEndAllowThreads(__tstate
);
22006 if (PyErr_Occurred()) SWIG_fail
;
22009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22017 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22018 PyObject
*resultobj
;
22019 wxWindow
*arg1
= (wxWindow
*) 0 ;
22021 PyObject
* obj0
= 0 ;
22022 char *kwnames
[] = {
22023 (char *) "self", NULL
22026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
22027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22031 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
22033 wxPyEndAllowThreads(__tstate
);
22034 if (PyErr_Occurred()) SWIG_fail
;
22037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22045 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22046 PyObject
*resultobj
;
22047 wxWindow
*arg1
= (wxWindow
*) 0 ;
22048 wxString
*arg2
= 0 ;
22049 bool temp2
= False
;
22050 PyObject
* obj0
= 0 ;
22051 PyObject
* obj1
= 0 ;
22052 char *kwnames
[] = {
22053 (char *) "self",(char *) "title", NULL
22056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
22057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22060 arg2
= wxString_in_helper(obj1
);
22061 if (arg2
== NULL
) SWIG_fail
;
22065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22066 (arg1
)->SetTitle((wxString
const &)*arg2
);
22068 wxPyEndAllowThreads(__tstate
);
22069 if (PyErr_Occurred()) SWIG_fail
;
22071 Py_INCREF(Py_None
); resultobj
= Py_None
;
22086 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22087 PyObject
*resultobj
;
22088 wxWindow
*arg1
= (wxWindow
*) 0 ;
22090 PyObject
* obj0
= 0 ;
22091 char *kwnames
[] = {
22092 (char *) "self", NULL
22095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
22096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22100 result
= ((wxWindow
const *)arg1
)->GetTitle();
22102 wxPyEndAllowThreads(__tstate
);
22103 if (PyErr_Occurred()) SWIG_fail
;
22107 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22109 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22118 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22119 PyObject
*resultobj
;
22120 wxWindow
*arg1
= (wxWindow
*) 0 ;
22121 wxString
*arg2
= 0 ;
22122 bool temp2
= False
;
22123 PyObject
* obj0
= 0 ;
22124 PyObject
* obj1
= 0 ;
22125 char *kwnames
[] = {
22126 (char *) "self",(char *) "label", NULL
22129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22133 arg2
= wxString_in_helper(obj1
);
22134 if (arg2
== NULL
) SWIG_fail
;
22138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22139 (arg1
)->SetLabel((wxString
const &)*arg2
);
22141 wxPyEndAllowThreads(__tstate
);
22142 if (PyErr_Occurred()) SWIG_fail
;
22144 Py_INCREF(Py_None
); resultobj
= Py_None
;
22159 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22160 PyObject
*resultobj
;
22161 wxWindow
*arg1
= (wxWindow
*) 0 ;
22163 PyObject
* obj0
= 0 ;
22164 char *kwnames
[] = {
22165 (char *) "self", NULL
22168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
22169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22173 result
= ((wxWindow
const *)arg1
)->GetLabel();
22175 wxPyEndAllowThreads(__tstate
);
22176 if (PyErr_Occurred()) SWIG_fail
;
22180 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22182 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22191 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22192 PyObject
*resultobj
;
22193 wxWindow
*arg1
= (wxWindow
*) 0 ;
22194 wxString
*arg2
= 0 ;
22195 bool temp2
= False
;
22196 PyObject
* obj0
= 0 ;
22197 PyObject
* obj1
= 0 ;
22198 char *kwnames
[] = {
22199 (char *) "self",(char *) "name", NULL
22202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
22203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22206 arg2
= wxString_in_helper(obj1
);
22207 if (arg2
== NULL
) SWIG_fail
;
22211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22212 (arg1
)->SetName((wxString
const &)*arg2
);
22214 wxPyEndAllowThreads(__tstate
);
22215 if (PyErr_Occurred()) SWIG_fail
;
22217 Py_INCREF(Py_None
); resultobj
= Py_None
;
22232 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22233 PyObject
*resultobj
;
22234 wxWindow
*arg1
= (wxWindow
*) 0 ;
22236 PyObject
* obj0
= 0 ;
22237 char *kwnames
[] = {
22238 (char *) "self", NULL
22241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
22242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22246 result
= ((wxWindow
const *)arg1
)->GetName();
22248 wxPyEndAllowThreads(__tstate
);
22249 if (PyErr_Occurred()) SWIG_fail
;
22253 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22255 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22264 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22265 PyObject
*resultobj
;
22266 wxWindow
*arg1
= (wxWindow
*) 0 ;
22268 PyObject
* obj0
= 0 ;
22269 PyObject
* obj1
= 0 ;
22270 char *kwnames
[] = {
22271 (char *) "self",(char *) "variant", NULL
22274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
22275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22277 arg2
= (int)SWIG_As_int(obj1
);
22278 if (PyErr_Occurred()) SWIG_fail
;
22280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22281 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
22283 wxPyEndAllowThreads(__tstate
);
22284 if (PyErr_Occurred()) SWIG_fail
;
22286 Py_INCREF(Py_None
); resultobj
= Py_None
;
22293 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22294 PyObject
*resultobj
;
22295 wxWindow
*arg1
= (wxWindow
*) 0 ;
22297 PyObject
* obj0
= 0 ;
22298 char *kwnames
[] = {
22299 (char *) "self", NULL
22302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
22303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22307 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
22309 wxPyEndAllowThreads(__tstate
);
22310 if (PyErr_Occurred()) SWIG_fail
;
22312 resultobj
= SWIG_From_int((int)result
);
22319 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22320 PyObject
*resultobj
;
22321 wxWindow
*arg1
= (wxWindow
*) 0 ;
22323 PyObject
* obj0
= 0 ;
22324 PyObject
* obj1
= 0 ;
22325 char *kwnames
[] = {
22326 (char *) "self",(char *) "winid", NULL
22329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
22330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22332 arg2
= (int)SWIG_As_int(obj1
);
22333 if (PyErr_Occurred()) SWIG_fail
;
22335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22336 (arg1
)->SetId(arg2
);
22338 wxPyEndAllowThreads(__tstate
);
22339 if (PyErr_Occurred()) SWIG_fail
;
22341 Py_INCREF(Py_None
); resultobj
= Py_None
;
22348 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22349 PyObject
*resultobj
;
22350 wxWindow
*arg1
= (wxWindow
*) 0 ;
22352 PyObject
* obj0
= 0 ;
22353 char *kwnames
[] = {
22354 (char *) "self", NULL
22357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
22358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22362 result
= (int)((wxWindow
const *)arg1
)->GetId();
22364 wxPyEndAllowThreads(__tstate
);
22365 if (PyErr_Occurred()) SWIG_fail
;
22367 resultobj
= SWIG_From_int((int)result
);
22374 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22375 PyObject
*resultobj
;
22377 char *kwnames
[] = {
22381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
22383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22384 result
= (int)wxWindow::NewControlId();
22386 wxPyEndAllowThreads(__tstate
);
22387 if (PyErr_Occurred()) SWIG_fail
;
22389 resultobj
= SWIG_From_int((int)result
);
22396 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22397 PyObject
*resultobj
;
22400 PyObject
* obj0
= 0 ;
22401 char *kwnames
[] = {
22402 (char *) "winid", NULL
22405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
22406 arg1
= (int)SWIG_As_int(obj0
);
22407 if (PyErr_Occurred()) SWIG_fail
;
22409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22410 result
= (int)wxWindow::NextControlId(arg1
);
22412 wxPyEndAllowThreads(__tstate
);
22413 if (PyErr_Occurred()) SWIG_fail
;
22415 resultobj
= SWIG_From_int((int)result
);
22422 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22423 PyObject
*resultobj
;
22426 PyObject
* obj0
= 0 ;
22427 char *kwnames
[] = {
22428 (char *) "winid", NULL
22431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
22432 arg1
= (int)SWIG_As_int(obj0
);
22433 if (PyErr_Occurred()) SWIG_fail
;
22435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22436 result
= (int)wxWindow::PrevControlId(arg1
);
22438 wxPyEndAllowThreads(__tstate
);
22439 if (PyErr_Occurred()) SWIG_fail
;
22441 resultobj
= SWIG_From_int((int)result
);
22448 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22449 PyObject
*resultobj
;
22450 wxWindow
*arg1
= (wxWindow
*) 0 ;
22453 PyObject
* obj0
= 0 ;
22454 PyObject
* obj1
= 0 ;
22455 char *kwnames
[] = {
22456 (char *) "self",(char *) "size", NULL
22459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22464 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22468 (arg1
)->SetSize((wxSize
const &)*arg2
);
22470 wxPyEndAllowThreads(__tstate
);
22471 if (PyErr_Occurred()) SWIG_fail
;
22473 Py_INCREF(Py_None
); resultobj
= Py_None
;
22480 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22481 PyObject
*resultobj
;
22482 wxWindow
*arg1
= (wxWindow
*) 0 ;
22487 int arg6
= (int) wxSIZE_AUTO
;
22488 PyObject
* obj0
= 0 ;
22489 PyObject
* obj1
= 0 ;
22490 PyObject
* obj2
= 0 ;
22491 PyObject
* obj3
= 0 ;
22492 PyObject
* obj4
= 0 ;
22493 PyObject
* obj5
= 0 ;
22494 char *kwnames
[] = {
22495 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22501 arg2
= (int)SWIG_As_int(obj1
);
22502 if (PyErr_Occurred()) SWIG_fail
;
22503 arg3
= (int)SWIG_As_int(obj2
);
22504 if (PyErr_Occurred()) SWIG_fail
;
22505 arg4
= (int)SWIG_As_int(obj3
);
22506 if (PyErr_Occurred()) SWIG_fail
;
22507 arg5
= (int)SWIG_As_int(obj4
);
22508 if (PyErr_Occurred()) SWIG_fail
;
22510 arg6
= (int)SWIG_As_int(obj5
);
22511 if (PyErr_Occurred()) SWIG_fail
;
22514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22515 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22517 wxPyEndAllowThreads(__tstate
);
22518 if (PyErr_Occurred()) SWIG_fail
;
22520 Py_INCREF(Py_None
); resultobj
= Py_None
;
22527 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22528 PyObject
*resultobj
;
22529 wxWindow
*arg1
= (wxWindow
*) 0 ;
22531 int arg3
= (int) wxSIZE_AUTO
;
22533 PyObject
* obj0
= 0 ;
22534 PyObject
* obj1
= 0 ;
22535 PyObject
* obj2
= 0 ;
22536 char *kwnames
[] = {
22537 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22545 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22548 arg3
= (int)SWIG_As_int(obj2
);
22549 if (PyErr_Occurred()) SWIG_fail
;
22552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22553 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
22555 wxPyEndAllowThreads(__tstate
);
22556 if (PyErr_Occurred()) SWIG_fail
;
22558 Py_INCREF(Py_None
); resultobj
= Py_None
;
22565 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22566 PyObject
*resultobj
;
22567 wxWindow
*arg1
= (wxWindow
*) 0 ;
22570 PyObject
* obj0
= 0 ;
22571 PyObject
* obj1
= 0 ;
22572 PyObject
* obj2
= 0 ;
22573 char *kwnames
[] = {
22574 (char *) "self",(char *) "width",(char *) "height", NULL
22577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22580 arg2
= (int)SWIG_As_int(obj1
);
22581 if (PyErr_Occurred()) SWIG_fail
;
22582 arg3
= (int)SWIG_As_int(obj2
);
22583 if (PyErr_Occurred()) SWIG_fail
;
22585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22586 (arg1
)->SetSize(arg2
,arg3
);
22588 wxPyEndAllowThreads(__tstate
);
22589 if (PyErr_Occurred()) SWIG_fail
;
22591 Py_INCREF(Py_None
); resultobj
= Py_None
;
22598 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22599 PyObject
*resultobj
;
22600 wxWindow
*arg1
= (wxWindow
*) 0 ;
22601 wxPoint
*arg2
= 0 ;
22602 int arg3
= (int) wxSIZE_USE_EXISTING
;
22604 PyObject
* obj0
= 0 ;
22605 PyObject
* obj1
= 0 ;
22606 PyObject
* obj2
= 0 ;
22607 char *kwnames
[] = {
22608 (char *) "self",(char *) "pt",(char *) "flags", NULL
22611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22616 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22619 arg3
= (int)SWIG_As_int(obj2
);
22620 if (PyErr_Occurred()) SWIG_fail
;
22623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22624 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
22626 wxPyEndAllowThreads(__tstate
);
22627 if (PyErr_Occurred()) SWIG_fail
;
22629 Py_INCREF(Py_None
); resultobj
= Py_None
;
22636 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22637 PyObject
*resultobj
;
22638 wxWindow
*arg1
= (wxWindow
*) 0 ;
22641 int arg4
= (int) wxSIZE_USE_EXISTING
;
22642 PyObject
* obj0
= 0 ;
22643 PyObject
* obj1
= 0 ;
22644 PyObject
* obj2
= 0 ;
22645 PyObject
* obj3
= 0 ;
22646 char *kwnames
[] = {
22647 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22653 arg2
= (int)SWIG_As_int(obj1
);
22654 if (PyErr_Occurred()) SWIG_fail
;
22655 arg3
= (int)SWIG_As_int(obj2
);
22656 if (PyErr_Occurred()) SWIG_fail
;
22658 arg4
= (int)SWIG_As_int(obj3
);
22659 if (PyErr_Occurred()) SWIG_fail
;
22662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22663 (arg1
)->Move(arg2
,arg3
,arg4
);
22665 wxPyEndAllowThreads(__tstate
);
22666 if (PyErr_Occurred()) SWIG_fail
;
22668 Py_INCREF(Py_None
); resultobj
= Py_None
;
22675 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22676 PyObject
*resultobj
;
22677 wxWindow
*arg1
= (wxWindow
*) 0 ;
22678 wxSize
const &arg2_defvalue
= wxDefaultSize
;
22679 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
22681 PyObject
* obj0
= 0 ;
22682 PyObject
* obj1
= 0 ;
22683 char *kwnames
[] = {
22684 (char *) "self",(char *) "size", NULL
22687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22693 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22698 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
22700 wxPyEndAllowThreads(__tstate
);
22701 if (PyErr_Occurred()) SWIG_fail
;
22703 Py_INCREF(Py_None
); resultobj
= Py_None
;
22710 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22711 PyObject
*resultobj
;
22712 wxWindow
*arg1
= (wxWindow
*) 0 ;
22713 PyObject
* obj0
= 0 ;
22714 char *kwnames
[] = {
22715 (char *) "self", NULL
22718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
22719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22725 wxPyEndAllowThreads(__tstate
);
22726 if (PyErr_Occurred()) SWIG_fail
;
22728 Py_INCREF(Py_None
); resultobj
= Py_None
;
22735 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22736 PyObject
*resultobj
;
22737 wxWindow
*arg1
= (wxWindow
*) 0 ;
22738 PyObject
* obj0
= 0 ;
22739 char *kwnames
[] = {
22740 (char *) "self", NULL
22743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
22744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22750 wxPyEndAllowThreads(__tstate
);
22751 if (PyErr_Occurred()) SWIG_fail
;
22753 Py_INCREF(Py_None
); resultobj
= Py_None
;
22760 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22761 PyObject
*resultobj
;
22762 wxWindow
*arg1
= (wxWindow
*) 0 ;
22765 PyObject
* obj0
= 0 ;
22766 PyObject
* obj1
= 0 ;
22767 char *kwnames
[] = {
22768 (char *) "self",(char *) "size", NULL
22771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22776 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22780 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
22782 wxPyEndAllowThreads(__tstate
);
22783 if (PyErr_Occurred()) SWIG_fail
;
22785 Py_INCREF(Py_None
); resultobj
= Py_None
;
22792 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22793 PyObject
*resultobj
;
22794 wxWindow
*arg1
= (wxWindow
*) 0 ;
22797 PyObject
* obj0
= 0 ;
22798 PyObject
* obj1
= 0 ;
22799 PyObject
* obj2
= 0 ;
22800 char *kwnames
[] = {
22801 (char *) "self",(char *) "width",(char *) "height", NULL
22804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22807 arg2
= (int)SWIG_As_int(obj1
);
22808 if (PyErr_Occurred()) SWIG_fail
;
22809 arg3
= (int)SWIG_As_int(obj2
);
22810 if (PyErr_Occurred()) SWIG_fail
;
22812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22813 (arg1
)->SetClientSize(arg2
,arg3
);
22815 wxPyEndAllowThreads(__tstate
);
22816 if (PyErr_Occurred()) SWIG_fail
;
22818 Py_INCREF(Py_None
); resultobj
= Py_None
;
22825 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22826 PyObject
*resultobj
;
22827 wxWindow
*arg1
= (wxWindow
*) 0 ;
22830 PyObject
* obj0
= 0 ;
22831 PyObject
* obj1
= 0 ;
22832 char *kwnames
[] = {
22833 (char *) "self",(char *) "rect", NULL
22836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22841 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22845 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
22847 wxPyEndAllowThreads(__tstate
);
22848 if (PyErr_Occurred()) SWIG_fail
;
22850 Py_INCREF(Py_None
); resultobj
= Py_None
;
22857 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22858 PyObject
*resultobj
;
22859 wxWindow
*arg1
= (wxWindow
*) 0 ;
22861 PyObject
* obj0
= 0 ;
22862 char *kwnames
[] = {
22863 (char *) "self", NULL
22866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
22867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22871 result
= (arg1
)->GetPosition();
22873 wxPyEndAllowThreads(__tstate
);
22874 if (PyErr_Occurred()) SWIG_fail
;
22877 wxPoint
* resultptr
;
22878 resultptr
= new wxPoint((wxPoint
&) result
);
22879 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22887 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22888 PyObject
*resultobj
;
22889 wxWindow
*arg1
= (wxWindow
*) 0 ;
22890 int *arg2
= (int *) 0 ;
22891 int *arg3
= (int *) 0 ;
22896 PyObject
* obj0
= 0 ;
22897 char *kwnames
[] = {
22898 (char *) "self", NULL
22901 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22902 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
22904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22908 (arg1
)->GetPosition(arg2
,arg3
);
22910 wxPyEndAllowThreads(__tstate
);
22911 if (PyErr_Occurred()) SWIG_fail
;
22913 Py_INCREF(Py_None
); resultobj
= Py_None
;
22914 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22915 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22916 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22917 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22924 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22925 PyObject
*resultobj
;
22926 wxWindow
*arg1
= (wxWindow
*) 0 ;
22928 PyObject
* obj0
= 0 ;
22929 char *kwnames
[] = {
22930 (char *) "self", NULL
22933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
22934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22938 result
= ((wxWindow
const *)arg1
)->GetSize();
22940 wxPyEndAllowThreads(__tstate
);
22941 if (PyErr_Occurred()) SWIG_fail
;
22944 wxSize
* resultptr
;
22945 resultptr
= new wxSize((wxSize
&) result
);
22946 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22954 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22955 PyObject
*resultobj
;
22956 wxWindow
*arg1
= (wxWindow
*) 0 ;
22957 int *arg2
= (int *) 0 ;
22958 int *arg3
= (int *) 0 ;
22963 PyObject
* obj0
= 0 ;
22964 char *kwnames
[] = {
22965 (char *) "self", NULL
22968 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22969 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
22971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22975 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
22977 wxPyEndAllowThreads(__tstate
);
22978 if (PyErr_Occurred()) SWIG_fail
;
22980 Py_INCREF(Py_None
); resultobj
= Py_None
;
22981 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22982 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22983 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22984 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22991 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22992 PyObject
*resultobj
;
22993 wxWindow
*arg1
= (wxWindow
*) 0 ;
22995 PyObject
* obj0
= 0 ;
22996 char *kwnames
[] = {
22997 (char *) "self", NULL
23000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
23001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23005 result
= ((wxWindow
const *)arg1
)->GetRect();
23007 wxPyEndAllowThreads(__tstate
);
23008 if (PyErr_Occurred()) SWIG_fail
;
23011 wxRect
* resultptr
;
23012 resultptr
= new wxRect((wxRect
&) result
);
23013 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
23021 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23022 PyObject
*resultobj
;
23023 wxWindow
*arg1
= (wxWindow
*) 0 ;
23025 PyObject
* obj0
= 0 ;
23026 char *kwnames
[] = {
23027 (char *) "self", NULL
23030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
23031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23035 result
= ((wxWindow
const *)arg1
)->GetClientSize();
23037 wxPyEndAllowThreads(__tstate
);
23038 if (PyErr_Occurred()) SWIG_fail
;
23041 wxSize
* resultptr
;
23042 resultptr
= new wxSize((wxSize
&) result
);
23043 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23051 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23052 PyObject
*resultobj
;
23053 wxWindow
*arg1
= (wxWindow
*) 0 ;
23054 int *arg2
= (int *) 0 ;
23055 int *arg3
= (int *) 0 ;
23060 PyObject
* obj0
= 0 ;
23061 char *kwnames
[] = {
23062 (char *) "self", NULL
23065 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23066 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
23068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23072 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
23074 wxPyEndAllowThreads(__tstate
);
23075 if (PyErr_Occurred()) SWIG_fail
;
23077 Py_INCREF(Py_None
); resultobj
= Py_None
;
23078 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23079 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23080 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23081 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23088 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23089 PyObject
*resultobj
;
23090 wxWindow
*arg1
= (wxWindow
*) 0 ;
23092 PyObject
* obj0
= 0 ;
23093 char *kwnames
[] = {
23094 (char *) "self", NULL
23097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
23098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23102 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
23104 wxPyEndAllowThreads(__tstate
);
23105 if (PyErr_Occurred()) SWIG_fail
;
23108 wxPoint
* resultptr
;
23109 resultptr
= new wxPoint((wxPoint
&) result
);
23110 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23118 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23119 PyObject
*resultobj
;
23120 wxWindow
*arg1
= (wxWindow
*) 0 ;
23122 PyObject
* obj0
= 0 ;
23123 char *kwnames
[] = {
23124 (char *) "self", NULL
23127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
23128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23132 result
= ((wxWindow
const *)arg1
)->GetClientRect();
23134 wxPyEndAllowThreads(__tstate
);
23135 if (PyErr_Occurred()) SWIG_fail
;
23138 wxRect
* resultptr
;
23139 resultptr
= new wxRect((wxRect
&) result
);
23140 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
23148 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23149 PyObject
*resultobj
;
23150 wxWindow
*arg1
= (wxWindow
*) 0 ;
23152 PyObject
* obj0
= 0 ;
23153 char *kwnames
[] = {
23154 (char *) "self", NULL
23157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
23158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23162 result
= ((wxWindow
const *)arg1
)->GetBestSize();
23164 wxPyEndAllowThreads(__tstate
);
23165 if (PyErr_Occurred()) SWIG_fail
;
23168 wxSize
* resultptr
;
23169 resultptr
= new wxSize((wxSize
&) result
);
23170 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23178 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23179 PyObject
*resultobj
;
23180 wxWindow
*arg1
= (wxWindow
*) 0 ;
23181 int *arg2
= (int *) 0 ;
23182 int *arg3
= (int *) 0 ;
23187 PyObject
* obj0
= 0 ;
23188 char *kwnames
[] = {
23189 (char *) "self", NULL
23192 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23193 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
23195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23199 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
23201 wxPyEndAllowThreads(__tstate
);
23202 if (PyErr_Occurred()) SWIG_fail
;
23204 Py_INCREF(Py_None
); resultobj
= Py_None
;
23205 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23206 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23207 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23208 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23215 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23216 PyObject
*resultobj
;
23217 wxWindow
*arg1
= (wxWindow
*) 0 ;
23218 PyObject
* obj0
= 0 ;
23219 char *kwnames
[] = {
23220 (char *) "self", NULL
23223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
23224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23228 (arg1
)->InvalidateBestSize();
23230 wxPyEndAllowThreads(__tstate
);
23231 if (PyErr_Occurred()) SWIG_fail
;
23233 Py_INCREF(Py_None
); resultobj
= Py_None
;
23240 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23241 PyObject
*resultobj
;
23242 wxWindow
*arg1
= (wxWindow
*) 0 ;
23244 PyObject
* obj0
= 0 ;
23245 char *kwnames
[] = {
23246 (char *) "self", NULL
23249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
23250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23254 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
23256 wxPyEndAllowThreads(__tstate
);
23257 if (PyErr_Occurred()) SWIG_fail
;
23260 wxSize
* resultptr
;
23261 resultptr
= new wxSize((wxSize
&) result
);
23262 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23270 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23271 PyObject
*resultobj
;
23272 wxWindow
*arg1
= (wxWindow
*) 0 ;
23274 PyObject
* obj0
= 0 ;
23275 char *kwnames
[] = {
23276 (char *) "self", NULL
23279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
23280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23284 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
23286 wxPyEndAllowThreads(__tstate
);
23287 if (PyErr_Occurred()) SWIG_fail
;
23290 wxSize
* resultptr
;
23291 resultptr
= new wxSize((wxSize
&) result
);
23292 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23300 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23301 PyObject
*resultobj
;
23302 wxWindow
*arg1
= (wxWindow
*) 0 ;
23303 int arg2
= (int) wxBOTH
;
23304 PyObject
* obj0
= 0 ;
23305 PyObject
* obj1
= 0 ;
23306 char *kwnames
[] = {
23307 (char *) "self",(char *) "direction", NULL
23310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
23311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23314 arg2
= (int)SWIG_As_int(obj1
);
23315 if (PyErr_Occurred()) SWIG_fail
;
23318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23319 (arg1
)->Center(arg2
);
23321 wxPyEndAllowThreads(__tstate
);
23322 if (PyErr_Occurred()) SWIG_fail
;
23324 Py_INCREF(Py_None
); resultobj
= Py_None
;
23331 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23332 PyObject
*resultobj
;
23333 wxWindow
*arg1
= (wxWindow
*) 0 ;
23334 int arg2
= (int) wxBOTH
;
23335 PyObject
* obj0
= 0 ;
23336 PyObject
* obj1
= 0 ;
23337 char *kwnames
[] = {
23338 (char *) "self",(char *) "dir", NULL
23341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
23342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23345 arg2
= (int)SWIG_As_int(obj1
);
23346 if (PyErr_Occurred()) SWIG_fail
;
23349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23350 (arg1
)->CenterOnScreen(arg2
);
23352 wxPyEndAllowThreads(__tstate
);
23353 if (PyErr_Occurred()) SWIG_fail
;
23355 Py_INCREF(Py_None
); resultobj
= Py_None
;
23362 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23363 PyObject
*resultobj
;
23364 wxWindow
*arg1
= (wxWindow
*) 0 ;
23365 int arg2
= (int) wxBOTH
;
23366 PyObject
* obj0
= 0 ;
23367 PyObject
* obj1
= 0 ;
23368 char *kwnames
[] = {
23369 (char *) "self",(char *) "dir", NULL
23372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
23373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23376 arg2
= (int)SWIG_As_int(obj1
);
23377 if (PyErr_Occurred()) SWIG_fail
;
23380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23381 (arg1
)->CenterOnParent(arg2
);
23383 wxPyEndAllowThreads(__tstate
);
23384 if (PyErr_Occurred()) SWIG_fail
;
23386 Py_INCREF(Py_None
); resultobj
= Py_None
;
23393 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23394 PyObject
*resultobj
;
23395 wxWindow
*arg1
= (wxWindow
*) 0 ;
23396 PyObject
* obj0
= 0 ;
23397 char *kwnames
[] = {
23398 (char *) "self", NULL
23401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
23402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23408 wxPyEndAllowThreads(__tstate
);
23409 if (PyErr_Occurred()) SWIG_fail
;
23411 Py_INCREF(Py_None
); resultobj
= Py_None
;
23418 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23419 PyObject
*resultobj
;
23420 wxWindow
*arg1
= (wxWindow
*) 0 ;
23421 PyObject
* obj0
= 0 ;
23422 char *kwnames
[] = {
23423 (char *) "self", NULL
23426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
23427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23431 (arg1
)->FitInside();
23433 wxPyEndAllowThreads(__tstate
);
23434 if (PyErr_Occurred()) SWIG_fail
;
23436 Py_INCREF(Py_None
); resultobj
= Py_None
;
23443 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23444 PyObject
*resultobj
;
23445 wxWindow
*arg1
= (wxWindow
*) 0 ;
23448 int arg4
= (int) -1 ;
23449 int arg5
= (int) -1 ;
23450 int arg6
= (int) -1 ;
23451 int arg7
= (int) -1 ;
23452 PyObject
* obj0
= 0 ;
23453 PyObject
* obj1
= 0 ;
23454 PyObject
* obj2
= 0 ;
23455 PyObject
* obj3
= 0 ;
23456 PyObject
* obj4
= 0 ;
23457 PyObject
* obj5
= 0 ;
23458 PyObject
* obj6
= 0 ;
23459 char *kwnames
[] = {
23460 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
23463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23466 arg2
= (int)SWIG_As_int(obj1
);
23467 if (PyErr_Occurred()) SWIG_fail
;
23468 arg3
= (int)SWIG_As_int(obj2
);
23469 if (PyErr_Occurred()) SWIG_fail
;
23471 arg4
= (int)SWIG_As_int(obj3
);
23472 if (PyErr_Occurred()) SWIG_fail
;
23475 arg5
= (int)SWIG_As_int(obj4
);
23476 if (PyErr_Occurred()) SWIG_fail
;
23479 arg6
= (int)SWIG_As_int(obj5
);
23480 if (PyErr_Occurred()) SWIG_fail
;
23483 arg7
= (int)SWIG_As_int(obj6
);
23484 if (PyErr_Occurred()) SWIG_fail
;
23487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23488 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23490 wxPyEndAllowThreads(__tstate
);
23491 if (PyErr_Occurred()) SWIG_fail
;
23493 Py_INCREF(Py_None
); resultobj
= Py_None
;
23500 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23501 PyObject
*resultobj
;
23502 wxWindow
*arg1
= (wxWindow
*) 0 ;
23504 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23505 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23506 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23507 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23511 PyObject
* obj0
= 0 ;
23512 PyObject
* obj1
= 0 ;
23513 PyObject
* obj2
= 0 ;
23514 PyObject
* obj3
= 0 ;
23515 char *kwnames
[] = {
23516 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
23519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23524 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23529 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23535 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23540 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
23542 wxPyEndAllowThreads(__tstate
);
23543 if (PyErr_Occurred()) SWIG_fail
;
23545 Py_INCREF(Py_None
); resultobj
= Py_None
;
23552 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23553 PyObject
*resultobj
;
23554 wxWindow
*arg1
= (wxWindow
*) 0 ;
23557 int arg4
= (int) -1 ;
23558 int arg5
= (int) -1 ;
23559 PyObject
* obj0
= 0 ;
23560 PyObject
* obj1
= 0 ;
23561 PyObject
* obj2
= 0 ;
23562 PyObject
* obj3
= 0 ;
23563 PyObject
* obj4
= 0 ;
23564 char *kwnames
[] = {
23565 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
23568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23571 arg2
= (int)SWIG_As_int(obj1
);
23572 if (PyErr_Occurred()) SWIG_fail
;
23573 arg3
= (int)SWIG_As_int(obj2
);
23574 if (PyErr_Occurred()) SWIG_fail
;
23576 arg4
= (int)SWIG_As_int(obj3
);
23577 if (PyErr_Occurred()) SWIG_fail
;
23580 arg5
= (int)SWIG_As_int(obj4
);
23581 if (PyErr_Occurred()) SWIG_fail
;
23584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23585 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
23587 wxPyEndAllowThreads(__tstate
);
23588 if (PyErr_Occurred()) SWIG_fail
;
23590 Py_INCREF(Py_None
); resultobj
= Py_None
;
23597 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23598 PyObject
*resultobj
;
23599 wxWindow
*arg1
= (wxWindow
*) 0 ;
23601 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23602 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23605 PyObject
* obj0
= 0 ;
23606 PyObject
* obj1
= 0 ;
23607 PyObject
* obj2
= 0 ;
23608 char *kwnames
[] = {
23609 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
23612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23617 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23622 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23627 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
23629 wxPyEndAllowThreads(__tstate
);
23630 if (PyErr_Occurred()) SWIG_fail
;
23632 Py_INCREF(Py_None
); resultobj
= Py_None
;
23639 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23640 PyObject
*resultobj
;
23641 wxWindow
*arg1
= (wxWindow
*) 0 ;
23643 PyObject
* obj0
= 0 ;
23644 char *kwnames
[] = {
23645 (char *) "self", NULL
23648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
23649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23653 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
23655 wxPyEndAllowThreads(__tstate
);
23656 if (PyErr_Occurred()) SWIG_fail
;
23659 wxSize
* resultptr
;
23660 resultptr
= new wxSize((wxSize
&) result
);
23661 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23669 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23670 PyObject
*resultobj
;
23671 wxWindow
*arg1
= (wxWindow
*) 0 ;
23673 PyObject
* obj0
= 0 ;
23674 char *kwnames
[] = {
23675 (char *) "self", NULL
23678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
23679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23683 result
= ((wxWindow
const *)arg1
)->GetMinSize();
23685 wxPyEndAllowThreads(__tstate
);
23686 if (PyErr_Occurred()) SWIG_fail
;
23689 wxSize
* resultptr
;
23690 resultptr
= new wxSize((wxSize
&) result
);
23691 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23699 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23700 PyObject
*resultobj
;
23701 wxWindow
*arg1
= (wxWindow
*) 0 ;
23704 PyObject
* obj0
= 0 ;
23705 PyObject
* obj1
= 0 ;
23706 char *kwnames
[] = {
23707 (char *) "self",(char *) "minSize", NULL
23710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23715 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23719 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
23721 wxPyEndAllowThreads(__tstate
);
23722 if (PyErr_Occurred()) SWIG_fail
;
23724 Py_INCREF(Py_None
); resultobj
= Py_None
;
23731 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23732 PyObject
*resultobj
;
23733 wxWindow
*arg1
= (wxWindow
*) 0 ;
23736 PyObject
* obj0
= 0 ;
23737 PyObject
* obj1
= 0 ;
23738 char *kwnames
[] = {
23739 (char *) "self",(char *) "maxSize", NULL
23742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23747 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23751 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
23753 wxPyEndAllowThreads(__tstate
);
23754 if (PyErr_Occurred()) SWIG_fail
;
23756 Py_INCREF(Py_None
); resultobj
= Py_None
;
23763 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23764 PyObject
*resultobj
;
23765 wxWindow
*arg1
= (wxWindow
*) 0 ;
23767 PyObject
* obj0
= 0 ;
23768 char *kwnames
[] = {
23769 (char *) "self", NULL
23772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
23773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23777 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
23779 wxPyEndAllowThreads(__tstate
);
23780 if (PyErr_Occurred()) SWIG_fail
;
23782 resultobj
= SWIG_From_int((int)result
);
23789 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23790 PyObject
*resultobj
;
23791 wxWindow
*arg1
= (wxWindow
*) 0 ;
23793 PyObject
* obj0
= 0 ;
23794 char *kwnames
[] = {
23795 (char *) "self", NULL
23798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
23799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23803 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
23805 wxPyEndAllowThreads(__tstate
);
23806 if (PyErr_Occurred()) SWIG_fail
;
23808 resultobj
= SWIG_From_int((int)result
);
23815 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23816 PyObject
*resultobj
;
23817 wxWindow
*arg1
= (wxWindow
*) 0 ;
23819 PyObject
* obj0
= 0 ;
23820 char *kwnames
[] = {
23821 (char *) "self", NULL
23824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
23825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23829 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
23831 wxPyEndAllowThreads(__tstate
);
23832 if (PyErr_Occurred()) SWIG_fail
;
23834 resultobj
= SWIG_From_int((int)result
);
23841 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23842 PyObject
*resultobj
;
23843 wxWindow
*arg1
= (wxWindow
*) 0 ;
23845 PyObject
* obj0
= 0 ;
23846 char *kwnames
[] = {
23847 (char *) "self", NULL
23850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
23851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23855 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
23857 wxPyEndAllowThreads(__tstate
);
23858 if (PyErr_Occurred()) SWIG_fail
;
23860 resultobj
= SWIG_From_int((int)result
);
23867 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23868 PyObject
*resultobj
;
23869 wxWindow
*arg1
= (wxWindow
*) 0 ;
23872 PyObject
* obj0
= 0 ;
23873 PyObject
* obj1
= 0 ;
23874 char *kwnames
[] = {
23875 (char *) "self",(char *) "size", NULL
23878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23883 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23887 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
23889 wxPyEndAllowThreads(__tstate
);
23890 if (PyErr_Occurred()) SWIG_fail
;
23892 Py_INCREF(Py_None
); resultobj
= Py_None
;
23899 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23900 PyObject
*resultobj
;
23901 wxWindow
*arg1
= (wxWindow
*) 0 ;
23904 PyObject
* obj0
= 0 ;
23905 PyObject
* obj1
= 0 ;
23906 PyObject
* obj2
= 0 ;
23907 char *kwnames
[] = {
23908 (char *) "self",(char *) "w",(char *) "h", NULL
23911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23914 arg2
= (int)SWIG_As_int(obj1
);
23915 if (PyErr_Occurred()) SWIG_fail
;
23916 arg3
= (int)SWIG_As_int(obj2
);
23917 if (PyErr_Occurred()) SWIG_fail
;
23919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23920 (arg1
)->SetVirtualSize(arg2
,arg3
);
23922 wxPyEndAllowThreads(__tstate
);
23923 if (PyErr_Occurred()) SWIG_fail
;
23925 Py_INCREF(Py_None
); resultobj
= Py_None
;
23932 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23933 PyObject
*resultobj
;
23934 wxWindow
*arg1
= (wxWindow
*) 0 ;
23936 PyObject
* obj0
= 0 ;
23937 char *kwnames
[] = {
23938 (char *) "self", NULL
23941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
23942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23946 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
23948 wxPyEndAllowThreads(__tstate
);
23949 if (PyErr_Occurred()) SWIG_fail
;
23952 wxSize
* resultptr
;
23953 resultptr
= new wxSize((wxSize
&) result
);
23954 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23962 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23963 PyObject
*resultobj
;
23964 wxWindow
*arg1
= (wxWindow
*) 0 ;
23965 int *arg2
= (int *) 0 ;
23966 int *arg3
= (int *) 0 ;
23971 PyObject
* obj0
= 0 ;
23972 char *kwnames
[] = {
23973 (char *) "self", NULL
23976 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23977 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
23979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23983 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
23985 wxPyEndAllowThreads(__tstate
);
23986 if (PyErr_Occurred()) SWIG_fail
;
23988 Py_INCREF(Py_None
); resultobj
= Py_None
;
23989 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23990 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23991 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23992 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23999 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24000 PyObject
*resultobj
;
24001 wxWindow
*arg1
= (wxWindow
*) 0 ;
24003 PyObject
* obj0
= 0 ;
24004 char *kwnames
[] = {
24005 (char *) "self", NULL
24008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
24009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24013 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
24015 wxPyEndAllowThreads(__tstate
);
24016 if (PyErr_Occurred()) SWIG_fail
;
24019 wxSize
* resultptr
;
24020 resultptr
= new wxSize((wxSize
&) result
);
24021 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24029 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24030 PyObject
*resultobj
;
24031 wxWindow
*arg1
= (wxWindow
*) 0 ;
24032 bool arg2
= (bool) True
;
24034 PyObject
* obj0
= 0 ;
24035 PyObject
* obj1
= 0 ;
24036 char *kwnames
[] = {
24037 (char *) "self",(char *) "show", NULL
24040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
24041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24044 arg2
= (bool)SWIG_As_bool(obj1
);
24045 if (PyErr_Occurred()) SWIG_fail
;
24048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24049 result
= (bool)(arg1
)->Show(arg2
);
24051 wxPyEndAllowThreads(__tstate
);
24052 if (PyErr_Occurred()) SWIG_fail
;
24055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24063 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24064 PyObject
*resultobj
;
24065 wxWindow
*arg1
= (wxWindow
*) 0 ;
24067 PyObject
* obj0
= 0 ;
24068 char *kwnames
[] = {
24069 (char *) "self", NULL
24072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
24073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24077 result
= (bool)(arg1
)->Hide();
24079 wxPyEndAllowThreads(__tstate
);
24080 if (PyErr_Occurred()) SWIG_fail
;
24083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24091 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24092 PyObject
*resultobj
;
24093 wxWindow
*arg1
= (wxWindow
*) 0 ;
24094 bool arg2
= (bool) True
;
24096 PyObject
* obj0
= 0 ;
24097 PyObject
* obj1
= 0 ;
24098 char *kwnames
[] = {
24099 (char *) "self",(char *) "enable", NULL
24102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
24103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24106 arg2
= (bool)SWIG_As_bool(obj1
);
24107 if (PyErr_Occurred()) SWIG_fail
;
24110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24111 result
= (bool)(arg1
)->Enable(arg2
);
24113 wxPyEndAllowThreads(__tstate
);
24114 if (PyErr_Occurred()) SWIG_fail
;
24117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24125 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24126 PyObject
*resultobj
;
24127 wxWindow
*arg1
= (wxWindow
*) 0 ;
24129 PyObject
* obj0
= 0 ;
24130 char *kwnames
[] = {
24131 (char *) "self", NULL
24134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
24135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24139 result
= (bool)(arg1
)->Disable();
24141 wxPyEndAllowThreads(__tstate
);
24142 if (PyErr_Occurred()) SWIG_fail
;
24145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24153 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24154 PyObject
*resultobj
;
24155 wxWindow
*arg1
= (wxWindow
*) 0 ;
24157 PyObject
* obj0
= 0 ;
24158 char *kwnames
[] = {
24159 (char *) "self", NULL
24162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
24163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24167 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
24169 wxPyEndAllowThreads(__tstate
);
24170 if (PyErr_Occurred()) SWIG_fail
;
24173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24181 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24182 PyObject
*resultobj
;
24183 wxWindow
*arg1
= (wxWindow
*) 0 ;
24185 PyObject
* obj0
= 0 ;
24186 char *kwnames
[] = {
24187 (char *) "self", NULL
24190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
24191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24195 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
24197 wxPyEndAllowThreads(__tstate
);
24198 if (PyErr_Occurred()) SWIG_fail
;
24201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24209 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24210 PyObject
*resultobj
;
24211 wxWindow
*arg1
= (wxWindow
*) 0 ;
24213 PyObject
* obj0
= 0 ;
24214 PyObject
* obj1
= 0 ;
24215 char *kwnames
[] = {
24216 (char *) "self",(char *) "style", NULL
24219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24222 arg2
= (long)SWIG_As_long(obj1
);
24223 if (PyErr_Occurred()) SWIG_fail
;
24225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24226 (arg1
)->SetWindowStyleFlag(arg2
);
24228 wxPyEndAllowThreads(__tstate
);
24229 if (PyErr_Occurred()) SWIG_fail
;
24231 Py_INCREF(Py_None
); resultobj
= Py_None
;
24238 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24239 PyObject
*resultobj
;
24240 wxWindow
*arg1
= (wxWindow
*) 0 ;
24242 PyObject
* obj0
= 0 ;
24243 char *kwnames
[] = {
24244 (char *) "self", NULL
24247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
24248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24252 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
24254 wxPyEndAllowThreads(__tstate
);
24255 if (PyErr_Occurred()) SWIG_fail
;
24257 resultobj
= SWIG_From_long((long)result
);
24264 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24265 PyObject
*resultobj
;
24266 wxWindow
*arg1
= (wxWindow
*) 0 ;
24269 PyObject
* obj0
= 0 ;
24270 PyObject
* obj1
= 0 ;
24271 char *kwnames
[] = {
24272 (char *) "self",(char *) "flag", NULL
24275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24278 arg2
= (int)SWIG_As_int(obj1
);
24279 if (PyErr_Occurred()) SWIG_fail
;
24281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24282 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
24284 wxPyEndAllowThreads(__tstate
);
24285 if (PyErr_Occurred()) SWIG_fail
;
24288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24296 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24297 PyObject
*resultobj
;
24298 wxWindow
*arg1
= (wxWindow
*) 0 ;
24300 PyObject
* obj0
= 0 ;
24301 char *kwnames
[] = {
24302 (char *) "self", NULL
24305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
24306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24310 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
24312 wxPyEndAllowThreads(__tstate
);
24313 if (PyErr_Occurred()) SWIG_fail
;
24316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24324 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24325 PyObject
*resultobj
;
24326 wxWindow
*arg1
= (wxWindow
*) 0 ;
24328 PyObject
* obj0
= 0 ;
24329 PyObject
* obj1
= 0 ;
24330 char *kwnames
[] = {
24331 (char *) "self",(char *) "exStyle", NULL
24334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
24335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24337 arg2
= (long)SWIG_As_long(obj1
);
24338 if (PyErr_Occurred()) SWIG_fail
;
24340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24341 (arg1
)->SetExtraStyle(arg2
);
24343 wxPyEndAllowThreads(__tstate
);
24344 if (PyErr_Occurred()) SWIG_fail
;
24346 Py_INCREF(Py_None
); resultobj
= Py_None
;
24353 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24354 PyObject
*resultobj
;
24355 wxWindow
*arg1
= (wxWindow
*) 0 ;
24357 PyObject
* obj0
= 0 ;
24358 char *kwnames
[] = {
24359 (char *) "self", NULL
24362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
24363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24367 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
24369 wxPyEndAllowThreads(__tstate
);
24370 if (PyErr_Occurred()) SWIG_fail
;
24372 resultobj
= SWIG_From_long((long)result
);
24379 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24380 PyObject
*resultobj
;
24381 wxWindow
*arg1
= (wxWindow
*) 0 ;
24382 bool arg2
= (bool) True
;
24383 PyObject
* obj0
= 0 ;
24384 PyObject
* obj1
= 0 ;
24385 char *kwnames
[] = {
24386 (char *) "self",(char *) "modal", NULL
24389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
24390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24393 arg2
= (bool)SWIG_As_bool(obj1
);
24394 if (PyErr_Occurred()) SWIG_fail
;
24397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24398 (arg1
)->MakeModal(arg2
);
24400 wxPyEndAllowThreads(__tstate
);
24401 if (PyErr_Occurred()) SWIG_fail
;
24403 Py_INCREF(Py_None
); resultobj
= Py_None
;
24410 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24411 PyObject
*resultobj
;
24412 wxWindow
*arg1
= (wxWindow
*) 0 ;
24414 PyObject
* obj0
= 0 ;
24415 PyObject
* obj1
= 0 ;
24416 char *kwnames
[] = {
24417 (char *) "self",(char *) "enableTheme", NULL
24420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
24421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24423 arg2
= (bool)SWIG_As_bool(obj1
);
24424 if (PyErr_Occurred()) SWIG_fail
;
24426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24427 (arg1
)->SetThemeEnabled(arg2
);
24429 wxPyEndAllowThreads(__tstate
);
24430 if (PyErr_Occurred()) SWIG_fail
;
24432 Py_INCREF(Py_None
); resultobj
= Py_None
;
24439 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24440 PyObject
*resultobj
;
24441 wxWindow
*arg1
= (wxWindow
*) 0 ;
24443 PyObject
* obj0
= 0 ;
24444 char *kwnames
[] = {
24445 (char *) "self", NULL
24448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
24449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24453 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
24455 wxPyEndAllowThreads(__tstate
);
24456 if (PyErr_Occurred()) SWIG_fail
;
24459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24467 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24468 PyObject
*resultobj
;
24469 wxWindow
*arg1
= (wxWindow
*) 0 ;
24470 PyObject
* obj0
= 0 ;
24471 char *kwnames
[] = {
24472 (char *) "self", NULL
24475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
24476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24480 (arg1
)->SetFocus();
24482 wxPyEndAllowThreads(__tstate
);
24483 if (PyErr_Occurred()) SWIG_fail
;
24485 Py_INCREF(Py_None
); resultobj
= Py_None
;
24492 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24493 PyObject
*resultobj
;
24494 wxWindow
*arg1
= (wxWindow
*) 0 ;
24495 PyObject
* obj0
= 0 ;
24496 char *kwnames
[] = {
24497 (char *) "self", NULL
24500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
24501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24505 (arg1
)->SetFocusFromKbd();
24507 wxPyEndAllowThreads(__tstate
);
24508 if (PyErr_Occurred()) SWIG_fail
;
24510 Py_INCREF(Py_None
); resultobj
= Py_None
;
24517 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24518 PyObject
*resultobj
;
24520 char *kwnames
[] = {
24524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
24526 if (!wxPyCheckForApp()) SWIG_fail
;
24527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24528 result
= (wxWindow
*)wxWindow::FindFocus();
24530 wxPyEndAllowThreads(__tstate
);
24531 if (PyErr_Occurred()) SWIG_fail
;
24534 resultobj
= wxPyMake_wxObject(result
, 0);
24542 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24543 PyObject
*resultobj
;
24544 wxWindow
*arg1
= (wxWindow
*) 0 ;
24546 PyObject
* obj0
= 0 ;
24547 char *kwnames
[] = {
24548 (char *) "self", NULL
24551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
24552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24556 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
24558 wxPyEndAllowThreads(__tstate
);
24559 if (PyErr_Occurred()) SWIG_fail
;
24562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24570 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24571 PyObject
*resultobj
;
24572 wxWindow
*arg1
= (wxWindow
*) 0 ;
24574 PyObject
* obj0
= 0 ;
24575 char *kwnames
[] = {
24576 (char *) "self", NULL
24579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
24580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24584 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
24586 wxPyEndAllowThreads(__tstate
);
24587 if (PyErr_Occurred()) SWIG_fail
;
24590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24598 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24599 PyObject
*resultobj
;
24600 wxWindow
*arg1
= (wxWindow
*) 0 ;
24602 PyObject
* obj0
= 0 ;
24603 char *kwnames
[] = {
24604 (char *) "self", NULL
24607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
24608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24612 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
24614 wxPyEndAllowThreads(__tstate
);
24615 if (PyErr_Occurred()) SWIG_fail
;
24618 resultobj
= wxPyMake_wxObject(result
, 0);
24626 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24627 PyObject
*resultobj
;
24628 wxWindow
*arg1
= (wxWindow
*) 0 ;
24629 wxWindow
*arg2
= (wxWindow
*) 0 ;
24631 PyObject
* obj0
= 0 ;
24632 PyObject
* obj1
= 0 ;
24633 char *kwnames
[] = {
24634 (char *) "self",(char *) "child", NULL
24637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24640 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24644 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
24646 wxPyEndAllowThreads(__tstate
);
24647 if (PyErr_Occurred()) SWIG_fail
;
24650 resultobj
= wxPyMake_wxObject(result
, 0);
24658 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24659 PyObject
*resultobj
;
24660 wxWindow
*arg1
= (wxWindow
*) 0 ;
24661 wxWindow
*arg2
= (wxWindow
*) 0 ;
24662 PyObject
* obj0
= 0 ;
24663 PyObject
* obj1
= 0 ;
24664 char *kwnames
[] = {
24665 (char *) "self",(char *) "win", NULL
24668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24671 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24675 (arg1
)->SetTmpDefaultItem(arg2
);
24677 wxPyEndAllowThreads(__tstate
);
24678 if (PyErr_Occurred()) SWIG_fail
;
24680 Py_INCREF(Py_None
); resultobj
= Py_None
;
24687 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24688 PyObject
*resultobj
;
24689 wxWindow
*arg1
= (wxWindow
*) 0 ;
24690 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
24692 PyObject
* obj0
= 0 ;
24693 PyObject
* obj1
= 0 ;
24694 char *kwnames
[] = {
24695 (char *) "self",(char *) "flags", NULL
24698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
24699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24702 arg2
= (int)SWIG_As_int(obj1
);
24703 if (PyErr_Occurred()) SWIG_fail
;
24706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24707 result
= (bool)(arg1
)->Navigate(arg2
);
24709 wxPyEndAllowThreads(__tstate
);
24710 if (PyErr_Occurred()) SWIG_fail
;
24713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24721 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24722 PyObject
*resultobj
;
24723 wxWindow
*arg1
= (wxWindow
*) 0 ;
24724 wxWindow
*arg2
= (wxWindow
*) 0 ;
24725 PyObject
* obj0
= 0 ;
24726 PyObject
* obj1
= 0 ;
24727 char *kwnames
[] = {
24728 (char *) "self",(char *) "win", NULL
24731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
24732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24734 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24738 (arg1
)->MoveAfterInTabOrder(arg2
);
24740 wxPyEndAllowThreads(__tstate
);
24741 if (PyErr_Occurred()) SWIG_fail
;
24743 Py_INCREF(Py_None
); resultobj
= Py_None
;
24750 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24751 PyObject
*resultobj
;
24752 wxWindow
*arg1
= (wxWindow
*) 0 ;
24753 wxWindow
*arg2
= (wxWindow
*) 0 ;
24754 PyObject
* obj0
= 0 ;
24755 PyObject
* obj1
= 0 ;
24756 char *kwnames
[] = {
24757 (char *) "self",(char *) "win", NULL
24760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
24761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24763 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24767 (arg1
)->MoveBeforeInTabOrder(arg2
);
24769 wxPyEndAllowThreads(__tstate
);
24770 if (PyErr_Occurred()) SWIG_fail
;
24772 Py_INCREF(Py_None
); resultobj
= Py_None
;
24779 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24780 PyObject
*resultobj
;
24781 wxWindow
*arg1
= (wxWindow
*) 0 ;
24783 PyObject
* obj0
= 0 ;
24784 char *kwnames
[] = {
24785 (char *) "self", NULL
24788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
24789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24793 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
24795 wxPyEndAllowThreads(__tstate
);
24796 if (PyErr_Occurred()) SWIG_fail
;
24798 resultobj
= result
;
24805 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24806 PyObject
*resultobj
;
24807 wxWindow
*arg1
= (wxWindow
*) 0 ;
24809 PyObject
* obj0
= 0 ;
24810 char *kwnames
[] = {
24811 (char *) "self", NULL
24814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
24815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24819 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
24821 wxPyEndAllowThreads(__tstate
);
24822 if (PyErr_Occurred()) SWIG_fail
;
24825 resultobj
= wxPyMake_wxObject(result
, 0);
24833 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24834 PyObject
*resultobj
;
24835 wxWindow
*arg1
= (wxWindow
*) 0 ;
24837 PyObject
* obj0
= 0 ;
24838 char *kwnames
[] = {
24839 (char *) "self", NULL
24842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
24843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24847 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
24849 wxPyEndAllowThreads(__tstate
);
24850 if (PyErr_Occurred()) SWIG_fail
;
24853 resultobj
= wxPyMake_wxObject(result
, 0);
24861 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24862 PyObject
*resultobj
;
24863 wxWindow
*arg1
= (wxWindow
*) 0 ;
24865 PyObject
* obj0
= 0 ;
24866 char *kwnames
[] = {
24867 (char *) "self", NULL
24870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
24871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24875 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
24877 wxPyEndAllowThreads(__tstate
);
24878 if (PyErr_Occurred()) SWIG_fail
;
24881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24889 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24890 PyObject
*resultobj
;
24891 wxWindow
*arg1
= (wxWindow
*) 0 ;
24892 wxWindow
*arg2
= (wxWindow
*) 0 ;
24894 PyObject
* obj0
= 0 ;
24895 PyObject
* obj1
= 0 ;
24896 char *kwnames
[] = {
24897 (char *) "self",(char *) "newParent", NULL
24900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
24901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24903 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24907 result
= (bool)(arg1
)->Reparent(arg2
);
24909 wxPyEndAllowThreads(__tstate
);
24910 if (PyErr_Occurred()) SWIG_fail
;
24913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24921 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24922 PyObject
*resultobj
;
24923 wxWindow
*arg1
= (wxWindow
*) 0 ;
24924 wxWindow
*arg2
= (wxWindow
*) 0 ;
24925 PyObject
* obj0
= 0 ;
24926 PyObject
* obj1
= 0 ;
24927 char *kwnames
[] = {
24928 (char *) "self",(char *) "child", NULL
24931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24934 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24938 (arg1
)->AddChild(arg2
);
24940 wxPyEndAllowThreads(__tstate
);
24941 if (PyErr_Occurred()) SWIG_fail
;
24943 Py_INCREF(Py_None
); resultobj
= Py_None
;
24950 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24951 PyObject
*resultobj
;
24952 wxWindow
*arg1
= (wxWindow
*) 0 ;
24953 wxWindow
*arg2
= (wxWindow
*) 0 ;
24954 PyObject
* obj0
= 0 ;
24955 PyObject
* obj1
= 0 ;
24956 char *kwnames
[] = {
24957 (char *) "self",(char *) "child", NULL
24960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24963 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24967 (arg1
)->RemoveChild(arg2
);
24969 wxPyEndAllowThreads(__tstate
);
24970 if (PyErr_Occurred()) SWIG_fail
;
24972 Py_INCREF(Py_None
); resultobj
= Py_None
;
24979 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24980 PyObject
*resultobj
;
24981 wxWindow
*arg1
= (wxWindow
*) 0 ;
24984 PyObject
* obj0
= 0 ;
24985 PyObject
* obj1
= 0 ;
24986 char *kwnames
[] = {
24987 (char *) "self",(char *) "winid", NULL
24990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
24991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24993 arg2
= (long)SWIG_As_long(obj1
);
24994 if (PyErr_Occurred()) SWIG_fail
;
24996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24997 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
24999 wxPyEndAllowThreads(__tstate
);
25000 if (PyErr_Occurred()) SWIG_fail
;
25003 resultobj
= wxPyMake_wxObject(result
, 0);
25011 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25012 PyObject
*resultobj
;
25013 wxWindow
*arg1
= (wxWindow
*) 0 ;
25014 wxString
*arg2
= 0 ;
25016 bool temp2
= False
;
25017 PyObject
* obj0
= 0 ;
25018 PyObject
* obj1
= 0 ;
25019 char *kwnames
[] = {
25020 (char *) "self",(char *) "name", NULL
25023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
25024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25027 arg2
= wxString_in_helper(obj1
);
25028 if (arg2
== NULL
) SWIG_fail
;
25032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25033 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
25035 wxPyEndAllowThreads(__tstate
);
25036 if (PyErr_Occurred()) SWIG_fail
;
25039 resultobj
= wxPyMake_wxObject(result
, 0);
25055 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25056 PyObject
*resultobj
;
25057 wxWindow
*arg1
= (wxWindow
*) 0 ;
25058 wxEvtHandler
*result
;
25059 PyObject
* obj0
= 0 ;
25060 char *kwnames
[] = {
25061 (char *) "self", NULL
25064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
25065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25069 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
25071 wxPyEndAllowThreads(__tstate
);
25072 if (PyErr_Occurred()) SWIG_fail
;
25075 resultobj
= wxPyMake_wxObject(result
, 0);
25083 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25084 PyObject
*resultobj
;
25085 wxWindow
*arg1
= (wxWindow
*) 0 ;
25086 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25087 PyObject
* obj0
= 0 ;
25088 PyObject
* obj1
= 0 ;
25089 char *kwnames
[] = {
25090 (char *) "self",(char *) "handler", NULL
25093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25096 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25100 (arg1
)->SetEventHandler(arg2
);
25102 wxPyEndAllowThreads(__tstate
);
25103 if (PyErr_Occurred()) SWIG_fail
;
25105 Py_INCREF(Py_None
); resultobj
= Py_None
;
25112 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25113 PyObject
*resultobj
;
25114 wxWindow
*arg1
= (wxWindow
*) 0 ;
25115 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25116 PyObject
* obj0
= 0 ;
25117 PyObject
* obj1
= 0 ;
25118 char *kwnames
[] = {
25119 (char *) "self",(char *) "handler", NULL
25122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25125 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25129 (arg1
)->PushEventHandler(arg2
);
25131 wxPyEndAllowThreads(__tstate
);
25132 if (PyErr_Occurred()) SWIG_fail
;
25134 Py_INCREF(Py_None
); resultobj
= Py_None
;
25141 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25142 PyObject
*resultobj
;
25143 wxWindow
*arg1
= (wxWindow
*) 0 ;
25144 bool arg2
= (bool) False
;
25145 wxEvtHandler
*result
;
25146 PyObject
* obj0
= 0 ;
25147 PyObject
* obj1
= 0 ;
25148 char *kwnames
[] = {
25149 (char *) "self",(char *) "deleteHandler", NULL
25152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25156 arg2
= (bool)SWIG_As_bool(obj1
);
25157 if (PyErr_Occurred()) SWIG_fail
;
25160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25161 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
25163 wxPyEndAllowThreads(__tstate
);
25164 if (PyErr_Occurred()) SWIG_fail
;
25167 resultobj
= wxPyMake_wxObject(result
, 0);
25175 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25176 PyObject
*resultobj
;
25177 wxWindow
*arg1
= (wxWindow
*) 0 ;
25178 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25180 PyObject
* obj0
= 0 ;
25181 PyObject
* obj1
= 0 ;
25182 char *kwnames
[] = {
25183 (char *) "self",(char *) "handler", NULL
25186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25189 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25193 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
25195 wxPyEndAllowThreads(__tstate
);
25196 if (PyErr_Occurred()) SWIG_fail
;
25199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25207 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25208 PyObject
*resultobj
;
25209 wxWindow
*arg1
= (wxWindow
*) 0 ;
25210 wxValidator
*arg2
= 0 ;
25211 PyObject
* obj0
= 0 ;
25212 PyObject
* obj1
= 0 ;
25213 char *kwnames
[] = {
25214 (char *) "self",(char *) "validator", NULL
25217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
25218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25220 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
25221 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25223 if (arg2
== NULL
) {
25224 PyErr_SetString(PyExc_TypeError
,"null reference");
25228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25229 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
25231 wxPyEndAllowThreads(__tstate
);
25232 if (PyErr_Occurred()) SWIG_fail
;
25234 Py_INCREF(Py_None
); resultobj
= Py_None
;
25241 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25242 PyObject
*resultobj
;
25243 wxWindow
*arg1
= (wxWindow
*) 0 ;
25244 wxValidator
*result
;
25245 PyObject
* obj0
= 0 ;
25246 char *kwnames
[] = {
25247 (char *) "self", NULL
25250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
25251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25255 result
= (wxValidator
*)(arg1
)->GetValidator();
25257 wxPyEndAllowThreads(__tstate
);
25258 if (PyErr_Occurred()) SWIG_fail
;
25261 resultobj
= wxPyMake_wxObject(result
, 0);
25269 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25270 PyObject
*resultobj
;
25271 wxWindow
*arg1
= (wxWindow
*) 0 ;
25273 PyObject
* obj0
= 0 ;
25274 char *kwnames
[] = {
25275 (char *) "self", NULL
25278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
25279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25283 result
= (bool)(arg1
)->Validate();
25285 wxPyEndAllowThreads(__tstate
);
25286 if (PyErr_Occurred()) SWIG_fail
;
25289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25297 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25298 PyObject
*resultobj
;
25299 wxWindow
*arg1
= (wxWindow
*) 0 ;
25301 PyObject
* obj0
= 0 ;
25302 char *kwnames
[] = {
25303 (char *) "self", NULL
25306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
25307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25311 result
= (bool)(arg1
)->TransferDataToWindow();
25313 wxPyEndAllowThreads(__tstate
);
25314 if (PyErr_Occurred()) SWIG_fail
;
25317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25325 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25326 PyObject
*resultobj
;
25327 wxWindow
*arg1
= (wxWindow
*) 0 ;
25329 PyObject
* obj0
= 0 ;
25330 char *kwnames
[] = {
25331 (char *) "self", NULL
25334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
25335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25339 result
= (bool)(arg1
)->TransferDataFromWindow();
25341 wxPyEndAllowThreads(__tstate
);
25342 if (PyErr_Occurred()) SWIG_fail
;
25345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25353 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25354 PyObject
*resultobj
;
25355 wxWindow
*arg1
= (wxWindow
*) 0 ;
25356 PyObject
* obj0
= 0 ;
25357 char *kwnames
[] = {
25358 (char *) "self", NULL
25361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
25362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25366 (arg1
)->InitDialog();
25368 wxPyEndAllowThreads(__tstate
);
25369 if (PyErr_Occurred()) SWIG_fail
;
25371 Py_INCREF(Py_None
); resultobj
= Py_None
;
25378 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25379 PyObject
*resultobj
;
25380 wxWindow
*arg1
= (wxWindow
*) 0 ;
25381 wxAcceleratorTable
*arg2
= 0 ;
25382 PyObject
* obj0
= 0 ;
25383 PyObject
* obj1
= 0 ;
25384 char *kwnames
[] = {
25385 (char *) "self",(char *) "accel", NULL
25388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
25389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25391 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
25392 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25394 if (arg2
== NULL
) {
25395 PyErr_SetString(PyExc_TypeError
,"null reference");
25399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25400 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
25402 wxPyEndAllowThreads(__tstate
);
25403 if (PyErr_Occurred()) SWIG_fail
;
25405 Py_INCREF(Py_None
); resultobj
= Py_None
;
25412 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25413 PyObject
*resultobj
;
25414 wxWindow
*arg1
= (wxWindow
*) 0 ;
25415 wxAcceleratorTable
*result
;
25416 PyObject
* obj0
= 0 ;
25417 char *kwnames
[] = {
25418 (char *) "self", NULL
25421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
25422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25426 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
25428 wxPyEndAllowThreads(__tstate
);
25429 if (PyErr_Occurred()) SWIG_fail
;
25431 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
25438 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25439 PyObject
*resultobj
;
25440 wxWindow
*arg1
= (wxWindow
*) 0 ;
25445 PyObject
* obj0
= 0 ;
25446 PyObject
* obj1
= 0 ;
25447 PyObject
* obj2
= 0 ;
25448 PyObject
* obj3
= 0 ;
25449 char *kwnames
[] = {
25450 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
25453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25456 arg2
= (int)SWIG_As_int(obj1
);
25457 if (PyErr_Occurred()) SWIG_fail
;
25458 arg3
= (int)SWIG_As_int(obj2
);
25459 if (PyErr_Occurred()) SWIG_fail
;
25460 arg4
= (int)SWIG_As_int(obj3
);
25461 if (PyErr_Occurred()) SWIG_fail
;
25463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25464 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
25466 wxPyEndAllowThreads(__tstate
);
25467 if (PyErr_Occurred()) SWIG_fail
;
25470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25478 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25479 PyObject
*resultobj
;
25480 wxWindow
*arg1
= (wxWindow
*) 0 ;
25483 PyObject
* obj0
= 0 ;
25484 PyObject
* obj1
= 0 ;
25485 char *kwnames
[] = {
25486 (char *) "self",(char *) "hotkeyId", NULL
25489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
25490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25492 arg2
= (int)SWIG_As_int(obj1
);
25493 if (PyErr_Occurred()) SWIG_fail
;
25495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25496 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
25498 wxPyEndAllowThreads(__tstate
);
25499 if (PyErr_Occurred()) SWIG_fail
;
25502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25510 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25511 PyObject
*resultobj
;
25512 wxWindow
*arg1
= (wxWindow
*) 0 ;
25513 wxPoint
*arg2
= 0 ;
25516 PyObject
* obj0
= 0 ;
25517 PyObject
* obj1
= 0 ;
25518 char *kwnames
[] = {
25519 (char *) "self",(char *) "pt", NULL
25522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25527 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25531 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25533 wxPyEndAllowThreads(__tstate
);
25534 if (PyErr_Occurred()) SWIG_fail
;
25537 wxPoint
* resultptr
;
25538 resultptr
= new wxPoint((wxPoint
&) result
);
25539 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25547 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25548 PyObject
*resultobj
;
25549 wxWindow
*arg1
= (wxWindow
*) 0 ;
25553 PyObject
* obj0
= 0 ;
25554 PyObject
* obj1
= 0 ;
25555 char *kwnames
[] = {
25556 (char *) "self",(char *) "sz", NULL
25559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25564 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25568 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25570 wxPyEndAllowThreads(__tstate
);
25571 if (PyErr_Occurred()) SWIG_fail
;
25574 wxSize
* resultptr
;
25575 resultptr
= new wxSize((wxSize
&) result
);
25576 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25584 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25585 PyObject
*resultobj
;
25586 wxWindow
*arg1
= (wxWindow
*) 0 ;
25587 wxPoint
*arg2
= 0 ;
25590 PyObject
* obj0
= 0 ;
25591 PyObject
* obj1
= 0 ;
25592 char *kwnames
[] = {
25593 (char *) "self",(char *) "pt", NULL
25596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
25597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25601 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25605 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25607 wxPyEndAllowThreads(__tstate
);
25608 if (PyErr_Occurred()) SWIG_fail
;
25611 wxPoint
* resultptr
;
25612 resultptr
= new wxPoint((wxPoint
&) result
);
25613 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25621 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25622 PyObject
*resultobj
;
25623 wxWindow
*arg1
= (wxWindow
*) 0 ;
25627 PyObject
* obj0
= 0 ;
25628 PyObject
* obj1
= 0 ;
25629 char *kwnames
[] = {
25630 (char *) "self",(char *) "sz", NULL
25633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
25634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25638 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25642 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25644 wxPyEndAllowThreads(__tstate
);
25645 if (PyErr_Occurred()) SWIG_fail
;
25648 wxSize
* resultptr
;
25649 resultptr
= new wxSize((wxSize
&) result
);
25650 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25658 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25659 PyObject
*resultobj
;
25660 wxWindow
*arg1
= (wxWindow
*) 0 ;
25661 wxPoint
*arg2
= 0 ;
25664 PyObject
* obj0
= 0 ;
25665 PyObject
* obj1
= 0 ;
25666 char *kwnames
[] = {
25667 (char *) "self",(char *) "pt", NULL
25670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25675 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25679 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
25681 wxPyEndAllowThreads(__tstate
);
25682 if (PyErr_Occurred()) SWIG_fail
;
25685 wxPoint
* resultptr
;
25686 resultptr
= new wxPoint((wxPoint
&) result
);
25687 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25695 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25696 PyObject
*resultobj
;
25697 wxWindow
*arg1
= (wxWindow
*) 0 ;
25701 PyObject
* obj0
= 0 ;
25702 PyObject
* obj1
= 0 ;
25703 char *kwnames
[] = {
25704 (char *) "self",(char *) "sz", NULL
25707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25712 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25716 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
25718 wxPyEndAllowThreads(__tstate
);
25719 if (PyErr_Occurred()) SWIG_fail
;
25722 wxSize
* resultptr
;
25723 resultptr
= new wxSize((wxSize
&) result
);
25724 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25732 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25733 PyObject
*resultobj
;
25734 wxWindow
*arg1
= (wxWindow
*) 0 ;
25737 PyObject
* obj0
= 0 ;
25738 PyObject
* obj1
= 0 ;
25739 PyObject
* obj2
= 0 ;
25740 char *kwnames
[] = {
25741 (char *) "self",(char *) "x",(char *) "y", NULL
25744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25747 arg2
= (int)SWIG_As_int(obj1
);
25748 if (PyErr_Occurred()) SWIG_fail
;
25749 arg3
= (int)SWIG_As_int(obj2
);
25750 if (PyErr_Occurred()) SWIG_fail
;
25752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25753 (arg1
)->WarpPointer(arg2
,arg3
);
25755 wxPyEndAllowThreads(__tstate
);
25756 if (PyErr_Occurred()) SWIG_fail
;
25758 Py_INCREF(Py_None
); resultobj
= Py_None
;
25765 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25766 PyObject
*resultobj
;
25767 wxWindow
*arg1
= (wxWindow
*) 0 ;
25768 PyObject
* obj0
= 0 ;
25769 char *kwnames
[] = {
25770 (char *) "self", NULL
25773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
25774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25778 (arg1
)->CaptureMouse();
25780 wxPyEndAllowThreads(__tstate
);
25781 if (PyErr_Occurred()) SWIG_fail
;
25783 Py_INCREF(Py_None
); resultobj
= Py_None
;
25790 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25791 PyObject
*resultobj
;
25792 wxWindow
*arg1
= (wxWindow
*) 0 ;
25793 PyObject
* obj0
= 0 ;
25794 char *kwnames
[] = {
25795 (char *) "self", NULL
25798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
25799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25803 (arg1
)->ReleaseMouse();
25805 wxPyEndAllowThreads(__tstate
);
25806 if (PyErr_Occurred()) SWIG_fail
;
25808 Py_INCREF(Py_None
); resultobj
= Py_None
;
25815 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25816 PyObject
*resultobj
;
25818 char *kwnames
[] = {
25822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
25824 if (!wxPyCheckForApp()) SWIG_fail
;
25825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25826 result
= (wxWindow
*)wxWindow::GetCapture();
25828 wxPyEndAllowThreads(__tstate
);
25829 if (PyErr_Occurred()) SWIG_fail
;
25832 resultobj
= wxPyMake_wxObject(result
, 0);
25840 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25841 PyObject
*resultobj
;
25842 wxWindow
*arg1
= (wxWindow
*) 0 ;
25844 PyObject
* obj0
= 0 ;
25845 char *kwnames
[] = {
25846 (char *) "self", NULL
25849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
25850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25854 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
25856 wxPyEndAllowThreads(__tstate
);
25857 if (PyErr_Occurred()) SWIG_fail
;
25860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25868 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25869 PyObject
*resultobj
;
25870 wxWindow
*arg1
= (wxWindow
*) 0 ;
25871 bool arg2
= (bool) True
;
25872 wxRect
*arg3
= (wxRect
*) NULL
;
25873 PyObject
* obj0
= 0 ;
25874 PyObject
* obj1
= 0 ;
25875 PyObject
* obj2
= 0 ;
25876 char *kwnames
[] = {
25877 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
25880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25884 arg2
= (bool)SWIG_As_bool(obj1
);
25885 if (PyErr_Occurred()) SWIG_fail
;
25888 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
25889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25893 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
25895 wxPyEndAllowThreads(__tstate
);
25896 if (PyErr_Occurred()) SWIG_fail
;
25898 Py_INCREF(Py_None
); resultobj
= Py_None
;
25905 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25906 PyObject
*resultobj
;
25907 wxWindow
*arg1
= (wxWindow
*) 0 ;
25910 PyObject
* obj0
= 0 ;
25911 PyObject
* obj1
= 0 ;
25912 char *kwnames
[] = {
25913 (char *) "self",(char *) "rect", NULL
25916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25921 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25925 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
25927 wxPyEndAllowThreads(__tstate
);
25928 if (PyErr_Occurred()) SWIG_fail
;
25930 Py_INCREF(Py_None
); resultobj
= Py_None
;
25937 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25938 PyObject
*resultobj
;
25939 wxWindow
*arg1
= (wxWindow
*) 0 ;
25940 PyObject
* obj0
= 0 ;
25941 char *kwnames
[] = {
25942 (char *) "self", NULL
25945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
25946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25952 wxPyEndAllowThreads(__tstate
);
25953 if (PyErr_Occurred()) SWIG_fail
;
25955 Py_INCREF(Py_None
); resultobj
= Py_None
;
25962 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25963 PyObject
*resultobj
;
25964 wxWindow
*arg1
= (wxWindow
*) 0 ;
25965 PyObject
* obj0
= 0 ;
25966 char *kwnames
[] = {
25967 (char *) "self", NULL
25970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
25971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25975 (arg1
)->ClearBackground();
25977 wxPyEndAllowThreads(__tstate
);
25978 if (PyErr_Occurred()) SWIG_fail
;
25980 Py_INCREF(Py_None
); resultobj
= Py_None
;
25987 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25988 PyObject
*resultobj
;
25989 wxWindow
*arg1
= (wxWindow
*) 0 ;
25990 PyObject
* obj0
= 0 ;
25991 char *kwnames
[] = {
25992 (char *) "self", NULL
25995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
25996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26002 wxPyEndAllowThreads(__tstate
);
26003 if (PyErr_Occurred()) SWIG_fail
;
26005 Py_INCREF(Py_None
); resultobj
= Py_None
;
26012 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26013 PyObject
*resultobj
;
26014 wxWindow
*arg1
= (wxWindow
*) 0 ;
26015 PyObject
* obj0
= 0 ;
26016 char *kwnames
[] = {
26017 (char *) "self", NULL
26020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
26021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26027 wxPyEndAllowThreads(__tstate
);
26028 if (PyErr_Occurred()) SWIG_fail
;
26030 Py_INCREF(Py_None
); resultobj
= Py_None
;
26037 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26038 PyObject
*resultobj
;
26039 wxWindow
*arg1
= (wxWindow
*) 0 ;
26041 PyObject
* obj0
= 0 ;
26042 PyObject
* obj1
= 0 ;
26043 char *kwnames
[] = {
26044 (char *) "self",(char *) "dc", NULL
26047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
26048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26050 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26051 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26053 if (arg2
== NULL
) {
26054 PyErr_SetString(PyExc_TypeError
,"null reference");
26058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26059 (arg1
)->PrepareDC(*arg2
);
26061 wxPyEndAllowThreads(__tstate
);
26062 if (PyErr_Occurred()) SWIG_fail
;
26064 Py_INCREF(Py_None
); resultobj
= Py_None
;
26071 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26072 PyObject
*resultobj
;
26073 wxWindow
*arg1
= (wxWindow
*) 0 ;
26075 PyObject
* obj0
= 0 ;
26076 char *kwnames
[] = {
26077 (char *) "self", NULL
26080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
26081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26086 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
26087 result
= (wxRegion
*) &_result_ref
;
26090 wxPyEndAllowThreads(__tstate
);
26091 if (PyErr_Occurred()) SWIG_fail
;
26093 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
26100 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26101 PyObject
*resultobj
;
26102 wxWindow
*arg1
= (wxWindow
*) 0 ;
26104 PyObject
* obj0
= 0 ;
26105 char *kwnames
[] = {
26106 (char *) "self", NULL
26109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
26110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26114 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
26116 wxPyEndAllowThreads(__tstate
);
26117 if (PyErr_Occurred()) SWIG_fail
;
26120 wxRect
* resultptr
;
26121 resultptr
= new wxRect((wxRect
&) result
);
26122 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26130 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26131 PyObject
*resultobj
;
26132 wxWindow
*arg1
= (wxWindow
*) 0 ;
26135 int arg4
= (int) 1 ;
26136 int arg5
= (int) 1 ;
26138 PyObject
* obj0
= 0 ;
26139 PyObject
* obj1
= 0 ;
26140 PyObject
* obj2
= 0 ;
26141 PyObject
* obj3
= 0 ;
26142 PyObject
* obj4
= 0 ;
26143 char *kwnames
[] = {
26144 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26150 arg2
= (int)SWIG_As_int(obj1
);
26151 if (PyErr_Occurred()) SWIG_fail
;
26152 arg3
= (int)SWIG_As_int(obj2
);
26153 if (PyErr_Occurred()) SWIG_fail
;
26155 arg4
= (int)SWIG_As_int(obj3
);
26156 if (PyErr_Occurred()) SWIG_fail
;
26159 arg5
= (int)SWIG_As_int(obj4
);
26160 if (PyErr_Occurred()) SWIG_fail
;
26163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26164 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
26166 wxPyEndAllowThreads(__tstate
);
26167 if (PyErr_Occurred()) SWIG_fail
;
26170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26178 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26179 PyObject
*resultobj
;
26180 wxWindow
*arg1
= (wxWindow
*) 0 ;
26181 wxPoint
*arg2
= 0 ;
26184 PyObject
* obj0
= 0 ;
26185 PyObject
* obj1
= 0 ;
26186 char *kwnames
[] = {
26187 (char *) "self",(char *) "pt", NULL
26190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
26191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26195 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26199 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
26201 wxPyEndAllowThreads(__tstate
);
26202 if (PyErr_Occurred()) SWIG_fail
;
26205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26213 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26214 PyObject
*resultobj
;
26215 wxWindow
*arg1
= (wxWindow
*) 0 ;
26219 PyObject
* obj0
= 0 ;
26220 PyObject
* obj1
= 0 ;
26221 char *kwnames
[] = {
26222 (char *) "self",(char *) "rect", NULL
26225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26230 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26234 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
26236 wxPyEndAllowThreads(__tstate
);
26237 if (PyErr_Occurred()) SWIG_fail
;
26240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26248 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26249 PyObject
*resultobj
;
26250 wxWindow
*arg1
= (wxWindow
*) 0 ;
26251 wxVisualAttributes result
;
26252 PyObject
* obj0
= 0 ;
26253 char *kwnames
[] = {
26254 (char *) "self", NULL
26257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26262 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
26264 wxPyEndAllowThreads(__tstate
);
26265 if (PyErr_Occurred()) SWIG_fail
;
26268 wxVisualAttributes
* resultptr
;
26269 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26270 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26278 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26279 PyObject
*resultobj
;
26280 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
26281 wxVisualAttributes result
;
26282 PyObject
* obj0
= 0 ;
26283 char *kwnames
[] = {
26284 (char *) "variant", NULL
26287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26289 arg1
= (int)SWIG_As_int(obj0
);
26290 if (PyErr_Occurred()) SWIG_fail
;
26293 if (!wxPyCheckForApp()) SWIG_fail
;
26294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26295 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26297 wxPyEndAllowThreads(__tstate
);
26298 if (PyErr_Occurred()) SWIG_fail
;
26301 wxVisualAttributes
* resultptr
;
26302 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26303 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26311 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26312 PyObject
*resultobj
;
26313 wxWindow
*arg1
= (wxWindow
*) 0 ;
26314 wxColour
*arg2
= 0 ;
26317 PyObject
* obj0
= 0 ;
26318 PyObject
* obj1
= 0 ;
26319 char *kwnames
[] = {
26320 (char *) "self",(char *) "colour", NULL
26323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26328 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26332 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26334 wxPyEndAllowThreads(__tstate
);
26335 if (PyErr_Occurred()) SWIG_fail
;
26338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26346 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26347 PyObject
*resultobj
;
26348 wxWindow
*arg1
= (wxWindow
*) 0 ;
26349 wxColour
*arg2
= 0 ;
26351 PyObject
* obj0
= 0 ;
26352 PyObject
* obj1
= 0 ;
26353 char *kwnames
[] = {
26354 (char *) "self",(char *) "colour", NULL
26357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26362 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26366 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
26368 wxPyEndAllowThreads(__tstate
);
26369 if (PyErr_Occurred()) SWIG_fail
;
26371 Py_INCREF(Py_None
); resultobj
= Py_None
;
26378 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26379 PyObject
*resultobj
;
26380 wxWindow
*arg1
= (wxWindow
*) 0 ;
26381 wxColour
*arg2
= 0 ;
26384 PyObject
* obj0
= 0 ;
26385 PyObject
* obj1
= 0 ;
26386 char *kwnames
[] = {
26387 (char *) "self",(char *) "colour", NULL
26390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26395 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26399 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
26401 wxPyEndAllowThreads(__tstate
);
26402 if (PyErr_Occurred()) SWIG_fail
;
26405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26413 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26414 PyObject
*resultobj
;
26415 wxWindow
*arg1
= (wxWindow
*) 0 ;
26416 wxColour
*arg2
= 0 ;
26418 PyObject
* obj0
= 0 ;
26419 PyObject
* obj1
= 0 ;
26420 char *kwnames
[] = {
26421 (char *) "self",(char *) "colour", NULL
26424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26429 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26433 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
26435 wxPyEndAllowThreads(__tstate
);
26436 if (PyErr_Occurred()) SWIG_fail
;
26438 Py_INCREF(Py_None
); resultobj
= Py_None
;
26445 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26446 PyObject
*resultobj
;
26447 wxWindow
*arg1
= (wxWindow
*) 0 ;
26449 PyObject
* obj0
= 0 ;
26450 char *kwnames
[] = {
26451 (char *) "self", NULL
26454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
26455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26459 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
26461 wxPyEndAllowThreads(__tstate
);
26462 if (PyErr_Occurred()) SWIG_fail
;
26465 wxColour
* resultptr
;
26466 resultptr
= new wxColour((wxColour
&) result
);
26467 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26475 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26476 PyObject
*resultobj
;
26477 wxWindow
*arg1
= (wxWindow
*) 0 ;
26479 PyObject
* obj0
= 0 ;
26480 char *kwnames
[] = {
26481 (char *) "self", NULL
26484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
26485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26489 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
26491 wxPyEndAllowThreads(__tstate
);
26492 if (PyErr_Occurred()) SWIG_fail
;
26495 wxColour
* resultptr
;
26496 resultptr
= new wxColour((wxColour
&) result
);
26497 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26505 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26506 PyObject
*resultobj
;
26507 wxWindow
*arg1
= (wxWindow
*) 0 ;
26510 PyObject
* obj0
= 0 ;
26511 PyObject
* obj1
= 0 ;
26512 char *kwnames
[] = {
26513 (char *) "self",(char *) "style", NULL
26516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
26517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26519 arg2
= (int)SWIG_As_int(obj1
);
26520 if (PyErr_Occurred()) SWIG_fail
;
26522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26523 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
26525 wxPyEndAllowThreads(__tstate
);
26526 if (PyErr_Occurred()) SWIG_fail
;
26529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26537 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26538 PyObject
*resultobj
;
26539 wxWindow
*arg1
= (wxWindow
*) 0 ;
26541 PyObject
* obj0
= 0 ;
26542 char *kwnames
[] = {
26543 (char *) "self", NULL
26546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
26547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26551 result
= (int)((wxWindow
const *)arg1
)->GetBackgroundStyle();
26553 wxPyEndAllowThreads(__tstate
);
26554 if (PyErr_Occurred()) SWIG_fail
;
26556 resultobj
= SWIG_From_int((int)result
);
26563 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26564 PyObject
*resultobj
;
26565 wxWindow
*arg1
= (wxWindow
*) 0 ;
26566 wxCursor
*arg2
= 0 ;
26568 PyObject
* obj0
= 0 ;
26569 PyObject
* obj1
= 0 ;
26570 char *kwnames
[] = {
26571 (char *) "self",(char *) "cursor", NULL
26574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
26575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26577 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
26578 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26580 if (arg2
== NULL
) {
26581 PyErr_SetString(PyExc_TypeError
,"null reference");
26585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26586 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
26588 wxPyEndAllowThreads(__tstate
);
26589 if (PyErr_Occurred()) SWIG_fail
;
26592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26600 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26601 PyObject
*resultobj
;
26602 wxWindow
*arg1
= (wxWindow
*) 0 ;
26604 PyObject
* obj0
= 0 ;
26605 char *kwnames
[] = {
26606 (char *) "self", NULL
26609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
26610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26614 result
= (arg1
)->GetCursor();
26616 wxPyEndAllowThreads(__tstate
);
26617 if (PyErr_Occurred()) SWIG_fail
;
26620 wxCursor
* resultptr
;
26621 resultptr
= new wxCursor((wxCursor
&) result
);
26622 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
26630 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26631 PyObject
*resultobj
;
26632 wxWindow
*arg1
= (wxWindow
*) 0 ;
26635 PyObject
* obj0
= 0 ;
26636 PyObject
* obj1
= 0 ;
26637 char *kwnames
[] = {
26638 (char *) "self",(char *) "font", NULL
26641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26644 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26645 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26647 if (arg2
== NULL
) {
26648 PyErr_SetString(PyExc_TypeError
,"null reference");
26652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26653 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
26655 wxPyEndAllowThreads(__tstate
);
26656 if (PyErr_Occurred()) SWIG_fail
;
26659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26667 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26668 PyObject
*resultobj
;
26669 wxWindow
*arg1
= (wxWindow
*) 0 ;
26671 PyObject
* obj0
= 0 ;
26672 PyObject
* obj1
= 0 ;
26673 char *kwnames
[] = {
26674 (char *) "self",(char *) "font", NULL
26677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26680 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26681 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26683 if (arg2
== NULL
) {
26684 PyErr_SetString(PyExc_TypeError
,"null reference");
26688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26689 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
26691 wxPyEndAllowThreads(__tstate
);
26692 if (PyErr_Occurred()) SWIG_fail
;
26694 Py_INCREF(Py_None
); resultobj
= Py_None
;
26701 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26702 PyObject
*resultobj
;
26703 wxWindow
*arg1
= (wxWindow
*) 0 ;
26705 PyObject
* obj0
= 0 ;
26706 char *kwnames
[] = {
26707 (char *) "self", NULL
26710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
26711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26715 result
= (arg1
)->GetFont();
26717 wxPyEndAllowThreads(__tstate
);
26718 if (PyErr_Occurred()) SWIG_fail
;
26721 wxFont
* resultptr
;
26722 resultptr
= new wxFont((wxFont
&) result
);
26723 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
26731 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26732 PyObject
*resultobj
;
26733 wxWindow
*arg1
= (wxWindow
*) 0 ;
26734 wxCaret
*arg2
= (wxCaret
*) 0 ;
26735 PyObject
* obj0
= 0 ;
26736 PyObject
* obj1
= 0 ;
26737 char *kwnames
[] = {
26738 (char *) "self",(char *) "caret", NULL
26741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
26742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26744 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
26745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26748 (arg1
)->SetCaret(arg2
);
26750 wxPyEndAllowThreads(__tstate
);
26751 if (PyErr_Occurred()) SWIG_fail
;
26753 Py_INCREF(Py_None
); resultobj
= Py_None
;
26760 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26761 PyObject
*resultobj
;
26762 wxWindow
*arg1
= (wxWindow
*) 0 ;
26764 PyObject
* obj0
= 0 ;
26765 char *kwnames
[] = {
26766 (char *) "self", NULL
26769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
26770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26774 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
26776 wxPyEndAllowThreads(__tstate
);
26777 if (PyErr_Occurred()) SWIG_fail
;
26779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
26786 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26787 PyObject
*resultobj
;
26788 wxWindow
*arg1
= (wxWindow
*) 0 ;
26790 PyObject
* obj0
= 0 ;
26791 char *kwnames
[] = {
26792 (char *) "self", NULL
26795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
26796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26800 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
26802 wxPyEndAllowThreads(__tstate
);
26803 if (PyErr_Occurred()) SWIG_fail
;
26805 resultobj
= SWIG_From_int((int)result
);
26812 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26813 PyObject
*resultobj
;
26814 wxWindow
*arg1
= (wxWindow
*) 0 ;
26816 PyObject
* obj0
= 0 ;
26817 char *kwnames
[] = {
26818 (char *) "self", NULL
26821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
26822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26826 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
26828 wxPyEndAllowThreads(__tstate
);
26829 if (PyErr_Occurred()) SWIG_fail
;
26831 resultobj
= SWIG_From_int((int)result
);
26838 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26839 PyObject
*resultobj
;
26840 wxWindow
*arg1
= (wxWindow
*) 0 ;
26841 wxString
*arg2
= 0 ;
26842 int *arg3
= (int *) 0 ;
26843 int *arg4
= (int *) 0 ;
26844 bool temp2
= False
;
26849 PyObject
* obj0
= 0 ;
26850 PyObject
* obj1
= 0 ;
26851 char *kwnames
[] = {
26852 (char *) "self",(char *) "string", NULL
26855 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26856 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
26857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
26858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26861 arg2
= wxString_in_helper(obj1
);
26862 if (arg2
== NULL
) SWIG_fail
;
26866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26867 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
26869 wxPyEndAllowThreads(__tstate
);
26870 if (PyErr_Occurred()) SWIG_fail
;
26872 Py_INCREF(Py_None
); resultobj
= Py_None
;
26873 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26874 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26875 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
26876 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
26891 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26892 PyObject
*resultobj
;
26893 wxWindow
*arg1
= (wxWindow
*) 0 ;
26894 wxString
*arg2
= 0 ;
26895 int *arg3
= (int *) 0 ;
26896 int *arg4
= (int *) 0 ;
26897 int *arg5
= (int *) 0 ;
26898 int *arg6
= (int *) 0 ;
26899 wxFont
*arg7
= (wxFont
*) NULL
;
26900 bool temp2
= False
;
26909 PyObject
* obj0
= 0 ;
26910 PyObject
* obj1
= 0 ;
26911 PyObject
* obj2
= 0 ;
26912 char *kwnames
[] = {
26913 (char *) "self",(char *) "string",(char *) "font", NULL
26916 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26917 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
26918 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
26919 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
26920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26924 arg2
= wxString_in_helper(obj1
);
26925 if (arg2
== NULL
) SWIG_fail
;
26929 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
26930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26934 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
26936 wxPyEndAllowThreads(__tstate
);
26937 if (PyErr_Occurred()) SWIG_fail
;
26939 Py_INCREF(Py_None
); resultobj
= Py_None
;
26940 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26941 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26942 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
26943 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
26944 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
26945 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
26946 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
26947 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
26962 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26963 PyObject
*resultobj
;
26964 wxWindow
*arg1
= (wxWindow
*) 0 ;
26965 int *arg2
= (int *) 0 ;
26966 int *arg3
= (int *) 0 ;
26971 PyObject
* obj0
= 0 ;
26972 PyObject
* obj1
= 0 ;
26973 PyObject
* obj2
= 0 ;
26974 char *kwnames
[] = {
26975 (char *) "self",(char *) "x",(char *) "y", NULL
26978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26982 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
26983 temp2
= SWIG_As_int(obj1
);
26984 if (PyErr_Occurred()) SWIG_fail
;
26986 res2
= SWIG_NEWOBJ
;
26990 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
26991 temp3
= SWIG_As_int(obj2
);
26992 if (PyErr_Occurred()) SWIG_fail
;
26994 res3
= SWIG_NEWOBJ
;
26998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26999 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
27001 wxPyEndAllowThreads(__tstate
);
27002 if (PyErr_Occurred()) SWIG_fail
;
27004 Py_INCREF(Py_None
); resultobj
= Py_None
;
27005 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27006 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27007 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27008 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27015 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27016 PyObject
*resultobj
;
27017 wxWindow
*arg1
= (wxWindow
*) 0 ;
27018 int *arg2
= (int *) 0 ;
27019 int *arg3
= (int *) 0 ;
27024 PyObject
* obj0
= 0 ;
27025 PyObject
* obj1
= 0 ;
27026 PyObject
* obj2
= 0 ;
27027 char *kwnames
[] = {
27028 (char *) "self",(char *) "x",(char *) "y", NULL
27031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27035 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
27036 temp2
= SWIG_As_int(obj1
);
27037 if (PyErr_Occurred()) SWIG_fail
;
27039 res2
= SWIG_NEWOBJ
;
27043 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
27044 temp3
= SWIG_As_int(obj2
);
27045 if (PyErr_Occurred()) SWIG_fail
;
27047 res3
= SWIG_NEWOBJ
;
27051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27052 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
27054 wxPyEndAllowThreads(__tstate
);
27055 if (PyErr_Occurred()) SWIG_fail
;
27057 Py_INCREF(Py_None
); resultobj
= Py_None
;
27058 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27059 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27060 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27061 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27068 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27069 PyObject
*resultobj
;
27070 wxWindow
*arg1
= (wxWindow
*) 0 ;
27071 wxPoint
*arg2
= 0 ;
27074 PyObject
* obj0
= 0 ;
27075 PyObject
* obj1
= 0 ;
27076 char *kwnames
[] = {
27077 (char *) "self",(char *) "pt", NULL
27080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
27081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27085 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27089 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
27091 wxPyEndAllowThreads(__tstate
);
27092 if (PyErr_Occurred()) SWIG_fail
;
27095 wxPoint
* resultptr
;
27096 resultptr
= new wxPoint((wxPoint
&) result
);
27097 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27105 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27106 PyObject
*resultobj
;
27107 wxWindow
*arg1
= (wxWindow
*) 0 ;
27108 wxPoint
*arg2
= 0 ;
27111 PyObject
* obj0
= 0 ;
27112 PyObject
* obj1
= 0 ;
27113 char *kwnames
[] = {
27114 (char *) "self",(char *) "pt", NULL
27117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
27118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27122 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27126 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
27128 wxPyEndAllowThreads(__tstate
);
27129 if (PyErr_Occurred()) SWIG_fail
;
27132 wxPoint
* resultptr
;
27133 resultptr
= new wxPoint((wxPoint
&) result
);
27134 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27142 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27143 PyObject
*resultobj
;
27144 wxWindow
*arg1
= (wxWindow
*) 0 ;
27148 PyObject
* obj0
= 0 ;
27149 PyObject
* obj1
= 0 ;
27150 PyObject
* obj2
= 0 ;
27151 char *kwnames
[] = {
27152 (char *) "self",(char *) "x",(char *) "y", NULL
27155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27158 arg2
= (int)SWIG_As_int(obj1
);
27159 if (PyErr_Occurred()) SWIG_fail
;
27160 arg3
= (int)SWIG_As_int(obj2
);
27161 if (PyErr_Occurred()) SWIG_fail
;
27163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27164 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
27166 wxPyEndAllowThreads(__tstate
);
27167 if (PyErr_Occurred()) SWIG_fail
;
27169 resultobj
= SWIG_From_int((int)result
);
27176 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27177 PyObject
*resultobj
;
27178 wxWindow
*arg1
= (wxWindow
*) 0 ;
27179 wxPoint
*arg2
= 0 ;
27182 PyObject
* obj0
= 0 ;
27183 PyObject
* obj1
= 0 ;
27184 char *kwnames
[] = {
27185 (char *) "self",(char *) "pt", NULL
27188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27193 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27197 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
27199 wxPyEndAllowThreads(__tstate
);
27200 if (PyErr_Occurred()) SWIG_fail
;
27202 resultobj
= SWIG_From_int((int)result
);
27209 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
27210 PyObject
*resultobj
;
27211 wxWindow
*arg1
= (wxWindow
*) 0 ;
27214 PyObject
* obj0
= 0 ;
27215 PyObject
* obj1
= 0 ;
27217 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
27218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27220 arg2
= (long)SWIG_As_long(obj1
);
27221 if (PyErr_Occurred()) SWIG_fail
;
27223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27224 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
27226 wxPyEndAllowThreads(__tstate
);
27227 if (PyErr_Occurred()) SWIG_fail
;
27229 resultobj
= SWIG_From_int((int)result
);
27236 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
27237 PyObject
*resultobj
;
27238 wxWindow
*arg1
= (wxWindow
*) 0 ;
27240 PyObject
* obj0
= 0 ;
27242 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
27243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27247 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
27249 wxPyEndAllowThreads(__tstate
);
27250 if (PyErr_Occurred()) SWIG_fail
;
27252 resultobj
= SWIG_From_int((int)result
);
27259 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
27264 argc
= PyObject_Length(args
);
27265 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
27266 argv
[ii
] = PyTuple_GetItem(args
,ii
);
27272 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27280 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
27287 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27295 _v
= SWIG_Check_long(argv
[1]);
27297 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
27302 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
27307 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27308 PyObject
*resultobj
;
27309 wxWindow
*arg1
= (wxWindow
*) 0 ;
27310 long arg2
= (long) wxUPDATE_UI_NONE
;
27311 PyObject
* obj0
= 0 ;
27312 PyObject
* obj1
= 0 ;
27313 char *kwnames
[] = {
27314 (char *) "self",(char *) "flags", NULL
27317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
27318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27321 arg2
= (long)SWIG_As_long(obj1
);
27322 if (PyErr_Occurred()) SWIG_fail
;
27325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27326 (arg1
)->UpdateWindowUI(arg2
);
27328 wxPyEndAllowThreads(__tstate
);
27329 if (PyErr_Occurred()) SWIG_fail
;
27331 Py_INCREF(Py_None
); resultobj
= Py_None
;
27338 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27339 PyObject
*resultobj
;
27340 wxWindow
*arg1
= (wxWindow
*) 0 ;
27341 wxMenu
*arg2
= (wxMenu
*) 0 ;
27342 int arg3
= (int) -1 ;
27343 int arg4
= (int) -1 ;
27345 PyObject
* obj0
= 0 ;
27346 PyObject
* obj1
= 0 ;
27347 PyObject
* obj2
= 0 ;
27348 PyObject
* obj3
= 0 ;
27349 char *kwnames
[] = {
27350 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
27353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27356 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27359 arg3
= (int)SWIG_As_int(obj2
);
27360 if (PyErr_Occurred()) SWIG_fail
;
27363 arg4
= (int)SWIG_As_int(obj3
);
27364 if (PyErr_Occurred()) SWIG_fail
;
27367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27368 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
27370 wxPyEndAllowThreads(__tstate
);
27371 if (PyErr_Occurred()) SWIG_fail
;
27374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27382 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27383 PyObject
*resultobj
;
27384 wxWindow
*arg1
= (wxWindow
*) 0 ;
27385 wxMenu
*arg2
= (wxMenu
*) 0 ;
27386 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27387 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27390 PyObject
* obj0
= 0 ;
27391 PyObject
* obj1
= 0 ;
27392 PyObject
* obj2
= 0 ;
27393 char *kwnames
[] = {
27394 (char *) "self",(char *) "menu",(char *) "pos", NULL
27397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27400 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27405 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27410 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
27412 wxPyEndAllowThreads(__tstate
);
27413 if (PyErr_Occurred()) SWIG_fail
;
27416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27424 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27425 PyObject
*resultobj
;
27426 wxWindow
*arg1
= (wxWindow
*) 0 ;
27428 PyObject
* obj0
= 0 ;
27429 char *kwnames
[] = {
27430 (char *) "self", NULL
27433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
27434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27438 result
= (long)wxWindow_GetHandle(arg1
);
27440 wxPyEndAllowThreads(__tstate
);
27441 if (PyErr_Occurred()) SWIG_fail
;
27443 resultobj
= SWIG_From_long((long)result
);
27450 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27451 PyObject
*resultobj
;
27452 wxWindow
*arg1
= (wxWindow
*) 0 ;
27455 PyObject
* obj0
= 0 ;
27456 PyObject
* obj1
= 0 ;
27457 char *kwnames
[] = {
27458 (char *) "self",(char *) "orient", NULL
27461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
27462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27464 arg2
= (int)SWIG_As_int(obj1
);
27465 if (PyErr_Occurred()) SWIG_fail
;
27467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27468 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
27470 wxPyEndAllowThreads(__tstate
);
27471 if (PyErr_Occurred()) SWIG_fail
;
27474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27482 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27483 PyObject
*resultobj
;
27484 wxWindow
*arg1
= (wxWindow
*) 0 ;
27489 bool arg6
= (bool) True
;
27490 PyObject
* obj0
= 0 ;
27491 PyObject
* obj1
= 0 ;
27492 PyObject
* obj2
= 0 ;
27493 PyObject
* obj3
= 0 ;
27494 PyObject
* obj4
= 0 ;
27495 PyObject
* obj5
= 0 ;
27496 char *kwnames
[] = {
27497 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
27500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27503 arg2
= (int)SWIG_As_int(obj1
);
27504 if (PyErr_Occurred()) SWIG_fail
;
27505 arg3
= (int)SWIG_As_int(obj2
);
27506 if (PyErr_Occurred()) SWIG_fail
;
27507 arg4
= (int)SWIG_As_int(obj3
);
27508 if (PyErr_Occurred()) SWIG_fail
;
27509 arg5
= (int)SWIG_As_int(obj4
);
27510 if (PyErr_Occurred()) SWIG_fail
;
27512 arg6
= (bool)SWIG_As_bool(obj5
);
27513 if (PyErr_Occurred()) SWIG_fail
;
27516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27517 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
27519 wxPyEndAllowThreads(__tstate
);
27520 if (PyErr_Occurred()) SWIG_fail
;
27522 Py_INCREF(Py_None
); resultobj
= Py_None
;
27529 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27530 PyObject
*resultobj
;
27531 wxWindow
*arg1
= (wxWindow
*) 0 ;
27534 bool arg4
= (bool) True
;
27535 PyObject
* obj0
= 0 ;
27536 PyObject
* obj1
= 0 ;
27537 PyObject
* obj2
= 0 ;
27538 PyObject
* obj3
= 0 ;
27539 char *kwnames
[] = {
27540 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
27543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27546 arg2
= (int)SWIG_As_int(obj1
);
27547 if (PyErr_Occurred()) SWIG_fail
;
27548 arg3
= (int)SWIG_As_int(obj2
);
27549 if (PyErr_Occurred()) SWIG_fail
;
27551 arg4
= (bool)SWIG_As_bool(obj3
);
27552 if (PyErr_Occurred()) SWIG_fail
;
27555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27556 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
27558 wxPyEndAllowThreads(__tstate
);
27559 if (PyErr_Occurred()) SWIG_fail
;
27561 Py_INCREF(Py_None
); resultobj
= Py_None
;
27568 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27569 PyObject
*resultobj
;
27570 wxWindow
*arg1
= (wxWindow
*) 0 ;
27573 PyObject
* obj0
= 0 ;
27574 PyObject
* obj1
= 0 ;
27575 char *kwnames
[] = {
27576 (char *) "self",(char *) "orientation", NULL
27579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
27580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27582 arg2
= (int)SWIG_As_int(obj1
);
27583 if (PyErr_Occurred()) SWIG_fail
;
27585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27586 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
27588 wxPyEndAllowThreads(__tstate
);
27589 if (PyErr_Occurred()) SWIG_fail
;
27591 resultobj
= SWIG_From_int((int)result
);
27598 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27599 PyObject
*resultobj
;
27600 wxWindow
*arg1
= (wxWindow
*) 0 ;
27603 PyObject
* obj0
= 0 ;
27604 PyObject
* obj1
= 0 ;
27605 char *kwnames
[] = {
27606 (char *) "self",(char *) "orientation", NULL
27609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
27610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27612 arg2
= (int)SWIG_As_int(obj1
);
27613 if (PyErr_Occurred()) SWIG_fail
;
27615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27616 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
27618 wxPyEndAllowThreads(__tstate
);
27619 if (PyErr_Occurred()) SWIG_fail
;
27621 resultobj
= SWIG_From_int((int)result
);
27628 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27629 PyObject
*resultobj
;
27630 wxWindow
*arg1
= (wxWindow
*) 0 ;
27633 PyObject
* obj0
= 0 ;
27634 PyObject
* obj1
= 0 ;
27635 char *kwnames
[] = {
27636 (char *) "self",(char *) "orientation", NULL
27639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
27640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27642 arg2
= (int)SWIG_As_int(obj1
);
27643 if (PyErr_Occurred()) SWIG_fail
;
27645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27646 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
27648 wxPyEndAllowThreads(__tstate
);
27649 if (PyErr_Occurred()) SWIG_fail
;
27651 resultobj
= SWIG_From_int((int)result
);
27658 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27659 PyObject
*resultobj
;
27660 wxWindow
*arg1
= (wxWindow
*) 0 ;
27663 wxRect
*arg4
= (wxRect
*) NULL
;
27664 PyObject
* obj0
= 0 ;
27665 PyObject
* obj1
= 0 ;
27666 PyObject
* obj2
= 0 ;
27667 PyObject
* obj3
= 0 ;
27668 char *kwnames
[] = {
27669 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
27672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27675 arg2
= (int)SWIG_As_int(obj1
);
27676 if (PyErr_Occurred()) SWIG_fail
;
27677 arg3
= (int)SWIG_As_int(obj2
);
27678 if (PyErr_Occurred()) SWIG_fail
;
27680 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
27681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27685 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
27687 wxPyEndAllowThreads(__tstate
);
27688 if (PyErr_Occurred()) SWIG_fail
;
27690 Py_INCREF(Py_None
); resultobj
= Py_None
;
27697 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27698 PyObject
*resultobj
;
27699 wxWindow
*arg1
= (wxWindow
*) 0 ;
27702 PyObject
* obj0
= 0 ;
27703 PyObject
* obj1
= 0 ;
27704 char *kwnames
[] = {
27705 (char *) "self",(char *) "lines", NULL
27708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
27709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27711 arg2
= (int)SWIG_As_int(obj1
);
27712 if (PyErr_Occurred()) SWIG_fail
;
27714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27715 result
= (bool)(arg1
)->ScrollLines(arg2
);
27717 wxPyEndAllowThreads(__tstate
);
27718 if (PyErr_Occurred()) SWIG_fail
;
27721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27729 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27730 PyObject
*resultobj
;
27731 wxWindow
*arg1
= (wxWindow
*) 0 ;
27734 PyObject
* obj0
= 0 ;
27735 PyObject
* obj1
= 0 ;
27736 char *kwnames
[] = {
27737 (char *) "self",(char *) "pages", NULL
27740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
27741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27743 arg2
= (int)SWIG_As_int(obj1
);
27744 if (PyErr_Occurred()) SWIG_fail
;
27746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27747 result
= (bool)(arg1
)->ScrollPages(arg2
);
27749 wxPyEndAllowThreads(__tstate
);
27750 if (PyErr_Occurred()) SWIG_fail
;
27753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27761 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27762 PyObject
*resultobj
;
27763 wxWindow
*arg1
= (wxWindow
*) 0 ;
27765 PyObject
* obj0
= 0 ;
27766 char *kwnames
[] = {
27767 (char *) "self", NULL
27770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
27771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27775 result
= (bool)(arg1
)->LineUp();
27777 wxPyEndAllowThreads(__tstate
);
27778 if (PyErr_Occurred()) SWIG_fail
;
27781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27789 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27790 PyObject
*resultobj
;
27791 wxWindow
*arg1
= (wxWindow
*) 0 ;
27793 PyObject
* obj0
= 0 ;
27794 char *kwnames
[] = {
27795 (char *) "self", NULL
27798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
27799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27803 result
= (bool)(arg1
)->LineDown();
27805 wxPyEndAllowThreads(__tstate
);
27806 if (PyErr_Occurred()) SWIG_fail
;
27809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27817 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27818 PyObject
*resultobj
;
27819 wxWindow
*arg1
= (wxWindow
*) 0 ;
27821 PyObject
* obj0
= 0 ;
27822 char *kwnames
[] = {
27823 (char *) "self", NULL
27826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
27827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27831 result
= (bool)(arg1
)->PageUp();
27833 wxPyEndAllowThreads(__tstate
);
27834 if (PyErr_Occurred()) SWIG_fail
;
27837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27845 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27846 PyObject
*resultobj
;
27847 wxWindow
*arg1
= (wxWindow
*) 0 ;
27849 PyObject
* obj0
= 0 ;
27850 char *kwnames
[] = {
27851 (char *) "self", NULL
27854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
27855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27859 result
= (bool)(arg1
)->PageDown();
27861 wxPyEndAllowThreads(__tstate
);
27862 if (PyErr_Occurred()) SWIG_fail
;
27865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27873 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27874 PyObject
*resultobj
;
27875 wxWindow
*arg1
= (wxWindow
*) 0 ;
27876 wxString
*arg2
= 0 ;
27877 bool temp2
= False
;
27878 PyObject
* obj0
= 0 ;
27879 PyObject
* obj1
= 0 ;
27880 char *kwnames
[] = {
27881 (char *) "self",(char *) "text", NULL
27884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
27885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27888 arg2
= wxString_in_helper(obj1
);
27889 if (arg2
== NULL
) SWIG_fail
;
27893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27894 (arg1
)->SetHelpText((wxString
const &)*arg2
);
27896 wxPyEndAllowThreads(__tstate
);
27897 if (PyErr_Occurred()) SWIG_fail
;
27899 Py_INCREF(Py_None
); resultobj
= Py_None
;
27914 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27915 PyObject
*resultobj
;
27916 wxWindow
*arg1
= (wxWindow
*) 0 ;
27917 wxString
*arg2
= 0 ;
27918 bool temp2
= False
;
27919 PyObject
* obj0
= 0 ;
27920 PyObject
* obj1
= 0 ;
27921 char *kwnames
[] = {
27922 (char *) "self",(char *) "text", NULL
27925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
27926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27929 arg2
= wxString_in_helper(obj1
);
27930 if (arg2
== NULL
) SWIG_fail
;
27934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27935 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
27937 wxPyEndAllowThreads(__tstate
);
27938 if (PyErr_Occurred()) SWIG_fail
;
27940 Py_INCREF(Py_None
); resultobj
= Py_None
;
27955 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27956 PyObject
*resultobj
;
27957 wxWindow
*arg1
= (wxWindow
*) 0 ;
27959 PyObject
* obj0
= 0 ;
27960 char *kwnames
[] = {
27961 (char *) "self", NULL
27964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
27965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27969 result
= ((wxWindow
const *)arg1
)->GetHelpText();
27971 wxPyEndAllowThreads(__tstate
);
27972 if (PyErr_Occurred()) SWIG_fail
;
27976 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27978 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27987 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27988 PyObject
*resultobj
;
27989 wxWindow
*arg1
= (wxWindow
*) 0 ;
27990 wxString
*arg2
= 0 ;
27991 bool temp2
= False
;
27992 PyObject
* obj0
= 0 ;
27993 PyObject
* obj1
= 0 ;
27994 char *kwnames
[] = {
27995 (char *) "self",(char *) "tip", NULL
27998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
27999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28002 arg2
= wxString_in_helper(obj1
);
28003 if (arg2
== NULL
) SWIG_fail
;
28007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28008 (arg1
)->SetToolTip((wxString
const &)*arg2
);
28010 wxPyEndAllowThreads(__tstate
);
28011 if (PyErr_Occurred()) SWIG_fail
;
28013 Py_INCREF(Py_None
); resultobj
= Py_None
;
28028 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28029 PyObject
*resultobj
;
28030 wxWindow
*arg1
= (wxWindow
*) 0 ;
28031 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
28032 PyObject
* obj0
= 0 ;
28033 PyObject
* obj1
= 0 ;
28034 char *kwnames
[] = {
28035 (char *) "self",(char *) "tip", NULL
28038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
28039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28041 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
28042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28045 (arg1
)->SetToolTip(arg2
);
28047 wxPyEndAllowThreads(__tstate
);
28048 if (PyErr_Occurred()) SWIG_fail
;
28050 Py_INCREF(Py_None
); resultobj
= Py_None
;
28057 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28058 PyObject
*resultobj
;
28059 wxWindow
*arg1
= (wxWindow
*) 0 ;
28061 PyObject
* obj0
= 0 ;
28062 char *kwnames
[] = {
28063 (char *) "self", NULL
28066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
28067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28071 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
28073 wxPyEndAllowThreads(__tstate
);
28074 if (PyErr_Occurred()) SWIG_fail
;
28077 resultobj
= wxPyMake_wxObject(result
, 0);
28085 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28086 PyObject
*resultobj
;
28087 wxWindow
*arg1
= (wxWindow
*) 0 ;
28088 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
28089 PyObject
* obj0
= 0 ;
28090 PyObject
* obj1
= 0 ;
28091 char *kwnames
[] = {
28092 (char *) "self",(char *) "dropTarget", NULL
28095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
28096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28098 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
28099 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
28101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28102 (arg1
)->SetDropTarget(arg2
);
28104 wxPyEndAllowThreads(__tstate
);
28105 if (PyErr_Occurred()) SWIG_fail
;
28107 Py_INCREF(Py_None
); resultobj
= Py_None
;
28114 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28115 PyObject
*resultobj
;
28116 wxWindow
*arg1
= (wxWindow
*) 0 ;
28117 wxPyDropTarget
*result
;
28118 PyObject
* obj0
= 0 ;
28119 char *kwnames
[] = {
28120 (char *) "self", NULL
28123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
28124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28128 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
28130 wxPyEndAllowThreads(__tstate
);
28131 if (PyErr_Occurred()) SWIG_fail
;
28133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
28140 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28141 PyObject
*resultobj
;
28142 wxWindow
*arg1
= (wxWindow
*) 0 ;
28143 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
28144 PyObject
* obj0
= 0 ;
28145 PyObject
* obj1
= 0 ;
28146 char *kwnames
[] = {
28147 (char *) "self",(char *) "constraints", NULL
28150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
28151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28153 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
28154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28157 (arg1
)->SetConstraints(arg2
);
28159 wxPyEndAllowThreads(__tstate
);
28160 if (PyErr_Occurred()) SWIG_fail
;
28162 Py_INCREF(Py_None
); resultobj
= Py_None
;
28169 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28170 PyObject
*resultobj
;
28171 wxWindow
*arg1
= (wxWindow
*) 0 ;
28172 wxLayoutConstraints
*result
;
28173 PyObject
* obj0
= 0 ;
28174 char *kwnames
[] = {
28175 (char *) "self", NULL
28178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
28179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28183 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
28185 wxPyEndAllowThreads(__tstate
);
28186 if (PyErr_Occurred()) SWIG_fail
;
28188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
28195 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28196 PyObject
*resultobj
;
28197 wxWindow
*arg1
= (wxWindow
*) 0 ;
28199 PyObject
* obj0
= 0 ;
28200 PyObject
* obj1
= 0 ;
28201 char *kwnames
[] = {
28202 (char *) "self",(char *) "autoLayout", NULL
28205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
28206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28208 arg2
= (bool)SWIG_As_bool(obj1
);
28209 if (PyErr_Occurred()) SWIG_fail
;
28211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28212 (arg1
)->SetAutoLayout(arg2
);
28214 wxPyEndAllowThreads(__tstate
);
28215 if (PyErr_Occurred()) SWIG_fail
;
28217 Py_INCREF(Py_None
); resultobj
= Py_None
;
28224 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28225 PyObject
*resultobj
;
28226 wxWindow
*arg1
= (wxWindow
*) 0 ;
28228 PyObject
* obj0
= 0 ;
28229 char *kwnames
[] = {
28230 (char *) "self", NULL
28233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
28234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28238 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
28240 wxPyEndAllowThreads(__tstate
);
28241 if (PyErr_Occurred()) SWIG_fail
;
28244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28252 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28253 PyObject
*resultobj
;
28254 wxWindow
*arg1
= (wxWindow
*) 0 ;
28256 PyObject
* obj0
= 0 ;
28257 char *kwnames
[] = {
28258 (char *) "self", NULL
28261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
28262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28266 result
= (bool)(arg1
)->Layout();
28268 wxPyEndAllowThreads(__tstate
);
28269 if (PyErr_Occurred()) SWIG_fail
;
28272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28280 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28281 PyObject
*resultobj
;
28282 wxWindow
*arg1
= (wxWindow
*) 0 ;
28283 wxSizer
*arg2
= (wxSizer
*) 0 ;
28284 bool arg3
= (bool) True
;
28285 PyObject
* obj0
= 0 ;
28286 PyObject
* obj1
= 0 ;
28287 PyObject
* obj2
= 0 ;
28288 char *kwnames
[] = {
28289 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28295 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28298 arg3
= (bool)SWIG_As_bool(obj2
);
28299 if (PyErr_Occurred()) SWIG_fail
;
28302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28303 (arg1
)->SetSizer(arg2
,arg3
);
28305 wxPyEndAllowThreads(__tstate
);
28306 if (PyErr_Occurred()) SWIG_fail
;
28308 Py_INCREF(Py_None
); resultobj
= Py_None
;
28315 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28316 PyObject
*resultobj
;
28317 wxWindow
*arg1
= (wxWindow
*) 0 ;
28318 wxSizer
*arg2
= (wxSizer
*) 0 ;
28319 bool arg3
= (bool) True
;
28320 PyObject
* obj0
= 0 ;
28321 PyObject
* obj1
= 0 ;
28322 PyObject
* obj2
= 0 ;
28323 char *kwnames
[] = {
28324 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28330 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28333 arg3
= (bool)SWIG_As_bool(obj2
);
28334 if (PyErr_Occurred()) SWIG_fail
;
28337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28338 (arg1
)->SetSizerAndFit(arg2
,arg3
);
28340 wxPyEndAllowThreads(__tstate
);
28341 if (PyErr_Occurred()) SWIG_fail
;
28343 Py_INCREF(Py_None
); resultobj
= Py_None
;
28350 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28351 PyObject
*resultobj
;
28352 wxWindow
*arg1
= (wxWindow
*) 0 ;
28354 PyObject
* obj0
= 0 ;
28355 char *kwnames
[] = {
28356 (char *) "self", NULL
28359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
28360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28364 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
28366 wxPyEndAllowThreads(__tstate
);
28367 if (PyErr_Occurred()) SWIG_fail
;
28370 resultobj
= wxPyMake_wxSizer(result
, 0);
28378 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28379 PyObject
*resultobj
;
28380 wxWindow
*arg1
= (wxWindow
*) 0 ;
28381 wxSizer
*arg2
= (wxSizer
*) 0 ;
28382 PyObject
* obj0
= 0 ;
28383 PyObject
* obj1
= 0 ;
28384 char *kwnames
[] = {
28385 (char *) "self",(char *) "sizer", NULL
28388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
28389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28391 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28395 (arg1
)->SetContainingSizer(arg2
);
28397 wxPyEndAllowThreads(__tstate
);
28398 if (PyErr_Occurred()) SWIG_fail
;
28400 Py_INCREF(Py_None
); resultobj
= Py_None
;
28407 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28408 PyObject
*resultobj
;
28409 wxWindow
*arg1
= (wxWindow
*) 0 ;
28411 PyObject
* obj0
= 0 ;
28412 char *kwnames
[] = {
28413 (char *) "self", NULL
28416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
28417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28421 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
28423 wxPyEndAllowThreads(__tstate
);
28424 if (PyErr_Occurred()) SWIG_fail
;
28427 resultobj
= wxPyMake_wxSizer(result
, 0);
28435 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28436 PyObject
*resultobj
;
28437 wxWindow
*arg1
= (wxWindow
*) 0 ;
28438 PyObject
* obj0
= 0 ;
28439 char *kwnames
[] = {
28440 (char *) "self", NULL
28443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
28444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28448 (arg1
)->InheritAttributes();
28450 wxPyEndAllowThreads(__tstate
);
28451 if (PyErr_Occurred()) SWIG_fail
;
28453 Py_INCREF(Py_None
); resultobj
= Py_None
;
28460 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28461 PyObject
*resultobj
;
28462 wxWindow
*arg1
= (wxWindow
*) 0 ;
28464 PyObject
* obj0
= 0 ;
28465 char *kwnames
[] = {
28466 (char *) "self", NULL
28469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
28470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28474 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
28476 wxPyEndAllowThreads(__tstate
);
28477 if (PyErr_Occurred()) SWIG_fail
;
28480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28488 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
28490 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28491 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
28493 return Py_BuildValue((char *)"");
28495 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28496 PyObject
*resultobj
;
28498 wxWindow
*arg2
= (wxWindow
*) NULL
;
28500 PyObject
* obj0
= 0 ;
28501 PyObject
* obj1
= 0 ;
28502 char *kwnames
[] = {
28503 (char *) "id",(char *) "parent", NULL
28506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28507 arg1
= (long)SWIG_As_long(obj0
);
28508 if (PyErr_Occurred()) SWIG_fail
;
28510 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28514 if (!wxPyCheckForApp()) SWIG_fail
;
28515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28516 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
28518 wxPyEndAllowThreads(__tstate
);
28519 if (PyErr_Occurred()) SWIG_fail
;
28522 resultobj
= wxPyMake_wxObject(result
, 0);
28530 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28531 PyObject
*resultobj
;
28532 wxString
*arg1
= 0 ;
28533 wxWindow
*arg2
= (wxWindow
*) NULL
;
28535 bool temp1
= False
;
28536 PyObject
* obj0
= 0 ;
28537 PyObject
* obj1
= 0 ;
28538 char *kwnames
[] = {
28539 (char *) "name",(char *) "parent", NULL
28542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28544 arg1
= wxString_in_helper(obj0
);
28545 if (arg1
== NULL
) SWIG_fail
;
28549 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28553 if (!wxPyCheckForApp()) SWIG_fail
;
28554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28555 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28557 wxPyEndAllowThreads(__tstate
);
28558 if (PyErr_Occurred()) SWIG_fail
;
28561 resultobj
= wxPyMake_wxObject(result
, 0);
28577 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28578 PyObject
*resultobj
;
28579 wxString
*arg1
= 0 ;
28580 wxWindow
*arg2
= (wxWindow
*) NULL
;
28582 bool temp1
= False
;
28583 PyObject
* obj0
= 0 ;
28584 PyObject
* obj1
= 0 ;
28585 char *kwnames
[] = {
28586 (char *) "label",(char *) "parent", NULL
28589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28591 arg1
= wxString_in_helper(obj0
);
28592 if (arg1
== NULL
) SWIG_fail
;
28596 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28600 if (!wxPyCheckForApp()) SWIG_fail
;
28601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28602 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28604 wxPyEndAllowThreads(__tstate
);
28605 if (PyErr_Occurred()) SWIG_fail
;
28608 resultobj
= wxPyMake_wxObject(result
, 0);
28624 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28625 PyObject
*resultobj
;
28626 wxWindow
*arg1
= (wxWindow
*) 0 ;
28627 unsigned long arg2
;
28629 PyObject
* obj0
= 0 ;
28630 PyObject
* obj1
= 0 ;
28631 char *kwnames
[] = {
28632 (char *) "parent",(char *) "_hWnd", NULL
28635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
28636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28638 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
28639 if (PyErr_Occurred()) SWIG_fail
;
28641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28642 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
28644 wxPyEndAllowThreads(__tstate
);
28645 if (PyErr_Occurred()) SWIG_fail
;
28648 resultobj
= wxPyMake_wxObject(result
, 0);
28656 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28657 PyObject
*resultobj
;
28658 wxValidator
*result
;
28659 char *kwnames
[] = {
28663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
28665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28666 result
= (wxValidator
*)new wxValidator();
28668 wxPyEndAllowThreads(__tstate
);
28669 if (PyErr_Occurred()) SWIG_fail
;
28671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
28678 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28679 PyObject
*resultobj
;
28680 wxValidator
*arg1
= (wxValidator
*) 0 ;
28681 wxValidator
*result
;
28682 PyObject
* obj0
= 0 ;
28683 char *kwnames
[] = {
28684 (char *) "self", NULL
28687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
28688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28692 result
= (wxValidator
*)(arg1
)->Clone();
28694 wxPyEndAllowThreads(__tstate
);
28695 if (PyErr_Occurred()) SWIG_fail
;
28698 resultobj
= wxPyMake_wxObject(result
, 0);
28706 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28707 PyObject
*resultobj
;
28708 wxValidator
*arg1
= (wxValidator
*) 0 ;
28709 wxWindow
*arg2
= (wxWindow
*) 0 ;
28711 PyObject
* obj0
= 0 ;
28712 PyObject
* obj1
= 0 ;
28713 char *kwnames
[] = {
28714 (char *) "self",(char *) "parent", NULL
28717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
28718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28720 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28724 result
= (bool)(arg1
)->Validate(arg2
);
28726 wxPyEndAllowThreads(__tstate
);
28727 if (PyErr_Occurred()) SWIG_fail
;
28730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28738 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28739 PyObject
*resultobj
;
28740 wxValidator
*arg1
= (wxValidator
*) 0 ;
28742 PyObject
* obj0
= 0 ;
28743 char *kwnames
[] = {
28744 (char *) "self", NULL
28747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
28748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28752 result
= (bool)(arg1
)->TransferToWindow();
28754 wxPyEndAllowThreads(__tstate
);
28755 if (PyErr_Occurred()) SWIG_fail
;
28758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28766 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28767 PyObject
*resultobj
;
28768 wxValidator
*arg1
= (wxValidator
*) 0 ;
28770 PyObject
* obj0
= 0 ;
28771 char *kwnames
[] = {
28772 (char *) "self", NULL
28775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
28776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28780 result
= (bool)(arg1
)->TransferFromWindow();
28782 wxPyEndAllowThreads(__tstate
);
28783 if (PyErr_Occurred()) SWIG_fail
;
28786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28794 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28795 PyObject
*resultobj
;
28796 wxValidator
*arg1
= (wxValidator
*) 0 ;
28798 PyObject
* obj0
= 0 ;
28799 char *kwnames
[] = {
28800 (char *) "self", NULL
28803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
28804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28808 result
= (wxWindow
*)(arg1
)->GetWindow();
28810 wxPyEndAllowThreads(__tstate
);
28811 if (PyErr_Occurred()) SWIG_fail
;
28814 resultobj
= wxPyMake_wxObject(result
, 0);
28822 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28823 PyObject
*resultobj
;
28824 wxValidator
*arg1
= (wxValidator
*) 0 ;
28825 wxWindow
*arg2
= (wxWindow
*) 0 ;
28826 PyObject
* obj0
= 0 ;
28827 PyObject
* obj1
= 0 ;
28828 char *kwnames
[] = {
28829 (char *) "self",(char *) "window", NULL
28832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
28833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28835 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28839 (arg1
)->SetWindow(arg2
);
28841 wxPyEndAllowThreads(__tstate
);
28842 if (PyErr_Occurred()) SWIG_fail
;
28844 Py_INCREF(Py_None
); resultobj
= Py_None
;
28851 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28852 PyObject
*resultobj
;
28854 char *kwnames
[] = {
28858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
28860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28861 result
= (bool)wxValidator::IsSilent();
28863 wxPyEndAllowThreads(__tstate
);
28864 if (PyErr_Occurred()) SWIG_fail
;
28867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28875 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28876 PyObject
*resultobj
;
28877 int arg1
= (int) True
;
28878 PyObject
* obj0
= 0 ;
28879 char *kwnames
[] = {
28880 (char *) "doIt", NULL
28883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
28885 arg1
= (int)SWIG_As_int(obj0
);
28886 if (PyErr_Occurred()) SWIG_fail
;
28889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28890 wxValidator::SetBellOnError(arg1
);
28892 wxPyEndAllowThreads(__tstate
);
28893 if (PyErr_Occurred()) SWIG_fail
;
28895 Py_INCREF(Py_None
); resultobj
= Py_None
;
28902 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
28904 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28905 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
28907 return Py_BuildValue((char *)"");
28909 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28910 PyObject
*resultobj
;
28911 wxPyValidator
*result
;
28912 char *kwnames
[] = {
28916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
28918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28919 result
= (wxPyValidator
*)new wxPyValidator();
28921 wxPyEndAllowThreads(__tstate
);
28922 if (PyErr_Occurred()) SWIG_fail
;
28924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
28931 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28932 PyObject
*resultobj
;
28933 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
28934 PyObject
*arg2
= (PyObject
*) 0 ;
28935 PyObject
*arg3
= (PyObject
*) 0 ;
28936 int arg4
= (int) True
;
28937 PyObject
* obj0
= 0 ;
28938 PyObject
* obj1
= 0 ;
28939 PyObject
* obj2
= 0 ;
28940 PyObject
* obj3
= 0 ;
28941 char *kwnames
[] = {
28942 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
28947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28951 arg4
= (int)SWIG_As_int(obj3
);
28952 if (PyErr_Occurred()) SWIG_fail
;
28955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28956 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28958 wxPyEndAllowThreads(__tstate
);
28959 if (PyErr_Occurred()) SWIG_fail
;
28961 Py_INCREF(Py_None
); resultobj
= Py_None
;
28968 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
28970 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28971 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
28973 return Py_BuildValue((char *)"");
28975 static int _wrap_DefaultValidator_set(PyObject
*) {
28976 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
28981 static PyObject
*_wrap_DefaultValidator_get() {
28984 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
28989 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28990 PyObject
*resultobj
;
28991 wxString
const &arg1_defvalue
= wxPyEmptyString
;
28992 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
28993 long arg2
= (long) 0 ;
28995 bool temp1
= False
;
28996 PyObject
* obj0
= 0 ;
28997 PyObject
* obj1
= 0 ;
28998 char *kwnames
[] = {
28999 (char *) "title",(char *) "style", NULL
29002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
29005 arg1
= wxString_in_helper(obj0
);
29006 if (arg1
== NULL
) SWIG_fail
;
29011 arg2
= (long)SWIG_As_long(obj1
);
29012 if (PyErr_Occurred()) SWIG_fail
;
29015 if (!wxPyCheckForApp()) SWIG_fail
;
29016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29017 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
29019 wxPyEndAllowThreads(__tstate
);
29020 if (PyErr_Occurred()) SWIG_fail
;
29022 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
29037 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29038 PyObject
*resultobj
;
29039 wxMenu
*arg1
= (wxMenu
*) 0 ;
29041 wxString
*arg3
= 0 ;
29042 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29043 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29044 int arg5
= (int) wxITEM_NORMAL
;
29045 wxMenuItem
*result
;
29046 bool temp3
= False
;
29047 bool temp4
= False
;
29048 PyObject
* obj0
= 0 ;
29049 PyObject
* obj1
= 0 ;
29050 PyObject
* obj2
= 0 ;
29051 PyObject
* obj3
= 0 ;
29052 PyObject
* obj4
= 0 ;
29053 char *kwnames
[] = {
29054 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29060 arg2
= (int)SWIG_As_int(obj1
);
29061 if (PyErr_Occurred()) SWIG_fail
;
29063 arg3
= wxString_in_helper(obj2
);
29064 if (arg3
== NULL
) SWIG_fail
;
29069 arg4
= wxString_in_helper(obj3
);
29070 if (arg4
== NULL
) SWIG_fail
;
29075 arg5
= (int)SWIG_As_int(obj4
);
29076 if (PyErr_Occurred()) SWIG_fail
;
29079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29080 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29082 wxPyEndAllowThreads(__tstate
);
29083 if (PyErr_Occurred()) SWIG_fail
;
29086 resultobj
= wxPyMake_wxObject(result
, 0);
29110 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29111 PyObject
*resultobj
;
29112 wxMenu
*arg1
= (wxMenu
*) 0 ;
29113 wxMenuItem
*result
;
29114 PyObject
* obj0
= 0 ;
29115 char *kwnames
[] = {
29116 (char *) "self", NULL
29119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
29120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29124 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
29126 wxPyEndAllowThreads(__tstate
);
29127 if (PyErr_Occurred()) SWIG_fail
;
29130 resultobj
= wxPyMake_wxObject(result
, 0);
29138 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29139 PyObject
*resultobj
;
29140 wxMenu
*arg1
= (wxMenu
*) 0 ;
29142 wxString
*arg3
= 0 ;
29143 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29144 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29145 wxMenuItem
*result
;
29146 bool temp3
= False
;
29147 bool temp4
= False
;
29148 PyObject
* obj0
= 0 ;
29149 PyObject
* obj1
= 0 ;
29150 PyObject
* obj2
= 0 ;
29151 PyObject
* obj3
= 0 ;
29152 char *kwnames
[] = {
29153 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29159 arg2
= (int)SWIG_As_int(obj1
);
29160 if (PyErr_Occurred()) SWIG_fail
;
29162 arg3
= wxString_in_helper(obj2
);
29163 if (arg3
== NULL
) SWIG_fail
;
29168 arg4
= wxString_in_helper(obj3
);
29169 if (arg4
== NULL
) SWIG_fail
;
29174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29175 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29177 wxPyEndAllowThreads(__tstate
);
29178 if (PyErr_Occurred()) SWIG_fail
;
29181 resultobj
= wxPyMake_wxObject(result
, 0);
29205 static PyObject
*_wrap_Menu_AppendRadioItem(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_AppendRadioItem",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
)->AppendRadioItem(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_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29273 PyObject
*resultobj
;
29274 wxMenu
*arg1
= (wxMenu
*) 0 ;
29276 wxString
*arg3
= 0 ;
29277 wxMenu
*arg4
= (wxMenu
*) 0 ;
29278 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29279 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29280 wxMenuItem
*result
;
29281 bool temp3
= False
;
29282 bool temp5
= False
;
29283 PyObject
* obj0
= 0 ;
29284 PyObject
* obj1
= 0 ;
29285 PyObject
* obj2
= 0 ;
29286 PyObject
* obj3
= 0 ;
29287 PyObject
* obj4
= 0 ;
29288 char *kwnames
[] = {
29289 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29295 arg2
= (int)SWIG_As_int(obj1
);
29296 if (PyErr_Occurred()) SWIG_fail
;
29298 arg3
= wxString_in_helper(obj2
);
29299 if (arg3
== NULL
) SWIG_fail
;
29302 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29306 arg5
= wxString_in_helper(obj4
);
29307 if (arg5
== NULL
) SWIG_fail
;
29312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29313 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29315 wxPyEndAllowThreads(__tstate
);
29316 if (PyErr_Occurred()) SWIG_fail
;
29319 resultobj
= wxPyMake_wxObject(result
, 0);
29343 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29344 PyObject
*resultobj
;
29345 wxMenu
*arg1
= (wxMenu
*) 0 ;
29346 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29347 wxMenuItem
*result
;
29348 PyObject
* obj0
= 0 ;
29349 PyObject
* obj1
= 0 ;
29350 char *kwnames
[] = {
29351 (char *) "self",(char *) "item", NULL
29354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29357 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29361 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
29363 wxPyEndAllowThreads(__tstate
);
29364 if (PyErr_Occurred()) SWIG_fail
;
29367 resultobj
= wxPyMake_wxObject(result
, 0);
29375 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29376 PyObject
*resultobj
;
29377 wxMenu
*arg1
= (wxMenu
*) 0 ;
29378 PyObject
* obj0
= 0 ;
29379 char *kwnames
[] = {
29380 (char *) "self", NULL
29383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
29384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29390 wxPyEndAllowThreads(__tstate
);
29391 if (PyErr_Occurred()) SWIG_fail
;
29393 Py_INCREF(Py_None
); resultobj
= Py_None
;
29400 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29401 PyObject
*resultobj
;
29402 wxMenu
*arg1
= (wxMenu
*) 0 ;
29404 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
29405 wxMenuItem
*result
;
29406 PyObject
* obj0
= 0 ;
29407 PyObject
* obj1
= 0 ;
29408 PyObject
* obj2
= 0 ;
29409 char *kwnames
[] = {
29410 (char *) "self",(char *) "pos",(char *) "item", NULL
29413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29416 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29417 if (PyErr_Occurred()) SWIG_fail
;
29418 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
29419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29422 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
29424 wxPyEndAllowThreads(__tstate
);
29425 if (PyErr_Occurred()) SWIG_fail
;
29428 resultobj
= wxPyMake_wxObject(result
, 0);
29436 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29437 PyObject
*resultobj
;
29438 wxMenu
*arg1
= (wxMenu
*) 0 ;
29441 wxString
*arg4
= 0 ;
29442 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29443 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29444 int arg6
= (int) wxITEM_NORMAL
;
29445 wxMenuItem
*result
;
29446 bool temp4
= False
;
29447 bool temp5
= False
;
29448 PyObject
* obj0
= 0 ;
29449 PyObject
* obj1
= 0 ;
29450 PyObject
* obj2
= 0 ;
29451 PyObject
* obj3
= 0 ;
29452 PyObject
* obj4
= 0 ;
29453 PyObject
* obj5
= 0 ;
29454 char *kwnames
[] = {
29455 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29461 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29462 if (PyErr_Occurred()) SWIG_fail
;
29463 arg3
= (int)SWIG_As_int(obj2
);
29464 if (PyErr_Occurred()) SWIG_fail
;
29466 arg4
= wxString_in_helper(obj3
);
29467 if (arg4
== NULL
) SWIG_fail
;
29472 arg5
= wxString_in_helper(obj4
);
29473 if (arg5
== NULL
) SWIG_fail
;
29478 arg6
= (int)SWIG_As_int(obj5
);
29479 if (PyErr_Occurred()) SWIG_fail
;
29482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29483 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
29485 wxPyEndAllowThreads(__tstate
);
29486 if (PyErr_Occurred()) SWIG_fail
;
29489 resultobj
= wxPyMake_wxObject(result
, 0);
29513 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29514 PyObject
*resultobj
;
29515 wxMenu
*arg1
= (wxMenu
*) 0 ;
29517 wxMenuItem
*result
;
29518 PyObject
* obj0
= 0 ;
29519 PyObject
* obj1
= 0 ;
29520 char *kwnames
[] = {
29521 (char *) "self",(char *) "pos", NULL
29524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
29525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29527 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29528 if (PyErr_Occurred()) SWIG_fail
;
29530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29531 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
29533 wxPyEndAllowThreads(__tstate
);
29534 if (PyErr_Occurred()) SWIG_fail
;
29537 resultobj
= wxPyMake_wxObject(result
, 0);
29545 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29546 PyObject
*resultobj
;
29547 wxMenu
*arg1
= (wxMenu
*) 0 ;
29550 wxString
*arg4
= 0 ;
29551 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29552 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29553 wxMenuItem
*result
;
29554 bool temp4
= False
;
29555 bool temp5
= False
;
29556 PyObject
* obj0
= 0 ;
29557 PyObject
* obj1
= 0 ;
29558 PyObject
* obj2
= 0 ;
29559 PyObject
* obj3
= 0 ;
29560 PyObject
* obj4
= 0 ;
29561 char *kwnames
[] = {
29562 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29568 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29569 if (PyErr_Occurred()) SWIG_fail
;
29570 arg3
= (int)SWIG_As_int(obj2
);
29571 if (PyErr_Occurred()) SWIG_fail
;
29573 arg4
= wxString_in_helper(obj3
);
29574 if (arg4
== NULL
) SWIG_fail
;
29579 arg5
= wxString_in_helper(obj4
);
29580 if (arg5
== NULL
) SWIG_fail
;
29585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29586 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29588 wxPyEndAllowThreads(__tstate
);
29589 if (PyErr_Occurred()) SWIG_fail
;
29592 resultobj
= wxPyMake_wxObject(result
, 0);
29616 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29617 PyObject
*resultobj
;
29618 wxMenu
*arg1
= (wxMenu
*) 0 ;
29621 wxString
*arg4
= 0 ;
29622 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29623 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29624 wxMenuItem
*result
;
29625 bool temp4
= False
;
29626 bool temp5
= False
;
29627 PyObject
* obj0
= 0 ;
29628 PyObject
* obj1
= 0 ;
29629 PyObject
* obj2
= 0 ;
29630 PyObject
* obj3
= 0 ;
29631 PyObject
* obj4
= 0 ;
29632 char *kwnames
[] = {
29633 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29639 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29640 if (PyErr_Occurred()) SWIG_fail
;
29641 arg3
= (int)SWIG_As_int(obj2
);
29642 if (PyErr_Occurred()) SWIG_fail
;
29644 arg4
= wxString_in_helper(obj3
);
29645 if (arg4
== NULL
) SWIG_fail
;
29650 arg5
= wxString_in_helper(obj4
);
29651 if (arg5
== NULL
) SWIG_fail
;
29656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29657 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29659 wxPyEndAllowThreads(__tstate
);
29660 if (PyErr_Occurred()) SWIG_fail
;
29663 resultobj
= wxPyMake_wxObject(result
, 0);
29687 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29688 PyObject
*resultobj
;
29689 wxMenu
*arg1
= (wxMenu
*) 0 ;
29692 wxString
*arg4
= 0 ;
29693 wxMenu
*arg5
= (wxMenu
*) 0 ;
29694 wxString
const &arg6_defvalue
= wxPyEmptyString
;
29695 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29696 wxMenuItem
*result
;
29697 bool temp4
= False
;
29698 bool temp6
= False
;
29699 PyObject
* obj0
= 0 ;
29700 PyObject
* obj1
= 0 ;
29701 PyObject
* obj2
= 0 ;
29702 PyObject
* obj3
= 0 ;
29703 PyObject
* obj4
= 0 ;
29704 PyObject
* obj5
= 0 ;
29705 char *kwnames
[] = {
29706 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29712 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29713 if (PyErr_Occurred()) SWIG_fail
;
29714 arg3
= (int)SWIG_As_int(obj2
);
29715 if (PyErr_Occurred()) SWIG_fail
;
29717 arg4
= wxString_in_helper(obj3
);
29718 if (arg4
== NULL
) SWIG_fail
;
29721 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
29722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29725 arg6
= wxString_in_helper(obj5
);
29726 if (arg6
== NULL
) SWIG_fail
;
29731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29732 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29734 wxPyEndAllowThreads(__tstate
);
29735 if (PyErr_Occurred()) SWIG_fail
;
29738 resultobj
= wxPyMake_wxObject(result
, 0);
29762 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29763 PyObject
*resultobj
;
29764 wxMenu
*arg1
= (wxMenu
*) 0 ;
29765 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29766 wxMenuItem
*result
;
29767 PyObject
* obj0
= 0 ;
29768 PyObject
* obj1
= 0 ;
29769 char *kwnames
[] = {
29770 (char *) "self",(char *) "item", NULL
29773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29776 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29780 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
29782 wxPyEndAllowThreads(__tstate
);
29783 if (PyErr_Occurred()) SWIG_fail
;
29786 resultobj
= wxPyMake_wxObject(result
, 0);
29794 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29795 PyObject
*resultobj
;
29796 wxMenu
*arg1
= (wxMenu
*) 0 ;
29798 wxString
*arg3
= 0 ;
29799 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29800 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29801 int arg5
= (int) wxITEM_NORMAL
;
29802 wxMenuItem
*result
;
29803 bool temp3
= False
;
29804 bool temp4
= False
;
29805 PyObject
* obj0
= 0 ;
29806 PyObject
* obj1
= 0 ;
29807 PyObject
* obj2
= 0 ;
29808 PyObject
* obj3
= 0 ;
29809 PyObject
* obj4
= 0 ;
29810 char *kwnames
[] = {
29811 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29817 arg2
= (int)SWIG_As_int(obj1
);
29818 if (PyErr_Occurred()) SWIG_fail
;
29820 arg3
= wxString_in_helper(obj2
);
29821 if (arg3
== NULL
) SWIG_fail
;
29826 arg4
= wxString_in_helper(obj3
);
29827 if (arg4
== NULL
) SWIG_fail
;
29832 arg5
= (int)SWIG_As_int(obj4
);
29833 if (PyErr_Occurred()) SWIG_fail
;
29836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29837 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29839 wxPyEndAllowThreads(__tstate
);
29840 if (PyErr_Occurred()) SWIG_fail
;
29843 resultobj
= wxPyMake_wxObject(result
, 0);
29867 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29868 PyObject
*resultobj
;
29869 wxMenu
*arg1
= (wxMenu
*) 0 ;
29870 wxMenuItem
*result
;
29871 PyObject
* obj0
= 0 ;
29872 char *kwnames
[] = {
29873 (char *) "self", NULL
29876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
29877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29881 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
29883 wxPyEndAllowThreads(__tstate
);
29884 if (PyErr_Occurred()) SWIG_fail
;
29887 resultobj
= wxPyMake_wxObject(result
, 0);
29895 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29896 PyObject
*resultobj
;
29897 wxMenu
*arg1
= (wxMenu
*) 0 ;
29899 wxString
*arg3
= 0 ;
29900 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29901 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29902 wxMenuItem
*result
;
29903 bool temp3
= False
;
29904 bool temp4
= False
;
29905 PyObject
* obj0
= 0 ;
29906 PyObject
* obj1
= 0 ;
29907 PyObject
* obj2
= 0 ;
29908 PyObject
* obj3
= 0 ;
29909 char *kwnames
[] = {
29910 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29916 arg2
= (int)SWIG_As_int(obj1
);
29917 if (PyErr_Occurred()) SWIG_fail
;
29919 arg3
= wxString_in_helper(obj2
);
29920 if (arg3
== NULL
) SWIG_fail
;
29925 arg4
= wxString_in_helper(obj3
);
29926 if (arg4
== NULL
) SWIG_fail
;
29931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29932 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29934 wxPyEndAllowThreads(__tstate
);
29935 if (PyErr_Occurred()) SWIG_fail
;
29938 resultobj
= wxPyMake_wxObject(result
, 0);
29962 static PyObject
*_wrap_Menu_PrependRadioItem(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_PrependRadioItem",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
)->PrependRadioItem(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_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30030 PyObject
*resultobj
;
30031 wxMenu
*arg1
= (wxMenu
*) 0 ;
30033 wxString
*arg3
= 0 ;
30034 wxMenu
*arg4
= (wxMenu
*) 0 ;
30035 wxString
const &arg5_defvalue
= wxPyEmptyString
;
30036 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
30037 wxMenuItem
*result
;
30038 bool temp3
= False
;
30039 bool temp5
= False
;
30040 PyObject
* obj0
= 0 ;
30041 PyObject
* obj1
= 0 ;
30042 PyObject
* obj2
= 0 ;
30043 PyObject
* obj3
= 0 ;
30044 PyObject
* obj4
= 0 ;
30045 char *kwnames
[] = {
30046 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
30049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30052 arg2
= (int)SWIG_As_int(obj1
);
30053 if (PyErr_Occurred()) SWIG_fail
;
30055 arg3
= wxString_in_helper(obj2
);
30056 if (arg3
== NULL
) SWIG_fail
;
30059 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
30060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30063 arg5
= wxString_in_helper(obj4
);
30064 if (arg5
== NULL
) SWIG_fail
;
30069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30070 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
30072 wxPyEndAllowThreads(__tstate
);
30073 if (PyErr_Occurred()) SWIG_fail
;
30076 resultobj
= wxPyMake_wxObject(result
, 0);
30100 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30101 PyObject
*resultobj
;
30102 wxMenu
*arg1
= (wxMenu
*) 0 ;
30104 wxMenuItem
*result
;
30105 PyObject
* obj0
= 0 ;
30106 PyObject
* obj1
= 0 ;
30107 char *kwnames
[] = {
30108 (char *) "self",(char *) "id", NULL
30111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
30112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30114 arg2
= (int)SWIG_As_int(obj1
);
30115 if (PyErr_Occurred()) SWIG_fail
;
30117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30118 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
30120 wxPyEndAllowThreads(__tstate
);
30121 if (PyErr_Occurred()) SWIG_fail
;
30124 resultobj
= wxPyMake_wxObject(result
, 0);
30132 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30133 PyObject
*resultobj
;
30134 wxMenu
*arg1
= (wxMenu
*) 0 ;
30135 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30136 wxMenuItem
*result
;
30137 PyObject
* obj0
= 0 ;
30138 PyObject
* obj1
= 0 ;
30139 char *kwnames
[] = {
30140 (char *) "self",(char *) "item", NULL
30143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30146 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30150 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
30152 wxPyEndAllowThreads(__tstate
);
30153 if (PyErr_Occurred()) SWIG_fail
;
30156 resultobj
= wxPyMake_wxObject(result
, 0);
30164 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30165 PyObject
*resultobj
;
30166 wxMenu
*arg1
= (wxMenu
*) 0 ;
30169 PyObject
* obj0
= 0 ;
30170 PyObject
* obj1
= 0 ;
30171 char *kwnames
[] = {
30172 (char *) "self",(char *) "id", NULL
30175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30178 arg2
= (int)SWIG_As_int(obj1
);
30179 if (PyErr_Occurred()) SWIG_fail
;
30181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30182 result
= (bool)(arg1
)->Delete(arg2
);
30184 wxPyEndAllowThreads(__tstate
);
30185 if (PyErr_Occurred()) SWIG_fail
;
30188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30196 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30197 PyObject
*resultobj
;
30198 wxMenu
*arg1
= (wxMenu
*) 0 ;
30199 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30201 PyObject
* obj0
= 0 ;
30202 PyObject
* obj1
= 0 ;
30203 char *kwnames
[] = {
30204 (char *) "self",(char *) "item", NULL
30207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30210 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30214 result
= (bool)(arg1
)->Delete(arg2
);
30216 wxPyEndAllowThreads(__tstate
);
30217 if (PyErr_Occurred()) SWIG_fail
;
30220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30228 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30229 PyObject
*resultobj
;
30230 wxMenu
*arg1
= (wxMenu
*) 0 ;
30231 PyObject
* obj0
= 0 ;
30232 char *kwnames
[] = {
30233 (char *) "self", NULL
30236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
30237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30241 wxMenu_Destroy(arg1
);
30243 wxPyEndAllowThreads(__tstate
);
30244 if (PyErr_Occurred()) SWIG_fail
;
30246 Py_INCREF(Py_None
); resultobj
= Py_None
;
30253 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30254 PyObject
*resultobj
;
30255 wxMenu
*arg1
= (wxMenu
*) 0 ;
30258 PyObject
* obj0
= 0 ;
30259 PyObject
* obj1
= 0 ;
30260 char *kwnames
[] = {
30261 (char *) "self",(char *) "id", NULL
30264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
30265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30267 arg2
= (int)SWIG_As_int(obj1
);
30268 if (PyErr_Occurred()) SWIG_fail
;
30270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30271 result
= (bool)(arg1
)->Destroy(arg2
);
30273 wxPyEndAllowThreads(__tstate
);
30274 if (PyErr_Occurred()) SWIG_fail
;
30277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30285 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30286 PyObject
*resultobj
;
30287 wxMenu
*arg1
= (wxMenu
*) 0 ;
30288 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30290 PyObject
* obj0
= 0 ;
30291 PyObject
* obj1
= 0 ;
30292 char *kwnames
[] = {
30293 (char *) "self",(char *) "item", NULL
30296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30299 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30303 result
= (bool)(arg1
)->Destroy(arg2
);
30305 wxPyEndAllowThreads(__tstate
);
30306 if (PyErr_Occurred()) SWIG_fail
;
30309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30317 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30318 PyObject
*resultobj
;
30319 wxMenu
*arg1
= (wxMenu
*) 0 ;
30321 PyObject
* obj0
= 0 ;
30322 char *kwnames
[] = {
30323 (char *) "self", NULL
30326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
30327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30331 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
30333 wxPyEndAllowThreads(__tstate
);
30334 if (PyErr_Occurred()) SWIG_fail
;
30336 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
30343 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30344 PyObject
*resultobj
;
30345 wxMenu
*arg1
= (wxMenu
*) 0 ;
30347 PyObject
* obj0
= 0 ;
30348 char *kwnames
[] = {
30349 (char *) "self", NULL
30352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
30353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30357 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
30359 wxPyEndAllowThreads(__tstate
);
30360 if (PyErr_Occurred()) SWIG_fail
;
30362 resultobj
= result
;
30369 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30370 PyObject
*resultobj
;
30371 wxMenu
*arg1
= (wxMenu
*) 0 ;
30372 wxString
*arg2
= 0 ;
30374 bool temp2
= False
;
30375 PyObject
* obj0
= 0 ;
30376 PyObject
* obj1
= 0 ;
30377 char *kwnames
[] = {
30378 (char *) "self",(char *) "item", NULL
30381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30385 arg2
= wxString_in_helper(obj1
);
30386 if (arg2
== NULL
) SWIG_fail
;
30390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30391 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
30393 wxPyEndAllowThreads(__tstate
);
30394 if (PyErr_Occurred()) SWIG_fail
;
30396 resultobj
= SWIG_From_int((int)result
);
30411 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30412 PyObject
*resultobj
;
30413 wxMenu
*arg1
= (wxMenu
*) 0 ;
30415 wxMenuItem
*result
;
30416 PyObject
* obj0
= 0 ;
30417 PyObject
* obj1
= 0 ;
30418 char *kwnames
[] = {
30419 (char *) "self",(char *) "id", NULL
30422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
30423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30425 arg2
= (int)SWIG_As_int(obj1
);
30426 if (PyErr_Occurred()) SWIG_fail
;
30428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30429 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
30431 wxPyEndAllowThreads(__tstate
);
30432 if (PyErr_Occurred()) SWIG_fail
;
30435 resultobj
= wxPyMake_wxObject(result
, 0);
30443 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30444 PyObject
*resultobj
;
30445 wxMenu
*arg1
= (wxMenu
*) 0 ;
30447 wxMenuItem
*result
;
30448 PyObject
* obj0
= 0 ;
30449 PyObject
* obj1
= 0 ;
30450 char *kwnames
[] = {
30451 (char *) "self",(char *) "position", NULL
30454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
30455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30457 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30458 if (PyErr_Occurred()) SWIG_fail
;
30460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30461 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
30463 wxPyEndAllowThreads(__tstate
);
30464 if (PyErr_Occurred()) SWIG_fail
;
30467 resultobj
= wxPyMake_wxObject(result
, 0);
30475 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30476 PyObject
*resultobj
;
30477 wxMenu
*arg1
= (wxMenu
*) 0 ;
30480 PyObject
* obj0
= 0 ;
30481 PyObject
* obj1
= 0 ;
30482 PyObject
* obj2
= 0 ;
30483 char *kwnames
[] = {
30484 (char *) "self",(char *) "id",(char *) "enable", NULL
30487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30490 arg2
= (int)SWIG_As_int(obj1
);
30491 if (PyErr_Occurred()) SWIG_fail
;
30492 arg3
= (bool)SWIG_As_bool(obj2
);
30493 if (PyErr_Occurred()) SWIG_fail
;
30495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30496 (arg1
)->Enable(arg2
,arg3
);
30498 wxPyEndAllowThreads(__tstate
);
30499 if (PyErr_Occurred()) SWIG_fail
;
30501 Py_INCREF(Py_None
); resultobj
= Py_None
;
30508 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30509 PyObject
*resultobj
;
30510 wxMenu
*arg1
= (wxMenu
*) 0 ;
30513 PyObject
* obj0
= 0 ;
30514 PyObject
* obj1
= 0 ;
30515 char *kwnames
[] = {
30516 (char *) "self",(char *) "id", NULL
30519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
30520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30522 arg2
= (int)SWIG_As_int(obj1
);
30523 if (PyErr_Occurred()) SWIG_fail
;
30525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30526 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
30528 wxPyEndAllowThreads(__tstate
);
30529 if (PyErr_Occurred()) SWIG_fail
;
30532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30540 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30541 PyObject
*resultobj
;
30542 wxMenu
*arg1
= (wxMenu
*) 0 ;
30545 PyObject
* obj0
= 0 ;
30546 PyObject
* obj1
= 0 ;
30547 PyObject
* obj2
= 0 ;
30548 char *kwnames
[] = {
30549 (char *) "self",(char *) "id",(char *) "check", NULL
30552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30555 arg2
= (int)SWIG_As_int(obj1
);
30556 if (PyErr_Occurred()) SWIG_fail
;
30557 arg3
= (bool)SWIG_As_bool(obj2
);
30558 if (PyErr_Occurred()) SWIG_fail
;
30560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30561 (arg1
)->Check(arg2
,arg3
);
30563 wxPyEndAllowThreads(__tstate
);
30564 if (PyErr_Occurred()) SWIG_fail
;
30566 Py_INCREF(Py_None
); resultobj
= Py_None
;
30573 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30574 PyObject
*resultobj
;
30575 wxMenu
*arg1
= (wxMenu
*) 0 ;
30578 PyObject
* obj0
= 0 ;
30579 PyObject
* obj1
= 0 ;
30580 char *kwnames
[] = {
30581 (char *) "self",(char *) "id", NULL
30584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
30585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30587 arg2
= (int)SWIG_As_int(obj1
);
30588 if (PyErr_Occurred()) SWIG_fail
;
30590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30591 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
30593 wxPyEndAllowThreads(__tstate
);
30594 if (PyErr_Occurred()) SWIG_fail
;
30597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30605 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30606 PyObject
*resultobj
;
30607 wxMenu
*arg1
= (wxMenu
*) 0 ;
30609 wxString
*arg3
= 0 ;
30610 bool temp3
= False
;
30611 PyObject
* obj0
= 0 ;
30612 PyObject
* obj1
= 0 ;
30613 PyObject
* obj2
= 0 ;
30614 char *kwnames
[] = {
30615 (char *) "self",(char *) "id",(char *) "label", NULL
30618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30621 arg2
= (int)SWIG_As_int(obj1
);
30622 if (PyErr_Occurred()) SWIG_fail
;
30624 arg3
= wxString_in_helper(obj2
);
30625 if (arg3
== NULL
) SWIG_fail
;
30629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30630 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
30632 wxPyEndAllowThreads(__tstate
);
30633 if (PyErr_Occurred()) SWIG_fail
;
30635 Py_INCREF(Py_None
); resultobj
= Py_None
;
30650 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30651 PyObject
*resultobj
;
30652 wxMenu
*arg1
= (wxMenu
*) 0 ;
30655 PyObject
* obj0
= 0 ;
30656 PyObject
* obj1
= 0 ;
30657 char *kwnames
[] = {
30658 (char *) "self",(char *) "id", NULL
30661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30664 arg2
= (int)SWIG_As_int(obj1
);
30665 if (PyErr_Occurred()) SWIG_fail
;
30667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30668 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
30670 wxPyEndAllowThreads(__tstate
);
30671 if (PyErr_Occurred()) SWIG_fail
;
30675 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30677 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30686 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30687 PyObject
*resultobj
;
30688 wxMenu
*arg1
= (wxMenu
*) 0 ;
30690 wxString
*arg3
= 0 ;
30691 bool temp3
= False
;
30692 PyObject
* obj0
= 0 ;
30693 PyObject
* obj1
= 0 ;
30694 PyObject
* obj2
= 0 ;
30695 char *kwnames
[] = {
30696 (char *) "self",(char *) "id",(char *) "helpString", NULL
30699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30702 arg2
= (int)SWIG_As_int(obj1
);
30703 if (PyErr_Occurred()) SWIG_fail
;
30705 arg3
= wxString_in_helper(obj2
);
30706 if (arg3
== NULL
) SWIG_fail
;
30710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30711 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
30713 wxPyEndAllowThreads(__tstate
);
30714 if (PyErr_Occurred()) SWIG_fail
;
30716 Py_INCREF(Py_None
); resultobj
= Py_None
;
30731 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30732 PyObject
*resultobj
;
30733 wxMenu
*arg1
= (wxMenu
*) 0 ;
30736 PyObject
* obj0
= 0 ;
30737 PyObject
* obj1
= 0 ;
30738 char *kwnames
[] = {
30739 (char *) "self",(char *) "id", NULL
30742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
30743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30745 arg2
= (int)SWIG_As_int(obj1
);
30746 if (PyErr_Occurred()) SWIG_fail
;
30748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30749 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
30751 wxPyEndAllowThreads(__tstate
);
30752 if (PyErr_Occurred()) SWIG_fail
;
30756 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30758 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30767 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30768 PyObject
*resultobj
;
30769 wxMenu
*arg1
= (wxMenu
*) 0 ;
30770 wxString
*arg2
= 0 ;
30771 bool temp2
= False
;
30772 PyObject
* obj0
= 0 ;
30773 PyObject
* obj1
= 0 ;
30774 char *kwnames
[] = {
30775 (char *) "self",(char *) "title", NULL
30778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
30779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30782 arg2
= wxString_in_helper(obj1
);
30783 if (arg2
== NULL
) SWIG_fail
;
30787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30788 (arg1
)->SetTitle((wxString
const &)*arg2
);
30790 wxPyEndAllowThreads(__tstate
);
30791 if (PyErr_Occurred()) SWIG_fail
;
30793 Py_INCREF(Py_None
); resultobj
= Py_None
;
30808 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30809 PyObject
*resultobj
;
30810 wxMenu
*arg1
= (wxMenu
*) 0 ;
30812 PyObject
* obj0
= 0 ;
30813 char *kwnames
[] = {
30814 (char *) "self", NULL
30817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
30818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30822 result
= ((wxMenu
const *)arg1
)->GetTitle();
30824 wxPyEndAllowThreads(__tstate
);
30825 if (PyErr_Occurred()) SWIG_fail
;
30829 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30831 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30840 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30841 PyObject
*resultobj
;
30842 wxMenu
*arg1
= (wxMenu
*) 0 ;
30843 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
30844 PyObject
* obj0
= 0 ;
30845 PyObject
* obj1
= 0 ;
30846 char *kwnames
[] = {
30847 (char *) "self",(char *) "handler", NULL
30850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
30851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30853 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30857 (arg1
)->SetEventHandler(arg2
);
30859 wxPyEndAllowThreads(__tstate
);
30860 if (PyErr_Occurred()) SWIG_fail
;
30862 Py_INCREF(Py_None
); resultobj
= Py_None
;
30869 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30870 PyObject
*resultobj
;
30871 wxMenu
*arg1
= (wxMenu
*) 0 ;
30872 wxEvtHandler
*result
;
30873 PyObject
* obj0
= 0 ;
30874 char *kwnames
[] = {
30875 (char *) "self", NULL
30878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
30879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30883 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
30885 wxPyEndAllowThreads(__tstate
);
30886 if (PyErr_Occurred()) SWIG_fail
;
30889 resultobj
= wxPyMake_wxObject(result
, 0);
30897 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30898 PyObject
*resultobj
;
30899 wxMenu
*arg1
= (wxMenu
*) 0 ;
30900 wxWindow
*arg2
= (wxWindow
*) 0 ;
30901 PyObject
* obj0
= 0 ;
30902 PyObject
* obj1
= 0 ;
30903 char *kwnames
[] = {
30904 (char *) "self",(char *) "win", NULL
30907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
30908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30910 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30914 (arg1
)->SetInvokingWindow(arg2
);
30916 wxPyEndAllowThreads(__tstate
);
30917 if (PyErr_Occurred()) SWIG_fail
;
30919 Py_INCREF(Py_None
); resultobj
= Py_None
;
30926 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30927 PyObject
*resultobj
;
30928 wxMenu
*arg1
= (wxMenu
*) 0 ;
30930 PyObject
* obj0
= 0 ;
30931 char *kwnames
[] = {
30932 (char *) "self", NULL
30935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
30936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30940 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
30942 wxPyEndAllowThreads(__tstate
);
30943 if (PyErr_Occurred()) SWIG_fail
;
30946 resultobj
= wxPyMake_wxObject(result
, 0);
30954 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30955 PyObject
*resultobj
;
30956 wxMenu
*arg1
= (wxMenu
*) 0 ;
30958 PyObject
* obj0
= 0 ;
30959 char *kwnames
[] = {
30960 (char *) "self", NULL
30963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
30964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30968 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
30970 wxPyEndAllowThreads(__tstate
);
30971 if (PyErr_Occurred()) SWIG_fail
;
30973 resultobj
= SWIG_From_long((long)result
);
30980 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30981 PyObject
*resultobj
;
30982 wxMenu
*arg1
= (wxMenu
*) 0 ;
30983 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
30984 PyObject
* obj0
= 0 ;
30985 PyObject
* obj1
= 0 ;
30986 char *kwnames
[] = {
30987 (char *) "self",(char *) "source", NULL
30990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30994 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30999 (arg1
)->UpdateUI(arg2
);
31001 wxPyEndAllowThreads(__tstate
);
31002 if (PyErr_Occurred()) SWIG_fail
;
31004 Py_INCREF(Py_None
); resultobj
= Py_None
;
31011 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31012 PyObject
*resultobj
;
31013 wxMenu
*arg1
= (wxMenu
*) 0 ;
31015 PyObject
* obj0
= 0 ;
31016 char *kwnames
[] = {
31017 (char *) "self", NULL
31020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
31021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31025 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
31027 wxPyEndAllowThreads(__tstate
);
31028 if (PyErr_Occurred()) SWIG_fail
;
31031 resultobj
= wxPyMake_wxObject(result
, 0);
31039 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31040 PyObject
*resultobj
;
31041 wxMenu
*arg1
= (wxMenu
*) 0 ;
31042 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
31043 PyObject
* obj0
= 0 ;
31044 PyObject
* obj1
= 0 ;
31045 char *kwnames
[] = {
31046 (char *) "self",(char *) "menubar", NULL
31049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
31050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31052 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
31053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31056 (arg1
)->Attach(arg2
);
31058 wxPyEndAllowThreads(__tstate
);
31059 if (PyErr_Occurred()) SWIG_fail
;
31061 Py_INCREF(Py_None
); resultobj
= Py_None
;
31068 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31069 PyObject
*resultobj
;
31070 wxMenu
*arg1
= (wxMenu
*) 0 ;
31071 PyObject
* obj0
= 0 ;
31072 char *kwnames
[] = {
31073 (char *) "self", NULL
31076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
31077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31083 wxPyEndAllowThreads(__tstate
);
31084 if (PyErr_Occurred()) SWIG_fail
;
31086 Py_INCREF(Py_None
); resultobj
= Py_None
;
31093 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31094 PyObject
*resultobj
;
31095 wxMenu
*arg1
= (wxMenu
*) 0 ;
31097 PyObject
* obj0
= 0 ;
31098 char *kwnames
[] = {
31099 (char *) "self", NULL
31102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
31103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31107 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
31109 wxPyEndAllowThreads(__tstate
);
31110 if (PyErr_Occurred()) SWIG_fail
;
31113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31121 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31122 PyObject
*resultobj
;
31123 wxMenu
*arg1
= (wxMenu
*) 0 ;
31124 wxMenu
*arg2
= (wxMenu
*) 0 ;
31125 PyObject
* obj0
= 0 ;
31126 PyObject
* obj1
= 0 ;
31127 char *kwnames
[] = {
31128 (char *) "self",(char *) "parent", NULL
31131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
31132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31134 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31138 (arg1
)->SetParent(arg2
);
31140 wxPyEndAllowThreads(__tstate
);
31141 if (PyErr_Occurred()) SWIG_fail
;
31143 Py_INCREF(Py_None
); resultobj
= Py_None
;
31150 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31151 PyObject
*resultobj
;
31152 wxMenu
*arg1
= (wxMenu
*) 0 ;
31154 PyObject
* obj0
= 0 ;
31155 char *kwnames
[] = {
31156 (char *) "self", NULL
31159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
31160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31164 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
31166 wxPyEndAllowThreads(__tstate
);
31167 if (PyErr_Occurred()) SWIG_fail
;
31170 resultobj
= wxPyMake_wxObject(result
, 0);
31178 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
31180 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31181 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
31183 return Py_BuildValue((char *)"");
31185 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31186 PyObject
*resultobj
;
31187 long arg1
= (long) 0 ;
31189 PyObject
* obj0
= 0 ;
31190 char *kwnames
[] = {
31191 (char *) "style", NULL
31194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
31196 arg1
= (long)SWIG_As_long(obj0
);
31197 if (PyErr_Occurred()) SWIG_fail
;
31200 if (!wxPyCheckForApp()) SWIG_fail
;
31201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31202 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
31204 wxPyEndAllowThreads(__tstate
);
31205 if (PyErr_Occurred()) SWIG_fail
;
31207 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
31214 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31215 PyObject
*resultobj
;
31216 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31217 wxMenu
*arg2
= (wxMenu
*) 0 ;
31218 wxString
*arg3
= 0 ;
31220 bool temp3
= False
;
31221 PyObject
* obj0
= 0 ;
31222 PyObject
* obj1
= 0 ;
31223 PyObject
* obj2
= 0 ;
31224 char *kwnames
[] = {
31225 (char *) "self",(char *) "menu",(char *) "title", NULL
31228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31231 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31234 arg3
= wxString_in_helper(obj2
);
31235 if (arg3
== NULL
) SWIG_fail
;
31239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31240 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
31242 wxPyEndAllowThreads(__tstate
);
31243 if (PyErr_Occurred()) SWIG_fail
;
31246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31262 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31263 PyObject
*resultobj
;
31264 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31266 wxMenu
*arg3
= (wxMenu
*) 0 ;
31267 wxString
*arg4
= 0 ;
31269 bool temp4
= False
;
31270 PyObject
* obj0
= 0 ;
31271 PyObject
* obj1
= 0 ;
31272 PyObject
* obj2
= 0 ;
31273 PyObject
* obj3
= 0 ;
31274 char *kwnames
[] = {
31275 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31281 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31282 if (PyErr_Occurred()) SWIG_fail
;
31283 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31286 arg4
= wxString_in_helper(obj3
);
31287 if (arg4
== NULL
) SWIG_fail
;
31291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31292 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
31294 wxPyEndAllowThreads(__tstate
);
31295 if (PyErr_Occurred()) SWIG_fail
;
31298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31314 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31315 PyObject
*resultobj
;
31316 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31318 PyObject
* obj0
= 0 ;
31319 char *kwnames
[] = {
31320 (char *) "self", NULL
31323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
31324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31328 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
31330 wxPyEndAllowThreads(__tstate
);
31331 if (PyErr_Occurred()) SWIG_fail
;
31333 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
31340 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31341 PyObject
*resultobj
;
31342 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31345 PyObject
* obj0
= 0 ;
31346 PyObject
* obj1
= 0 ;
31347 char *kwnames
[] = {
31348 (char *) "self",(char *) "pos", NULL
31351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31354 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31355 if (PyErr_Occurred()) SWIG_fail
;
31357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31358 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
31360 wxPyEndAllowThreads(__tstate
);
31361 if (PyErr_Occurred()) SWIG_fail
;
31364 resultobj
= wxPyMake_wxObject(result
, 0);
31372 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31373 PyObject
*resultobj
;
31374 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31376 wxMenu
*arg3
= (wxMenu
*) 0 ;
31377 wxString
*arg4
= 0 ;
31379 bool temp4
= False
;
31380 PyObject
* obj0
= 0 ;
31381 PyObject
* obj1
= 0 ;
31382 PyObject
* obj2
= 0 ;
31383 PyObject
* obj3
= 0 ;
31384 char *kwnames
[] = {
31385 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31391 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31392 if (PyErr_Occurred()) SWIG_fail
;
31393 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31396 arg4
= wxString_in_helper(obj3
);
31397 if (arg4
== NULL
) SWIG_fail
;
31401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31402 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
31404 wxPyEndAllowThreads(__tstate
);
31405 if (PyErr_Occurred()) SWIG_fail
;
31408 resultobj
= wxPyMake_wxObject(result
, 0);
31424 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31425 PyObject
*resultobj
;
31426 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31429 PyObject
* obj0
= 0 ;
31430 PyObject
* obj1
= 0 ;
31431 char *kwnames
[] = {
31432 (char *) "self",(char *) "pos", NULL
31435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
31436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31438 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31439 if (PyErr_Occurred()) SWIG_fail
;
31441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31442 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
31444 wxPyEndAllowThreads(__tstate
);
31445 if (PyErr_Occurred()) SWIG_fail
;
31448 resultobj
= wxPyMake_wxObject(result
, 0);
31456 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31457 PyObject
*resultobj
;
31458 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31461 PyObject
* obj0
= 0 ;
31462 PyObject
* obj1
= 0 ;
31463 PyObject
* obj2
= 0 ;
31464 char *kwnames
[] = {
31465 (char *) "self",(char *) "pos",(char *) "enable", NULL
31468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31471 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31472 if (PyErr_Occurred()) SWIG_fail
;
31473 arg3
= (bool)SWIG_As_bool(obj2
);
31474 if (PyErr_Occurred()) SWIG_fail
;
31476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31477 (arg1
)->EnableTop(arg2
,arg3
);
31479 wxPyEndAllowThreads(__tstate
);
31480 if (PyErr_Occurred()) SWIG_fail
;
31482 Py_INCREF(Py_None
); resultobj
= Py_None
;
31489 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31490 PyObject
*resultobj
;
31491 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31494 PyObject
* obj0
= 0 ;
31495 PyObject
* obj1
= 0 ;
31496 char *kwnames
[] = {
31497 (char *) "self",(char *) "pos", NULL
31500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31503 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31504 if (PyErr_Occurred()) SWIG_fail
;
31506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31507 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
31509 wxPyEndAllowThreads(__tstate
);
31510 if (PyErr_Occurred()) SWIG_fail
;
31513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31521 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31522 PyObject
*resultobj
;
31523 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31525 wxString
*arg3
= 0 ;
31526 bool temp3
= False
;
31527 PyObject
* obj0
= 0 ;
31528 PyObject
* obj1
= 0 ;
31529 PyObject
* obj2
= 0 ;
31530 char *kwnames
[] = {
31531 (char *) "self",(char *) "pos",(char *) "label", NULL
31534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31537 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31538 if (PyErr_Occurred()) SWIG_fail
;
31540 arg3
= wxString_in_helper(obj2
);
31541 if (arg3
== NULL
) SWIG_fail
;
31545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31546 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
31548 wxPyEndAllowThreads(__tstate
);
31549 if (PyErr_Occurred()) SWIG_fail
;
31551 Py_INCREF(Py_None
); resultobj
= Py_None
;
31566 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31567 PyObject
*resultobj
;
31568 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31571 PyObject
* obj0
= 0 ;
31572 PyObject
* obj1
= 0 ;
31573 char *kwnames
[] = {
31574 (char *) "self",(char *) "pos", NULL
31577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31580 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31581 if (PyErr_Occurred()) SWIG_fail
;
31583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31584 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
31586 wxPyEndAllowThreads(__tstate
);
31587 if (PyErr_Occurred()) SWIG_fail
;
31591 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31593 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31602 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31603 PyObject
*resultobj
;
31604 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31605 wxString
*arg2
= 0 ;
31606 wxString
*arg3
= 0 ;
31608 bool temp2
= False
;
31609 bool temp3
= False
;
31610 PyObject
* obj0
= 0 ;
31611 PyObject
* obj1
= 0 ;
31612 PyObject
* obj2
= 0 ;
31613 char *kwnames
[] = {
31614 (char *) "self",(char *) "menu",(char *) "item", NULL
31617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31621 arg2
= wxString_in_helper(obj1
);
31622 if (arg2
== NULL
) SWIG_fail
;
31626 arg3
= wxString_in_helper(obj2
);
31627 if (arg3
== NULL
) SWIG_fail
;
31631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31632 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
31634 wxPyEndAllowThreads(__tstate
);
31635 if (PyErr_Occurred()) SWIG_fail
;
31637 resultobj
= SWIG_From_int((int)result
);
31660 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31661 PyObject
*resultobj
;
31662 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31664 wxMenuItem
*result
;
31665 PyObject
* obj0
= 0 ;
31666 PyObject
* obj1
= 0 ;
31667 char *kwnames
[] = {
31668 (char *) "self",(char *) "id", NULL
31671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
31672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31674 arg2
= (int)SWIG_As_int(obj1
);
31675 if (PyErr_Occurred()) SWIG_fail
;
31677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31678 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
31680 wxPyEndAllowThreads(__tstate
);
31681 if (PyErr_Occurred()) SWIG_fail
;
31684 resultobj
= wxPyMake_wxObject(result
, 0);
31692 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31693 PyObject
*resultobj
;
31694 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31695 wxString
*arg2
= 0 ;
31697 bool temp2
= False
;
31698 PyObject
* obj0
= 0 ;
31699 PyObject
* obj1
= 0 ;
31700 char *kwnames
[] = {
31701 (char *) "self",(char *) "title", NULL
31704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31708 arg2
= wxString_in_helper(obj1
);
31709 if (arg2
== NULL
) SWIG_fail
;
31713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31714 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
31716 wxPyEndAllowThreads(__tstate
);
31717 if (PyErr_Occurred()) SWIG_fail
;
31719 resultobj
= SWIG_From_int((int)result
);
31734 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31735 PyObject
*resultobj
;
31736 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31739 PyObject
* obj0
= 0 ;
31740 PyObject
* obj1
= 0 ;
31741 PyObject
* obj2
= 0 ;
31742 char *kwnames
[] = {
31743 (char *) "self",(char *) "id",(char *) "enable", NULL
31746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31749 arg2
= (int)SWIG_As_int(obj1
);
31750 if (PyErr_Occurred()) SWIG_fail
;
31751 arg3
= (bool)SWIG_As_bool(obj2
);
31752 if (PyErr_Occurred()) SWIG_fail
;
31754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31755 (arg1
)->Enable(arg2
,arg3
);
31757 wxPyEndAllowThreads(__tstate
);
31758 if (PyErr_Occurred()) SWIG_fail
;
31760 Py_INCREF(Py_None
); resultobj
= Py_None
;
31767 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31768 PyObject
*resultobj
;
31769 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31772 PyObject
* obj0
= 0 ;
31773 PyObject
* obj1
= 0 ;
31774 PyObject
* obj2
= 0 ;
31775 char *kwnames
[] = {
31776 (char *) "self",(char *) "id",(char *) "check", NULL
31779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31782 arg2
= (int)SWIG_As_int(obj1
);
31783 if (PyErr_Occurred()) SWIG_fail
;
31784 arg3
= (bool)SWIG_As_bool(obj2
);
31785 if (PyErr_Occurred()) SWIG_fail
;
31787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31788 (arg1
)->Check(arg2
,arg3
);
31790 wxPyEndAllowThreads(__tstate
);
31791 if (PyErr_Occurred()) SWIG_fail
;
31793 Py_INCREF(Py_None
); resultobj
= Py_None
;
31800 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31801 PyObject
*resultobj
;
31802 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31805 PyObject
* obj0
= 0 ;
31806 PyObject
* obj1
= 0 ;
31807 char *kwnames
[] = {
31808 (char *) "self",(char *) "id", NULL
31811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
31812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31814 arg2
= (int)SWIG_As_int(obj1
);
31815 if (PyErr_Occurred()) SWIG_fail
;
31817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31818 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
31820 wxPyEndAllowThreads(__tstate
);
31821 if (PyErr_Occurred()) SWIG_fail
;
31824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31832 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31833 PyObject
*resultobj
;
31834 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31837 PyObject
* obj0
= 0 ;
31838 PyObject
* obj1
= 0 ;
31839 char *kwnames
[] = {
31840 (char *) "self",(char *) "id", NULL
31843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
31844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31846 arg2
= (int)SWIG_As_int(obj1
);
31847 if (PyErr_Occurred()) SWIG_fail
;
31849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31850 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
31852 wxPyEndAllowThreads(__tstate
);
31853 if (PyErr_Occurred()) SWIG_fail
;
31856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31864 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31865 PyObject
*resultobj
;
31866 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31868 wxString
*arg3
= 0 ;
31869 bool temp3
= False
;
31870 PyObject
* obj0
= 0 ;
31871 PyObject
* obj1
= 0 ;
31872 PyObject
* obj2
= 0 ;
31873 char *kwnames
[] = {
31874 (char *) "self",(char *) "id",(char *) "label", NULL
31877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31880 arg2
= (int)SWIG_As_int(obj1
);
31881 if (PyErr_Occurred()) SWIG_fail
;
31883 arg3
= wxString_in_helper(obj2
);
31884 if (arg3
== NULL
) SWIG_fail
;
31888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31889 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
31891 wxPyEndAllowThreads(__tstate
);
31892 if (PyErr_Occurred()) SWIG_fail
;
31894 Py_INCREF(Py_None
); resultobj
= Py_None
;
31909 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31910 PyObject
*resultobj
;
31911 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31914 PyObject
* obj0
= 0 ;
31915 PyObject
* obj1
= 0 ;
31916 char *kwnames
[] = {
31917 (char *) "self",(char *) "id", NULL
31920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31923 arg2
= (int)SWIG_As_int(obj1
);
31924 if (PyErr_Occurred()) SWIG_fail
;
31926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31927 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
31929 wxPyEndAllowThreads(__tstate
);
31930 if (PyErr_Occurred()) SWIG_fail
;
31934 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31936 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31945 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31946 PyObject
*resultobj
;
31947 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31949 wxString
*arg3
= 0 ;
31950 bool temp3
= False
;
31951 PyObject
* obj0
= 0 ;
31952 PyObject
* obj1
= 0 ;
31953 PyObject
* obj2
= 0 ;
31954 char *kwnames
[] = {
31955 (char *) "self",(char *) "id",(char *) "helpString", NULL
31958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31961 arg2
= (int)SWIG_As_int(obj1
);
31962 if (PyErr_Occurred()) SWIG_fail
;
31964 arg3
= wxString_in_helper(obj2
);
31965 if (arg3
== NULL
) SWIG_fail
;
31969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31970 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
31972 wxPyEndAllowThreads(__tstate
);
31973 if (PyErr_Occurred()) SWIG_fail
;
31975 Py_INCREF(Py_None
); resultobj
= Py_None
;
31990 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31991 PyObject
*resultobj
;
31992 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31995 PyObject
* obj0
= 0 ;
31996 PyObject
* obj1
= 0 ;
31997 char *kwnames
[] = {
31998 (char *) "self",(char *) "id", NULL
32001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
32002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32004 arg2
= (int)SWIG_As_int(obj1
);
32005 if (PyErr_Occurred()) SWIG_fail
;
32007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32008 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
32010 wxPyEndAllowThreads(__tstate
);
32011 if (PyErr_Occurred()) SWIG_fail
;
32015 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32017 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32026 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32027 PyObject
*resultobj
;
32028 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32030 PyObject
* obj0
= 0 ;
32031 char *kwnames
[] = {
32032 (char *) "self", NULL
32035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
32036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32040 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
32042 wxPyEndAllowThreads(__tstate
);
32043 if (PyErr_Occurred()) SWIG_fail
;
32046 resultobj
= wxPyMake_wxObject(result
, 0);
32054 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32055 PyObject
*resultobj
;
32056 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32058 PyObject
* obj0
= 0 ;
32059 char *kwnames
[] = {
32060 (char *) "self", NULL
32063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
32064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32068 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
32070 wxPyEndAllowThreads(__tstate
);
32071 if (PyErr_Occurred()) SWIG_fail
;
32074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32082 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32083 PyObject
*resultobj
;
32084 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32085 wxFrame
*arg2
= (wxFrame
*) 0 ;
32086 PyObject
* obj0
= 0 ;
32087 PyObject
* obj1
= 0 ;
32088 char *kwnames
[] = {
32089 (char *) "self",(char *) "frame", NULL
32092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
32093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32095 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
32096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32099 (arg1
)->Attach(arg2
);
32101 wxPyEndAllowThreads(__tstate
);
32102 if (PyErr_Occurred()) SWIG_fail
;
32104 Py_INCREF(Py_None
); resultobj
= Py_None
;
32111 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32112 PyObject
*resultobj
;
32113 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32114 PyObject
* obj0
= 0 ;
32115 char *kwnames
[] = {
32116 (char *) "self", NULL
32119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
32120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32126 wxPyEndAllowThreads(__tstate
);
32127 if (PyErr_Occurred()) SWIG_fail
;
32129 Py_INCREF(Py_None
); resultobj
= Py_None
;
32136 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
32138 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32139 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
32141 return Py_BuildValue((char *)"");
32143 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32144 PyObject
*resultobj
;
32145 wxMenu
*arg1
= (wxMenu
*) NULL
;
32146 int arg2
= (int) wxID_ANY
;
32147 wxString
const &arg3_defvalue
= wxPyEmptyString
;
32148 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
32149 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32150 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32151 int arg5
= (int) wxITEM_NORMAL
;
32152 wxMenu
*arg6
= (wxMenu
*) NULL
;
32153 wxMenuItem
*result
;
32154 bool temp3
= False
;
32155 bool temp4
= False
;
32156 PyObject
* obj0
= 0 ;
32157 PyObject
* obj1
= 0 ;
32158 PyObject
* obj2
= 0 ;
32159 PyObject
* obj3
= 0 ;
32160 PyObject
* obj4
= 0 ;
32161 PyObject
* obj5
= 0 ;
32162 char *kwnames
[] = {
32163 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
32166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
32169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32172 arg2
= (int)SWIG_As_int(obj1
);
32173 if (PyErr_Occurred()) SWIG_fail
;
32177 arg3
= wxString_in_helper(obj2
);
32178 if (arg3
== NULL
) SWIG_fail
;
32184 arg4
= wxString_in_helper(obj3
);
32185 if (arg4
== NULL
) SWIG_fail
;
32190 arg5
= (int)SWIG_As_int(obj4
);
32191 if (PyErr_Occurred()) SWIG_fail
;
32194 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
32195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32199 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
32201 wxPyEndAllowThreads(__tstate
);
32202 if (PyErr_Occurred()) SWIG_fail
;
32205 resultobj
= wxPyMake_wxObject(result
, 1);
32229 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32230 PyObject
*resultobj
;
32231 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32233 PyObject
* obj0
= 0 ;
32234 char *kwnames
[] = {
32235 (char *) "self", NULL
32238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
32239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32243 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
32245 wxPyEndAllowThreads(__tstate
);
32246 if (PyErr_Occurred()) SWIG_fail
;
32249 resultobj
= wxPyMake_wxObject(result
, 0);
32257 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32258 PyObject
*resultobj
;
32259 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32260 wxMenu
*arg2
= (wxMenu
*) 0 ;
32261 PyObject
* obj0
= 0 ;
32262 PyObject
* obj1
= 0 ;
32263 char *kwnames
[] = {
32264 (char *) "self",(char *) "menu", NULL
32267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32270 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32274 (arg1
)->SetMenu(arg2
);
32276 wxPyEndAllowThreads(__tstate
);
32277 if (PyErr_Occurred()) SWIG_fail
;
32279 Py_INCREF(Py_None
); resultobj
= Py_None
;
32286 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32287 PyObject
*resultobj
;
32288 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32290 PyObject
* obj0
= 0 ;
32291 PyObject
* obj1
= 0 ;
32292 char *kwnames
[] = {
32293 (char *) "self",(char *) "id", NULL
32296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
32297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32299 arg2
= (int)SWIG_As_int(obj1
);
32300 if (PyErr_Occurred()) SWIG_fail
;
32302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32303 (arg1
)->SetId(arg2
);
32305 wxPyEndAllowThreads(__tstate
);
32306 if (PyErr_Occurred()) SWIG_fail
;
32308 Py_INCREF(Py_None
); resultobj
= Py_None
;
32315 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32316 PyObject
*resultobj
;
32317 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32319 PyObject
* obj0
= 0 ;
32320 char *kwnames
[] = {
32321 (char *) "self", NULL
32324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
32325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32329 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
32331 wxPyEndAllowThreads(__tstate
);
32332 if (PyErr_Occurred()) SWIG_fail
;
32334 resultobj
= SWIG_From_int((int)result
);
32341 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32342 PyObject
*resultobj
;
32343 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32345 PyObject
* obj0
= 0 ;
32346 char *kwnames
[] = {
32347 (char *) "self", NULL
32350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
32351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32355 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
32357 wxPyEndAllowThreads(__tstate
);
32358 if (PyErr_Occurred()) SWIG_fail
;
32361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32369 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32370 PyObject
*resultobj
;
32371 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32372 wxString
*arg2
= 0 ;
32373 bool temp2
= False
;
32374 PyObject
* obj0
= 0 ;
32375 PyObject
* obj1
= 0 ;
32376 char *kwnames
[] = {
32377 (char *) "self",(char *) "str", NULL
32380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
32381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32384 arg2
= wxString_in_helper(obj1
);
32385 if (arg2
== NULL
) SWIG_fail
;
32389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32390 (arg1
)->SetText((wxString
const &)*arg2
);
32392 wxPyEndAllowThreads(__tstate
);
32393 if (PyErr_Occurred()) SWIG_fail
;
32395 Py_INCREF(Py_None
); resultobj
= Py_None
;
32410 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32411 PyObject
*resultobj
;
32412 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32414 PyObject
* obj0
= 0 ;
32415 char *kwnames
[] = {
32416 (char *) "self", NULL
32419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
32420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32424 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
32426 wxPyEndAllowThreads(__tstate
);
32427 if (PyErr_Occurred()) SWIG_fail
;
32431 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32433 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32442 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32443 PyObject
*resultobj
;
32444 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32446 PyObject
* obj0
= 0 ;
32447 char *kwnames
[] = {
32448 (char *) "self", NULL
32451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
32452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32457 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
32458 result
= (wxString
*) &_result_ref
;
32461 wxPyEndAllowThreads(__tstate
);
32462 if (PyErr_Occurred()) SWIG_fail
;
32466 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32468 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32477 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32478 PyObject
*resultobj
;
32479 wxString
*arg1
= 0 ;
32481 bool temp1
= False
;
32482 PyObject
* obj0
= 0 ;
32483 char *kwnames
[] = {
32484 (char *) "text", NULL
32487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
32489 arg1
= wxString_in_helper(obj0
);
32490 if (arg1
== NULL
) SWIG_fail
;
32494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32495 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
32497 wxPyEndAllowThreads(__tstate
);
32498 if (PyErr_Occurred()) SWIG_fail
;
32502 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32504 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32521 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32522 PyObject
*resultobj
;
32523 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32525 PyObject
* obj0
= 0 ;
32526 char *kwnames
[] = {
32527 (char *) "self", NULL
32530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
32531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32535 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
32537 wxPyEndAllowThreads(__tstate
);
32538 if (PyErr_Occurred()) SWIG_fail
;
32540 resultobj
= SWIG_From_int((int)result
);
32547 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32548 PyObject
*resultobj
;
32549 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32551 PyObject
* obj0
= 0 ;
32552 PyObject
* obj1
= 0 ;
32553 char *kwnames
[] = {
32554 (char *) "self",(char *) "kind", NULL
32557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
32558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32560 arg2
= (int)SWIG_As_int(obj1
);
32561 if (PyErr_Occurred()) SWIG_fail
;
32563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32564 (arg1
)->SetKind((wxItemKind
)arg2
);
32566 wxPyEndAllowThreads(__tstate
);
32567 if (PyErr_Occurred()) SWIG_fail
;
32569 Py_INCREF(Py_None
); resultobj
= Py_None
;
32576 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32577 PyObject
*resultobj
;
32578 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32580 PyObject
* obj0
= 0 ;
32581 PyObject
* obj1
= 0 ;
32582 char *kwnames
[] = {
32583 (char *) "self",(char *) "checkable", NULL
32586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
32587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32589 arg2
= (bool)SWIG_As_bool(obj1
);
32590 if (PyErr_Occurred()) SWIG_fail
;
32592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32593 (arg1
)->SetCheckable(arg2
);
32595 wxPyEndAllowThreads(__tstate
);
32596 if (PyErr_Occurred()) SWIG_fail
;
32598 Py_INCREF(Py_None
); resultobj
= Py_None
;
32605 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32606 PyObject
*resultobj
;
32607 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32609 PyObject
* obj0
= 0 ;
32610 char *kwnames
[] = {
32611 (char *) "self", NULL
32614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
32615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32619 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
32621 wxPyEndAllowThreads(__tstate
);
32622 if (PyErr_Occurred()) SWIG_fail
;
32625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32633 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32634 PyObject
*resultobj
;
32635 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32637 PyObject
* obj0
= 0 ;
32638 char *kwnames
[] = {
32639 (char *) "self", NULL
32642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
32643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32647 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
32649 wxPyEndAllowThreads(__tstate
);
32650 if (PyErr_Occurred()) SWIG_fail
;
32653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32661 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32662 PyObject
*resultobj
;
32663 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32664 wxMenu
*arg2
= (wxMenu
*) 0 ;
32665 PyObject
* obj0
= 0 ;
32666 PyObject
* obj1
= 0 ;
32667 char *kwnames
[] = {
32668 (char *) "self",(char *) "menu", NULL
32671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32674 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32678 (arg1
)->SetSubMenu(arg2
);
32680 wxPyEndAllowThreads(__tstate
);
32681 if (PyErr_Occurred()) SWIG_fail
;
32683 Py_INCREF(Py_None
); resultobj
= Py_None
;
32690 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32691 PyObject
*resultobj
;
32692 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32694 PyObject
* obj0
= 0 ;
32695 char *kwnames
[] = {
32696 (char *) "self", NULL
32699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
32700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32704 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
32706 wxPyEndAllowThreads(__tstate
);
32707 if (PyErr_Occurred()) SWIG_fail
;
32710 resultobj
= wxPyMake_wxObject(result
, 0);
32718 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32719 PyObject
*resultobj
;
32720 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32721 bool arg2
= (bool) True
;
32722 PyObject
* obj0
= 0 ;
32723 PyObject
* obj1
= 0 ;
32724 char *kwnames
[] = {
32725 (char *) "self",(char *) "enable", NULL
32728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
32729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32732 arg2
= (bool)SWIG_As_bool(obj1
);
32733 if (PyErr_Occurred()) SWIG_fail
;
32736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32737 (arg1
)->Enable(arg2
);
32739 wxPyEndAllowThreads(__tstate
);
32740 if (PyErr_Occurred()) SWIG_fail
;
32742 Py_INCREF(Py_None
); resultobj
= Py_None
;
32749 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32750 PyObject
*resultobj
;
32751 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32753 PyObject
* obj0
= 0 ;
32754 char *kwnames
[] = {
32755 (char *) "self", NULL
32758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
32759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32763 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
32765 wxPyEndAllowThreads(__tstate
);
32766 if (PyErr_Occurred()) SWIG_fail
;
32769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32777 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32778 PyObject
*resultobj
;
32779 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32780 bool arg2
= (bool) True
;
32781 PyObject
* obj0
= 0 ;
32782 PyObject
* obj1
= 0 ;
32783 char *kwnames
[] = {
32784 (char *) "self",(char *) "check", NULL
32787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
32788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32791 arg2
= (bool)SWIG_As_bool(obj1
);
32792 if (PyErr_Occurred()) SWIG_fail
;
32795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32796 (arg1
)->Check(arg2
);
32798 wxPyEndAllowThreads(__tstate
);
32799 if (PyErr_Occurred()) SWIG_fail
;
32801 Py_INCREF(Py_None
); resultobj
= Py_None
;
32808 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32809 PyObject
*resultobj
;
32810 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32812 PyObject
* obj0
= 0 ;
32813 char *kwnames
[] = {
32814 (char *) "self", NULL
32817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
32818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32822 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
32824 wxPyEndAllowThreads(__tstate
);
32825 if (PyErr_Occurred()) SWIG_fail
;
32828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32836 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32837 PyObject
*resultobj
;
32838 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32839 PyObject
* obj0
= 0 ;
32840 char *kwnames
[] = {
32841 (char *) "self", NULL
32844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
32845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32851 wxPyEndAllowThreads(__tstate
);
32852 if (PyErr_Occurred()) SWIG_fail
;
32854 Py_INCREF(Py_None
); resultobj
= Py_None
;
32861 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32862 PyObject
*resultobj
;
32863 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32864 wxString
*arg2
= 0 ;
32865 bool temp2
= False
;
32866 PyObject
* obj0
= 0 ;
32867 PyObject
* obj1
= 0 ;
32868 char *kwnames
[] = {
32869 (char *) "self",(char *) "str", NULL
32872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
32873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32876 arg2
= wxString_in_helper(obj1
);
32877 if (arg2
== NULL
) SWIG_fail
;
32881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32882 (arg1
)->SetHelp((wxString
const &)*arg2
);
32884 wxPyEndAllowThreads(__tstate
);
32885 if (PyErr_Occurred()) SWIG_fail
;
32887 Py_INCREF(Py_None
); resultobj
= Py_None
;
32902 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32903 PyObject
*resultobj
;
32904 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32906 PyObject
* obj0
= 0 ;
32907 char *kwnames
[] = {
32908 (char *) "self", NULL
32911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",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();
32917 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
32918 result
= (wxString
*) &_result_ref
;
32921 wxPyEndAllowThreads(__tstate
);
32922 if (PyErr_Occurred()) SWIG_fail
;
32926 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32928 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32937 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32938 PyObject
*resultobj
;
32939 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32940 wxAcceleratorEntry
*result
;
32941 PyObject
* obj0
= 0 ;
32942 char *kwnames
[] = {
32943 (char *) "self", NULL
32946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
32947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32951 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
32953 wxPyEndAllowThreads(__tstate
);
32954 if (PyErr_Occurred()) SWIG_fail
;
32956 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
32963 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32964 PyObject
*resultobj
;
32965 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32966 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
32967 PyObject
* obj0
= 0 ;
32968 PyObject
* obj1
= 0 ;
32969 char *kwnames
[] = {
32970 (char *) "self",(char *) "accel", NULL
32973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
32974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32976 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
32977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32980 (arg1
)->SetAccel(arg2
);
32982 wxPyEndAllowThreads(__tstate
);
32983 if (PyErr_Occurred()) SWIG_fail
;
32985 Py_INCREF(Py_None
); resultobj
= Py_None
;
32992 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32993 PyObject
*resultobj
;
32995 char *kwnames
[] = {
32999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
33001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33002 result
= (int)MenuItem_GetDefaultMarginWidth();
33004 wxPyEndAllowThreads(__tstate
);
33005 if (PyErr_Occurred()) SWIG_fail
;
33007 resultobj
= SWIG_From_int((int)result
);
33014 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33015 PyObject
*resultobj
;
33016 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33017 wxBitmap
*arg2
= 0 ;
33018 PyObject
* obj0
= 0 ;
33019 PyObject
* obj1
= 0 ;
33020 char *kwnames
[] = {
33021 (char *) "self",(char *) "bitmap", NULL
33024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
33025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33027 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33028 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33030 if (arg2
== NULL
) {
33031 PyErr_SetString(PyExc_TypeError
,"null reference");
33035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33036 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
33038 wxPyEndAllowThreads(__tstate
);
33039 if (PyErr_Occurred()) SWIG_fail
;
33041 Py_INCREF(Py_None
); resultobj
= Py_None
;
33048 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33049 PyObject
*resultobj
;
33050 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33052 PyObject
* obj0
= 0 ;
33053 char *kwnames
[] = {
33054 (char *) "self", NULL
33057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
33058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33063 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
33064 result
= (wxBitmap
*) &_result_ref
;
33067 wxPyEndAllowThreads(__tstate
);
33068 if (PyErr_Occurred()) SWIG_fail
;
33071 wxBitmap
* resultptr
= new wxBitmap(*result
);
33072 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
33080 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
33082 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33083 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
33085 return Py_BuildValue((char *)"");
33087 static int _wrap_ControlNameStr_set(PyObject
*) {
33088 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
33093 static PyObject
*_wrap_ControlNameStr_get() {
33098 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33100 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33107 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33108 PyObject
*resultobj
;
33109 wxWindow
*arg1
= (wxWindow
*) 0 ;
33110 int arg2
= (int) -1 ;
33111 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33112 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33113 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33114 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33115 long arg5
= (long) 0 ;
33116 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33117 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33118 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
33119 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33123 bool temp7
= False
;
33124 PyObject
* obj0
= 0 ;
33125 PyObject
* obj1
= 0 ;
33126 PyObject
* obj2
= 0 ;
33127 PyObject
* obj3
= 0 ;
33128 PyObject
* obj4
= 0 ;
33129 PyObject
* obj5
= 0 ;
33130 PyObject
* obj6
= 0 ;
33131 char *kwnames
[] = {
33132 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
33136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
33137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33139 arg2
= (int)SWIG_As_int(obj1
);
33140 if (PyErr_Occurred()) SWIG_fail
;
33145 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33151 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33155 arg5
= (long)SWIG_As_long(obj4
);
33156 if (PyErr_Occurred()) SWIG_fail
;
33159 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
33160 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33162 if (arg6
== NULL
) {
33163 PyErr_SetString(PyExc_TypeError
,"null reference");
33169 arg7
= wxString_in_helper(obj6
);
33170 if (arg7
== NULL
) SWIG_fail
;
33175 if (!wxPyCheckForApp()) SWIG_fail
;
33176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33177 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33179 wxPyEndAllowThreads(__tstate
);
33180 if (PyErr_Occurred()) SWIG_fail
;
33182 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
33197 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33198 PyObject
*resultobj
;
33200 char *kwnames
[] = {
33204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
33206 if (!wxPyCheckForApp()) SWIG_fail
;
33207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33208 result
= (wxControl
*)new wxControl();
33210 wxPyEndAllowThreads(__tstate
);
33211 if (PyErr_Occurred()) SWIG_fail
;
33213 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
33220 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33221 PyObject
*resultobj
;
33222 wxControl
*arg1
= (wxControl
*) 0 ;
33223 wxWindow
*arg2
= (wxWindow
*) 0 ;
33224 int arg3
= (int) -1 ;
33225 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33226 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33227 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33228 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33229 long arg6
= (long) 0 ;
33230 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33231 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33232 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
33233 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33237 bool temp8
= False
;
33238 PyObject
* obj0
= 0 ;
33239 PyObject
* obj1
= 0 ;
33240 PyObject
* obj2
= 0 ;
33241 PyObject
* obj3
= 0 ;
33242 PyObject
* obj4
= 0 ;
33243 PyObject
* obj5
= 0 ;
33244 PyObject
* obj6
= 0 ;
33245 PyObject
* obj7
= 0 ;
33246 char *kwnames
[] = {
33247 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
33251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33253 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
33254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33256 arg3
= (int)SWIG_As_int(obj2
);
33257 if (PyErr_Occurred()) SWIG_fail
;
33262 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33268 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33272 arg6
= (long)SWIG_As_long(obj5
);
33273 if (PyErr_Occurred()) SWIG_fail
;
33276 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
33277 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33279 if (arg7
== NULL
) {
33280 PyErr_SetString(PyExc_TypeError
,"null reference");
33286 arg8
= wxString_in_helper(obj7
);
33287 if (arg8
== NULL
) SWIG_fail
;
33292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33293 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33295 wxPyEndAllowThreads(__tstate
);
33296 if (PyErr_Occurred()) SWIG_fail
;
33299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33315 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33316 PyObject
*resultobj
;
33317 wxControl
*arg1
= (wxControl
*) 0 ;
33318 wxCommandEvent
*arg2
= 0 ;
33319 PyObject
* obj0
= 0 ;
33320 PyObject
* obj1
= 0 ;
33321 char *kwnames
[] = {
33322 (char *) "self",(char *) "event", NULL
33325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
33326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33328 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
33329 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33331 if (arg2
== NULL
) {
33332 PyErr_SetString(PyExc_TypeError
,"null reference");
33336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33337 (arg1
)->Command(*arg2
);
33339 wxPyEndAllowThreads(__tstate
);
33340 if (PyErr_Occurred()) SWIG_fail
;
33342 Py_INCREF(Py_None
); resultobj
= Py_None
;
33349 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33350 PyObject
*resultobj
;
33351 wxControl
*arg1
= (wxControl
*) 0 ;
33353 PyObject
* obj0
= 0 ;
33354 char *kwnames
[] = {
33355 (char *) "self", NULL
33358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
33359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33363 result
= (arg1
)->GetLabel();
33365 wxPyEndAllowThreads(__tstate
);
33366 if (PyErr_Occurred()) SWIG_fail
;
33370 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33372 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33381 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33382 PyObject
*resultobj
;
33383 wxControl
*arg1
= (wxControl
*) 0 ;
33384 wxString
*arg2
= 0 ;
33385 bool temp2
= False
;
33386 PyObject
* obj0
= 0 ;
33387 PyObject
* obj1
= 0 ;
33388 char *kwnames
[] = {
33389 (char *) "self",(char *) "label", NULL
33392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
33393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33396 arg2
= wxString_in_helper(obj1
);
33397 if (arg2
== NULL
) SWIG_fail
;
33401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33402 (arg1
)->SetLabel((wxString
const &)*arg2
);
33404 wxPyEndAllowThreads(__tstate
);
33405 if (PyErr_Occurred()) SWIG_fail
;
33407 Py_INCREF(Py_None
); resultobj
= Py_None
;
33422 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33423 PyObject
*resultobj
;
33424 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
33425 wxVisualAttributes result
;
33426 PyObject
* obj0
= 0 ;
33427 char *kwnames
[] = {
33428 (char *) "variant", NULL
33431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
33433 arg1
= (int)SWIG_As_int(obj0
);
33434 if (PyErr_Occurred()) SWIG_fail
;
33437 if (!wxPyCheckForApp()) SWIG_fail
;
33438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33439 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
33441 wxPyEndAllowThreads(__tstate
);
33442 if (PyErr_Occurred()) SWIG_fail
;
33445 wxVisualAttributes
* resultptr
;
33446 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
33447 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
33455 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
33457 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33458 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
33460 return Py_BuildValue((char *)"");
33462 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33463 PyObject
*resultobj
;
33464 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33465 wxString
*arg2
= 0 ;
33466 PyObject
*arg3
= (PyObject
*) NULL
;
33468 bool temp2
= False
;
33469 PyObject
* obj0
= 0 ;
33470 PyObject
* obj1
= 0 ;
33471 PyObject
* obj2
= 0 ;
33472 char *kwnames
[] = {
33473 (char *) "self",(char *) "item",(char *) "clientData", NULL
33476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33480 arg2
= wxString_in_helper(obj1
);
33481 if (arg2
== NULL
) SWIG_fail
;
33488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33489 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
33491 wxPyEndAllowThreads(__tstate
);
33492 if (PyErr_Occurred()) SWIG_fail
;
33494 resultobj
= SWIG_From_int((int)result
);
33509 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33510 PyObject
*resultobj
;
33511 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33512 wxArrayString
*arg2
= 0 ;
33513 bool temp2
= False
;
33514 PyObject
* obj0
= 0 ;
33515 PyObject
* obj1
= 0 ;
33516 char *kwnames
[] = {
33517 (char *) "self",(char *) "strings", NULL
33520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
33521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33524 if (! PySequence_Check(obj1
)) {
33525 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
33528 arg2
= new wxArrayString
;
33530 int i
, len
=PySequence_Length(obj1
);
33531 for (i
=0; i
<len
; i
++) {
33532 PyObject
* item
= PySequence_GetItem(obj1
, i
);
33534 PyObject
* str
= PyObject_Unicode(item
);
33536 PyObject
* str
= PyObject_Str(item
);
33538 if (PyErr_Occurred()) SWIG_fail
;
33539 arg2
->Add(Py2wxString(str
));
33545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33546 (arg1
)->Append((wxArrayString
const &)*arg2
);
33548 wxPyEndAllowThreads(__tstate
);
33549 if (PyErr_Occurred()) SWIG_fail
;
33551 Py_INCREF(Py_None
); resultobj
= Py_None
;
33553 if (temp2
) delete arg2
;
33558 if (temp2
) delete arg2
;
33564 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33565 PyObject
*resultobj
;
33566 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33567 wxString
*arg2
= 0 ;
33569 PyObject
*arg4
= (PyObject
*) NULL
;
33571 bool temp2
= False
;
33572 PyObject
* obj0
= 0 ;
33573 PyObject
* obj1
= 0 ;
33574 PyObject
* obj2
= 0 ;
33575 PyObject
* obj3
= 0 ;
33576 char *kwnames
[] = {
33577 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
33580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33584 arg2
= wxString_in_helper(obj1
);
33585 if (arg2
== NULL
) SWIG_fail
;
33588 arg3
= (int)SWIG_As_int(obj2
);
33589 if (PyErr_Occurred()) SWIG_fail
;
33594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33595 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
33597 wxPyEndAllowThreads(__tstate
);
33598 if (PyErr_Occurred()) SWIG_fail
;
33600 resultobj
= SWIG_From_int((int)result
);
33615 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33616 PyObject
*resultobj
;
33617 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33618 PyObject
* obj0
= 0 ;
33619 char *kwnames
[] = {
33620 (char *) "self", NULL
33623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
33624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33630 wxPyEndAllowThreads(__tstate
);
33631 if (PyErr_Occurred()) SWIG_fail
;
33633 Py_INCREF(Py_None
); resultobj
= Py_None
;
33640 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33641 PyObject
*resultobj
;
33642 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33644 PyObject
* obj0
= 0 ;
33645 PyObject
* obj1
= 0 ;
33646 char *kwnames
[] = {
33647 (char *) "self",(char *) "n", NULL
33650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33653 arg2
= (int)SWIG_As_int(obj1
);
33654 if (PyErr_Occurred()) SWIG_fail
;
33656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33657 (arg1
)->Delete(arg2
);
33659 wxPyEndAllowThreads(__tstate
);
33660 if (PyErr_Occurred()) SWIG_fail
;
33662 Py_INCREF(Py_None
); resultobj
= Py_None
;
33669 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33670 PyObject
*resultobj
;
33671 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33673 PyObject
* obj0
= 0 ;
33674 char *kwnames
[] = {
33675 (char *) "self", NULL
33678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
33679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33683 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
33685 wxPyEndAllowThreads(__tstate
);
33686 if (PyErr_Occurred()) SWIG_fail
;
33688 resultobj
= SWIG_From_int((int)result
);
33695 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33696 PyObject
*resultobj
;
33697 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33699 PyObject
* obj0
= 0 ;
33700 char *kwnames
[] = {
33701 (char *) "self", NULL
33704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
33705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33709 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
33711 wxPyEndAllowThreads(__tstate
);
33712 if (PyErr_Occurred()) SWIG_fail
;
33715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33723 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33724 PyObject
*resultobj
;
33725 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33728 PyObject
* obj0
= 0 ;
33729 PyObject
* obj1
= 0 ;
33730 char *kwnames
[] = {
33731 (char *) "self",(char *) "n", NULL
33734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
33735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33737 arg2
= (int)SWIG_As_int(obj1
);
33738 if (PyErr_Occurred()) SWIG_fail
;
33740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33741 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
33743 wxPyEndAllowThreads(__tstate
);
33744 if (PyErr_Occurred()) SWIG_fail
;
33748 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33750 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33759 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33760 PyObject
*resultobj
;
33761 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33762 wxArrayString result
;
33763 PyObject
* obj0
= 0 ;
33764 char *kwnames
[] = {
33765 (char *) "self", NULL
33768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
33769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33773 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
33775 wxPyEndAllowThreads(__tstate
);
33776 if (PyErr_Occurred()) SWIG_fail
;
33779 resultobj
= wxArrayString2PyList_helper(result
);
33787 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33788 PyObject
*resultobj
;
33789 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33791 wxString
*arg3
= 0 ;
33792 bool temp3
= False
;
33793 PyObject
* obj0
= 0 ;
33794 PyObject
* obj1
= 0 ;
33795 PyObject
* obj2
= 0 ;
33796 char *kwnames
[] = {
33797 (char *) "self",(char *) "n",(char *) "s", NULL
33800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33803 arg2
= (int)SWIG_As_int(obj1
);
33804 if (PyErr_Occurred()) SWIG_fail
;
33806 arg3
= wxString_in_helper(obj2
);
33807 if (arg3
== NULL
) SWIG_fail
;
33811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33812 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
33814 wxPyEndAllowThreads(__tstate
);
33815 if (PyErr_Occurred()) SWIG_fail
;
33817 Py_INCREF(Py_None
); resultobj
= Py_None
;
33832 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33833 PyObject
*resultobj
;
33834 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33835 wxString
*arg2
= 0 ;
33837 bool temp2
= False
;
33838 PyObject
* obj0
= 0 ;
33839 PyObject
* obj1
= 0 ;
33840 char *kwnames
[] = {
33841 (char *) "self",(char *) "s", NULL
33844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
33845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33848 arg2
= wxString_in_helper(obj1
);
33849 if (arg2
== NULL
) SWIG_fail
;
33853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33854 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
33856 wxPyEndAllowThreads(__tstate
);
33857 if (PyErr_Occurred()) SWIG_fail
;
33859 resultobj
= SWIG_From_int((int)result
);
33874 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33875 PyObject
*resultobj
;
33876 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33878 PyObject
* obj0
= 0 ;
33879 PyObject
* obj1
= 0 ;
33880 char *kwnames
[] = {
33881 (char *) "self",(char *) "n", NULL
33884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
33885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33887 arg2
= (int)SWIG_As_int(obj1
);
33888 if (PyErr_Occurred()) SWIG_fail
;
33890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33891 (arg1
)->Select(arg2
);
33893 wxPyEndAllowThreads(__tstate
);
33894 if (PyErr_Occurred()) SWIG_fail
;
33896 Py_INCREF(Py_None
); resultobj
= Py_None
;
33903 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33904 PyObject
*resultobj
;
33905 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33907 PyObject
* obj0
= 0 ;
33908 char *kwnames
[] = {
33909 (char *) "self", NULL
33912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
33913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33917 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
33919 wxPyEndAllowThreads(__tstate
);
33920 if (PyErr_Occurred()) SWIG_fail
;
33922 resultobj
= SWIG_From_int((int)result
);
33929 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33930 PyObject
*resultobj
;
33931 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33933 PyObject
* obj0
= 0 ;
33934 char *kwnames
[] = {
33935 (char *) "self", NULL
33938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
33939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33943 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
33945 wxPyEndAllowThreads(__tstate
);
33946 if (PyErr_Occurred()) SWIG_fail
;
33950 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33952 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33961 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33962 PyObject
*resultobj
;
33963 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33966 PyObject
* obj0
= 0 ;
33967 PyObject
* obj1
= 0 ;
33968 char *kwnames
[] = {
33969 (char *) "self",(char *) "n", NULL
33972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
33973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33975 arg2
= (int)SWIG_As_int(obj1
);
33976 if (PyErr_Occurred()) SWIG_fail
;
33978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33979 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
33981 wxPyEndAllowThreads(__tstate
);
33982 if (PyErr_Occurred()) SWIG_fail
;
33984 resultobj
= result
;
33991 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33992 PyObject
*resultobj
;
33993 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33995 PyObject
*arg3
= (PyObject
*) 0 ;
33996 PyObject
* obj0
= 0 ;
33997 PyObject
* obj1
= 0 ;
33998 PyObject
* obj2
= 0 ;
33999 char *kwnames
[] = {
34000 (char *) "self",(char *) "n",(char *) "clientData", NULL
34003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34006 arg2
= (int)SWIG_As_int(obj1
);
34007 if (PyErr_Occurred()) SWIG_fail
;
34010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34011 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
34013 wxPyEndAllowThreads(__tstate
);
34014 if (PyErr_Occurred()) SWIG_fail
;
34016 Py_INCREF(Py_None
); resultobj
= Py_None
;
34023 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
34025 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34026 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
34028 return Py_BuildValue((char *)"");
34030 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
34032 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34033 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
34035 return Py_BuildValue((char *)"");
34037 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34038 PyObject
*resultobj
;
34039 wxSizerItem
*result
;
34040 char *kwnames
[] = {
34044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
34046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34047 result
= (wxSizerItem
*)new wxSizerItem();
34049 wxPyEndAllowThreads(__tstate
);
34050 if (PyErr_Occurred()) SWIG_fail
;
34052 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34059 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34060 PyObject
*resultobj
;
34061 wxWindow
*arg1
= (wxWindow
*) 0 ;
34065 PyObject
*arg5
= (PyObject
*) NULL
;
34066 wxSizerItem
*result
;
34067 PyObject
* obj0
= 0 ;
34068 PyObject
* obj1
= 0 ;
34069 PyObject
* obj2
= 0 ;
34070 PyObject
* obj3
= 0 ;
34071 PyObject
* obj4
= 0 ;
34072 char *kwnames
[] = {
34073 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
34078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34079 arg2
= (int)SWIG_As_int(obj1
);
34080 if (PyErr_Occurred()) SWIG_fail
;
34081 arg3
= (int)SWIG_As_int(obj2
);
34082 if (PyErr_Occurred()) SWIG_fail
;
34083 arg4
= (int)SWIG_As_int(obj3
);
34084 if (PyErr_Occurred()) SWIG_fail
;
34089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34090 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34092 wxPyEndAllowThreads(__tstate
);
34093 if (PyErr_Occurred()) SWIG_fail
;
34095 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34102 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34103 PyObject
*resultobj
;
34109 PyObject
*arg6
= (PyObject
*) NULL
;
34110 wxSizerItem
*result
;
34111 PyObject
* obj0
= 0 ;
34112 PyObject
* obj1
= 0 ;
34113 PyObject
* obj2
= 0 ;
34114 PyObject
* obj3
= 0 ;
34115 PyObject
* obj4
= 0 ;
34116 PyObject
* obj5
= 0 ;
34117 char *kwnames
[] = {
34118 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34122 arg1
= (int)SWIG_As_int(obj0
);
34123 if (PyErr_Occurred()) SWIG_fail
;
34124 arg2
= (int)SWIG_As_int(obj1
);
34125 if (PyErr_Occurred()) SWIG_fail
;
34126 arg3
= (int)SWIG_As_int(obj2
);
34127 if (PyErr_Occurred()) SWIG_fail
;
34128 arg4
= (int)SWIG_As_int(obj3
);
34129 if (PyErr_Occurred()) SWIG_fail
;
34130 arg5
= (int)SWIG_As_int(obj4
);
34131 if (PyErr_Occurred()) SWIG_fail
;
34136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34137 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34139 wxPyEndAllowThreads(__tstate
);
34140 if (PyErr_Occurred()) SWIG_fail
;
34142 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34149 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34150 PyObject
*resultobj
;
34151 wxSizer
*arg1
= (wxSizer
*) 0 ;
34155 PyObject
*arg5
= (PyObject
*) NULL
;
34156 wxSizerItem
*result
;
34157 PyObject
* obj0
= 0 ;
34158 PyObject
* obj1
= 0 ;
34159 PyObject
* obj2
= 0 ;
34160 PyObject
* obj3
= 0 ;
34161 PyObject
* obj4
= 0 ;
34162 char *kwnames
[] = {
34163 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34169 arg2
= (int)SWIG_As_int(obj1
);
34170 if (PyErr_Occurred()) SWIG_fail
;
34171 arg3
= (int)SWIG_As_int(obj2
);
34172 if (PyErr_Occurred()) SWIG_fail
;
34173 arg4
= (int)SWIG_As_int(obj3
);
34174 if (PyErr_Occurred()) SWIG_fail
;
34179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34180 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34182 wxPyEndAllowThreads(__tstate
);
34183 if (PyErr_Occurred()) SWIG_fail
;
34185 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34192 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34193 PyObject
*resultobj
;
34194 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34195 PyObject
* obj0
= 0 ;
34196 char *kwnames
[] = {
34197 (char *) "self", NULL
34200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
34201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34205 (arg1
)->DeleteWindows();
34207 wxPyEndAllowThreads(__tstate
);
34208 if (PyErr_Occurred()) SWIG_fail
;
34210 Py_INCREF(Py_None
); resultobj
= Py_None
;
34217 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34218 PyObject
*resultobj
;
34219 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34220 PyObject
* obj0
= 0 ;
34221 char *kwnames
[] = {
34222 (char *) "self", NULL
34225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
34226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34230 (arg1
)->DetachSizer();
34232 wxPyEndAllowThreads(__tstate
);
34233 if (PyErr_Occurred()) SWIG_fail
;
34235 Py_INCREF(Py_None
); resultobj
= Py_None
;
34242 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34243 PyObject
*resultobj
;
34244 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34246 PyObject
* obj0
= 0 ;
34247 char *kwnames
[] = {
34248 (char *) "self", NULL
34251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
34252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34256 result
= (arg1
)->GetSize();
34258 wxPyEndAllowThreads(__tstate
);
34259 if (PyErr_Occurred()) SWIG_fail
;
34262 wxSize
* resultptr
;
34263 resultptr
= new wxSize((wxSize
&) result
);
34264 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34272 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34273 PyObject
*resultobj
;
34274 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34276 PyObject
* obj0
= 0 ;
34277 char *kwnames
[] = {
34278 (char *) "self", NULL
34281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
34282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34286 result
= (arg1
)->CalcMin();
34288 wxPyEndAllowThreads(__tstate
);
34289 if (PyErr_Occurred()) SWIG_fail
;
34292 wxSize
* resultptr
;
34293 resultptr
= new wxSize((wxSize
&) result
);
34294 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34302 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34303 PyObject
*resultobj
;
34304 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34309 PyObject
* obj0
= 0 ;
34310 PyObject
* obj1
= 0 ;
34311 PyObject
* obj2
= 0 ;
34312 char *kwnames
[] = {
34313 (char *) "self",(char *) "pos",(char *) "size", NULL
34316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34319 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
34320 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34322 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
34323 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34327 (arg1
)->SetDimension(arg2
,arg3
);
34329 wxPyEndAllowThreads(__tstate
);
34330 if (PyErr_Occurred()) SWIG_fail
;
34332 Py_INCREF(Py_None
); resultobj
= Py_None
;
34339 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34340 PyObject
*resultobj
;
34341 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34343 PyObject
* obj0
= 0 ;
34344 char *kwnames
[] = {
34345 (char *) "self", NULL
34348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
34349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34353 result
= (arg1
)->GetMinSize();
34355 wxPyEndAllowThreads(__tstate
);
34356 if (PyErr_Occurred()) SWIG_fail
;
34359 wxSize
* resultptr
;
34360 resultptr
= new wxSize((wxSize
&) result
);
34361 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34369 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34370 PyObject
*resultobj
;
34371 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34373 PyObject
* obj0
= 0 ;
34374 char *kwnames
[] = {
34375 (char *) "self", NULL
34378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
34379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34383 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
34385 wxPyEndAllowThreads(__tstate
);
34386 if (PyErr_Occurred()) SWIG_fail
;
34389 wxSize
* resultptr
;
34390 resultptr
= new wxSize((wxSize
&) result
);
34391 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34399 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34400 PyObject
*resultobj
;
34401 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34404 PyObject
* obj0
= 0 ;
34405 PyObject
* obj1
= 0 ;
34406 PyObject
* obj2
= 0 ;
34407 char *kwnames
[] = {
34408 (char *) "self",(char *) "x",(char *) "y", NULL
34411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34414 arg2
= (int)SWIG_As_int(obj1
);
34415 if (PyErr_Occurred()) SWIG_fail
;
34416 arg3
= (int)SWIG_As_int(obj2
);
34417 if (PyErr_Occurred()) SWIG_fail
;
34419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34420 (arg1
)->SetInitSize(arg2
,arg3
);
34422 wxPyEndAllowThreads(__tstate
);
34423 if (PyErr_Occurred()) SWIG_fail
;
34425 Py_INCREF(Py_None
); resultobj
= Py_None
;
34432 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34433 PyObject
*resultobj
;
34434 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34437 PyObject
* obj0
= 0 ;
34438 PyObject
* obj1
= 0 ;
34439 PyObject
* obj2
= 0 ;
34440 char *kwnames
[] = {
34441 (char *) "self",(char *) "width",(char *) "height", NULL
34444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34447 arg2
= (int)SWIG_As_int(obj1
);
34448 if (PyErr_Occurred()) SWIG_fail
;
34449 arg3
= (int)SWIG_As_int(obj2
);
34450 if (PyErr_Occurred()) SWIG_fail
;
34452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34453 (arg1
)->SetRatio(arg2
,arg3
);
34455 wxPyEndAllowThreads(__tstate
);
34456 if (PyErr_Occurred()) SWIG_fail
;
34458 Py_INCREF(Py_None
); resultobj
= Py_None
;
34465 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34466 PyObject
*resultobj
;
34467 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34470 PyObject
* obj0
= 0 ;
34471 PyObject
* obj1
= 0 ;
34472 char *kwnames
[] = {
34473 (char *) "self",(char *) "size", NULL
34476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
34477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34479 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
34480 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34484 (arg1
)->SetRatio(arg2
);
34486 wxPyEndAllowThreads(__tstate
);
34487 if (PyErr_Occurred()) SWIG_fail
;
34489 Py_INCREF(Py_None
); resultobj
= Py_None
;
34496 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34497 PyObject
*resultobj
;
34498 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34500 PyObject
* obj0
= 0 ;
34501 PyObject
* obj1
= 0 ;
34502 char *kwnames
[] = {
34503 (char *) "self",(char *) "ratio", NULL
34506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
34507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34509 arg2
= (float)SWIG_As_float(obj1
);
34510 if (PyErr_Occurred()) SWIG_fail
;
34512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34513 (arg1
)->SetRatio(arg2
);
34515 wxPyEndAllowThreads(__tstate
);
34516 if (PyErr_Occurred()) SWIG_fail
;
34518 Py_INCREF(Py_None
); resultobj
= Py_None
;
34525 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34526 PyObject
*resultobj
;
34527 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34529 PyObject
* obj0
= 0 ;
34530 char *kwnames
[] = {
34531 (char *) "self", NULL
34534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
34535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34539 result
= (float)(arg1
)->GetRatio();
34541 wxPyEndAllowThreads(__tstate
);
34542 if (PyErr_Occurred()) SWIG_fail
;
34544 resultobj
= SWIG_From_float((float)result
);
34551 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34552 PyObject
*resultobj
;
34553 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34555 PyObject
* obj0
= 0 ;
34556 char *kwnames
[] = {
34557 (char *) "self", NULL
34560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
34561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34565 result
= (bool)(arg1
)->IsWindow();
34567 wxPyEndAllowThreads(__tstate
);
34568 if (PyErr_Occurred()) SWIG_fail
;
34571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34579 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34580 PyObject
*resultobj
;
34581 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34583 PyObject
* obj0
= 0 ;
34584 char *kwnames
[] = {
34585 (char *) "self", NULL
34588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
34589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34593 result
= (bool)(arg1
)->IsSizer();
34595 wxPyEndAllowThreads(__tstate
);
34596 if (PyErr_Occurred()) SWIG_fail
;
34599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34607 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34608 PyObject
*resultobj
;
34609 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34611 PyObject
* obj0
= 0 ;
34612 char *kwnames
[] = {
34613 (char *) "self", NULL
34616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
34617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34621 result
= (bool)(arg1
)->IsSpacer();
34623 wxPyEndAllowThreads(__tstate
);
34624 if (PyErr_Occurred()) SWIG_fail
;
34627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34635 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34636 PyObject
*resultobj
;
34637 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34639 PyObject
* obj0
= 0 ;
34640 PyObject
* obj1
= 0 ;
34641 char *kwnames
[] = {
34642 (char *) "self",(char *) "proportion", NULL
34645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
34646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34648 arg2
= (int)SWIG_As_int(obj1
);
34649 if (PyErr_Occurred()) SWIG_fail
;
34651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34652 (arg1
)->SetProportion(arg2
);
34654 wxPyEndAllowThreads(__tstate
);
34655 if (PyErr_Occurred()) SWIG_fail
;
34657 Py_INCREF(Py_None
); resultobj
= Py_None
;
34664 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34665 PyObject
*resultobj
;
34666 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34668 PyObject
* obj0
= 0 ;
34669 char *kwnames
[] = {
34670 (char *) "self", NULL
34673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
34674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34678 result
= (int)(arg1
)->GetProportion();
34680 wxPyEndAllowThreads(__tstate
);
34681 if (PyErr_Occurred()) SWIG_fail
;
34683 resultobj
= SWIG_From_int((int)result
);
34690 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34691 PyObject
*resultobj
;
34692 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34694 PyObject
* obj0
= 0 ;
34695 PyObject
* obj1
= 0 ;
34696 char *kwnames
[] = {
34697 (char *) "self",(char *) "flag", NULL
34700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
34701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34703 arg2
= (int)SWIG_As_int(obj1
);
34704 if (PyErr_Occurred()) SWIG_fail
;
34706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34707 (arg1
)->SetFlag(arg2
);
34709 wxPyEndAllowThreads(__tstate
);
34710 if (PyErr_Occurred()) SWIG_fail
;
34712 Py_INCREF(Py_None
); resultobj
= Py_None
;
34719 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34720 PyObject
*resultobj
;
34721 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34723 PyObject
* obj0
= 0 ;
34724 char *kwnames
[] = {
34725 (char *) "self", NULL
34728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
34729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34733 result
= (int)(arg1
)->GetFlag();
34735 wxPyEndAllowThreads(__tstate
);
34736 if (PyErr_Occurred()) SWIG_fail
;
34738 resultobj
= SWIG_From_int((int)result
);
34745 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34746 PyObject
*resultobj
;
34747 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34749 PyObject
* obj0
= 0 ;
34750 PyObject
* obj1
= 0 ;
34751 char *kwnames
[] = {
34752 (char *) "self",(char *) "border", NULL
34755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
34756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34758 arg2
= (int)SWIG_As_int(obj1
);
34759 if (PyErr_Occurred()) SWIG_fail
;
34761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34762 (arg1
)->SetBorder(arg2
);
34764 wxPyEndAllowThreads(__tstate
);
34765 if (PyErr_Occurred()) SWIG_fail
;
34767 Py_INCREF(Py_None
); resultobj
= Py_None
;
34774 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34775 PyObject
*resultobj
;
34776 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34778 PyObject
* obj0
= 0 ;
34779 char *kwnames
[] = {
34780 (char *) "self", NULL
34783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
34784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34788 result
= (int)(arg1
)->GetBorder();
34790 wxPyEndAllowThreads(__tstate
);
34791 if (PyErr_Occurred()) SWIG_fail
;
34793 resultobj
= SWIG_From_int((int)result
);
34800 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34801 PyObject
*resultobj
;
34802 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34804 PyObject
* obj0
= 0 ;
34805 char *kwnames
[] = {
34806 (char *) "self", NULL
34809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
34810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34814 result
= (wxWindow
*)(arg1
)->GetWindow();
34816 wxPyEndAllowThreads(__tstate
);
34817 if (PyErr_Occurred()) SWIG_fail
;
34820 resultobj
= wxPyMake_wxObject(result
, 0);
34828 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34829 PyObject
*resultobj
;
34830 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34831 wxWindow
*arg2
= (wxWindow
*) 0 ;
34832 PyObject
* obj0
= 0 ;
34833 PyObject
* obj1
= 0 ;
34834 char *kwnames
[] = {
34835 (char *) "self",(char *) "window", NULL
34838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34841 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34845 (arg1
)->SetWindow(arg2
);
34847 wxPyEndAllowThreads(__tstate
);
34848 if (PyErr_Occurred()) SWIG_fail
;
34850 Py_INCREF(Py_None
); resultobj
= Py_None
;
34857 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34858 PyObject
*resultobj
;
34859 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34861 PyObject
* obj0
= 0 ;
34862 char *kwnames
[] = {
34863 (char *) "self", NULL
34866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
34867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34871 result
= (wxSizer
*)(arg1
)->GetSizer();
34873 wxPyEndAllowThreads(__tstate
);
34874 if (PyErr_Occurred()) SWIG_fail
;
34877 resultobj
= wxPyMake_wxSizer(result
, 0);
34885 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34886 PyObject
*resultobj
;
34887 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34888 wxSizer
*arg2
= (wxSizer
*) 0 ;
34889 PyObject
* obj0
= 0 ;
34890 PyObject
* obj1
= 0 ;
34891 char *kwnames
[] = {
34892 (char *) "self",(char *) "sizer", NULL
34895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
34896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34898 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
34899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34902 (arg1
)->SetSizer(arg2
);
34904 wxPyEndAllowThreads(__tstate
);
34905 if (PyErr_Occurred()) SWIG_fail
;
34907 Py_INCREF(Py_None
); resultobj
= Py_None
;
34914 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34915 PyObject
*resultobj
;
34916 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34918 PyObject
* obj0
= 0 ;
34919 char *kwnames
[] = {
34920 (char *) "self", NULL
34923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
34924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34929 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
34930 result
= (wxSize
*) &_result_ref
;
34933 wxPyEndAllowThreads(__tstate
);
34934 if (PyErr_Occurred()) SWIG_fail
;
34936 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
34943 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34944 PyObject
*resultobj
;
34945 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34948 PyObject
* obj0
= 0 ;
34949 PyObject
* obj1
= 0 ;
34950 char *kwnames
[] = {
34951 (char *) "self",(char *) "size", NULL
34954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
34955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34959 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
34962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34963 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
34965 wxPyEndAllowThreads(__tstate
);
34966 if (PyErr_Occurred()) SWIG_fail
;
34968 Py_INCREF(Py_None
); resultobj
= Py_None
;
34975 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34976 PyObject
*resultobj
;
34977 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34979 PyObject
* obj0
= 0 ;
34980 PyObject
* obj1
= 0 ;
34981 char *kwnames
[] = {
34982 (char *) "self",(char *) "show", NULL
34985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
34986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34988 arg2
= (bool)SWIG_As_bool(obj1
);
34989 if (PyErr_Occurred()) SWIG_fail
;
34991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34992 (arg1
)->Show(arg2
);
34994 wxPyEndAllowThreads(__tstate
);
34995 if (PyErr_Occurred()) SWIG_fail
;
34997 Py_INCREF(Py_None
); resultobj
= Py_None
;
35004 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35005 PyObject
*resultobj
;
35006 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35008 PyObject
* obj0
= 0 ;
35009 char *kwnames
[] = {
35010 (char *) "self", NULL
35013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
35014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35018 result
= (bool)(arg1
)->IsShown();
35020 wxPyEndAllowThreads(__tstate
);
35021 if (PyErr_Occurred()) SWIG_fail
;
35024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35032 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35033 PyObject
*resultobj
;
35034 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35036 PyObject
* obj0
= 0 ;
35037 char *kwnames
[] = {
35038 (char *) "self", NULL
35041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
35042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35046 result
= (arg1
)->GetPosition();
35048 wxPyEndAllowThreads(__tstate
);
35049 if (PyErr_Occurred()) SWIG_fail
;
35052 wxPoint
* resultptr
;
35053 resultptr
= new wxPoint((wxPoint
&) result
);
35054 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35062 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35063 PyObject
*resultobj
;
35064 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35066 PyObject
* obj0
= 0 ;
35067 char *kwnames
[] = {
35068 (char *) "self", NULL
35071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
35072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35076 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
35078 wxPyEndAllowThreads(__tstate
);
35079 if (PyErr_Occurred()) SWIG_fail
;
35081 resultobj
= result
;
35088 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
35090 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35091 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
35093 return Py_BuildValue((char *)"");
35095 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35096 PyObject
*resultobj
;
35097 wxSizer
*arg1
= (wxSizer
*) 0 ;
35098 PyObject
*arg2
= (PyObject
*) 0 ;
35099 PyObject
* obj0
= 0 ;
35100 PyObject
* obj1
= 0 ;
35101 char *kwnames
[] = {
35102 (char *) "self",(char *) "_self", NULL
35105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
35106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35111 wxSizer__setOORInfo(arg1
,arg2
);
35113 wxPyEndAllowThreads(__tstate
);
35114 if (PyErr_Occurred()) SWIG_fail
;
35116 Py_INCREF(Py_None
); resultobj
= Py_None
;
35123 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35124 PyObject
*resultobj
;
35125 wxSizer
*arg1
= (wxSizer
*) 0 ;
35126 PyObject
*arg2
= (PyObject
*) 0 ;
35127 int arg3
= (int) 0 ;
35128 int arg4
= (int) 0 ;
35129 int arg5
= (int) 0 ;
35130 PyObject
*arg6
= (PyObject
*) NULL
;
35131 PyObject
* obj0
= 0 ;
35132 PyObject
* obj1
= 0 ;
35133 PyObject
* obj2
= 0 ;
35134 PyObject
* obj3
= 0 ;
35135 PyObject
* obj4
= 0 ;
35136 PyObject
* obj5
= 0 ;
35137 char *kwnames
[] = {
35138 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35146 arg3
= (int)SWIG_As_int(obj2
);
35147 if (PyErr_Occurred()) SWIG_fail
;
35150 arg4
= (int)SWIG_As_int(obj3
);
35151 if (PyErr_Occurred()) SWIG_fail
;
35154 arg5
= (int)SWIG_As_int(obj4
);
35155 if (PyErr_Occurred()) SWIG_fail
;
35161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35162 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35164 wxPyEndAllowThreads(__tstate
);
35165 if (PyErr_Occurred()) SWIG_fail
;
35167 Py_INCREF(Py_None
); resultobj
= Py_None
;
35174 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35175 PyObject
*resultobj
;
35176 wxSizer
*arg1
= (wxSizer
*) 0 ;
35178 PyObject
*arg3
= (PyObject
*) 0 ;
35179 int arg4
= (int) 0 ;
35180 int arg5
= (int) 0 ;
35181 int arg6
= (int) 0 ;
35182 PyObject
*arg7
= (PyObject
*) NULL
;
35183 PyObject
* obj0
= 0 ;
35184 PyObject
* obj1
= 0 ;
35185 PyObject
* obj2
= 0 ;
35186 PyObject
* obj3
= 0 ;
35187 PyObject
* obj4
= 0 ;
35188 PyObject
* obj5
= 0 ;
35189 PyObject
* obj6
= 0 ;
35190 char *kwnames
[] = {
35191 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
35195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35197 arg2
= (int)SWIG_As_int(obj1
);
35198 if (PyErr_Occurred()) SWIG_fail
;
35201 arg4
= (int)SWIG_As_int(obj3
);
35202 if (PyErr_Occurred()) SWIG_fail
;
35205 arg5
= (int)SWIG_As_int(obj4
);
35206 if (PyErr_Occurred()) SWIG_fail
;
35209 arg6
= (int)SWIG_As_int(obj5
);
35210 if (PyErr_Occurred()) SWIG_fail
;
35216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35217 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
35219 wxPyEndAllowThreads(__tstate
);
35220 if (PyErr_Occurred()) SWIG_fail
;
35222 Py_INCREF(Py_None
); resultobj
= Py_None
;
35229 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35230 PyObject
*resultobj
;
35231 wxSizer
*arg1
= (wxSizer
*) 0 ;
35232 PyObject
*arg2
= (PyObject
*) 0 ;
35233 int arg3
= (int) 0 ;
35234 int arg4
= (int) 0 ;
35235 int arg5
= (int) 0 ;
35236 PyObject
*arg6
= (PyObject
*) NULL
;
35237 PyObject
* obj0
= 0 ;
35238 PyObject
* obj1
= 0 ;
35239 PyObject
* obj2
= 0 ;
35240 PyObject
* obj3
= 0 ;
35241 PyObject
* obj4
= 0 ;
35242 PyObject
* obj5
= 0 ;
35243 char *kwnames
[] = {
35244 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35252 arg3
= (int)SWIG_As_int(obj2
);
35253 if (PyErr_Occurred()) SWIG_fail
;
35256 arg4
= (int)SWIG_As_int(obj3
);
35257 if (PyErr_Occurred()) SWIG_fail
;
35260 arg5
= (int)SWIG_As_int(obj4
);
35261 if (PyErr_Occurred()) SWIG_fail
;
35267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35268 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35270 wxPyEndAllowThreads(__tstate
);
35271 if (PyErr_Occurred()) SWIG_fail
;
35273 Py_INCREF(Py_None
); resultobj
= Py_None
;
35280 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35281 PyObject
*resultobj
;
35282 wxSizer
*arg1
= (wxSizer
*) 0 ;
35283 PyObject
*arg2
= (PyObject
*) 0 ;
35285 PyObject
* obj0
= 0 ;
35286 PyObject
* obj1
= 0 ;
35287 char *kwnames
[] = {
35288 (char *) "self",(char *) "item", NULL
35291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35297 result
= (bool)wxSizer_Remove(arg1
,arg2
);
35299 wxPyEndAllowThreads(__tstate
);
35300 if (PyErr_Occurred()) SWIG_fail
;
35303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35311 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35312 PyObject
*resultobj
;
35313 wxSizer
*arg1
= (wxSizer
*) 0 ;
35314 PyObject
*arg2
= (PyObject
*) 0 ;
35316 PyObject
* obj0
= 0 ;
35317 PyObject
* obj1
= 0 ;
35318 char *kwnames
[] = {
35319 (char *) "self",(char *) "item", NULL
35322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
35323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35328 result
= (bool)wxSizer_Detach(arg1
,arg2
);
35330 wxPyEndAllowThreads(__tstate
);
35331 if (PyErr_Occurred()) SWIG_fail
;
35334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35342 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35343 PyObject
*resultobj
;
35344 wxSizer
*arg1
= (wxSizer
*) 0 ;
35345 PyObject
*arg2
= (PyObject
*) 0 ;
35348 PyObject
* obj0
= 0 ;
35349 PyObject
* obj1
= 0 ;
35350 PyObject
* obj2
= 0 ;
35351 char *kwnames
[] = {
35352 (char *) "self",(char *) "item",(char *) "size", NULL
35355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35361 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
35364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35365 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
35367 wxPyEndAllowThreads(__tstate
);
35368 if (PyErr_Occurred()) SWIG_fail
;
35370 Py_INCREF(Py_None
); resultobj
= Py_None
;
35377 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35378 PyObject
*resultobj
;
35379 wxSizer
*arg1
= (wxSizer
*) 0 ;
35380 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35381 PyObject
* obj0
= 0 ;
35382 PyObject
* obj1
= 0 ;
35383 char *kwnames
[] = {
35384 (char *) "self",(char *) "item", NULL
35387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35390 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35396 wxPyEndAllowThreads(__tstate
);
35397 if (PyErr_Occurred()) SWIG_fail
;
35399 Py_INCREF(Py_None
); resultobj
= Py_None
;
35406 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35407 PyObject
*resultobj
;
35408 wxSizer
*arg1
= (wxSizer
*) 0 ;
35410 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
35411 PyObject
* obj0
= 0 ;
35412 PyObject
* obj1
= 0 ;
35413 PyObject
* obj2
= 0 ;
35414 char *kwnames
[] = {
35415 (char *) "self",(char *) "index",(char *) "item", NULL
35418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35421 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
35422 if (PyErr_Occurred()) SWIG_fail
;
35423 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
35424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35427 (arg1
)->Insert(arg2
,arg3
);
35429 wxPyEndAllowThreads(__tstate
);
35430 if (PyErr_Occurred()) SWIG_fail
;
35432 Py_INCREF(Py_None
); resultobj
= Py_None
;
35439 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35440 PyObject
*resultobj
;
35441 wxSizer
*arg1
= (wxSizer
*) 0 ;
35442 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35443 PyObject
* obj0
= 0 ;
35444 PyObject
* obj1
= 0 ;
35445 char *kwnames
[] = {
35446 (char *) "self",(char *) "item", NULL
35449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35452 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35456 (arg1
)->Prepend(arg2
);
35458 wxPyEndAllowThreads(__tstate
);
35459 if (PyErr_Occurred()) SWIG_fail
;
35461 Py_INCREF(Py_None
); resultobj
= Py_None
;
35468 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35469 PyObject
*resultobj
;
35470 wxSizer
*arg1
= (wxSizer
*) 0 ;
35475 PyObject
* obj0
= 0 ;
35476 PyObject
* obj1
= 0 ;
35477 PyObject
* obj2
= 0 ;
35478 PyObject
* obj3
= 0 ;
35479 PyObject
* obj4
= 0 ;
35480 char *kwnames
[] = {
35481 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
35484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35487 arg2
= (int)SWIG_As_int(obj1
);
35488 if (PyErr_Occurred()) SWIG_fail
;
35489 arg3
= (int)SWIG_As_int(obj2
);
35490 if (PyErr_Occurred()) SWIG_fail
;
35491 arg4
= (int)SWIG_As_int(obj3
);
35492 if (PyErr_Occurred()) SWIG_fail
;
35493 arg5
= (int)SWIG_As_int(obj4
);
35494 if (PyErr_Occurred()) SWIG_fail
;
35496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35497 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
35499 wxPyEndAllowThreads(__tstate
);
35500 if (PyErr_Occurred()) SWIG_fail
;
35502 Py_INCREF(Py_None
); resultobj
= Py_None
;
35509 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35510 PyObject
*resultobj
;
35511 wxSizer
*arg1
= (wxSizer
*) 0 ;
35514 PyObject
* obj0
= 0 ;
35515 PyObject
* obj1
= 0 ;
35516 char *kwnames
[] = {
35517 (char *) "self",(char *) "size", NULL
35520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
35521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35525 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35529 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
35531 wxPyEndAllowThreads(__tstate
);
35532 if (PyErr_Occurred()) SWIG_fail
;
35534 Py_INCREF(Py_None
); resultobj
= Py_None
;
35541 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35542 PyObject
*resultobj
;
35543 wxSizer
*arg1
= (wxSizer
*) 0 ;
35545 PyObject
* obj0
= 0 ;
35546 char *kwnames
[] = {
35547 (char *) "self", NULL
35550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
35551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35555 result
= (arg1
)->GetSize();
35557 wxPyEndAllowThreads(__tstate
);
35558 if (PyErr_Occurred()) SWIG_fail
;
35561 wxSize
* resultptr
;
35562 resultptr
= new wxSize((wxSize
&) result
);
35563 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35571 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35572 PyObject
*resultobj
;
35573 wxSizer
*arg1
= (wxSizer
*) 0 ;
35575 PyObject
* obj0
= 0 ;
35576 char *kwnames
[] = {
35577 (char *) "self", NULL
35580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
35581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35585 result
= (arg1
)->GetPosition();
35587 wxPyEndAllowThreads(__tstate
);
35588 if (PyErr_Occurred()) SWIG_fail
;
35591 wxPoint
* resultptr
;
35592 resultptr
= new wxPoint((wxPoint
&) result
);
35593 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35601 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35602 PyObject
*resultobj
;
35603 wxSizer
*arg1
= (wxSizer
*) 0 ;
35605 PyObject
* obj0
= 0 ;
35606 char *kwnames
[] = {
35607 (char *) "self", NULL
35610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
35611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35615 result
= (arg1
)->GetMinSize();
35617 wxPyEndAllowThreads(__tstate
);
35618 if (PyErr_Occurred()) SWIG_fail
;
35621 wxSize
* resultptr
;
35622 resultptr
= new wxSize((wxSize
&) result
);
35623 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35631 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35632 PyObject
*resultobj
;
35633 wxSizer
*arg1
= (wxSizer
*) 0 ;
35634 PyObject
* obj0
= 0 ;
35635 char *kwnames
[] = {
35636 (char *) "self", NULL
35639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35644 (arg1
)->RecalcSizes();
35646 wxPyEndAllowThreads(__tstate
);
35647 if (PyErr_Occurred()) SWIG_fail
;
35649 Py_INCREF(Py_None
); resultobj
= Py_None
;
35656 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35657 PyObject
*resultobj
;
35658 wxSizer
*arg1
= (wxSizer
*) 0 ;
35660 PyObject
* obj0
= 0 ;
35661 char *kwnames
[] = {
35662 (char *) "self", NULL
35665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35670 result
= (arg1
)->CalcMin();
35672 wxPyEndAllowThreads(__tstate
);
35673 if (PyErr_Occurred()) SWIG_fail
;
35676 wxSize
* resultptr
;
35677 resultptr
= new wxSize((wxSize
&) result
);
35678 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35686 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35687 PyObject
*resultobj
;
35688 wxSizer
*arg1
= (wxSizer
*) 0 ;
35689 PyObject
* obj0
= 0 ;
35690 char *kwnames
[] = {
35691 (char *) "self", NULL
35694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
35695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35701 wxPyEndAllowThreads(__tstate
);
35702 if (PyErr_Occurred()) SWIG_fail
;
35704 Py_INCREF(Py_None
); resultobj
= Py_None
;
35711 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35712 PyObject
*resultobj
;
35713 wxSizer
*arg1
= (wxSizer
*) 0 ;
35714 wxWindow
*arg2
= (wxWindow
*) 0 ;
35716 PyObject
* obj0
= 0 ;
35717 PyObject
* obj1
= 0 ;
35718 char *kwnames
[] = {
35719 (char *) "self",(char *) "window", NULL
35722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
35723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35725 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35729 result
= (arg1
)->Fit(arg2
);
35731 wxPyEndAllowThreads(__tstate
);
35732 if (PyErr_Occurred()) SWIG_fail
;
35735 wxSize
* resultptr
;
35736 resultptr
= new wxSize((wxSize
&) result
);
35737 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35745 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35746 PyObject
*resultobj
;
35747 wxSizer
*arg1
= (wxSizer
*) 0 ;
35748 wxWindow
*arg2
= (wxWindow
*) 0 ;
35749 PyObject
* obj0
= 0 ;
35750 PyObject
* obj1
= 0 ;
35751 char *kwnames
[] = {
35752 (char *) "self",(char *) "window", NULL
35755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
35756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35758 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35762 (arg1
)->FitInside(arg2
);
35764 wxPyEndAllowThreads(__tstate
);
35765 if (PyErr_Occurred()) SWIG_fail
;
35767 Py_INCREF(Py_None
); resultobj
= Py_None
;
35774 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35775 PyObject
*resultobj
;
35776 wxSizer
*arg1
= (wxSizer
*) 0 ;
35777 wxWindow
*arg2
= (wxWindow
*) 0 ;
35778 PyObject
* obj0
= 0 ;
35779 PyObject
* obj1
= 0 ;
35780 char *kwnames
[] = {
35781 (char *) "self",(char *) "window", NULL
35784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35787 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35791 (arg1
)->SetSizeHints(arg2
);
35793 wxPyEndAllowThreads(__tstate
);
35794 if (PyErr_Occurred()) SWIG_fail
;
35796 Py_INCREF(Py_None
); resultobj
= Py_None
;
35803 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35804 PyObject
*resultobj
;
35805 wxSizer
*arg1
= (wxSizer
*) 0 ;
35806 wxWindow
*arg2
= (wxWindow
*) 0 ;
35807 PyObject
* obj0
= 0 ;
35808 PyObject
* obj1
= 0 ;
35809 char *kwnames
[] = {
35810 (char *) "self",(char *) "window", NULL
35813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35816 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35820 (arg1
)->SetVirtualSizeHints(arg2
);
35822 wxPyEndAllowThreads(__tstate
);
35823 if (PyErr_Occurred()) SWIG_fail
;
35825 Py_INCREF(Py_None
); resultobj
= Py_None
;
35832 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35833 PyObject
*resultobj
;
35834 wxSizer
*arg1
= (wxSizer
*) 0 ;
35835 bool arg2
= (bool) False
;
35836 PyObject
* obj0
= 0 ;
35837 PyObject
* obj1
= 0 ;
35838 char *kwnames
[] = {
35839 (char *) "self",(char *) "deleteWindows", NULL
35842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
35843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35846 arg2
= (bool)SWIG_As_bool(obj1
);
35847 if (PyErr_Occurred()) SWIG_fail
;
35850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35851 (arg1
)->Clear(arg2
);
35853 wxPyEndAllowThreads(__tstate
);
35854 if (PyErr_Occurred()) SWIG_fail
;
35856 Py_INCREF(Py_None
); resultobj
= Py_None
;
35863 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35864 PyObject
*resultobj
;
35865 wxSizer
*arg1
= (wxSizer
*) 0 ;
35866 PyObject
* obj0
= 0 ;
35867 char *kwnames
[] = {
35868 (char *) "self", NULL
35871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
35872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35876 (arg1
)->DeleteWindows();
35878 wxPyEndAllowThreads(__tstate
);
35879 if (PyErr_Occurred()) SWIG_fail
;
35881 Py_INCREF(Py_None
); resultobj
= Py_None
;
35888 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35889 PyObject
*resultobj
;
35890 wxSizer
*arg1
= (wxSizer
*) 0 ;
35892 PyObject
* obj0
= 0 ;
35893 char *kwnames
[] = {
35894 (char *) "self", NULL
35897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
35898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35902 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
35904 wxPyEndAllowThreads(__tstate
);
35905 if (PyErr_Occurred()) SWIG_fail
;
35907 resultobj
= result
;
35914 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35915 PyObject
*resultobj
;
35916 wxSizer
*arg1
= (wxSizer
*) 0 ;
35917 PyObject
*arg2
= (PyObject
*) 0 ;
35918 bool arg3
= (bool) True
;
35919 PyObject
* obj0
= 0 ;
35920 PyObject
* obj1
= 0 ;
35921 PyObject
* obj2
= 0 ;
35922 char *kwnames
[] = {
35923 (char *) "self",(char *) "item",(char *) "show", NULL
35926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35931 arg3
= (bool)SWIG_As_bool(obj2
);
35932 if (PyErr_Occurred()) SWIG_fail
;
35935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35936 wxSizer_Show(arg1
,arg2
,arg3
);
35938 wxPyEndAllowThreads(__tstate
);
35939 if (PyErr_Occurred()) SWIG_fail
;
35941 Py_INCREF(Py_None
); resultobj
= Py_None
;
35948 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35949 PyObject
*resultobj
;
35950 wxSizer
*arg1
= (wxSizer
*) 0 ;
35951 PyObject
*arg2
= (PyObject
*) 0 ;
35953 PyObject
* obj0
= 0 ;
35954 PyObject
* obj1
= 0 ;
35955 char *kwnames
[] = {
35956 (char *) "self",(char *) "item", NULL
35959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
35960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35965 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
35967 wxPyEndAllowThreads(__tstate
);
35968 if (PyErr_Occurred()) SWIG_fail
;
35971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35979 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35980 PyObject
*resultobj
;
35981 wxSizer
*arg1
= (wxSizer
*) 0 ;
35983 PyObject
* obj0
= 0 ;
35984 PyObject
* obj1
= 0 ;
35985 char *kwnames
[] = {
35986 (char *) "self",(char *) "show", NULL
35989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
35990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35992 arg2
= (bool)SWIG_As_bool(obj1
);
35993 if (PyErr_Occurred()) SWIG_fail
;
35995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35996 (arg1
)->ShowItems(arg2
);
35998 wxPyEndAllowThreads(__tstate
);
35999 if (PyErr_Occurred()) SWIG_fail
;
36001 Py_INCREF(Py_None
); resultobj
= Py_None
;
36008 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
36010 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36011 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
36013 return Py_BuildValue((char *)"");
36015 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36016 PyObject
*resultobj
;
36018 char *kwnames
[] = {
36022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
36024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36025 result
= (wxPySizer
*)new wxPySizer();
36027 wxPyEndAllowThreads(__tstate
);
36028 if (PyErr_Occurred()) SWIG_fail
;
36030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
36037 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36038 PyObject
*resultobj
;
36039 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
36040 PyObject
*arg2
= (PyObject
*) 0 ;
36041 PyObject
*arg3
= (PyObject
*) 0 ;
36042 PyObject
* obj0
= 0 ;
36043 PyObject
* obj1
= 0 ;
36044 PyObject
* obj2
= 0 ;
36045 char *kwnames
[] = {
36046 (char *) "self",(char *) "self",(char *) "_class", NULL
36049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
36051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36056 (arg1
)->_setCallbackInfo(arg2
,arg3
);
36058 wxPyEndAllowThreads(__tstate
);
36059 if (PyErr_Occurred()) SWIG_fail
;
36061 Py_INCREF(Py_None
); resultobj
= Py_None
;
36068 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
36070 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36071 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
36073 return Py_BuildValue((char *)"");
36075 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36076 PyObject
*resultobj
;
36077 int arg1
= (int) wxHORIZONTAL
;
36078 wxBoxSizer
*result
;
36079 PyObject
* obj0
= 0 ;
36080 char *kwnames
[] = {
36081 (char *) "orient", NULL
36084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
36086 arg1
= (int)SWIG_As_int(obj0
);
36087 if (PyErr_Occurred()) SWIG_fail
;
36090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36091 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
36093 wxPyEndAllowThreads(__tstate
);
36094 if (PyErr_Occurred()) SWIG_fail
;
36096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
36103 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36104 PyObject
*resultobj
;
36105 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36107 PyObject
* obj0
= 0 ;
36108 char *kwnames
[] = {
36109 (char *) "self", NULL
36112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
36113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36117 result
= (int)(arg1
)->GetOrientation();
36119 wxPyEndAllowThreads(__tstate
);
36120 if (PyErr_Occurred()) SWIG_fail
;
36122 resultobj
= SWIG_From_int((int)result
);
36129 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36130 PyObject
*resultobj
;
36131 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36133 PyObject
* obj0
= 0 ;
36134 PyObject
* obj1
= 0 ;
36135 char *kwnames
[] = {
36136 (char *) "self",(char *) "orient", NULL
36139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
36140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36142 arg2
= (int)SWIG_As_int(obj1
);
36143 if (PyErr_Occurred()) SWIG_fail
;
36145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36146 (arg1
)->SetOrientation(arg2
);
36148 wxPyEndAllowThreads(__tstate
);
36149 if (PyErr_Occurred()) SWIG_fail
;
36151 Py_INCREF(Py_None
); resultobj
= Py_None
;
36158 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
36160 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36161 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
36163 return Py_BuildValue((char *)"");
36165 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36166 PyObject
*resultobj
;
36167 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
36168 int arg2
= (int) wxHORIZONTAL
;
36169 wxStaticBoxSizer
*result
;
36170 PyObject
* obj0
= 0 ;
36171 PyObject
* obj1
= 0 ;
36172 char *kwnames
[] = {
36173 (char *) "box",(char *) "orient", NULL
36176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
36177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
36178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36180 arg2
= (int)SWIG_As_int(obj1
);
36181 if (PyErr_Occurred()) SWIG_fail
;
36184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36185 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
36187 wxPyEndAllowThreads(__tstate
);
36188 if (PyErr_Occurred()) SWIG_fail
;
36190 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
36197 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36198 PyObject
*resultobj
;
36199 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
36200 wxStaticBox
*result
;
36201 PyObject
* obj0
= 0 ;
36202 char *kwnames
[] = {
36203 (char *) "self", NULL
36206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
36207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
36208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36211 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
36213 wxPyEndAllowThreads(__tstate
);
36214 if (PyErr_Occurred()) SWIG_fail
;
36217 resultobj
= wxPyMake_wxObject(result
, 0);
36225 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
36227 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36228 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
36230 return Py_BuildValue((char *)"");
36232 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36233 PyObject
*resultobj
;
36234 int arg1
= (int) 1 ;
36235 int arg2
= (int) 0 ;
36236 int arg3
= (int) 0 ;
36237 int arg4
= (int) 0 ;
36238 wxGridSizer
*result
;
36239 PyObject
* obj0
= 0 ;
36240 PyObject
* obj1
= 0 ;
36241 PyObject
* obj2
= 0 ;
36242 PyObject
* obj3
= 0 ;
36243 char *kwnames
[] = {
36244 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36249 arg1
= (int)SWIG_As_int(obj0
);
36250 if (PyErr_Occurred()) SWIG_fail
;
36253 arg2
= (int)SWIG_As_int(obj1
);
36254 if (PyErr_Occurred()) SWIG_fail
;
36257 arg3
= (int)SWIG_As_int(obj2
);
36258 if (PyErr_Occurred()) SWIG_fail
;
36261 arg4
= (int)SWIG_As_int(obj3
);
36262 if (PyErr_Occurred()) SWIG_fail
;
36265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36266 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
36268 wxPyEndAllowThreads(__tstate
);
36269 if (PyErr_Occurred()) SWIG_fail
;
36271 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
36278 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36279 PyObject
*resultobj
;
36280 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36282 PyObject
* obj0
= 0 ;
36283 PyObject
* obj1
= 0 ;
36284 char *kwnames
[] = {
36285 (char *) "self",(char *) "cols", NULL
36288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
36289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36291 arg2
= (int)SWIG_As_int(obj1
);
36292 if (PyErr_Occurred()) SWIG_fail
;
36294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36295 (arg1
)->SetCols(arg2
);
36297 wxPyEndAllowThreads(__tstate
);
36298 if (PyErr_Occurred()) SWIG_fail
;
36300 Py_INCREF(Py_None
); resultobj
= Py_None
;
36307 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36308 PyObject
*resultobj
;
36309 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36311 PyObject
* obj0
= 0 ;
36312 PyObject
* obj1
= 0 ;
36313 char *kwnames
[] = {
36314 (char *) "self",(char *) "rows", NULL
36317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
36318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36320 arg2
= (int)SWIG_As_int(obj1
);
36321 if (PyErr_Occurred()) SWIG_fail
;
36323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36324 (arg1
)->SetRows(arg2
);
36326 wxPyEndAllowThreads(__tstate
);
36327 if (PyErr_Occurred()) SWIG_fail
;
36329 Py_INCREF(Py_None
); resultobj
= Py_None
;
36336 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36337 PyObject
*resultobj
;
36338 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36340 PyObject
* obj0
= 0 ;
36341 PyObject
* obj1
= 0 ;
36342 char *kwnames
[] = {
36343 (char *) "self",(char *) "gap", NULL
36346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36349 arg2
= (int)SWIG_As_int(obj1
);
36350 if (PyErr_Occurred()) SWIG_fail
;
36352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36353 (arg1
)->SetVGap(arg2
);
36355 wxPyEndAllowThreads(__tstate
);
36356 if (PyErr_Occurred()) SWIG_fail
;
36358 Py_INCREF(Py_None
); resultobj
= Py_None
;
36365 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36366 PyObject
*resultobj
;
36367 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36369 PyObject
* obj0
= 0 ;
36370 PyObject
* obj1
= 0 ;
36371 char *kwnames
[] = {
36372 (char *) "self",(char *) "gap", NULL
36375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36378 arg2
= (int)SWIG_As_int(obj1
);
36379 if (PyErr_Occurred()) SWIG_fail
;
36381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36382 (arg1
)->SetHGap(arg2
);
36384 wxPyEndAllowThreads(__tstate
);
36385 if (PyErr_Occurred()) SWIG_fail
;
36387 Py_INCREF(Py_None
); resultobj
= Py_None
;
36394 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36395 PyObject
*resultobj
;
36396 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36398 PyObject
* obj0
= 0 ;
36399 char *kwnames
[] = {
36400 (char *) "self", NULL
36403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
36404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36408 result
= (int)(arg1
)->GetCols();
36410 wxPyEndAllowThreads(__tstate
);
36411 if (PyErr_Occurred()) SWIG_fail
;
36413 resultobj
= SWIG_From_int((int)result
);
36420 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36421 PyObject
*resultobj
;
36422 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36424 PyObject
* obj0
= 0 ;
36425 char *kwnames
[] = {
36426 (char *) "self", NULL
36429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
36430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36434 result
= (int)(arg1
)->GetRows();
36436 wxPyEndAllowThreads(__tstate
);
36437 if (PyErr_Occurred()) SWIG_fail
;
36439 resultobj
= SWIG_From_int((int)result
);
36446 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36447 PyObject
*resultobj
;
36448 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36450 PyObject
* obj0
= 0 ;
36451 char *kwnames
[] = {
36452 (char *) "self", NULL
36455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
36456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36460 result
= (int)(arg1
)->GetVGap();
36462 wxPyEndAllowThreads(__tstate
);
36463 if (PyErr_Occurred()) SWIG_fail
;
36465 resultobj
= SWIG_From_int((int)result
);
36472 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36473 PyObject
*resultobj
;
36474 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36476 PyObject
* obj0
= 0 ;
36477 char *kwnames
[] = {
36478 (char *) "self", NULL
36481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
36482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36486 result
= (int)(arg1
)->GetHGap();
36488 wxPyEndAllowThreads(__tstate
);
36489 if (PyErr_Occurred()) SWIG_fail
;
36491 resultobj
= SWIG_From_int((int)result
);
36498 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
36500 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36501 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
36503 return Py_BuildValue((char *)"");
36505 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36506 PyObject
*resultobj
;
36507 int arg1
= (int) 1 ;
36508 int arg2
= (int) 0 ;
36509 int arg3
= (int) 0 ;
36510 int arg4
= (int) 0 ;
36511 wxFlexGridSizer
*result
;
36512 PyObject
* obj0
= 0 ;
36513 PyObject
* obj1
= 0 ;
36514 PyObject
* obj2
= 0 ;
36515 PyObject
* obj3
= 0 ;
36516 char *kwnames
[] = {
36517 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36522 arg1
= (int)SWIG_As_int(obj0
);
36523 if (PyErr_Occurred()) SWIG_fail
;
36526 arg2
= (int)SWIG_As_int(obj1
);
36527 if (PyErr_Occurred()) SWIG_fail
;
36530 arg3
= (int)SWIG_As_int(obj2
);
36531 if (PyErr_Occurred()) SWIG_fail
;
36534 arg4
= (int)SWIG_As_int(obj3
);
36535 if (PyErr_Occurred()) SWIG_fail
;
36538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36539 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
36541 wxPyEndAllowThreads(__tstate
);
36542 if (PyErr_Occurred()) SWIG_fail
;
36544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
36551 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36552 PyObject
*resultobj
;
36553 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36555 int arg3
= (int) 0 ;
36556 PyObject
* obj0
= 0 ;
36557 PyObject
* obj1
= 0 ;
36558 PyObject
* obj2
= 0 ;
36559 char *kwnames
[] = {
36560 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36566 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
36567 if (PyErr_Occurred()) SWIG_fail
;
36569 arg3
= (int)SWIG_As_int(obj2
);
36570 if (PyErr_Occurred()) SWIG_fail
;
36573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36574 (arg1
)->AddGrowableRow(arg2
,arg3
);
36576 wxPyEndAllowThreads(__tstate
);
36577 if (PyErr_Occurred()) SWIG_fail
;
36579 Py_INCREF(Py_None
); resultobj
= Py_None
;
36586 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36587 PyObject
*resultobj
;
36588 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36590 PyObject
* obj0
= 0 ;
36591 PyObject
* obj1
= 0 ;
36592 char *kwnames
[] = {
36593 (char *) "self",(char *) "idx", NULL
36596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36599 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
36600 if (PyErr_Occurred()) SWIG_fail
;
36602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36603 (arg1
)->RemoveGrowableRow(arg2
);
36605 wxPyEndAllowThreads(__tstate
);
36606 if (PyErr_Occurred()) SWIG_fail
;
36608 Py_INCREF(Py_None
); resultobj
= Py_None
;
36615 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36616 PyObject
*resultobj
;
36617 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36619 int arg3
= (int) 0 ;
36620 PyObject
* obj0
= 0 ;
36621 PyObject
* obj1
= 0 ;
36622 PyObject
* obj2
= 0 ;
36623 char *kwnames
[] = {
36624 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36630 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
36631 if (PyErr_Occurred()) SWIG_fail
;
36633 arg3
= (int)SWIG_As_int(obj2
);
36634 if (PyErr_Occurred()) SWIG_fail
;
36637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36638 (arg1
)->AddGrowableCol(arg2
,arg3
);
36640 wxPyEndAllowThreads(__tstate
);
36641 if (PyErr_Occurred()) SWIG_fail
;
36643 Py_INCREF(Py_None
); resultobj
= Py_None
;
36650 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36651 PyObject
*resultobj
;
36652 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36654 PyObject
* obj0
= 0 ;
36655 PyObject
* obj1
= 0 ;
36656 char *kwnames
[] = {
36657 (char *) "self",(char *) "idx", NULL
36660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
36661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36663 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
36664 if (PyErr_Occurred()) SWIG_fail
;
36666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36667 (arg1
)->RemoveGrowableCol(arg2
);
36669 wxPyEndAllowThreads(__tstate
);
36670 if (PyErr_Occurred()) SWIG_fail
;
36672 Py_INCREF(Py_None
); resultobj
= Py_None
;
36679 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36680 PyObject
*resultobj
;
36681 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36683 PyObject
* obj0
= 0 ;
36684 PyObject
* obj1
= 0 ;
36685 char *kwnames
[] = {
36686 (char *) "self",(char *) "direction", NULL
36689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
36690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36692 arg2
= (int)SWIG_As_int(obj1
);
36693 if (PyErr_Occurred()) SWIG_fail
;
36695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36696 (arg1
)->SetFlexibleDirection(arg2
);
36698 wxPyEndAllowThreads(__tstate
);
36699 if (PyErr_Occurred()) SWIG_fail
;
36701 Py_INCREF(Py_None
); resultobj
= Py_None
;
36708 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36709 PyObject
*resultobj
;
36710 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36712 PyObject
* obj0
= 0 ;
36713 char *kwnames
[] = {
36714 (char *) "self", NULL
36717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
36718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36722 result
= (int)(arg1
)->GetFlexibleDirection();
36724 wxPyEndAllowThreads(__tstate
);
36725 if (PyErr_Occurred()) SWIG_fail
;
36727 resultobj
= SWIG_From_int((int)result
);
36734 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36735 PyObject
*resultobj
;
36736 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36738 PyObject
* obj0
= 0 ;
36739 PyObject
* obj1
= 0 ;
36740 char *kwnames
[] = {
36741 (char *) "self",(char *) "mode", NULL
36744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
36745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36747 arg2
= (int)SWIG_As_int(obj1
);
36748 if (PyErr_Occurred()) SWIG_fail
;
36750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36751 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
36753 wxPyEndAllowThreads(__tstate
);
36754 if (PyErr_Occurred()) SWIG_fail
;
36756 Py_INCREF(Py_None
); resultobj
= Py_None
;
36763 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36764 PyObject
*resultobj
;
36765 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36767 PyObject
* obj0
= 0 ;
36768 char *kwnames
[] = {
36769 (char *) "self", NULL
36772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
36773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36777 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
36779 wxPyEndAllowThreads(__tstate
);
36780 if (PyErr_Occurred()) SWIG_fail
;
36782 resultobj
= SWIG_From_int((int)result
);
36789 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36790 PyObject
*resultobj
;
36791 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36792 wxArrayInt
*result
;
36793 PyObject
* obj0
= 0 ;
36794 char *kwnames
[] = {
36795 (char *) "self", NULL
36798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
36799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36804 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
36805 result
= (wxArrayInt
*) &_result_ref
;
36808 wxPyEndAllowThreads(__tstate
);
36809 if (PyErr_Occurred()) SWIG_fail
;
36812 resultobj
= PyList_New(0);
36814 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
36815 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
36816 PyList_Append(resultobj
, val
);
36826 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36827 PyObject
*resultobj
;
36828 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36829 wxArrayInt
*result
;
36830 PyObject
* obj0
= 0 ;
36831 char *kwnames
[] = {
36832 (char *) "self", NULL
36835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
36836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36841 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
36842 result
= (wxArrayInt
*) &_result_ref
;
36845 wxPyEndAllowThreads(__tstate
);
36846 if (PyErr_Occurred()) SWIG_fail
;
36849 resultobj
= PyList_New(0);
36851 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
36852 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
36853 PyList_Append(resultobj
, val
);
36863 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
36865 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36866 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
36868 return Py_BuildValue((char *)"");
36870 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36871 PyObject
*resultobj
;
36872 int arg1
= (int) 0 ;
36873 int arg2
= (int) 0 ;
36874 wxGBPosition
*result
;
36875 PyObject
* obj0
= 0 ;
36876 PyObject
* obj1
= 0 ;
36877 char *kwnames
[] = {
36878 (char *) "row",(char *) "col", NULL
36881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
36883 arg1
= (int)SWIG_As_int(obj0
);
36884 if (PyErr_Occurred()) SWIG_fail
;
36887 arg2
= (int)SWIG_As_int(obj1
);
36888 if (PyErr_Occurred()) SWIG_fail
;
36891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36892 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
36894 wxPyEndAllowThreads(__tstate
);
36895 if (PyErr_Occurred()) SWIG_fail
;
36897 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
36904 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36905 PyObject
*resultobj
;
36906 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36908 PyObject
* obj0
= 0 ;
36909 char *kwnames
[] = {
36910 (char *) "self", NULL
36913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
36914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36918 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
36920 wxPyEndAllowThreads(__tstate
);
36921 if (PyErr_Occurred()) SWIG_fail
;
36923 resultobj
= SWIG_From_int((int)result
);
36930 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36931 PyObject
*resultobj
;
36932 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36934 PyObject
* obj0
= 0 ;
36935 char *kwnames
[] = {
36936 (char *) "self", NULL
36939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
36940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36944 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
36946 wxPyEndAllowThreads(__tstate
);
36947 if (PyErr_Occurred()) SWIG_fail
;
36949 resultobj
= SWIG_From_int((int)result
);
36956 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36957 PyObject
*resultobj
;
36958 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36960 PyObject
* obj0
= 0 ;
36961 PyObject
* obj1
= 0 ;
36962 char *kwnames
[] = {
36963 (char *) "self",(char *) "row", NULL
36966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36969 arg2
= (int)SWIG_As_int(obj1
);
36970 if (PyErr_Occurred()) SWIG_fail
;
36972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36973 (arg1
)->SetRow(arg2
);
36975 wxPyEndAllowThreads(__tstate
);
36976 if (PyErr_Occurred()) SWIG_fail
;
36978 Py_INCREF(Py_None
); resultobj
= Py_None
;
36985 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36986 PyObject
*resultobj
;
36987 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36989 PyObject
* obj0
= 0 ;
36990 PyObject
* obj1
= 0 ;
36991 char *kwnames
[] = {
36992 (char *) "self",(char *) "col", NULL
36995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
36996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36998 arg2
= (int)SWIG_As_int(obj1
);
36999 if (PyErr_Occurred()) SWIG_fail
;
37001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37002 (arg1
)->SetCol(arg2
);
37004 wxPyEndAllowThreads(__tstate
);
37005 if (PyErr_Occurred()) SWIG_fail
;
37007 Py_INCREF(Py_None
); resultobj
= Py_None
;
37014 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37015 PyObject
*resultobj
;
37016 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37017 wxGBPosition
*arg2
= 0 ;
37019 wxGBPosition temp2
;
37020 PyObject
* obj0
= 0 ;
37021 PyObject
* obj1
= 0 ;
37022 char *kwnames
[] = {
37023 (char *) "self",(char *) "other", NULL
37026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37031 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37035 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
37037 wxPyEndAllowThreads(__tstate
);
37038 if (PyErr_Occurred()) SWIG_fail
;
37041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37049 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37050 PyObject
*resultobj
;
37051 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37052 wxGBPosition
*arg2
= 0 ;
37054 wxGBPosition temp2
;
37055 PyObject
* obj0
= 0 ;
37056 PyObject
* obj1
= 0 ;
37057 char *kwnames
[] = {
37058 (char *) "self",(char *) "other", NULL
37061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37066 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37070 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
37072 wxPyEndAllowThreads(__tstate
);
37073 if (PyErr_Occurred()) SWIG_fail
;
37076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37084 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37085 PyObject
*resultobj
;
37086 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37087 int arg2
= (int) 0 ;
37088 int arg3
= (int) 0 ;
37089 PyObject
* obj0
= 0 ;
37090 PyObject
* obj1
= 0 ;
37091 PyObject
* obj2
= 0 ;
37092 char *kwnames
[] = {
37093 (char *) "self",(char *) "row",(char *) "col", NULL
37096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37100 arg2
= (int)SWIG_As_int(obj1
);
37101 if (PyErr_Occurred()) SWIG_fail
;
37104 arg3
= (int)SWIG_As_int(obj2
);
37105 if (PyErr_Occurred()) SWIG_fail
;
37108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37109 wxGBPosition_Set(arg1
,arg2
,arg3
);
37111 wxPyEndAllowThreads(__tstate
);
37112 if (PyErr_Occurred()) SWIG_fail
;
37114 Py_INCREF(Py_None
); resultobj
= Py_None
;
37121 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37122 PyObject
*resultobj
;
37123 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37125 PyObject
* obj0
= 0 ;
37126 char *kwnames
[] = {
37127 (char *) "self", NULL
37130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
37131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37135 result
= (PyObject
*)wxGBPosition_Get(arg1
);
37137 wxPyEndAllowThreads(__tstate
);
37138 if (PyErr_Occurred()) SWIG_fail
;
37140 resultobj
= result
;
37147 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
37149 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37150 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
37152 return Py_BuildValue((char *)"");
37154 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37155 PyObject
*resultobj
;
37156 int arg1
= (int) 1 ;
37157 int arg2
= (int) 1 ;
37159 PyObject
* obj0
= 0 ;
37160 PyObject
* obj1
= 0 ;
37161 char *kwnames
[] = {
37162 (char *) "rowspan",(char *) "colspan", NULL
37165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37167 arg1
= (int)SWIG_As_int(obj0
);
37168 if (PyErr_Occurred()) SWIG_fail
;
37171 arg2
= (int)SWIG_As_int(obj1
);
37172 if (PyErr_Occurred()) SWIG_fail
;
37175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37176 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
37178 wxPyEndAllowThreads(__tstate
);
37179 if (PyErr_Occurred()) SWIG_fail
;
37181 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
37188 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37189 PyObject
*resultobj
;
37190 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37192 PyObject
* obj0
= 0 ;
37193 char *kwnames
[] = {
37194 (char *) "self", NULL
37197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
37198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37202 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
37204 wxPyEndAllowThreads(__tstate
);
37205 if (PyErr_Occurred()) SWIG_fail
;
37207 resultobj
= SWIG_From_int((int)result
);
37214 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37215 PyObject
*resultobj
;
37216 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37218 PyObject
* obj0
= 0 ;
37219 char *kwnames
[] = {
37220 (char *) "self", NULL
37223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
37224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37228 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
37230 wxPyEndAllowThreads(__tstate
);
37231 if (PyErr_Occurred()) SWIG_fail
;
37233 resultobj
= SWIG_From_int((int)result
);
37240 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37241 PyObject
*resultobj
;
37242 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37244 PyObject
* obj0
= 0 ;
37245 PyObject
* obj1
= 0 ;
37246 char *kwnames
[] = {
37247 (char *) "self",(char *) "rowspan", NULL
37250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
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
)->SetRowspan(arg2
);
37259 wxPyEndAllowThreads(__tstate
);
37260 if (PyErr_Occurred()) SWIG_fail
;
37262 Py_INCREF(Py_None
); resultobj
= Py_None
;
37269 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37270 PyObject
*resultobj
;
37271 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37273 PyObject
* obj0
= 0 ;
37274 PyObject
* obj1
= 0 ;
37275 char *kwnames
[] = {
37276 (char *) "self",(char *) "colspan", NULL
37279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37282 arg2
= (int)SWIG_As_int(obj1
);
37283 if (PyErr_Occurred()) SWIG_fail
;
37285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37286 (arg1
)->SetColspan(arg2
);
37288 wxPyEndAllowThreads(__tstate
);
37289 if (PyErr_Occurred()) SWIG_fail
;
37291 Py_INCREF(Py_None
); resultobj
= Py_None
;
37298 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37299 PyObject
*resultobj
;
37300 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37301 wxGBSpan
*arg2
= 0 ;
37304 PyObject
* obj0
= 0 ;
37305 PyObject
* obj1
= 0 ;
37306 char *kwnames
[] = {
37307 (char *) "self",(char *) "other", NULL
37310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37315 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37319 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
37321 wxPyEndAllowThreads(__tstate
);
37322 if (PyErr_Occurred()) SWIG_fail
;
37325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37333 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37334 PyObject
*resultobj
;
37335 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37336 wxGBSpan
*arg2
= 0 ;
37339 PyObject
* obj0
= 0 ;
37340 PyObject
* obj1
= 0 ;
37341 char *kwnames
[] = {
37342 (char *) "self",(char *) "other", NULL
37345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37350 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37354 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
37356 wxPyEndAllowThreads(__tstate
);
37357 if (PyErr_Occurred()) SWIG_fail
;
37360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37368 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37369 PyObject
*resultobj
;
37370 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37371 int arg2
= (int) 1 ;
37372 int arg3
= (int) 1 ;
37373 PyObject
* obj0
= 0 ;
37374 PyObject
* obj1
= 0 ;
37375 PyObject
* obj2
= 0 ;
37376 char *kwnames
[] = {
37377 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
37380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37384 arg2
= (int)SWIG_As_int(obj1
);
37385 if (PyErr_Occurred()) SWIG_fail
;
37388 arg3
= (int)SWIG_As_int(obj2
);
37389 if (PyErr_Occurred()) SWIG_fail
;
37392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37393 wxGBSpan_Set(arg1
,arg2
,arg3
);
37395 wxPyEndAllowThreads(__tstate
);
37396 if (PyErr_Occurred()) SWIG_fail
;
37398 Py_INCREF(Py_None
); resultobj
= Py_None
;
37405 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37406 PyObject
*resultobj
;
37407 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37409 PyObject
* obj0
= 0 ;
37410 char *kwnames
[] = {
37411 (char *) "self", NULL
37414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
37415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37419 result
= (PyObject
*)wxGBSpan_Get(arg1
);
37421 wxPyEndAllowThreads(__tstate
);
37422 if (PyErr_Occurred()) SWIG_fail
;
37424 resultobj
= result
;
37431 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
37433 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37434 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
37436 return Py_BuildValue((char *)"");
37438 static int _wrap_DefaultSpan_set(PyObject
*) {
37439 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
37444 static PyObject
*_wrap_DefaultSpan_get() {
37447 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
37452 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37453 PyObject
*resultobj
;
37454 wxGBSizerItem
*result
;
37455 char *kwnames
[] = {
37459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
37461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37462 result
= (wxGBSizerItem
*)new wxGBSizerItem();
37464 wxPyEndAllowThreads(__tstate
);
37465 if (PyErr_Occurred()) SWIG_fail
;
37467 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37474 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37475 PyObject
*resultobj
;
37476 wxWindow
*arg1
= (wxWindow
*) 0 ;
37477 wxGBPosition
*arg2
= 0 ;
37478 wxGBSpan
*arg3
= 0 ;
37481 PyObject
*arg6
= (PyObject
*) NULL
;
37482 wxGBSizerItem
*result
;
37483 wxGBPosition temp2
;
37485 PyObject
* obj0
= 0 ;
37486 PyObject
* obj1
= 0 ;
37487 PyObject
* obj2
= 0 ;
37488 PyObject
* obj3
= 0 ;
37489 PyObject
* obj4
= 0 ;
37490 PyObject
* obj5
= 0 ;
37491 char *kwnames
[] = {
37492 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
37497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37500 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37504 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37506 arg4
= (int)SWIG_As_int(obj3
);
37507 if (PyErr_Occurred()) SWIG_fail
;
37508 arg5
= (int)SWIG_As_int(obj4
);
37509 if (PyErr_Occurred()) SWIG_fail
;
37514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37515 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37517 wxPyEndAllowThreads(__tstate
);
37518 if (PyErr_Occurred()) SWIG_fail
;
37520 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37527 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37528 PyObject
*resultobj
;
37529 wxSizer
*arg1
= (wxSizer
*) 0 ;
37530 wxGBPosition
*arg2
= 0 ;
37531 wxGBSpan
*arg3
= 0 ;
37534 PyObject
*arg6
= (PyObject
*) NULL
;
37535 wxGBSizerItem
*result
;
37536 wxGBPosition temp2
;
37538 PyObject
* obj0
= 0 ;
37539 PyObject
* obj1
= 0 ;
37540 PyObject
* obj2
= 0 ;
37541 PyObject
* obj3
= 0 ;
37542 PyObject
* obj4
= 0 ;
37543 PyObject
* obj5
= 0 ;
37544 char *kwnames
[] = {
37545 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
37550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37553 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37557 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37559 arg4
= (int)SWIG_As_int(obj3
);
37560 if (PyErr_Occurred()) SWIG_fail
;
37561 arg5
= (int)SWIG_As_int(obj4
);
37562 if (PyErr_Occurred()) SWIG_fail
;
37567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37568 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37570 wxPyEndAllowThreads(__tstate
);
37571 if (PyErr_Occurred()) SWIG_fail
;
37573 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37580 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37581 PyObject
*resultobj
;
37584 wxGBPosition
*arg3
= 0 ;
37585 wxGBSpan
*arg4
= 0 ;
37588 PyObject
*arg7
= (PyObject
*) NULL
;
37589 wxGBSizerItem
*result
;
37590 wxGBPosition temp3
;
37592 PyObject
* obj0
= 0 ;
37593 PyObject
* obj1
= 0 ;
37594 PyObject
* obj2
= 0 ;
37595 PyObject
* obj3
= 0 ;
37596 PyObject
* obj4
= 0 ;
37597 PyObject
* obj5
= 0 ;
37598 PyObject
* obj6
= 0 ;
37599 char *kwnames
[] = {
37600 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37604 arg1
= (int)SWIG_As_int(obj0
);
37605 if (PyErr_Occurred()) SWIG_fail
;
37606 arg2
= (int)SWIG_As_int(obj1
);
37607 if (PyErr_Occurred()) SWIG_fail
;
37610 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37614 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
37616 arg5
= (int)SWIG_As_int(obj4
);
37617 if (PyErr_Occurred()) SWIG_fail
;
37618 arg6
= (int)SWIG_As_int(obj5
);
37619 if (PyErr_Occurred()) SWIG_fail
;
37624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37625 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
37627 wxPyEndAllowThreads(__tstate
);
37628 if (PyErr_Occurred()) SWIG_fail
;
37630 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37637 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37638 PyObject
*resultobj
;
37639 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37640 wxGBPosition result
;
37641 PyObject
* obj0
= 0 ;
37642 char *kwnames
[] = {
37643 (char *) "self", NULL
37646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
37647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37651 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
37653 wxPyEndAllowThreads(__tstate
);
37654 if (PyErr_Occurred()) SWIG_fail
;
37657 wxGBPosition
* resultptr
;
37658 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37659 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37667 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37668 PyObject
*resultobj
;
37669 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37671 PyObject
* obj0
= 0 ;
37672 char *kwnames
[] = {
37673 (char *) "self", NULL
37676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
37677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37681 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
37683 wxPyEndAllowThreads(__tstate
);
37684 if (PyErr_Occurred()) SWIG_fail
;
37687 wxGBSpan
* resultptr
;
37688 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37689 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
37697 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37698 PyObject
*resultobj
;
37699 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37700 wxGBPosition
*arg2
= 0 ;
37702 wxGBPosition temp2
;
37703 PyObject
* obj0
= 0 ;
37704 PyObject
* obj1
= 0 ;
37705 char *kwnames
[] = {
37706 (char *) "self",(char *) "pos", NULL
37709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
37710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37714 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37718 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
37720 wxPyEndAllowThreads(__tstate
);
37721 if (PyErr_Occurred()) SWIG_fail
;
37724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37732 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37733 PyObject
*resultobj
;
37734 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37735 wxGBSpan
*arg2
= 0 ;
37738 PyObject
* obj0
= 0 ;
37739 PyObject
* obj1
= 0 ;
37740 char *kwnames
[] = {
37741 (char *) "self",(char *) "span", NULL
37744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37749 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37753 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
37755 wxPyEndAllowThreads(__tstate
);
37756 if (PyErr_Occurred()) SWIG_fail
;
37759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37767 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37768 PyObject
*resultobj
;
37769 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37770 wxGBSizerItem
*arg2
= 0 ;
37772 PyObject
* obj0
= 0 ;
37773 PyObject
* obj1
= 0 ;
37774 char *kwnames
[] = {
37775 (char *) "self",(char *) "other", NULL
37778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
37779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37781 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
37782 SWIG_POINTER_EXCEPTION
| 0)) == -1)
37784 if (arg2
== NULL
) {
37785 PyErr_SetString(PyExc_TypeError
,"null reference");
37789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37790 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
37792 wxPyEndAllowThreads(__tstate
);
37793 if (PyErr_Occurred()) SWIG_fail
;
37796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37804 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37805 PyObject
*resultobj
;
37806 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37807 wxGBPosition
*arg2
= 0 ;
37808 wxGBSpan
*arg3
= 0 ;
37810 wxGBPosition temp2
;
37812 PyObject
* obj0
= 0 ;
37813 PyObject
* obj1
= 0 ;
37814 PyObject
* obj2
= 0 ;
37815 char *kwnames
[] = {
37816 (char *) "self",(char *) "pos",(char *) "span", NULL
37819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37824 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37828 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37832 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
37834 wxPyEndAllowThreads(__tstate
);
37835 if (PyErr_Occurred()) SWIG_fail
;
37838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37846 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37847 PyObject
*resultobj
;
37848 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37849 wxGBPosition result
;
37850 PyObject
* obj0
= 0 ;
37851 char *kwnames
[] = {
37852 (char *) "self", NULL
37855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
37856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37860 result
= wxGBSizerItem_GetEndPos(arg1
);
37862 wxPyEndAllowThreads(__tstate
);
37863 if (PyErr_Occurred()) SWIG_fail
;
37866 wxGBPosition
* resultptr
;
37867 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37868 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37876 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37877 PyObject
*resultobj
;
37878 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37879 wxGridBagSizer
*result
;
37880 PyObject
* obj0
= 0 ;
37881 char *kwnames
[] = {
37882 (char *) "self", NULL
37885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
37886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37890 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
37892 wxPyEndAllowThreads(__tstate
);
37893 if (PyErr_Occurred()) SWIG_fail
;
37895 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
37902 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37903 PyObject
*resultobj
;
37904 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37905 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
37906 PyObject
* obj0
= 0 ;
37907 PyObject
* obj1
= 0 ;
37908 char *kwnames
[] = {
37909 (char *) "self",(char *) "sizer", NULL
37912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
37913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37915 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
37916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37919 (arg1
)->SetGBSizer(arg2
);
37921 wxPyEndAllowThreads(__tstate
);
37922 if (PyErr_Occurred()) SWIG_fail
;
37924 Py_INCREF(Py_None
); resultobj
= Py_None
;
37931 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
37933 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37934 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
37936 return Py_BuildValue((char *)"");
37938 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37939 PyObject
*resultobj
;
37940 int arg1
= (int) 0 ;
37941 int arg2
= (int) 0 ;
37942 wxGridBagSizer
*result
;
37943 PyObject
* obj0
= 0 ;
37944 PyObject
* obj1
= 0 ;
37945 char *kwnames
[] = {
37946 (char *) "vgap",(char *) "hgap", NULL
37949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
37951 arg1
= (int)SWIG_As_int(obj0
);
37952 if (PyErr_Occurred()) SWIG_fail
;
37955 arg2
= (int)SWIG_As_int(obj1
);
37956 if (PyErr_Occurred()) SWIG_fail
;
37959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37960 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
37962 wxPyEndAllowThreads(__tstate
);
37963 if (PyErr_Occurred()) SWIG_fail
;
37965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
37972 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37973 PyObject
*resultobj
;
37974 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37975 PyObject
*arg2
= (PyObject
*) 0 ;
37976 wxGBPosition
*arg3
= 0 ;
37977 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
37978 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
37979 int arg5
= (int) 0 ;
37980 int arg6
= (int) 0 ;
37981 PyObject
*arg7
= (PyObject
*) NULL
;
37983 wxGBPosition temp3
;
37985 PyObject
* obj0
= 0 ;
37986 PyObject
* obj1
= 0 ;
37987 PyObject
* obj2
= 0 ;
37988 PyObject
* obj3
= 0 ;
37989 PyObject
* obj4
= 0 ;
37990 PyObject
* obj5
= 0 ;
37991 PyObject
* obj6
= 0 ;
37992 char *kwnames
[] = {
37993 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38002 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38007 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
38011 arg5
= (int)SWIG_As_int(obj4
);
38012 if (PyErr_Occurred()) SWIG_fail
;
38015 arg6
= (int)SWIG_As_int(obj5
);
38016 if (PyErr_Occurred()) SWIG_fail
;
38022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38023 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
38025 wxPyEndAllowThreads(__tstate
);
38026 if (PyErr_Occurred()) SWIG_fail
;
38029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38037 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38038 PyObject
*resultobj
;
38039 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38040 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
38042 PyObject
* obj0
= 0 ;
38043 PyObject
* obj1
= 0 ;
38044 char *kwnames
[] = {
38045 (char *) "self",(char *) "item", NULL
38048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
38049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38051 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38055 result
= (bool)(arg1
)->Add(arg2
);
38057 wxPyEndAllowThreads(__tstate
);
38058 if (PyErr_Occurred()) SWIG_fail
;
38061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38069 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38070 PyObject
*resultobj
;
38071 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38073 PyObject
* obj0
= 0 ;
38074 char *kwnames
[] = {
38075 (char *) "self", NULL
38078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
38079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38083 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
38085 wxPyEndAllowThreads(__tstate
);
38086 if (PyErr_Occurred()) SWIG_fail
;
38089 wxSize
* resultptr
;
38090 resultptr
= new wxSize((wxSize
&) result
);
38091 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38099 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38100 PyObject
*resultobj
;
38101 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38104 PyObject
* obj0
= 0 ;
38105 PyObject
* obj1
= 0 ;
38106 char *kwnames
[] = {
38107 (char *) "self",(char *) "sz", NULL
38110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38115 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38119 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
38121 wxPyEndAllowThreads(__tstate
);
38122 if (PyErr_Occurred()) SWIG_fail
;
38124 Py_INCREF(Py_None
); resultobj
= Py_None
;
38131 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
38132 PyObject
*resultobj
;
38133 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38134 wxWindow
*arg2
= (wxWindow
*) 0 ;
38135 wxGBPosition result
;
38136 PyObject
* obj0
= 0 ;
38137 PyObject
* obj1
= 0 ;
38139 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38142 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38146 result
= (arg1
)->GetItemPosition(arg2
);
38148 wxPyEndAllowThreads(__tstate
);
38149 if (PyErr_Occurred()) SWIG_fail
;
38152 wxGBPosition
* resultptr
;
38153 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38154 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38162 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
38163 PyObject
*resultobj
;
38164 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38165 wxSizer
*arg2
= (wxSizer
*) 0 ;
38166 wxGBPosition result
;
38167 PyObject
* obj0
= 0 ;
38168 PyObject
* obj1
= 0 ;
38170 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38173 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38177 result
= (arg1
)->GetItemPosition(arg2
);
38179 wxPyEndAllowThreads(__tstate
);
38180 if (PyErr_Occurred()) SWIG_fail
;
38183 wxGBPosition
* resultptr
;
38184 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38185 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38193 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
38194 PyObject
*resultobj
;
38195 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38197 wxGBPosition result
;
38198 PyObject
* obj0
= 0 ;
38199 PyObject
* obj1
= 0 ;
38201 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38204 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
38205 if (PyErr_Occurred()) SWIG_fail
;
38207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38208 result
= (arg1
)->GetItemPosition(arg2
);
38210 wxPyEndAllowThreads(__tstate
);
38211 if (PyErr_Occurred()) SWIG_fail
;
38214 wxGBPosition
* resultptr
;
38215 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38216 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38224 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
38229 argc
= PyObject_Length(args
);
38230 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38231 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38237 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38247 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38255 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
38263 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38273 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38281 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
38289 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38297 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
38299 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
38304 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
38309 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
38310 PyObject
*resultobj
;
38311 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38312 wxWindow
*arg2
= (wxWindow
*) 0 ;
38313 wxGBPosition
*arg3
= 0 ;
38315 wxGBPosition temp3
;
38316 PyObject
* obj0
= 0 ;
38317 PyObject
* obj1
= 0 ;
38318 PyObject
* obj2
= 0 ;
38320 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38323 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38327 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38331 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38333 wxPyEndAllowThreads(__tstate
);
38334 if (PyErr_Occurred()) SWIG_fail
;
38337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38345 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
38346 PyObject
*resultobj
;
38347 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38348 wxSizer
*arg2
= (wxSizer
*) 0 ;
38349 wxGBPosition
*arg3
= 0 ;
38351 wxGBPosition temp3
;
38352 PyObject
* obj0
= 0 ;
38353 PyObject
* obj1
= 0 ;
38354 PyObject
* obj2
= 0 ;
38356 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38359 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38363 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38367 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38369 wxPyEndAllowThreads(__tstate
);
38370 if (PyErr_Occurred()) SWIG_fail
;
38373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38381 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
38382 PyObject
*resultobj
;
38383 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38385 wxGBPosition
*arg3
= 0 ;
38387 wxGBPosition temp3
;
38388 PyObject
* obj0
= 0 ;
38389 PyObject
* obj1
= 0 ;
38390 PyObject
* obj2
= 0 ;
38392 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38395 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
38396 if (PyErr_Occurred()) SWIG_fail
;
38399 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38403 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38405 wxPyEndAllowThreads(__tstate
);
38406 if (PyErr_Occurred()) SWIG_fail
;
38409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38417 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
38422 argc
= PyObject_Length(args
);
38423 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38424 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38430 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38440 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38449 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38452 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
38461 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38471 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38480 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38483 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
38492 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38500 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
38503 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38506 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
38512 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
38517 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
38518 PyObject
*resultobj
;
38519 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38520 wxWindow
*arg2
= (wxWindow
*) 0 ;
38522 PyObject
* obj0
= 0 ;
38523 PyObject
* obj1
= 0 ;
38525 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38528 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38532 result
= (arg1
)->GetItemSpan(arg2
);
38534 wxPyEndAllowThreads(__tstate
);
38535 if (PyErr_Occurred()) SWIG_fail
;
38538 wxGBSpan
* resultptr
;
38539 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38540 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38548 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
38549 PyObject
*resultobj
;
38550 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38551 wxSizer
*arg2
= (wxSizer
*) 0 ;
38553 PyObject
* obj0
= 0 ;
38554 PyObject
* obj1
= 0 ;
38556 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38559 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38563 result
= (arg1
)->GetItemSpan(arg2
);
38565 wxPyEndAllowThreads(__tstate
);
38566 if (PyErr_Occurred()) SWIG_fail
;
38569 wxGBSpan
* resultptr
;
38570 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38571 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38579 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
38580 PyObject
*resultobj
;
38581 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38584 PyObject
* obj0
= 0 ;
38585 PyObject
* obj1
= 0 ;
38587 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38590 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
38591 if (PyErr_Occurred()) SWIG_fail
;
38593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38594 result
= (arg1
)->GetItemSpan(arg2
);
38596 wxPyEndAllowThreads(__tstate
);
38597 if (PyErr_Occurred()) SWIG_fail
;
38600 wxGBSpan
* resultptr
;
38601 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38602 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38610 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
38615 argc
= PyObject_Length(args
);
38616 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38617 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38623 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38633 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38641 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
38649 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38659 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38667 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
38675 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38683 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
38685 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
38690 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
38695 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
38696 PyObject
*resultobj
;
38697 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38698 wxWindow
*arg2
= (wxWindow
*) 0 ;
38699 wxGBSpan
*arg3
= 0 ;
38702 PyObject
* obj0
= 0 ;
38703 PyObject
* obj1
= 0 ;
38704 PyObject
* obj2
= 0 ;
38706 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38709 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38713 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38717 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38719 wxPyEndAllowThreads(__tstate
);
38720 if (PyErr_Occurred()) SWIG_fail
;
38723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38731 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
38732 PyObject
*resultobj
;
38733 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38734 wxSizer
*arg2
= (wxSizer
*) 0 ;
38735 wxGBSpan
*arg3
= 0 ;
38738 PyObject
* obj0
= 0 ;
38739 PyObject
* obj1
= 0 ;
38740 PyObject
* obj2
= 0 ;
38742 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38745 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38749 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38753 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38755 wxPyEndAllowThreads(__tstate
);
38756 if (PyErr_Occurred()) SWIG_fail
;
38759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38767 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
38768 PyObject
*resultobj
;
38769 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38771 wxGBSpan
*arg3
= 0 ;
38774 PyObject
* obj0
= 0 ;
38775 PyObject
* obj1
= 0 ;
38776 PyObject
* obj2
= 0 ;
38778 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38781 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
38782 if (PyErr_Occurred()) SWIG_fail
;
38785 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38789 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38791 wxPyEndAllowThreads(__tstate
);
38792 if (PyErr_Occurred()) SWIG_fail
;
38795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38803 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
38808 argc
= PyObject_Length(args
);
38809 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38810 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38816 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38826 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38835 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38838 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
38847 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38857 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38866 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38869 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
38878 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38886 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
38889 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38892 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
38898 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
38903 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
38904 PyObject
*resultobj
;
38905 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38906 wxWindow
*arg2
= (wxWindow
*) 0 ;
38907 wxGBSizerItem
*result
;
38908 PyObject
* obj0
= 0 ;
38909 PyObject
* obj1
= 0 ;
38911 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
38912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38914 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38918 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
38920 wxPyEndAllowThreads(__tstate
);
38921 if (PyErr_Occurred()) SWIG_fail
;
38923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38930 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
38931 PyObject
*resultobj
;
38932 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38933 wxSizer
*arg2
= (wxSizer
*) 0 ;
38934 wxGBSizerItem
*result
;
38935 PyObject
* obj0
= 0 ;
38936 PyObject
* obj1
= 0 ;
38938 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
38939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38941 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38945 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
38947 wxPyEndAllowThreads(__tstate
);
38948 if (PyErr_Occurred()) SWIG_fail
;
38950 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38957 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
38962 argc
= PyObject_Length(args
);
38963 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38964 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38970 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38980 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38988 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
38996 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39006 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39014 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
39019 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
39024 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39025 PyObject
*resultobj
;
39026 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39027 wxGBPosition
*arg2
= 0 ;
39028 wxGBSizerItem
*result
;
39029 wxGBPosition temp2
;
39030 PyObject
* obj0
= 0 ;
39031 PyObject
* obj1
= 0 ;
39032 char *kwnames
[] = {
39033 (char *) "self",(char *) "pos", NULL
39036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
39037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39041 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39045 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
39047 wxPyEndAllowThreads(__tstate
);
39048 if (PyErr_Occurred()) SWIG_fail
;
39050 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39057 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39058 PyObject
*resultobj
;
39059 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39060 wxPoint
*arg2
= 0 ;
39061 wxGBSizerItem
*result
;
39063 PyObject
* obj0
= 0 ;
39064 PyObject
* obj1
= 0 ;
39065 char *kwnames
[] = {
39066 (char *) "self",(char *) "pt", NULL
39069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
39070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39074 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39078 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
39080 wxPyEndAllowThreads(__tstate
);
39081 if (PyErr_Occurred()) SWIG_fail
;
39083 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39090 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39091 PyObject
*resultobj
;
39092 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39093 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
39094 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
39096 PyObject
* obj0
= 0 ;
39097 PyObject
* obj1
= 0 ;
39098 PyObject
* obj2
= 0 ;
39099 char *kwnames
[] = {
39100 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
39103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39106 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
39107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39109 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
39110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39114 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
39116 wxPyEndAllowThreads(__tstate
);
39117 if (PyErr_Occurred()) SWIG_fail
;
39120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39128 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39129 PyObject
*resultobj
;
39130 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39131 wxGBPosition
*arg2
= 0 ;
39132 wxGBSpan
*arg3
= 0 ;
39133 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
39135 wxGBPosition temp2
;
39137 PyObject
* obj0
= 0 ;
39138 PyObject
* obj1
= 0 ;
39139 PyObject
* obj2
= 0 ;
39140 PyObject
* obj3
= 0 ;
39141 char *kwnames
[] = {
39142 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
39145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39150 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39154 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39157 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
39158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39162 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
39164 wxPyEndAllowThreads(__tstate
);
39165 if (PyErr_Occurred()) SWIG_fail
;
39168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39176 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
39178 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39179 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
39181 return Py_BuildValue((char *)"");
39183 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39184 PyObject
*resultobj
;
39185 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39187 wxWindow
*arg3
= (wxWindow
*) 0 ;
39189 int arg5
= (int) 0 ;
39190 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
39191 PyObject
* obj0
= 0 ;
39192 PyObject
* obj1
= 0 ;
39193 PyObject
* obj2
= 0 ;
39194 PyObject
* obj3
= 0 ;
39195 PyObject
* obj4
= 0 ;
39196 PyObject
* obj5
= 0 ;
39197 char *kwnames
[] = {
39198 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
39201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39204 arg2
= (int)SWIG_As_int(obj1
);
39205 if (PyErr_Occurred()) SWIG_fail
;
39206 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39208 arg4
= (int)SWIG_As_int(obj3
);
39209 if (PyErr_Occurred()) SWIG_fail
;
39211 arg5
= (int)SWIG_As_int(obj4
);
39212 if (PyErr_Occurred()) SWIG_fail
;
39215 arg6
= (int)SWIG_As_int(obj5
);
39216 if (PyErr_Occurred()) SWIG_fail
;
39219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39220 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
39222 wxPyEndAllowThreads(__tstate
);
39223 if (PyErr_Occurred()) SWIG_fail
;
39225 Py_INCREF(Py_None
); resultobj
= Py_None
;
39232 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39233 PyObject
*resultobj
;
39234 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39235 wxWindow
*arg2
= (wxWindow
*) 0 ;
39236 int arg3
= (int) 0 ;
39237 PyObject
* obj0
= 0 ;
39238 PyObject
* obj1
= 0 ;
39239 PyObject
* obj2
= 0 ;
39240 char *kwnames
[] = {
39241 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39247 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39250 arg3
= (int)SWIG_As_int(obj2
);
39251 if (PyErr_Occurred()) SWIG_fail
;
39254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39255 (arg1
)->LeftOf(arg2
,arg3
);
39257 wxPyEndAllowThreads(__tstate
);
39258 if (PyErr_Occurred()) SWIG_fail
;
39260 Py_INCREF(Py_None
); resultobj
= Py_None
;
39267 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39268 PyObject
*resultobj
;
39269 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39270 wxWindow
*arg2
= (wxWindow
*) 0 ;
39271 int arg3
= (int) 0 ;
39272 PyObject
* obj0
= 0 ;
39273 PyObject
* obj1
= 0 ;
39274 PyObject
* obj2
= 0 ;
39275 char *kwnames
[] = {
39276 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39282 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39285 arg3
= (int)SWIG_As_int(obj2
);
39286 if (PyErr_Occurred()) SWIG_fail
;
39289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39290 (arg1
)->RightOf(arg2
,arg3
);
39292 wxPyEndAllowThreads(__tstate
);
39293 if (PyErr_Occurred()) SWIG_fail
;
39295 Py_INCREF(Py_None
); resultobj
= Py_None
;
39302 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39303 PyObject
*resultobj
;
39304 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39305 wxWindow
*arg2
= (wxWindow
*) 0 ;
39306 int arg3
= (int) 0 ;
39307 PyObject
* obj0
= 0 ;
39308 PyObject
* obj1
= 0 ;
39309 PyObject
* obj2
= 0 ;
39310 char *kwnames
[] = {
39311 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39317 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39320 arg3
= (int)SWIG_As_int(obj2
);
39321 if (PyErr_Occurred()) SWIG_fail
;
39324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39325 (arg1
)->Above(arg2
,arg3
);
39327 wxPyEndAllowThreads(__tstate
);
39328 if (PyErr_Occurred()) SWIG_fail
;
39330 Py_INCREF(Py_None
); resultobj
= Py_None
;
39337 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39338 PyObject
*resultobj
;
39339 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39340 wxWindow
*arg2
= (wxWindow
*) 0 ;
39341 int arg3
= (int) 0 ;
39342 PyObject
* obj0
= 0 ;
39343 PyObject
* obj1
= 0 ;
39344 PyObject
* obj2
= 0 ;
39345 char *kwnames
[] = {
39346 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39352 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39355 arg3
= (int)SWIG_As_int(obj2
);
39356 if (PyErr_Occurred()) SWIG_fail
;
39359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39360 (arg1
)->Below(arg2
,arg3
);
39362 wxPyEndAllowThreads(__tstate
);
39363 if (PyErr_Occurred()) SWIG_fail
;
39365 Py_INCREF(Py_None
); resultobj
= Py_None
;
39372 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39373 PyObject
*resultobj
;
39374 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39375 wxWindow
*arg2
= (wxWindow
*) 0 ;
39377 int arg4
= (int) 0 ;
39378 PyObject
* obj0
= 0 ;
39379 PyObject
* obj1
= 0 ;
39380 PyObject
* obj2
= 0 ;
39381 PyObject
* obj3
= 0 ;
39382 char *kwnames
[] = {
39383 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
39386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39389 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39391 arg3
= (int)SWIG_As_int(obj2
);
39392 if (PyErr_Occurred()) SWIG_fail
;
39394 arg4
= (int)SWIG_As_int(obj3
);
39395 if (PyErr_Occurred()) SWIG_fail
;
39398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39399 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
39401 wxPyEndAllowThreads(__tstate
);
39402 if (PyErr_Occurred()) SWIG_fail
;
39404 Py_INCREF(Py_None
); resultobj
= Py_None
;
39411 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39412 PyObject
*resultobj
;
39413 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39414 wxWindow
*arg2
= (wxWindow
*) 0 ;
39417 PyObject
* obj0
= 0 ;
39418 PyObject
* obj1
= 0 ;
39419 PyObject
* obj2
= 0 ;
39420 PyObject
* obj3
= 0 ;
39421 char *kwnames
[] = {
39422 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
39425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39428 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39430 arg3
= (int)SWIG_As_int(obj2
);
39431 if (PyErr_Occurred()) SWIG_fail
;
39432 arg4
= (int)SWIG_As_int(obj3
);
39433 if (PyErr_Occurred()) SWIG_fail
;
39435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39436 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
39438 wxPyEndAllowThreads(__tstate
);
39439 if (PyErr_Occurred()) SWIG_fail
;
39441 Py_INCREF(Py_None
); resultobj
= Py_None
;
39448 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39449 PyObject
*resultobj
;
39450 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39452 PyObject
* obj0
= 0 ;
39453 PyObject
* obj1
= 0 ;
39454 char *kwnames
[] = {
39455 (char *) "self",(char *) "val", NULL
39458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
39459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39461 arg2
= (int)SWIG_As_int(obj1
);
39462 if (PyErr_Occurred()) SWIG_fail
;
39464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39465 (arg1
)->Absolute(arg2
);
39467 wxPyEndAllowThreads(__tstate
);
39468 if (PyErr_Occurred()) SWIG_fail
;
39470 Py_INCREF(Py_None
); resultobj
= Py_None
;
39477 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39478 PyObject
*resultobj
;
39479 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39480 PyObject
* obj0
= 0 ;
39481 char *kwnames
[] = {
39482 (char *) "self", NULL
39485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
39486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39490 (arg1
)->Unconstrained();
39492 wxPyEndAllowThreads(__tstate
);
39493 if (PyErr_Occurred()) SWIG_fail
;
39495 Py_INCREF(Py_None
); resultobj
= Py_None
;
39502 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39503 PyObject
*resultobj
;
39504 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39505 PyObject
* obj0
= 0 ;
39506 char *kwnames
[] = {
39507 (char *) "self", NULL
39510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
39511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39517 wxPyEndAllowThreads(__tstate
);
39518 if (PyErr_Occurred()) SWIG_fail
;
39520 Py_INCREF(Py_None
); resultobj
= Py_None
;
39527 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39528 PyObject
*resultobj
;
39529 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39531 PyObject
* obj0
= 0 ;
39532 char *kwnames
[] = {
39533 (char *) "self", NULL
39536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
39537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39541 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
39543 wxPyEndAllowThreads(__tstate
);
39544 if (PyErr_Occurred()) SWIG_fail
;
39547 resultobj
= wxPyMake_wxObject(result
, 0);
39555 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39556 PyObject
*resultobj
;
39557 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39559 PyObject
* obj0
= 0 ;
39560 char *kwnames
[] = {
39561 (char *) "self", NULL
39564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
39565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39569 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
39571 wxPyEndAllowThreads(__tstate
);
39572 if (PyErr_Occurred()) SWIG_fail
;
39574 resultobj
= SWIG_From_int((int)result
);
39581 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39582 PyObject
*resultobj
;
39583 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39585 PyObject
* obj0
= 0 ;
39586 PyObject
* obj1
= 0 ;
39587 char *kwnames
[] = {
39588 (char *) "self",(char *) "which", NULL
39591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
39592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39594 arg2
= (int)SWIG_As_int(obj1
);
39595 if (PyErr_Occurred()) SWIG_fail
;
39597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39598 (arg1
)->SetEdge((wxEdge
)arg2
);
39600 wxPyEndAllowThreads(__tstate
);
39601 if (PyErr_Occurred()) SWIG_fail
;
39603 Py_INCREF(Py_None
); resultobj
= Py_None
;
39610 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39611 PyObject
*resultobj
;
39612 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39614 PyObject
* obj0
= 0 ;
39615 PyObject
* obj1
= 0 ;
39616 char *kwnames
[] = {
39617 (char *) "self",(char *) "v", NULL
39620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
39621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39623 arg2
= (int)SWIG_As_int(obj1
);
39624 if (PyErr_Occurred()) SWIG_fail
;
39626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39627 (arg1
)->SetValue(arg2
);
39629 wxPyEndAllowThreads(__tstate
);
39630 if (PyErr_Occurred()) SWIG_fail
;
39632 Py_INCREF(Py_None
); resultobj
= Py_None
;
39639 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39640 PyObject
*resultobj
;
39641 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39643 PyObject
* obj0
= 0 ;
39644 char *kwnames
[] = {
39645 (char *) "self", NULL
39648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
39649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39653 result
= (int)(arg1
)->GetMargin();
39655 wxPyEndAllowThreads(__tstate
);
39656 if (PyErr_Occurred()) SWIG_fail
;
39658 resultobj
= SWIG_From_int((int)result
);
39665 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39666 PyObject
*resultobj
;
39667 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39669 PyObject
* obj0
= 0 ;
39670 PyObject
* obj1
= 0 ;
39671 char *kwnames
[] = {
39672 (char *) "self",(char *) "m", NULL
39675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
39676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39678 arg2
= (int)SWIG_As_int(obj1
);
39679 if (PyErr_Occurred()) SWIG_fail
;
39681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39682 (arg1
)->SetMargin(arg2
);
39684 wxPyEndAllowThreads(__tstate
);
39685 if (PyErr_Occurred()) SWIG_fail
;
39687 Py_INCREF(Py_None
); resultobj
= Py_None
;
39694 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39695 PyObject
*resultobj
;
39696 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39698 PyObject
* obj0
= 0 ;
39699 char *kwnames
[] = {
39700 (char *) "self", NULL
39703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
39704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39708 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
39710 wxPyEndAllowThreads(__tstate
);
39711 if (PyErr_Occurred()) SWIG_fail
;
39713 resultobj
= SWIG_From_int((int)result
);
39720 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39721 PyObject
*resultobj
;
39722 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39724 PyObject
* obj0
= 0 ;
39725 char *kwnames
[] = {
39726 (char *) "self", NULL
39729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
39730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39734 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
39736 wxPyEndAllowThreads(__tstate
);
39737 if (PyErr_Occurred()) SWIG_fail
;
39739 resultobj
= SWIG_From_int((int)result
);
39746 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39747 PyObject
*resultobj
;
39748 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39750 PyObject
* obj0
= 0 ;
39751 char *kwnames
[] = {
39752 (char *) "self", NULL
39755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
39756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39760 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
39762 wxPyEndAllowThreads(__tstate
);
39763 if (PyErr_Occurred()) SWIG_fail
;
39765 resultobj
= SWIG_From_int((int)result
);
39772 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39773 PyObject
*resultobj
;
39774 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39776 PyObject
* obj0
= 0 ;
39777 char *kwnames
[] = {
39778 (char *) "self", NULL
39781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
39782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39786 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
39788 wxPyEndAllowThreads(__tstate
);
39789 if (PyErr_Occurred()) SWIG_fail
;
39792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39800 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39801 PyObject
*resultobj
;
39802 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39804 PyObject
* obj0
= 0 ;
39805 PyObject
* obj1
= 0 ;
39806 char *kwnames
[] = {
39807 (char *) "self",(char *) "d", NULL
39810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
39811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39813 arg2
= (bool)SWIG_As_bool(obj1
);
39814 if (PyErr_Occurred()) SWIG_fail
;
39816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39817 (arg1
)->SetDone(arg2
);
39819 wxPyEndAllowThreads(__tstate
);
39820 if (PyErr_Occurred()) SWIG_fail
;
39822 Py_INCREF(Py_None
); resultobj
= Py_None
;
39829 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39830 PyObject
*resultobj
;
39831 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39833 PyObject
* obj0
= 0 ;
39834 char *kwnames
[] = {
39835 (char *) "self", NULL
39838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
39839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39843 result
= (int)(arg1
)->GetRelationship();
39845 wxPyEndAllowThreads(__tstate
);
39846 if (PyErr_Occurred()) SWIG_fail
;
39848 resultobj
= SWIG_From_int((int)result
);
39855 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39856 PyObject
*resultobj
;
39857 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39859 PyObject
* obj0
= 0 ;
39860 PyObject
* obj1
= 0 ;
39861 char *kwnames
[] = {
39862 (char *) "self",(char *) "r", NULL
39865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
39866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39868 arg2
= (int)SWIG_As_int(obj1
);
39869 if (PyErr_Occurred()) SWIG_fail
;
39871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39872 (arg1
)->SetRelationship((wxRelationship
)arg2
);
39874 wxPyEndAllowThreads(__tstate
);
39875 if (PyErr_Occurred()) SWIG_fail
;
39877 Py_INCREF(Py_None
); resultobj
= Py_None
;
39884 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39885 PyObject
*resultobj
;
39886 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39887 wxWindow
*arg2
= (wxWindow
*) 0 ;
39889 PyObject
* obj0
= 0 ;
39890 PyObject
* obj1
= 0 ;
39891 char *kwnames
[] = {
39892 (char *) "self",(char *) "otherW", NULL
39895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
39896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39898 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39902 result
= (bool)(arg1
)->ResetIfWin(arg2
);
39904 wxPyEndAllowThreads(__tstate
);
39905 if (PyErr_Occurred()) SWIG_fail
;
39908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39916 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39917 PyObject
*resultobj
;
39918 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39919 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
39920 wxWindow
*arg3
= (wxWindow
*) 0 ;
39922 PyObject
* obj0
= 0 ;
39923 PyObject
* obj1
= 0 ;
39924 PyObject
* obj2
= 0 ;
39925 char *kwnames
[] = {
39926 (char *) "self",(char *) "constraints",(char *) "win", NULL
39929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39932 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
39933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39934 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39938 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
39940 wxPyEndAllowThreads(__tstate
);
39941 if (PyErr_Occurred()) SWIG_fail
;
39944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39952 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39953 PyObject
*resultobj
;
39954 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39956 wxWindow
*arg3
= (wxWindow
*) 0 ;
39957 wxWindow
*arg4
= (wxWindow
*) 0 ;
39959 PyObject
* obj0
= 0 ;
39960 PyObject
* obj1
= 0 ;
39961 PyObject
* obj2
= 0 ;
39962 PyObject
* obj3
= 0 ;
39963 char *kwnames
[] = {
39964 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
39967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39970 arg2
= (int)SWIG_As_int(obj1
);
39971 if (PyErr_Occurred()) SWIG_fail
;
39972 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39974 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
39975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39978 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
39980 wxPyEndAllowThreads(__tstate
);
39981 if (PyErr_Occurred()) SWIG_fail
;
39983 resultobj
= SWIG_From_int((int)result
);
39990 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
39992 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39993 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
39995 return Py_BuildValue((char *)"");
39997 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39998 PyObject
*resultobj
;
39999 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40000 wxIndividualLayoutConstraint
*result
;
40001 PyObject
* obj0
= 0 ;
40002 char *kwnames
[] = {
40003 (char *) "self", NULL
40006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
40007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40009 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
40011 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40018 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40019 PyObject
*resultobj
;
40020 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40021 wxIndividualLayoutConstraint
*result
;
40022 PyObject
* obj0
= 0 ;
40023 char *kwnames
[] = {
40024 (char *) "self", NULL
40027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
40028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40030 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
40032 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40039 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40040 PyObject
*resultobj
;
40041 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40042 wxIndividualLayoutConstraint
*result
;
40043 PyObject
* obj0
= 0 ;
40044 char *kwnames
[] = {
40045 (char *) "self", NULL
40048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
40049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40051 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
40053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40060 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40061 PyObject
*resultobj
;
40062 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40063 wxIndividualLayoutConstraint
*result
;
40064 PyObject
* obj0
= 0 ;
40065 char *kwnames
[] = {
40066 (char *) "self", NULL
40069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
40070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40072 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
40074 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40081 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40082 PyObject
*resultobj
;
40083 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40084 wxIndividualLayoutConstraint
*result
;
40085 PyObject
* obj0
= 0 ;
40086 char *kwnames
[] = {
40087 (char *) "self", NULL
40090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
40091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40093 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
40095 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40102 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40103 PyObject
*resultobj
;
40104 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40105 wxIndividualLayoutConstraint
*result
;
40106 PyObject
* obj0
= 0 ;
40107 char *kwnames
[] = {
40108 (char *) "self", NULL
40111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
40112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40114 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
40116 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40123 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40124 PyObject
*resultobj
;
40125 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40126 wxIndividualLayoutConstraint
*result
;
40127 PyObject
* obj0
= 0 ;
40128 char *kwnames
[] = {
40129 (char *) "self", NULL
40132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
40133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40135 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
40137 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40144 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40145 PyObject
*resultobj
;
40146 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40147 wxIndividualLayoutConstraint
*result
;
40148 PyObject
* obj0
= 0 ;
40149 char *kwnames
[] = {
40150 (char *) "self", NULL
40153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
40154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40156 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
40158 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40165 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40166 PyObject
*resultobj
;
40167 wxLayoutConstraints
*result
;
40168 char *kwnames
[] = {
40172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
40174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40175 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
40177 wxPyEndAllowThreads(__tstate
);
40178 if (PyErr_Occurred()) SWIG_fail
;
40180 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
40187 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40188 PyObject
*resultobj
;
40189 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40190 wxWindow
*arg2
= (wxWindow
*) 0 ;
40191 int *arg3
= (int *) 0 ;
40195 PyObject
* obj0
= 0 ;
40196 PyObject
* obj1
= 0 ;
40197 char *kwnames
[] = {
40198 (char *) "self",(char *) "win", NULL
40201 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
40202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
40203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40205 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40209 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
40211 wxPyEndAllowThreads(__tstate
);
40212 if (PyErr_Occurred()) SWIG_fail
;
40215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40217 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
40218 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
40225 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40226 PyObject
*resultobj
;
40227 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40229 PyObject
* obj0
= 0 ;
40230 char *kwnames
[] = {
40231 (char *) "self", NULL
40234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
40235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40239 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
40241 wxPyEndAllowThreads(__tstate
);
40242 if (PyErr_Occurred()) SWIG_fail
;
40245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40253 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
40255 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40256 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
40258 return Py_BuildValue((char *)"");
40260 static PyMethodDef SwigMethods
[] = {
40261 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
40262 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
40263 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40264 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40265 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
40266 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40267 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40268 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40269 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40270 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40271 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40272 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40273 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40274 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40275 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40276 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40277 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40278 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40279 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40280 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40281 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40282 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40283 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40284 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40285 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40286 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
40287 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40288 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40289 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40290 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40291 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40292 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40293 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40294 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40295 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40296 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40297 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40298 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40299 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
40300 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40301 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40302 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40303 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40304 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40305 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40306 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40307 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40308 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40309 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40310 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40311 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40312 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40313 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40314 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
40315 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40316 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40317 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40318 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40319 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40320 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40321 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40322 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40323 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40324 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40325 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40326 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40327 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40328 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40329 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40330 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40331 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40332 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40333 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40334 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40335 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40336 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40337 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40338 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40339 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40340 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40341 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40342 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40343 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40344 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40345 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40346 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40347 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40348 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40349 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40350 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40351 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40352 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40353 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40354 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40355 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40356 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40357 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40358 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40359 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40360 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40361 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40362 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40363 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40364 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40365 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
40366 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40367 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40368 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40369 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40370 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40371 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40372 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40373 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40374 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40375 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40376 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40377 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40378 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40379 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40380 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40381 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40382 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40383 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40384 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40385 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40386 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40387 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40388 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40389 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40390 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40391 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40392 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40393 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
40394 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40395 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40396 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40397 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40398 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40399 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40400 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40401 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40402 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40403 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40404 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40405 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40406 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40407 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40408 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40409 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40410 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40411 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
40412 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40413 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
40414 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40415 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40416 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40417 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40418 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40419 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40420 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40421 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
40422 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
40423 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40424 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40425 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40426 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40427 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40428 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40429 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40430 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40431 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40432 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40433 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40434 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
40435 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40436 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40437 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40438 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40439 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40440 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40441 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40442 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40443 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40444 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40445 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
40446 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40447 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40448 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40449 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40450 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
40451 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40452 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40453 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40454 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40455 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40456 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
40457 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40458 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40459 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40460 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40461 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40462 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40463 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40464 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40465 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40466 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
40467 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40468 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40469 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40470 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40471 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40472 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40473 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40474 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40475 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40476 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
40477 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40478 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40479 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40480 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
40481 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40482 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40483 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40484 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40485 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40486 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40487 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40488 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40489 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40490 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40491 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40492 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40493 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40494 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40495 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40496 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40497 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40498 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40499 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40500 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40501 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40502 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40503 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40504 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40505 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40506 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40507 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40508 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40509 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40510 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40511 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40512 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40513 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40514 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40515 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40516 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40517 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40518 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40519 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40520 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40521 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40522 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40523 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40524 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40525 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40526 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40527 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40528 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40529 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40530 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40531 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40532 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40533 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40534 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40535 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40536 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40537 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40538 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40539 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40540 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40541 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40542 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40543 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40544 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40545 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40546 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40547 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40548 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40549 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40550 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40551 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40552 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
40553 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40554 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
40555 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40556 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
40557 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40558 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
40559 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40560 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
40561 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40562 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
40563 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40564 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
40565 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40566 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
40567 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40568 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
40569 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40570 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
40571 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40572 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
40573 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40574 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
40575 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40576 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
40577 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40578 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40579 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40580 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40581 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40582 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40583 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40584 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40585 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40586 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40587 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40588 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40589 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40590 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
40591 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40592 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40593 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40594 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40595 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40596 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40597 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40598 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40599 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40600 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40601 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40602 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40603 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40604 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40605 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40606 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40607 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40608 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
40609 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40610 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40611 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
40612 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40613 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40614 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
40615 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40616 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40617 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40618 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40619 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40620 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40621 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40622 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40623 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40624 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40625 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40626 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
40627 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40628 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40629 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40630 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40631 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
40632 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40633 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40634 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40635 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40636 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40637 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
40638 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40639 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40640 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40641 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40642 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40643 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
40644 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40645 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40646 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40647 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40648 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40649 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40650 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40651 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40652 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40653 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40654 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40655 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40656 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40657 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40658 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40659 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40660 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40661 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40662 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40663 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40664 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40665 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40666 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40667 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40668 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40669 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40670 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40671 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40672 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40673 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40674 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40675 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40676 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40677 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40678 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40679 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40680 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40681 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40682 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40683 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40684 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40685 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40686 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40687 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40688 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40689 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40690 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40691 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40692 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40693 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40694 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40695 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40696 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40697 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40698 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40699 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40700 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40701 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40702 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40703 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40704 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40705 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40706 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
40707 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40708 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40709 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40710 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40711 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40712 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40713 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
40714 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40715 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40716 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40717 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40718 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40719 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40720 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40721 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40722 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40723 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40724 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40725 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40726 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40727 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40728 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40729 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40730 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40731 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40732 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40733 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40734 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40735 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40736 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40737 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40738 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40739 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40740 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40741 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40742 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40743 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40744 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40745 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40746 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40747 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40748 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40749 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
40750 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40751 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40752 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40753 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40754 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40755 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40756 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40757 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40758 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40759 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
40760 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40761 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40762 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40763 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40764 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40765 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40766 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40767 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40768 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40769 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
40770 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40771 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
40772 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40773 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
40774 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40775 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40776 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
40777 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40778 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40779 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40780 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
40781 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40782 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40783 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
40784 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40785 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40786 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
40787 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40788 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
40789 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40790 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40791 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40792 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40793 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
40794 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40795 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40796 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40797 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40798 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40799 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40800 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40801 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
40802 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40803 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40804 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40805 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
40806 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40807 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40808 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
40809 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40810 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
40811 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40812 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40813 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40814 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
40815 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40816 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40817 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40818 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40819 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40820 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40821 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40822 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40823 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40824 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40825 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40826 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40827 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40828 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40829 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40830 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40831 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
40832 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40833 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
40834 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40835 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40836 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
40837 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40838 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
40839 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40840 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40841 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40842 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
40843 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40844 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40845 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40846 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
40847 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40848 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40849 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40850 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40851 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40852 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40853 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40854 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40855 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
40856 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40857 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40858 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
40859 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40860 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40861 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
40862 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40863 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40864 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40865 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
40866 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40867 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40868 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40869 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40870 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40871 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40872 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
40873 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40874 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40875 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40876 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40877 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
40878 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40879 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40880 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40881 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40882 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
40883 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40884 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40885 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40886 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40887 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40888 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40889 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40890 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40891 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40892 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40893 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40894 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40895 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40896 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40897 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40898 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40899 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40900 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40901 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40902 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40903 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40904 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40905 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40906 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40907 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40908 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40909 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40910 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40911 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40912 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40913 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40914 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40915 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40916 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40917 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40918 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40919 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40920 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40921 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40922 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40923 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40924 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40925 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40926 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
40927 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40928 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40929 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40930 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40931 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40932 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40933 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40934 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40935 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40936 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40937 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40938 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40939 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40940 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40941 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
40942 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40943 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40944 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40945 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
40946 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40947 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40948 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40949 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40950 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40951 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40952 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40953 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40954 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40955 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
40956 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40957 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40958 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40959 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40960 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40961 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40962 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40963 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40964 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40965 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40966 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40967 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40968 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40969 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40970 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40971 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40972 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40973 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40974 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40975 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40976 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40977 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40978 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40979 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40980 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40981 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40982 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40983 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40984 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40985 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40986 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40987 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40988 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40989 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40990 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40991 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40992 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40993 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40994 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40995 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40996 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40997 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40998 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40999 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41000 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41001 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41002 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41003 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41004 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41005 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41006 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41007 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41008 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41009 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41010 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41011 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41012 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41013 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41014 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41015 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41016 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41017 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41018 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41019 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41020 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41021 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41022 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41023 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41024 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41025 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41026 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41027 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41028 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41029 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41030 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41031 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41032 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41033 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41034 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41035 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41036 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41037 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41038 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41039 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41040 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41041 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41042 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41043 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41044 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41045 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41046 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41047 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41048 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41049 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41050 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41051 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41052 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41053 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41054 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41055 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41056 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41057 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41058 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41059 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41060 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41061 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41062 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41063 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41064 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41065 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41066 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41067 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41068 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41069 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41070 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41071 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41072 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41073 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41074 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41075 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41076 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41077 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41078 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41079 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41080 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41081 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41082 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41083 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41084 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41085 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41086 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41087 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41088 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41089 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41090 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41091 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41092 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41093 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41094 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41095 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41096 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41097 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41098 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41099 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41100 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41101 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41102 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41103 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41104 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41105 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41106 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41107 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41108 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41109 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41110 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41111 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41112 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41113 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41114 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41115 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41116 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41117 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41118 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41119 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41120 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41121 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41122 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41123 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41124 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
41125 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41126 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41127 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41128 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41129 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41130 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41131 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41132 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41133 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41134 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41135 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41136 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41137 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41138 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41139 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41140 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41141 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41142 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41143 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41144 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41145 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41146 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41147 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41148 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41149 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41150 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41151 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41152 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41153 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41154 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41155 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41156 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41157 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41158 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41159 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41160 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41161 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41162 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
41163 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41164 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41165 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41166 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41167 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41168 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41169 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41170 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41171 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41172 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41173 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41174 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41175 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41176 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
41177 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41178 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41179 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
41180 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41181 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41182 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41183 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41184 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41185 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41186 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41187 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41188 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41189 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41190 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41191 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41192 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41193 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41194 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41195 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41196 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41197 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41198 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41199 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41200 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41201 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41202 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41203 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41204 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41205 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41206 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41207 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41208 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41209 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41210 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41211 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41212 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41213 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41214 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41215 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41216 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41217 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41218 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41219 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41220 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41221 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41222 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41223 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41224 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41225 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41226 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41227 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41228 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41229 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41230 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41231 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41232 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41233 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41234 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
41235 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41236 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41237 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41238 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41239 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41240 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41241 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41242 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41243 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41244 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41245 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41246 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41247 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41248 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41249 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41250 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41251 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41252 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41253 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41254 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41255 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41256 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41257 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41258 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41259 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41260 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41261 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
41262 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41263 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41264 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41265 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41266 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41267 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41268 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41269 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41270 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41271 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41272 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41273 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41274 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41275 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41276 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41277 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41278 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41279 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41280 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41281 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41282 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41283 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41284 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41285 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41286 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41287 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41288 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41289 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41290 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41291 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
41292 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41293 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41294 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41295 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41296 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41297 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41298 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41299 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
41300 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41301 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41302 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41303 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41304 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41305 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41306 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41307 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41308 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41309 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41310 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41311 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41312 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41313 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41314 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41315 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41316 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
41317 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
41318 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41319 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41320 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41321 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41322 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41323 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41324 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41325 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41326 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41327 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41328 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41329 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41330 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41331 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41332 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41333 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41334 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41335 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41336 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41337 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41338 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41339 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41340 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41341 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41342 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41343 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41344 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41345 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41346 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41347 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41348 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41349 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41350 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41351 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41352 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41353 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
41354 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41355 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41356 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41357 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41358 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41359 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41360 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41361 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41362 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41363 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41364 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41365 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41366 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41367 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41368 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41369 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41370 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41371 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41372 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41373 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41374 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41375 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41376 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41377 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41378 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41379 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41380 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41381 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41382 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
41383 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41384 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41385 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
41386 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41387 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41388 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41389 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
41390 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41391 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41392 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
41393 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41394 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41395 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41396 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41397 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41398 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41399 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41400 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41401 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41402 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
41403 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41404 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41405 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41406 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41407 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41408 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41409 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41410 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41411 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41412 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41413 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41414 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
41415 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41416 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41417 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41418 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41419 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41420 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41421 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41422 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41423 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41424 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
41425 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41426 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41427 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41428 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41429 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41430 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41431 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41432 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41433 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41434 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
41435 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41436 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41437 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41438 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41439 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41440 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41441 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41442 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41443 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41444 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41445 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41446 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41447 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41448 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
41449 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41450 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41451 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41452 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41453 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41454 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
41455 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
41456 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
41457 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
41458 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
41459 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41460 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41461 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41462 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41463 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
41464 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41465 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41466 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41467 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41468 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41469 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41470 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41471 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41472 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41473 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41474 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41475 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41476 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41477 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41478 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41479 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41480 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41481 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41482 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41483 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41484 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41485 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41486 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41487 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41488 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41489 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41490 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
41491 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41492 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41493 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41494 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41495 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41496 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41497 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41498 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41499 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41500 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41501 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41502 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
41503 { NULL
, NULL
, 0, NULL
}
41507 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41509 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
41510 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
41512 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
41513 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
41515 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
41516 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41518 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
41519 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41521 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
41522 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
41524 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
41525 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41527 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
41528 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
41530 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
41531 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41533 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
41534 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41536 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
41537 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
41539 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
41540 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
41542 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
41543 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
41545 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
41546 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
41548 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
41549 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
41551 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
41552 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
41554 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
41555 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
41557 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
41558 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
41560 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
41561 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41563 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
41564 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
41566 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
41567 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41569 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
41570 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41572 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
41573 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
41575 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
41576 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
41578 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
41579 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
41581 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
41582 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
41584 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
41585 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
41587 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
41588 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
41590 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
41591 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
41593 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
41594 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41596 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
41597 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41599 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
41600 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41602 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
41603 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41605 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
41606 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41608 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
41609 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
41611 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
41612 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
41614 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
41615 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41617 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
41618 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
41620 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
41621 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
41623 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
41624 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41626 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
41627 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41629 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
41630 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41632 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
41633 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
41635 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
41636 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
41638 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
41639 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41641 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
41642 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41644 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
41645 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41647 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
41648 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
41650 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
41651 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
41653 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
41654 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
41656 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
41657 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
41659 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
41660 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
41662 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
41663 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
41665 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
41666 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
41668 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
41669 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
41671 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
41672 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
41674 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
41675 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
41677 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
41678 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
41680 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
41681 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
41683 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
41684 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
41686 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
41687 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
41689 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
41690 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
41692 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
41693 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41695 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
41696 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
41698 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
41699 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
41701 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
41702 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
41704 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
41705 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41707 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
41708 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
41710 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
41711 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
41713 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
41714 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
41716 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
41717 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
41719 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
41720 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
41722 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
41723 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
41725 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
41726 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
41728 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
41729 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
41731 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41732 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
41734 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41735 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
41737 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41738 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
41740 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
41741 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
41743 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
41744 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
41746 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
41747 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41749 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
41750 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
41752 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
41753 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
41755 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
41756 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
41758 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
41759 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
41761 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
41762 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
41764 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
41765 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
41767 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
41768 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
41770 static void *_p_wxSizerTo_p_wxObject(void *x
) {
41771 return (void *)((wxObject
*) ((wxSizer
*) x
));
41773 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
41774 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
41776 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
41777 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41779 static void *_p_wxMenuTo_p_wxObject(void *x
) {
41780 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
41782 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
41783 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
41785 static void *_p_wxImageTo_p_wxObject(void *x
) {
41786 return (void *)((wxObject
*) ((wxImage
*) x
));
41788 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
41789 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
41791 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
41792 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41794 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
41795 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
41797 static void *_p_wxWindowTo_p_wxObject(void *x
) {
41798 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
41800 static void *_p_wxControlTo_p_wxObject(void *x
) {
41801 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
41803 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
41804 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
41806 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
41807 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
41809 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
41810 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41812 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
41813 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
41815 static void *_p_wxEventTo_p_wxObject(void *x
) {
41816 return (void *)((wxObject
*) ((wxEvent
*) x
));
41818 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
41819 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
41821 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
41822 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
41824 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
41825 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
41827 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
41828 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
41830 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
41831 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
41833 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
41834 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41836 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
41837 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41839 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
41840 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
41842 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
41843 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
41845 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
41846 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
41848 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
41849 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
41851 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
41852 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
41854 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
41855 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
41857 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
41858 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
41860 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
41861 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
41863 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
41864 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41866 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
41867 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
41869 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
41870 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
41872 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
41873 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
41875 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
41876 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
41878 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
41879 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
41881 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
41882 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
41884 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
41885 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
41887 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
41888 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
41890 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
41891 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41893 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
41894 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41896 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
41897 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41899 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
41900 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41902 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
41903 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41905 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
41906 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
41908 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
41909 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
41911 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
41912 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41914 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
41915 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
41917 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
41918 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
41920 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
41921 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
41923 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
41924 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
41926 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
41927 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
41929 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
41930 return (void *)((wxObject
*) ((wxFSFile
*) x
));
41932 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
41933 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
41935 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
41936 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41938 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
41939 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
41941 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
41942 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41944 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
41945 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41947 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
41948 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41950 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
41951 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
41953 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
41954 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
41956 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
41957 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
41959 static void *_p_wxControlTo_p_wxWindow(void *x
) {
41960 return (void *)((wxWindow
*) ((wxControl
*) x
));
41962 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
41963 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
41965 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
41966 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
41968 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
41969 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41971 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
41972 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
41974 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
41975 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41977 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
41978 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41980 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
41981 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41983 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
41984 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41986 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
41987 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41989 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
41990 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41992 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
41993 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
41995 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}};
41996 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}};
41997 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}};
41998 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}};
41999 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}};
42000 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}};
42001 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}};
42002 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}};
42003 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}};
42004 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}};
42005 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}};
42006 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}};
42007 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}};
42008 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}};
42009 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}};
42010 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}};
42011 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}};
42012 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}};
42013 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}};
42014 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}};
42015 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}};
42016 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}};
42017 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}};
42018 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}};
42019 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}};
42020 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}};
42021 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}};
42022 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}};
42023 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}};
42024 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}};
42025 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}};
42026 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}};
42027 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}};
42028 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}};
42029 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}};
42030 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}};
42031 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}};
42032 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}};
42033 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}};
42034 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}};
42035 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}};
42036 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}};
42037 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}};
42038 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}};
42039 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}};
42040 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}};
42041 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}};
42042 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}};
42043 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}};
42044 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}};
42045 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}};
42046 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}};
42047 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}};
42048 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}};
42049 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}};
42050 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}};
42051 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}};
42052 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}};
42053 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}};
42054 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}};
42055 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}};
42056 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}};
42057 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}};
42058 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}};
42059 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}};
42060 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}};
42061 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}};
42062 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}};
42063 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}};
42064 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}};
42065 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}};
42066 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}};
42067 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}};
42068 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}};
42069 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}};
42070 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}};
42071 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}};
42072 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}};
42073 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}};
42074 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}};
42075 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}};
42076 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}};
42077 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}};
42078 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}};
42079 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}};
42080 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}};
42081 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}};
42082 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}};
42083 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}};
42084 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}};
42085 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}};
42086 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}};
42087 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}};
42088 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}};
42089 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}};
42090 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}};
42091 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}};
42092 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}};
42093 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}};
42094 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}};
42095 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}};
42096 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}};
42097 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}};
42098 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}};
42099 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}};
42100 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}};
42101 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}};
42102 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}};
42103 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}};
42104 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}};
42105 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}};
42106 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}};
42107 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}};
42108 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}};
42109 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}};
42110 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}};
42112 static swig_type_info
*swig_types_initial
[] = {
42113 _swigt__p_wxLayoutConstraints
,
42114 _swigt__p_wxRealPoint
,
42115 _swigt__p_wxSizerItem
,
42116 _swigt__p_wxGBSizerItem
,
42117 _swigt__p_wxScrollEvent
,
42118 _swigt__p_wxIndividualLayoutConstraint
,
42120 _swigt__p_wxBoxSizer
,
42121 _swigt__p_wxStaticBoxSizer
,
42122 _swigt__p_wxGridBagSizer
,
42123 _swigt__p_wxAcceleratorEntry
,
42124 _swigt__p_wxUpdateUIEvent
,
42127 _swigt__p_wxGridSizer
,
42128 _swigt__p_wxFlexGridSizer
,
42129 _swigt__p_wxInitDialogEvent
,
42130 _swigt__p_wxItemContainer
,
42131 _swigt__p_wxNcPaintEvent
,
42132 _swigt__p_wxPaintEvent
,
42133 _swigt__p_wxSysColourChangedEvent
,
42134 _swigt__p_wxMouseCaptureChangedEvent
,
42135 _swigt__p_wxDisplayChangedEvent
,
42136 _swigt__p_wxPaletteChangedEvent
,
42137 _swigt__p_wxControl
,
42139 _swigt__p_wxMenuBarBase
,
42140 _swigt__p_wxSetCursorEvent
,
42141 _swigt__p_wxFSFile
,
42143 _swigt__p_wxRegion
,
42144 _swigt__p_wxPoint2D
,
42148 _swigt__p_wxPySizer
,
42149 _swigt__p_wxVisualAttributes
,
42150 _swigt__p_wxNotifyEvent
,
42151 _swigt__p_wxPyEvent
,
42152 _swigt__p_wxPropagationDisabler
,
42153 _swigt__p_wxAppTraits
,
42154 _swigt__p_wxArrayString
,
42155 _swigt__p_wxShowEvent
,
42156 _swigt__p_wxToolTip
,
42157 _swigt__p_wxIconizeEvent
,
42158 _swigt__p_wxActivateEvent
,
42159 _swigt__p_wxMoveEvent
,
42160 _swigt__p_wxSizeEvent
,
42161 _swigt__p_wxMaximizeEvent
,
42162 _swigt__p_wxQueryNewPaletteEvent
,
42163 _swigt__p_wxWindowCreateEvent
,
42164 _swigt__p_wxIdleEvent
,
42165 _swigt__p_wxMenuItem
,
42166 _swigt__p_wxStaticBox
,
42168 _swigt__p_wxTIFFHandler
,
42169 _swigt__p_wxXPMHandler
,
42170 _swigt__p_wxPNMHandler
,
42171 _swigt__p_wxJPEGHandler
,
42172 _swigt__p_wxPCXHandler
,
42173 _swigt__p_wxGIFHandler
,
42174 _swigt__p_wxPNGHandler
,
42175 _swigt__p_wxANIHandler
,
42176 _swigt__p_wxMemoryFSHandler
,
42177 _swigt__p_wxEvtHandler
,
42178 _swigt__p_wxCURHandler
,
42179 _swigt__p_wxICOHandler
,
42180 _swigt__p_wxBMPHandler
,
42181 _swigt__p_wxImageHandler
,
42182 _swigt__p_wxFileSystemHandler
,
42183 _swigt__p_wxPyFileSystemHandler
,
42184 _swigt__p_wxInternetFSHandler
,
42185 _swigt__p_wxZipFSHandler
,
42187 _swigt__p_wxGBSpan
,
42188 _swigt__p_wxPropagateOnce
,
42189 _swigt__p_wxAcceleratorTable
,
42191 _swigt__p_wxGBPosition
,
42194 _swigt__p_wxScrollWinEvent
,
42195 _swigt__p_wxImageHistogram
,
42198 _swigt__p_wxCursor
,
42199 _swigt__p_wxObject
,
42200 _swigt__p_wxPyInputStream
,
42201 _swigt__p_wxOutputStream
,
42202 _swigt__p_wxInputStream
,
42203 _swigt__p_wxDateTime
,
42204 _swigt__p_wxKeyEvent
,
42205 _swigt__p_wxNavigationKeyEvent
,
42206 _swigt__p_wxWindowDestroyEvent
,
42207 _swigt__p_wxWindow
,
42208 _swigt__p_wxMenuBar
,
42209 _swigt__p_wxFileSystem
,
42210 _swigt__p_wxBitmap
,
42211 _swigt__p_wxMenuEvent
,
42212 _swigt__p_wxContextMenuEvent
,
42213 _swigt__p_unsigned_char
,
42214 _swigt__p_wxCloseEvent
,
42215 _swigt__p_wxEraseEvent
,
42216 _swigt__p_wxMouseEvent
,
42218 _swigt__p_wxCommandEvent
,
42219 _swigt__p_wxPyCommandEvent
,
42220 _swigt__p_wxPyDropTarget
,
42221 _swigt__p_wxQuantize
,
42222 _swigt__p_wxChildFocusEvent
,
42223 _swigt__p_wxFocusEvent
,
42224 _swigt__p_wxDropFilesEvent
,
42225 _swigt__p_wxControlWithItems
,
42226 _swigt__p_wxColour
,
42227 _swigt__p_wxValidator
,
42228 _swigt__p_wxPyValidator
,
42233 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
42235 static swig_const_info swig_const_table
[] = {
42236 {0, 0, 0, 0.0, 0, 0}};
42245 SWIGEXPORT(void) SWIG_init(void) {
42246 static PyObject
*SWIG_globals
= 0;
42247 static int typeinit
= 0;
42250 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
42251 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
42252 d
= PyModule_GetDict(m
);
42255 for (i
= 0; swig_types_initial
[i
]; i
++) {
42256 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
42260 SWIG_InstallConstants(d
,swig_const_table
);
42263 #ifndef wxPyUSE_EXPORT
42264 // Make our API structure a CObject so other modules can import it
42265 // from this module.
42266 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
42267 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
42271 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)wxNOT_FOUND
));
42272 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)wxVSCROLL
));
42273 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)wxHSCROLL
));
42274 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)wxCAPTION
));
42275 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)wxDOUBLE_BORDER
));
42276 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)wxSUNKEN_BORDER
));
42277 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)wxRAISED_BORDER
));
42278 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)wxBORDER
));
42279 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)wxSIMPLE_BORDER
));
42280 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)wxSTATIC_BORDER
));
42281 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)wxTRANSPARENT_WINDOW
));
42282 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)wxNO_BORDER
));
42283 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)wxTAB_TRAVERSAL
));
42284 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)wxWANTS_CHARS
));
42285 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)wxPOPUP_WINDOW
));
42286 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)wxCENTER_FRAME
));
42287 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)wxCENTRE_ON_SCREEN
));
42288 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)wxCENTER_ON_SCREEN
));
42289 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_From_int((int)wxED_CLIENT_MARGIN
));
42290 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_From_int((int)wxED_BUTTONS_BOTTOM
));
42291 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_From_int((int)wxED_BUTTONS_RIGHT
));
42292 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_From_int((int)wxED_STATIC_LINE
));
42293 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_From_int((int)wxEXT_DIALOG_STYLE
));
42294 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)wxCLIP_CHILDREN
));
42295 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)wxCLIP_SIBLINGS
));
42296 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)wxALWAYS_SHOW_SB
));
42297 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)wxRETAINED
));
42298 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)wxBACKINGSTORE
));
42299 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)wxCOLOURED
));
42300 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)wxFIXED_LENGTH
));
42301 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)wxLB_NEEDED_SB
));
42302 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)wxLB_ALWAYS_SB
));
42303 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)wxLB_SORT
));
42304 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)wxLB_SINGLE
));
42305 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)wxLB_MULTIPLE
));
42306 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)wxLB_EXTENDED
));
42307 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)wxLB_OWNERDRAW
));
42308 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)wxLB_HSCROLL
));
42309 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)wxPROCESS_ENTER
));
42310 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)wxPASSWORD
));
42311 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)wxCB_SIMPLE
));
42312 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)wxCB_DROPDOWN
));
42313 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)wxCB_SORT
));
42314 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)wxCB_READONLY
));
42315 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)wxRA_HORIZONTAL
));
42316 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)wxRA_VERTICAL
));
42317 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)wxRA_SPECIFY_ROWS
));
42318 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)wxRA_SPECIFY_COLS
));
42319 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)wxRB_GROUP
));
42320 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)wxRB_SINGLE
));
42321 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int((int)wxSL_HORIZONTAL
));
42322 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int((int)wxSL_VERTICAL
));
42323 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int((int)wxSL_AUTOTICKS
));
42324 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int((int)wxSL_LABELS
));
42325 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int((int)wxSL_LEFT
));
42326 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int((int)wxSL_TOP
));
42327 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int((int)wxSL_RIGHT
));
42328 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int((int)wxSL_BOTTOM
));
42329 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int((int)wxSL_BOTH
));
42330 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int((int)wxSL_SELRANGE
));
42331 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)wxSB_HORIZONTAL
));
42332 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)wxSB_VERTICAL
));
42333 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)wxST_SIZEGRIP
));
42334 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)wxST_NO_AUTORESIZE
));
42335 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)wxFLOOD_SURFACE
));
42336 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)wxFLOOD_BORDER
));
42337 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)wxODDEVEN_RULE
));
42338 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)wxWINDING_RULE
));
42339 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)wxTOOL_TOP
));
42340 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)wxTOOL_BOTTOM
));
42341 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)wxTOOL_LEFT
));
42342 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)wxTOOL_RIGHT
));
42343 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)wxOK
));
42344 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)wxYES_NO
));
42345 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)wxCANCEL
));
42346 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)wxYES
));
42347 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)wxNO
));
42348 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)wxNO_DEFAULT
));
42349 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)wxYES_DEFAULT
));
42350 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)wxICON_EXCLAMATION
));
42351 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)wxICON_HAND
));
42352 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)wxICON_QUESTION
));
42353 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)wxICON_INFORMATION
));
42354 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)wxICON_STOP
));
42355 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)wxICON_ASTERISK
));
42356 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)wxICON_MASK
));
42357 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)wxICON_WARNING
));
42358 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)wxICON_ERROR
));
42359 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)wxFORWARD
));
42360 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)wxBACKWARD
));
42361 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)wxRESET
));
42362 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)wxHELP
));
42363 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)wxMORE
));
42364 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)wxSETUP
));
42365 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)wxSIZE_AUTO_WIDTH
));
42366 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)wxSIZE_AUTO_HEIGHT
));
42367 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)wxSIZE_AUTO
));
42368 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)wxSIZE_USE_EXISTING
));
42369 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)wxSIZE_ALLOW_MINUS_ONE
));
42370 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)wxPORTRAIT
));
42371 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)wxLANDSCAPE
));
42372 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)wxPRINT_QUALITY_HIGH
));
42373 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)wxPRINT_QUALITY_MEDIUM
));
42374 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)wxPRINT_QUALITY_LOW
));
42375 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)wxPRINT_QUALITY_DRAFT
));
42376 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)wxID_ANY
));
42377 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)wxID_SEPARATOR
));
42378 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)wxID_LOWEST
));
42379 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)wxID_OPEN
));
42380 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)wxID_CLOSE
));
42381 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)wxID_NEW
));
42382 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)wxID_SAVE
));
42383 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)wxID_SAVEAS
));
42384 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)wxID_REVERT
));
42385 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)wxID_EXIT
));
42386 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)wxID_UNDO
));
42387 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)wxID_REDO
));
42388 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)wxID_HELP
));
42389 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)wxID_PRINT
));
42390 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)wxID_PRINT_SETUP
));
42391 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)wxID_PREVIEW
));
42392 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)wxID_ABOUT
));
42393 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)wxID_HELP_CONTENTS
));
42394 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)wxID_HELP_COMMANDS
));
42395 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)wxID_HELP_PROCEDURES
));
42396 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)wxID_HELP_CONTEXT
));
42397 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)wxID_CLOSE_ALL
));
42398 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)wxID_PREFERENCES
));
42399 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)wxID_CUT
));
42400 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)wxID_COPY
));
42401 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)wxID_PASTE
));
42402 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)wxID_CLEAR
));
42403 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)wxID_FIND
));
42404 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)wxID_DUPLICATE
));
42405 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)wxID_SELECTALL
));
42406 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)wxID_DELETE
));
42407 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)wxID_REPLACE
));
42408 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)wxID_REPLACE_ALL
));
42409 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)wxID_PROPERTIES
));
42410 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)wxID_VIEW_DETAILS
));
42411 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)wxID_VIEW_LARGEICONS
));
42412 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)wxID_VIEW_SMALLICONS
));
42413 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)wxID_VIEW_LIST
));
42414 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)wxID_VIEW_SORTDATE
));
42415 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)wxID_VIEW_SORTNAME
));
42416 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)wxID_VIEW_SORTSIZE
));
42417 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)wxID_VIEW_SORTTYPE
));
42418 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)wxID_FILE1
));
42419 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)wxID_FILE2
));
42420 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)wxID_FILE3
));
42421 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)wxID_FILE4
));
42422 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)wxID_FILE5
));
42423 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)wxID_FILE6
));
42424 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)wxID_FILE7
));
42425 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)wxID_FILE8
));
42426 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)wxID_FILE9
));
42427 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)wxID_OK
));
42428 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)wxID_CANCEL
));
42429 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)wxID_APPLY
));
42430 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)wxID_YES
));
42431 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)wxID_NO
));
42432 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)wxID_STATIC
));
42433 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)wxID_FORWARD
));
42434 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)wxID_BACKWARD
));
42435 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)wxID_DEFAULT
));
42436 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)wxID_MORE
));
42437 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)wxID_SETUP
));
42438 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)wxID_RESET
));
42439 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)wxID_CONTEXT_HELP
));
42440 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)wxID_YESTOALL
));
42441 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)wxID_NOTOALL
));
42442 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)wxID_ABORT
));
42443 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)wxID_RETRY
));
42444 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)wxID_IGNORE
));
42445 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)wxID_ADD
));
42446 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)wxID_REMOVE
));
42447 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)wxID_UP
));
42448 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)wxID_DOWN
));
42449 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)wxID_HOME
));
42450 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)wxID_REFRESH
));
42451 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)wxID_STOP
));
42452 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)wxID_INDEX
));
42453 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)wxID_BOLD
));
42454 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)wxID_ITALIC
));
42455 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)wxID_JUSTIFY_CENTER
));
42456 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)wxID_JUSTIFY_FILL
));
42457 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)wxID_JUSTIFY_RIGHT
));
42458 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)wxID_JUSTIFY_LEFT
));
42459 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)wxID_UNDERLINE
));
42460 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)wxID_INDENT
));
42461 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)wxID_UNINDENT
));
42462 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)wxID_ZOOM_100
));
42463 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)wxID_ZOOM_FIT
));
42464 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)wxID_ZOOM_IN
));
42465 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)wxID_ZOOM_OUT
));
42466 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)wxID_UNDELETE
));
42467 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)wxID_REVERT_TO_SAVED
));
42468 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)wxID_HIGHEST
));
42469 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)wxOPEN
));
42470 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)wxSAVE
));
42471 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)wxHIDE_READONLY
));
42472 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)wxOVERWRITE_PROMPT
));
42473 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)wxFILE_MUST_EXIST
));
42474 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)wxMULTIPLE
));
42475 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)wxCHANGE_DIR
));
42476 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)wxACCEL_ALT
));
42477 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)wxACCEL_CTRL
));
42478 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)wxACCEL_SHIFT
));
42479 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)wxACCEL_NORMAL
));
42480 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)wxPD_AUTO_HIDE
));
42481 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)wxPD_APP_MODAL
));
42482 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)wxPD_CAN_ABORT
));
42483 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)wxPD_ELAPSED_TIME
));
42484 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)wxPD_ESTIMATED_TIME
));
42485 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)wxPD_REMAINING_TIME
));
42486 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)wxDD_NEW_DIR_BUTTON
));
42487 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)wxDD_DEFAULT_STYLE
));
42488 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)wxMENU_TEAROFF
));
42489 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)wxMB_DOCKABLE
));
42490 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)wxNO_FULL_REPAINT_ON_RESIZE
));
42491 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)wxFULL_REPAINT_ON_RESIZE
));
42492 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)wxLI_HORIZONTAL
));
42493 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)wxLI_VERTICAL
));
42494 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)wxWS_EX_VALIDATE_RECURSIVELY
));
42495 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)wxWS_EX_BLOCK_EVENTS
));
42496 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)wxWS_EX_TRANSIENT
));
42497 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)wxWS_EX_THEMED_BACKGROUND
));
42498 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)wxWS_EX_PROCESS_IDLE
));
42499 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)wxWS_EX_PROCESS_UI_UPDATES
));
42500 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)wxMM_TEXT
));
42501 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)wxMM_LOMETRIC
));
42502 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)wxMM_HIMETRIC
));
42503 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)wxMM_LOENGLISH
));
42504 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)wxMM_HIENGLISH
));
42505 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)wxMM_TWIPS
));
42506 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)wxMM_ISOTROPIC
));
42507 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)wxMM_ANISOTROPIC
));
42508 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)wxMM_POINTS
));
42509 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)wxMM_METRIC
));
42510 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)wxCENTRE
));
42511 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)wxCENTER
));
42512 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)wxHORIZONTAL
));
42513 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)wxVERTICAL
));
42514 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)wxBOTH
));
42515 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)wxLEFT
));
42516 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)wxRIGHT
));
42517 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)wxUP
));
42518 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)wxDOWN
));
42519 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)wxTOP
));
42520 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)wxBOTTOM
));
42521 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)wxNORTH
));
42522 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)wxSOUTH
));
42523 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)wxWEST
));
42524 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)wxEAST
));
42525 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)wxALL
));
42526 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)wxALIGN_NOT
));
42527 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)wxALIGN_CENTER_HORIZONTAL
));
42528 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)wxALIGN_CENTRE_HORIZONTAL
));
42529 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)wxALIGN_LEFT
));
42530 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)wxALIGN_TOP
));
42531 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)wxALIGN_RIGHT
));
42532 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)wxALIGN_BOTTOM
));
42533 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)wxALIGN_CENTER_VERTICAL
));
42534 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)wxALIGN_CENTRE_VERTICAL
));
42535 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)wxALIGN_CENTER
));
42536 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)wxALIGN_CENTRE
));
42537 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)wxALIGN_MASK
));
42538 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)wxSTRETCH_NOT
));
42539 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)wxSHRINK
));
42540 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)wxGROW
));
42541 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)wxEXPAND
));
42542 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)wxSHAPED
));
42543 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)wxFIXED_MINSIZE
));
42544 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)wxTILE
));
42545 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)wxADJUST_MINSIZE
));
42546 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)wxBORDER_DEFAULT
));
42547 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)wxBORDER_NONE
));
42548 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)wxBORDER_STATIC
));
42549 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)wxBORDER_SIMPLE
));
42550 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)wxBORDER_RAISED
));
42551 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)wxBORDER_SUNKEN
));
42552 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)wxBORDER_DOUBLE
));
42553 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)wxBORDER_MASK
));
42554 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)wxBG_STYLE_SYSTEM
));
42555 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)wxBG_STYLE_COLOUR
));
42556 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)wxBG_STYLE_CUSTOM
));
42557 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)wxDEFAULT
));
42558 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)wxDECORATIVE
));
42559 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)wxROMAN
));
42560 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)wxSCRIPT
));
42561 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)wxSWISS
));
42562 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)wxMODERN
));
42563 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)wxTELETYPE
));
42564 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)wxVARIABLE
));
42565 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)wxFIXED
));
42566 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)wxNORMAL
));
42567 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)wxLIGHT
));
42568 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)wxBOLD
));
42569 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)wxITALIC
));
42570 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)wxSLANT
));
42571 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)wxSOLID
));
42572 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)wxDOT
));
42573 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)wxLONG_DASH
));
42574 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)wxSHORT_DASH
));
42575 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)wxDOT_DASH
));
42576 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)wxUSER_DASH
));
42577 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)wxTRANSPARENT
));
42578 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)wxSTIPPLE
));
42579 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)wxBDIAGONAL_HATCH
));
42580 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)wxCROSSDIAG_HATCH
));
42581 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)wxFDIAGONAL_HATCH
));
42582 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)wxCROSS_HATCH
));
42583 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)wxHORIZONTAL_HATCH
));
42584 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)wxVERTICAL_HATCH
));
42585 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)wxJOIN_BEVEL
));
42586 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)wxJOIN_MITER
));
42587 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)wxJOIN_ROUND
));
42588 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)wxCAP_ROUND
));
42589 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)wxCAP_PROJECTING
));
42590 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)wxCAP_BUTT
));
42591 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)wxCLEAR
));
42592 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)wxXOR
));
42593 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)wxINVERT
));
42594 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)wxOR_REVERSE
));
42595 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)wxAND_REVERSE
));
42596 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)wxCOPY
));
42597 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)wxAND
));
42598 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)wxAND_INVERT
));
42599 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)wxNO_OP
));
42600 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)wxNOR
));
42601 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)wxEQUIV
));
42602 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)wxSRC_INVERT
));
42603 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)wxOR_INVERT
));
42604 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)wxNAND
));
42605 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)wxOR
));
42606 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)wxSET
));
42607 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)WXK_BACK
));
42608 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)WXK_TAB
));
42609 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)WXK_RETURN
));
42610 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)WXK_ESCAPE
));
42611 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)WXK_SPACE
));
42612 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)WXK_DELETE
));
42613 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)WXK_START
));
42614 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)WXK_LBUTTON
));
42615 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)WXK_RBUTTON
));
42616 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)WXK_CANCEL
));
42617 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)WXK_MBUTTON
));
42618 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)WXK_CLEAR
));
42619 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)WXK_SHIFT
));
42620 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)WXK_ALT
));
42621 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)WXK_CONTROL
));
42622 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)WXK_MENU
));
42623 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)WXK_PAUSE
));
42624 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)WXK_CAPITAL
));
42625 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)WXK_PRIOR
));
42626 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)WXK_NEXT
));
42627 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)WXK_END
));
42628 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)WXK_HOME
));
42629 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)WXK_LEFT
));
42630 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)WXK_UP
));
42631 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)WXK_RIGHT
));
42632 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)WXK_DOWN
));
42633 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)WXK_SELECT
));
42634 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)WXK_PRINT
));
42635 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)WXK_EXECUTE
));
42636 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)WXK_SNAPSHOT
));
42637 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)WXK_INSERT
));
42638 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)WXK_HELP
));
42639 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)WXK_NUMPAD0
));
42640 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)WXK_NUMPAD1
));
42641 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)WXK_NUMPAD2
));
42642 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)WXK_NUMPAD3
));
42643 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)WXK_NUMPAD4
));
42644 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)WXK_NUMPAD5
));
42645 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)WXK_NUMPAD6
));
42646 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)WXK_NUMPAD7
));
42647 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)WXK_NUMPAD8
));
42648 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)WXK_NUMPAD9
));
42649 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)WXK_MULTIPLY
));
42650 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)WXK_ADD
));
42651 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)WXK_SEPARATOR
));
42652 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)WXK_SUBTRACT
));
42653 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)WXK_DECIMAL
));
42654 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)WXK_DIVIDE
));
42655 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)WXK_F1
));
42656 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)WXK_F2
));
42657 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)WXK_F3
));
42658 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)WXK_F4
));
42659 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)WXK_F5
));
42660 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)WXK_F6
));
42661 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)WXK_F7
));
42662 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)WXK_F8
));
42663 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)WXK_F9
));
42664 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)WXK_F10
));
42665 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)WXK_F11
));
42666 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)WXK_F12
));
42667 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)WXK_F13
));
42668 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)WXK_F14
));
42669 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)WXK_F15
));
42670 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)WXK_F16
));
42671 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)WXK_F17
));
42672 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)WXK_F18
));
42673 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)WXK_F19
));
42674 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)WXK_F20
));
42675 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)WXK_F21
));
42676 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)WXK_F22
));
42677 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)WXK_F23
));
42678 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)WXK_F24
));
42679 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)WXK_NUMLOCK
));
42680 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)WXK_SCROLL
));
42681 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)WXK_PAGEUP
));
42682 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)WXK_PAGEDOWN
));
42683 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)WXK_NUMPAD_SPACE
));
42684 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)WXK_NUMPAD_TAB
));
42685 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)WXK_NUMPAD_ENTER
));
42686 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)WXK_NUMPAD_F1
));
42687 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)WXK_NUMPAD_F2
));
42688 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)WXK_NUMPAD_F3
));
42689 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)WXK_NUMPAD_F4
));
42690 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)WXK_NUMPAD_HOME
));
42691 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)WXK_NUMPAD_LEFT
));
42692 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)WXK_NUMPAD_UP
));
42693 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)WXK_NUMPAD_RIGHT
));
42694 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)WXK_NUMPAD_DOWN
));
42695 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)WXK_NUMPAD_PRIOR
));
42696 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)WXK_NUMPAD_PAGEUP
));
42697 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)WXK_NUMPAD_NEXT
));
42698 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)WXK_NUMPAD_PAGEDOWN
));
42699 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)WXK_NUMPAD_END
));
42700 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)WXK_NUMPAD_BEGIN
));
42701 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)WXK_NUMPAD_INSERT
));
42702 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)WXK_NUMPAD_DELETE
));
42703 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)WXK_NUMPAD_EQUAL
));
42704 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)WXK_NUMPAD_MULTIPLY
));
42705 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)WXK_NUMPAD_ADD
));
42706 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)WXK_NUMPAD_SEPARATOR
));
42707 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)WXK_NUMPAD_SUBTRACT
));
42708 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)WXK_NUMPAD_DECIMAL
));
42709 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)WXK_NUMPAD_DIVIDE
));
42710 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)WXK_WINDOWS_LEFT
));
42711 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)WXK_WINDOWS_RIGHT
));
42712 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)WXK_WINDOWS_MENU
));
42713 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)wxPAPER_NONE
));
42714 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)wxPAPER_LETTER
));
42715 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)wxPAPER_LEGAL
));
42716 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)wxPAPER_A4
));
42717 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)wxPAPER_CSHEET
));
42718 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)wxPAPER_DSHEET
));
42719 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)wxPAPER_ESHEET
));
42720 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)wxPAPER_LETTERSMALL
));
42721 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)wxPAPER_TABLOID
));
42722 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)wxPAPER_LEDGER
));
42723 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)wxPAPER_STATEMENT
));
42724 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)wxPAPER_EXECUTIVE
));
42725 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)wxPAPER_A3
));
42726 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)wxPAPER_A4SMALL
));
42727 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)wxPAPER_A5
));
42728 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)wxPAPER_B4
));
42729 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)wxPAPER_B5
));
42730 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)wxPAPER_FOLIO
));
42731 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)wxPAPER_QUARTO
));
42732 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)wxPAPER_10X14
));
42733 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)wxPAPER_11X17
));
42734 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)wxPAPER_NOTE
));
42735 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)wxPAPER_ENV_9
));
42736 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)wxPAPER_ENV_10
));
42737 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)wxPAPER_ENV_11
));
42738 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)wxPAPER_ENV_12
));
42739 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)wxPAPER_ENV_14
));
42740 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)wxPAPER_ENV_DL
));
42741 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)wxPAPER_ENV_C5
));
42742 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)wxPAPER_ENV_C3
));
42743 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)wxPAPER_ENV_C4
));
42744 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)wxPAPER_ENV_C6
));
42745 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)wxPAPER_ENV_C65
));
42746 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)wxPAPER_ENV_B4
));
42747 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)wxPAPER_ENV_B5
));
42748 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)wxPAPER_ENV_B6
));
42749 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)wxPAPER_ENV_ITALY
));
42750 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)wxPAPER_ENV_MONARCH
));
42751 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)wxPAPER_ENV_PERSONAL
));
42752 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)wxPAPER_FANFOLD_US
));
42753 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)wxPAPER_FANFOLD_STD_GERMAN
));
42754 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)wxPAPER_FANFOLD_LGL_GERMAN
));
42755 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)wxPAPER_ISO_B4
));
42756 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)wxPAPER_JAPANESE_POSTCARD
));
42757 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)wxPAPER_9X11
));
42758 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)wxPAPER_10X11
));
42759 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)wxPAPER_15X11
));
42760 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)wxPAPER_ENV_INVITE
));
42761 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)wxPAPER_LETTER_EXTRA
));
42762 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)wxPAPER_LEGAL_EXTRA
));
42763 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)wxPAPER_TABLOID_EXTRA
));
42764 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)wxPAPER_A4_EXTRA
));
42765 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)wxPAPER_LETTER_TRANSVERSE
));
42766 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)wxPAPER_A4_TRANSVERSE
));
42767 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
42768 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)wxPAPER_A_PLUS
));
42769 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)wxPAPER_B_PLUS
));
42770 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)wxPAPER_LETTER_PLUS
));
42771 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)wxPAPER_A4_PLUS
));
42772 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)wxPAPER_A5_TRANSVERSE
));
42773 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)wxPAPER_B5_TRANSVERSE
));
42774 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)wxPAPER_A3_EXTRA
));
42775 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)wxPAPER_A5_EXTRA
));
42776 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)wxPAPER_B5_EXTRA
));
42777 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)wxPAPER_A2
));
42778 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)wxPAPER_A3_TRANSVERSE
));
42779 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
42780 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)wxDUPLEX_SIMPLEX
));
42781 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)wxDUPLEX_HORIZONTAL
));
42782 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)wxDUPLEX_VERTICAL
));
42783 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)wxITEM_SEPARATOR
));
42784 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)wxITEM_NORMAL
));
42785 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)wxITEM_CHECK
));
42786 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)wxITEM_RADIO
));
42787 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)wxITEM_MAX
));
42788 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)wxHT_NOWHERE
));
42789 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)wxHT_SCROLLBAR_FIRST
));
42790 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
42791 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
42792 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
42793 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
42794 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)wxHT_SCROLLBAR_THUMB
));
42795 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)wxHT_SCROLLBAR_BAR_1
));
42796 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)wxHT_SCROLLBAR_BAR_2
));
42797 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)wxHT_SCROLLBAR_LAST
));
42798 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)wxHT_WINDOW_OUTSIDE
));
42799 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)wxHT_WINDOW_INSIDE
));
42800 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)wxHT_WINDOW_VERT_SCROLLBAR
));
42801 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
42802 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)wxHT_WINDOW_CORNER
));
42803 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)wxHT_MAX
));
42804 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)wxMOD_NONE
));
42805 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)wxMOD_ALT
));
42806 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)wxMOD_CONTROL
));
42807 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)wxMOD_SHIFT
));
42808 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)wxMOD_WIN
));
42809 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)wxUPDATE_UI_NONE
));
42810 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)wxUPDATE_UI_RECURSE
));
42811 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)wxUPDATE_UI_FROMIDLE
));
42812 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
42813 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
42814 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)wxBITMAP_TYPE_INVALID
));
42815 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)wxBITMAP_TYPE_BMP
));
42816 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)wxBITMAP_TYPE_ICO
));
42817 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)wxBITMAP_TYPE_CUR
));
42818 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)wxBITMAP_TYPE_XBM
));
42819 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)wxBITMAP_TYPE_XBM_DATA
));
42820 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)wxBITMAP_TYPE_XPM
));
42821 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)wxBITMAP_TYPE_XPM_DATA
));
42822 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)wxBITMAP_TYPE_TIF
));
42823 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)wxBITMAP_TYPE_GIF
));
42824 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)wxBITMAP_TYPE_PNG
));
42825 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)wxBITMAP_TYPE_JPEG
));
42826 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)wxBITMAP_TYPE_PNM
));
42827 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)wxBITMAP_TYPE_PCX
));
42828 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)wxBITMAP_TYPE_PICT
));
42829 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)wxBITMAP_TYPE_ICON
));
42830 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)wxBITMAP_TYPE_ANI
));
42831 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)wxBITMAP_TYPE_IFF
));
42832 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)wxBITMAP_TYPE_MACCURSOR
));
42833 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)wxBITMAP_TYPE_ANY
));
42834 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)wxCURSOR_NONE
));
42835 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)wxCURSOR_ARROW
));
42836 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)wxCURSOR_RIGHT_ARROW
));
42837 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)wxCURSOR_BULLSEYE
));
42838 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)wxCURSOR_CHAR
));
42839 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)wxCURSOR_CROSS
));
42840 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)wxCURSOR_HAND
));
42841 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)wxCURSOR_IBEAM
));
42842 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)wxCURSOR_LEFT_BUTTON
));
42843 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)wxCURSOR_MAGNIFIER
));
42844 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)wxCURSOR_MIDDLE_BUTTON
));
42845 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)wxCURSOR_NO_ENTRY
));
42846 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)wxCURSOR_PAINT_BRUSH
));
42847 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)wxCURSOR_PENCIL
));
42848 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)wxCURSOR_POINT_LEFT
));
42849 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)wxCURSOR_POINT_RIGHT
));
42850 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)wxCURSOR_QUESTION_ARROW
));
42851 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)wxCURSOR_RIGHT_BUTTON
));
42852 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)wxCURSOR_SIZENESW
));
42853 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)wxCURSOR_SIZENS
));
42854 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)wxCURSOR_SIZENWSE
));
42855 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)wxCURSOR_SIZEWE
));
42856 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)wxCURSOR_SIZING
));
42857 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)wxCURSOR_SPRAYCAN
));
42858 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)wxCURSOR_WAIT
));
42859 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)wxCURSOR_WATCH
));
42860 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)wxCURSOR_BLANK
));
42861 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)wxCURSOR_DEFAULT
));
42862 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)wxCURSOR_COPY_ARROW
));
42863 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)wxCURSOR_ARROWWAIT
));
42864 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)wxCURSOR_MAX
));
42865 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
42866 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
42867 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)wxFromStart
));
42868 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)wxFromCurrent
));
42869 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)wxFromEnd
));
42871 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
42874 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
42876 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
42877 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
42878 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
42879 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
42880 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
42881 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
42882 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)wxIMAGE_RESOLUTION_INCHES
));
42883 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)wxIMAGE_RESOLUTION_CM
));
42884 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)wxBMP_24BPP
));
42885 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)wxBMP_8BPP
));
42886 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)wxBMP_8BPP_GREY
));
42887 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)wxBMP_8BPP_GRAY
));
42888 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)wxBMP_8BPP_RED
));
42889 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)wxBMP_8BPP_PALETTE
));
42890 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)wxBMP_4BPP
));
42891 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)wxBMP_1BPP
));
42892 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)wxBMP_1BPP_BW
));
42893 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
));
42894 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)wxQUANTIZE_FILL_DESTINATION_IMAGE
));
42895 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)wxEVENT_PROPAGATE_NONE
));
42896 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)wxEVENT_PROPAGATE_MAX
));
42897 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
42898 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
42899 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
42900 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
42901 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
42902 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
42903 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
42904 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
42905 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
42906 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
42907 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
42908 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
42909 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
42910 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
42911 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
42912 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
42913 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
42914 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
42915 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
42916 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
42917 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
42918 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
42919 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
42920 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
42921 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
42922 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
42923 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
42924 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
42925 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
42926 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
42927 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
42928 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
42929 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
42930 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
42931 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
42932 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
42933 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
42934 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
42935 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
42936 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
42937 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
42938 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
42939 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
42940 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
42941 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
42942 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
42943 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
42944 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
42945 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
42946 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
42947 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
42948 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
42949 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
42950 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
42951 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
42952 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
42953 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
42954 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
42955 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
42956 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
42957 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
42958 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
42959 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
42960 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
42961 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
42962 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
42963 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
42964 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
42965 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
42966 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
42967 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
42968 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
42969 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
42970 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
42971 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
42972 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
42973 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
42974 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
42975 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
42976 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
42977 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
42978 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
42979 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
42980 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
42981 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
42982 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
42983 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
42984 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
42985 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
42986 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
42987 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
42988 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
42989 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
42990 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
42991 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
42992 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
42993 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
42994 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
42995 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
42996 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
42997 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
42998 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
42999 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
43000 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
43001 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
43002 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
43003 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
43004 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
43005 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
43006 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
43007 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
43008 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
43009 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
43010 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
43011 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)wxMOUSE_BTN_ANY
));
43012 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)wxMOUSE_BTN_NONE
));
43013 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)wxMOUSE_BTN_LEFT
));
43014 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)wxMOUSE_BTN_MIDDLE
));
43015 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)wxMOUSE_BTN_RIGHT
));
43016 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)wxUPDATE_UI_PROCESS_ALL
));
43017 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
43018 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)wxNavigationKeyEvent::IsBackward
));
43019 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)wxNavigationKeyEvent::IsForward
));
43020 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)wxNavigationKeyEvent::WinChange
));
43021 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)wxIDLE_PROCESS_ALL
));
43022 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)wxIDLE_PROCESS_SPECIFIED
));
43023 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)wxPYAPP_ASSERT_SUPPRESS
));
43024 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)wxPYAPP_ASSERT_EXCEPTION
));
43025 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)wxPYAPP_ASSERT_DIALOG
));
43026 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)wxPYAPP_ASSERT_LOG
));
43027 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)wxPRINT_WINDOWS
));
43028 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)wxPRINT_POSTSCRIPT
));
43029 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
43030 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
43031 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)wxWINDOW_VARIANT_NORMAL
));
43032 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)wxWINDOW_VARIANT_SMALL
));
43033 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)wxWINDOW_VARIANT_MINI
));
43034 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)wxWINDOW_VARIANT_LARGE
));
43035 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)wxWINDOW_VARIANT_MAX
));
43036 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
43037 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
43038 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)wxFLEX_GROWMODE_NONE
));
43039 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)wxFLEX_GROWMODE_SPECIFIED
));
43040 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)wxFLEX_GROWMODE_ALL
));
43041 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
43042 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)wxLeft
));
43043 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)wxTop
));
43044 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)wxRight
));
43045 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)wxBottom
));
43046 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)wxWidth
));
43047 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)wxHeight
));
43048 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)wxCentre
));
43049 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)wxCenter
));
43050 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)wxCentreX
));
43051 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)wxCentreY
));
43052 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)wxUnconstrained
));
43053 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)wxAsIs
));
43054 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)wxPercentOf
));
43055 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)wxAbove
));
43056 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)wxBelow
));
43057 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)wxLeftOf
));
43058 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)wxRightOf
));
43059 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)wxSameAs
));
43060 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)wxAbsolute
));
43062 // Initialize threading, some globals and such
43066 // Although these are defined in __version__ they need to be here too so
43067 // that an assert can be done to ensure that the wxPython and the wxWindows
43069 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
43070 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
43071 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));