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
,int depth
){
1371 wxBitmap
bitmap(*self
, depth
);
1374 wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
1375 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
1376 wxBitmap
bitmap( mono
, 1 );
1379 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
1380 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
1381 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
1382 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
1383 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
1385 #include <wx/quantize.h>
1387 bool Quantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
,int flags
){
1388 return wxQuantize::Quantize(src
, dest
,
1391 NULL
, // eightBitData
1394 void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
1395 if (PyCallable_Check(func
)) {
1396 self
->Connect(id
, lastId
, eventType
,
1397 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
1398 new wxPyCallback(func
));
1400 else if (func
== Py_None
) {
1401 self
->Disconnect(id
, lastId
, eventType
,
1402 (wxObjectEventFunction
)
1403 &wxPyCallback::EventThunker
);
1407 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
1410 bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
){
1411 return self
->Disconnect(id
, lastId
, eventType
,
1412 (wxObjectEventFunction
)
1413 &wxPyCallback::EventThunker
);
1415 void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
){
1416 if (_self
&& _self
!= Py_None
) {
1417 self
->SetClientObject(new wxPyOORClientData(_self
));
1420 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
1422 self
->SetClientObject(NULL
); // This will delete it too
1427 int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
1429 return self
->GetUnicodeKey();
1435 #if UINT_MAX < LONG_MAX
1436 /*@/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 ;
11490 int arg2
= (int) -1 ;
11492 PyObject
* obj0
= 0 ;
11493 PyObject
* obj1
= 0 ;
11494 char *kwnames
[] = {
11495 (char *) "self",(char *) "depth", NULL
11498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
11499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11502 arg2
= (int)SWIG_As_int(obj1
);
11503 if (PyErr_Occurred()) SWIG_fail
;
11506 if (!wxPyCheckForApp()) SWIG_fail
;
11507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11508 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
11510 wxPyEndAllowThreads(__tstate
);
11511 if (PyErr_Occurred()) SWIG_fail
;
11514 wxBitmap
* resultptr
;
11515 resultptr
= new wxBitmap((wxBitmap
&) result
);
11516 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11524 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11525 PyObject
*resultobj
;
11526 wxImage
*arg1
= (wxImage
*) 0 ;
11527 unsigned char arg2
;
11528 unsigned char arg3
;
11529 unsigned char arg4
;
11531 PyObject
* obj0
= 0 ;
11532 PyObject
* obj1
= 0 ;
11533 PyObject
* obj2
= 0 ;
11534 PyObject
* obj3
= 0 ;
11535 char *kwnames
[] = {
11536 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11542 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11543 if (PyErr_Occurred()) SWIG_fail
;
11544 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11545 if (PyErr_Occurred()) SWIG_fail
;
11546 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11547 if (PyErr_Occurred()) SWIG_fail
;
11549 if (!wxPyCheckForApp()) SWIG_fail
;
11550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11551 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11553 wxPyEndAllowThreads(__tstate
);
11554 if (PyErr_Occurred()) SWIG_fail
;
11557 wxBitmap
* resultptr
;
11558 resultptr
= new wxBitmap((wxBitmap
&) result
);
11559 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11567 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
11569 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11570 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11572 return Py_BuildValue((char *)"");
11574 static int _wrap_NullImage_set(PyObject
*) {
11575 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11580 static PyObject
*_wrap_NullImage_get() {
11583 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11588 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
11589 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11594 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11599 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11601 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11608 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
11609 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11614 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11619 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11621 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11628 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
11629 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11634 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11639 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11641 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11648 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
11649 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11654 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11659 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11661 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11668 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
11669 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11674 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11679 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11681 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11688 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11689 PyObject
*resultobj
;
11690 wxBMPHandler
*result
;
11691 char *kwnames
[] = {
11695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11698 result
= (wxBMPHandler
*)new wxBMPHandler();
11700 wxPyEndAllowThreads(__tstate
);
11701 if (PyErr_Occurred()) SWIG_fail
;
11703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11710 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
11712 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11713 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11715 return Py_BuildValue((char *)"");
11717 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11718 PyObject
*resultobj
;
11719 wxICOHandler
*result
;
11720 char *kwnames
[] = {
11724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11727 result
= (wxICOHandler
*)new wxICOHandler();
11729 wxPyEndAllowThreads(__tstate
);
11730 if (PyErr_Occurred()) SWIG_fail
;
11732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11739 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
11741 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11742 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11744 return Py_BuildValue((char *)"");
11746 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11747 PyObject
*resultobj
;
11748 wxCURHandler
*result
;
11749 char *kwnames
[] = {
11753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11756 result
= (wxCURHandler
*)new wxCURHandler();
11758 wxPyEndAllowThreads(__tstate
);
11759 if (PyErr_Occurred()) SWIG_fail
;
11761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11768 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
11770 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11771 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11773 return Py_BuildValue((char *)"");
11775 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11776 PyObject
*resultobj
;
11777 wxANIHandler
*result
;
11778 char *kwnames
[] = {
11782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11785 result
= (wxANIHandler
*)new wxANIHandler();
11787 wxPyEndAllowThreads(__tstate
);
11788 if (PyErr_Occurred()) SWIG_fail
;
11790 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
11797 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
11799 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11800 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11802 return Py_BuildValue((char *)"");
11804 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11805 PyObject
*resultobj
;
11806 wxPNGHandler
*result
;
11807 char *kwnames
[] = {
11811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11814 result
= (wxPNGHandler
*)new wxPNGHandler();
11816 wxPyEndAllowThreads(__tstate
);
11817 if (PyErr_Occurred()) SWIG_fail
;
11819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
11826 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
11828 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11829 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11831 return Py_BuildValue((char *)"");
11833 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11834 PyObject
*resultobj
;
11835 wxGIFHandler
*result
;
11836 char *kwnames
[] = {
11840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11843 result
= (wxGIFHandler
*)new wxGIFHandler();
11845 wxPyEndAllowThreads(__tstate
);
11846 if (PyErr_Occurred()) SWIG_fail
;
11848 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
11855 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
11857 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11858 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11860 return Py_BuildValue((char *)"");
11862 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11863 PyObject
*resultobj
;
11864 wxPCXHandler
*result
;
11865 char *kwnames
[] = {
11869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11872 result
= (wxPCXHandler
*)new wxPCXHandler();
11874 wxPyEndAllowThreads(__tstate
);
11875 if (PyErr_Occurred()) SWIG_fail
;
11877 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
11884 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
11886 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11887 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11889 return Py_BuildValue((char *)"");
11891 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11892 PyObject
*resultobj
;
11893 wxJPEGHandler
*result
;
11894 char *kwnames
[] = {
11898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11901 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11903 wxPyEndAllowThreads(__tstate
);
11904 if (PyErr_Occurred()) SWIG_fail
;
11906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
11913 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
11915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11916 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11918 return Py_BuildValue((char *)"");
11920 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11921 PyObject
*resultobj
;
11922 wxPNMHandler
*result
;
11923 char *kwnames
[] = {
11927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11930 result
= (wxPNMHandler
*)new wxPNMHandler();
11932 wxPyEndAllowThreads(__tstate
);
11933 if (PyErr_Occurred()) SWIG_fail
;
11935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
11942 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
11944 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11945 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11947 return Py_BuildValue((char *)"");
11949 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11950 PyObject
*resultobj
;
11951 wxXPMHandler
*result
;
11952 char *kwnames
[] = {
11956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11959 result
= (wxXPMHandler
*)new wxXPMHandler();
11961 wxPyEndAllowThreads(__tstate
);
11962 if (PyErr_Occurred()) SWIG_fail
;
11964 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
11971 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
11973 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11974 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
11976 return Py_BuildValue((char *)"");
11978 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11979 PyObject
*resultobj
;
11980 wxTIFFHandler
*result
;
11981 char *kwnames
[] = {
11985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
11987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11988 result
= (wxTIFFHandler
*)new wxTIFFHandler();
11990 wxPyEndAllowThreads(__tstate
);
11991 if (PyErr_Occurred()) SWIG_fail
;
11993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
12000 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
12002 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12003 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
12005 return Py_BuildValue((char *)"");
12007 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12008 PyObject
*resultobj
;
12009 wxImage
*arg1
= 0 ;
12010 wxImage
*arg2
= 0 ;
12011 int arg3
= (int) 236 ;
12012 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
12014 PyObject
* obj0
= 0 ;
12015 PyObject
* obj1
= 0 ;
12016 PyObject
* obj2
= 0 ;
12017 PyObject
* obj3
= 0 ;
12018 char *kwnames
[] = {
12019 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
12022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
12024 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12026 if (arg1
== NULL
) {
12027 PyErr_SetString(PyExc_TypeError
,"null reference");
12030 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
12031 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12033 if (arg2
== NULL
) {
12034 PyErr_SetString(PyExc_TypeError
,"null reference");
12038 arg3
= (int)SWIG_As_int(obj2
);
12039 if (PyErr_Occurred()) SWIG_fail
;
12042 arg4
= (int)SWIG_As_int(obj3
);
12043 if (PyErr_Occurred()) SWIG_fail
;
12046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12047 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
12049 wxPyEndAllowThreads(__tstate
);
12050 if (PyErr_Occurred()) SWIG_fail
;
12053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12061 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
12063 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12064 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
12066 return Py_BuildValue((char *)"");
12068 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12069 PyObject
*resultobj
;
12070 wxEvtHandler
*result
;
12071 char *kwnames
[] = {
12075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
12077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12078 result
= (wxEvtHandler
*)new wxEvtHandler();
12080 wxPyEndAllowThreads(__tstate
);
12081 if (PyErr_Occurred()) SWIG_fail
;
12083 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
12090 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12091 PyObject
*resultobj
;
12092 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12093 wxEvtHandler
*result
;
12094 PyObject
* obj0
= 0 ;
12095 char *kwnames
[] = {
12096 (char *) "self", NULL
12099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
12100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12104 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
12106 wxPyEndAllowThreads(__tstate
);
12107 if (PyErr_Occurred()) SWIG_fail
;
12110 resultobj
= wxPyMake_wxObject(result
, 0);
12118 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12119 PyObject
*resultobj
;
12120 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12121 wxEvtHandler
*result
;
12122 PyObject
* obj0
= 0 ;
12123 char *kwnames
[] = {
12124 (char *) "self", NULL
12127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
12128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12132 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
12134 wxPyEndAllowThreads(__tstate
);
12135 if (PyErr_Occurred()) SWIG_fail
;
12138 resultobj
= wxPyMake_wxObject(result
, 0);
12146 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12147 PyObject
*resultobj
;
12148 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12149 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
12150 PyObject
* obj0
= 0 ;
12151 PyObject
* obj1
= 0 ;
12152 char *kwnames
[] = {
12153 (char *) "self",(char *) "handler", NULL
12156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
12157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12159 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
12160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12163 (arg1
)->SetNextHandler(arg2
);
12165 wxPyEndAllowThreads(__tstate
);
12166 if (PyErr_Occurred()) SWIG_fail
;
12168 Py_INCREF(Py_None
); resultobj
= Py_None
;
12175 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12176 PyObject
*resultobj
;
12177 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12178 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
12179 PyObject
* obj0
= 0 ;
12180 PyObject
* obj1
= 0 ;
12181 char *kwnames
[] = {
12182 (char *) "self",(char *) "handler", NULL
12185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
12186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12188 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
12189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12192 (arg1
)->SetPreviousHandler(arg2
);
12194 wxPyEndAllowThreads(__tstate
);
12195 if (PyErr_Occurred()) SWIG_fail
;
12197 Py_INCREF(Py_None
); resultobj
= Py_None
;
12204 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12205 PyObject
*resultobj
;
12206 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12208 PyObject
* obj0
= 0 ;
12209 char *kwnames
[] = {
12210 (char *) "self", NULL
12213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
12214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12218 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
12220 wxPyEndAllowThreads(__tstate
);
12221 if (PyErr_Occurred()) SWIG_fail
;
12224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12232 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12233 PyObject
*resultobj
;
12234 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12236 PyObject
* obj0
= 0 ;
12237 PyObject
* obj1
= 0 ;
12238 char *kwnames
[] = {
12239 (char *) "self",(char *) "enabled", NULL
12242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
12243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12245 arg2
= (bool)SWIG_As_bool(obj1
);
12246 if (PyErr_Occurred()) SWIG_fail
;
12248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12249 (arg1
)->SetEvtHandlerEnabled(arg2
);
12251 wxPyEndAllowThreads(__tstate
);
12252 if (PyErr_Occurred()) SWIG_fail
;
12254 Py_INCREF(Py_None
); resultobj
= Py_None
;
12261 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12262 PyObject
*resultobj
;
12263 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12264 wxEvent
*arg2
= 0 ;
12266 PyObject
* obj0
= 0 ;
12267 PyObject
* obj1
= 0 ;
12268 char *kwnames
[] = {
12269 (char *) "self",(char *) "event", NULL
12272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12275 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12276 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12278 if (arg2
== NULL
) {
12279 PyErr_SetString(PyExc_TypeError
,"null reference");
12283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12284 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
12286 wxPyEndAllowThreads(__tstate
);
12287 if (PyErr_Occurred()) SWIG_fail
;
12290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12298 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12299 PyObject
*resultobj
;
12300 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12301 wxEvent
*arg2
= 0 ;
12302 PyObject
* obj0
= 0 ;
12303 PyObject
* obj1
= 0 ;
12304 char *kwnames
[] = {
12305 (char *) "self",(char *) "event", NULL
12308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12311 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12312 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12314 if (arg2
== NULL
) {
12315 PyErr_SetString(PyExc_TypeError
,"null reference");
12319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12320 (arg1
)->AddPendingEvent(*arg2
);
12322 wxPyEndAllowThreads(__tstate
);
12323 if (PyErr_Occurred()) SWIG_fail
;
12325 Py_INCREF(Py_None
); resultobj
= Py_None
;
12332 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12333 PyObject
*resultobj
;
12334 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12335 PyObject
* obj0
= 0 ;
12336 char *kwnames
[] = {
12337 (char *) "self", NULL
12340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
12341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12345 (arg1
)->ProcessPendingEvents();
12347 wxPyEndAllowThreads(__tstate
);
12348 if (PyErr_Occurred()) SWIG_fail
;
12350 Py_INCREF(Py_None
); resultobj
= Py_None
;
12357 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12358 PyObject
*resultobj
;
12359 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12363 PyObject
*arg5
= (PyObject
*) 0 ;
12364 PyObject
* obj0
= 0 ;
12365 PyObject
* obj1
= 0 ;
12366 PyObject
* obj2
= 0 ;
12367 PyObject
* obj3
= 0 ;
12368 PyObject
* obj4
= 0 ;
12369 char *kwnames
[] = {
12370 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12376 arg2
= (int)SWIG_As_int(obj1
);
12377 if (PyErr_Occurred()) SWIG_fail
;
12378 arg3
= (int)SWIG_As_int(obj2
);
12379 if (PyErr_Occurred()) SWIG_fail
;
12380 arg4
= (int)SWIG_As_int(obj3
);
12381 if (PyErr_Occurred()) SWIG_fail
;
12384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12385 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
12387 wxPyEndAllowThreads(__tstate
);
12388 if (PyErr_Occurred()) SWIG_fail
;
12390 Py_INCREF(Py_None
); resultobj
= Py_None
;
12397 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12398 PyObject
*resultobj
;
12399 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12401 int arg3
= (int) -1 ;
12402 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
12404 PyObject
* obj0
= 0 ;
12405 PyObject
* obj1
= 0 ;
12406 PyObject
* obj2
= 0 ;
12407 PyObject
* obj3
= 0 ;
12408 char *kwnames
[] = {
12409 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12415 arg2
= (int)SWIG_As_int(obj1
);
12416 if (PyErr_Occurred()) SWIG_fail
;
12418 arg3
= (int)SWIG_As_int(obj2
);
12419 if (PyErr_Occurred()) SWIG_fail
;
12422 arg4
= (wxEventType
)SWIG_As_int(obj3
);
12423 if (PyErr_Occurred()) SWIG_fail
;
12426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12427 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
12429 wxPyEndAllowThreads(__tstate
);
12430 if (PyErr_Occurred()) SWIG_fail
;
12433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12441 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12442 PyObject
*resultobj
;
12443 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12444 PyObject
*arg2
= (PyObject
*) 0 ;
12445 PyObject
* obj0
= 0 ;
12446 PyObject
* obj1
= 0 ;
12447 char *kwnames
[] = {
12448 (char *) "self",(char *) "_self", NULL
12451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
12452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12457 wxEvtHandler__setOORInfo(arg1
,arg2
);
12459 wxPyEndAllowThreads(__tstate
);
12460 if (PyErr_Occurred()) SWIG_fail
;
12462 Py_INCREF(Py_None
); resultobj
= Py_None
;
12469 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
12471 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12472 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12474 return Py_BuildValue((char *)"");
12476 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12477 PyObject
*resultobj
;
12478 wxEventType result
;
12479 char *kwnames
[] = {
12483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12486 result
= (wxEventType
)wxNewEventType();
12488 wxPyEndAllowThreads(__tstate
);
12489 if (PyErr_Occurred()) SWIG_fail
;
12491 resultobj
= SWIG_From_int((int)result
);
12498 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12499 PyObject
*resultobj
;
12500 wxEvent
*arg1
= (wxEvent
*) 0 ;
12501 PyObject
* obj0
= 0 ;
12502 char *kwnames
[] = {
12503 (char *) "self", NULL
12506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
12507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12513 wxPyEndAllowThreads(__tstate
);
12514 if (PyErr_Occurred()) SWIG_fail
;
12516 Py_INCREF(Py_None
); resultobj
= Py_None
;
12523 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12524 PyObject
*resultobj
;
12525 wxEvent
*arg1
= (wxEvent
*) 0 ;
12527 PyObject
* obj0
= 0 ;
12528 PyObject
* obj1
= 0 ;
12529 char *kwnames
[] = {
12530 (char *) "self",(char *) "typ", NULL
12533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12536 arg2
= (wxEventType
)SWIG_As_int(obj1
);
12537 if (PyErr_Occurred()) SWIG_fail
;
12539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12540 (arg1
)->SetEventType(arg2
);
12542 wxPyEndAllowThreads(__tstate
);
12543 if (PyErr_Occurred()) SWIG_fail
;
12545 Py_INCREF(Py_None
); resultobj
= Py_None
;
12552 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12553 PyObject
*resultobj
;
12554 wxEvent
*arg1
= (wxEvent
*) 0 ;
12555 wxEventType result
;
12556 PyObject
* obj0
= 0 ;
12557 char *kwnames
[] = {
12558 (char *) "self", NULL
12561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12566 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12568 wxPyEndAllowThreads(__tstate
);
12569 if (PyErr_Occurred()) SWIG_fail
;
12571 resultobj
= SWIG_From_int((int)result
);
12578 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12579 PyObject
*resultobj
;
12580 wxEvent
*arg1
= (wxEvent
*) 0 ;
12582 PyObject
* obj0
= 0 ;
12583 char *kwnames
[] = {
12584 (char *) "self", NULL
12587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12592 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12594 wxPyEndAllowThreads(__tstate
);
12595 if (PyErr_Occurred()) SWIG_fail
;
12598 resultobj
= wxPyMake_wxObject(result
, 0);
12606 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12607 PyObject
*resultobj
;
12608 wxEvent
*arg1
= (wxEvent
*) 0 ;
12609 wxObject
*arg2
= (wxObject
*) 0 ;
12610 PyObject
* obj0
= 0 ;
12611 PyObject
* obj1
= 0 ;
12612 char *kwnames
[] = {
12613 (char *) "self",(char *) "obj", NULL
12616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12619 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12623 (arg1
)->SetEventObject(arg2
);
12625 wxPyEndAllowThreads(__tstate
);
12626 if (PyErr_Occurred()) SWIG_fail
;
12628 Py_INCREF(Py_None
); resultobj
= Py_None
;
12635 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12636 PyObject
*resultobj
;
12637 wxEvent
*arg1
= (wxEvent
*) 0 ;
12639 PyObject
* obj0
= 0 ;
12640 char *kwnames
[] = {
12641 (char *) "self", NULL
12644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12649 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12651 wxPyEndAllowThreads(__tstate
);
12652 if (PyErr_Occurred()) SWIG_fail
;
12654 resultobj
= SWIG_From_long((long)result
);
12661 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12662 PyObject
*resultobj
;
12663 wxEvent
*arg1
= (wxEvent
*) 0 ;
12664 long arg2
= (long) 0 ;
12665 PyObject
* obj0
= 0 ;
12666 PyObject
* obj1
= 0 ;
12667 char *kwnames
[] = {
12668 (char *) "self",(char *) "ts", NULL
12671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12675 arg2
= (long)SWIG_As_long(obj1
);
12676 if (PyErr_Occurred()) SWIG_fail
;
12679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12680 (arg1
)->SetTimestamp(arg2
);
12682 wxPyEndAllowThreads(__tstate
);
12683 if (PyErr_Occurred()) SWIG_fail
;
12685 Py_INCREF(Py_None
); resultobj
= Py_None
;
12692 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12693 PyObject
*resultobj
;
12694 wxEvent
*arg1
= (wxEvent
*) 0 ;
12696 PyObject
* obj0
= 0 ;
12697 char *kwnames
[] = {
12698 (char *) "self", NULL
12701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12706 result
= (int)((wxEvent
const *)arg1
)->GetId();
12708 wxPyEndAllowThreads(__tstate
);
12709 if (PyErr_Occurred()) SWIG_fail
;
12711 resultobj
= SWIG_From_int((int)result
);
12718 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12719 PyObject
*resultobj
;
12720 wxEvent
*arg1
= (wxEvent
*) 0 ;
12722 PyObject
* obj0
= 0 ;
12723 PyObject
* obj1
= 0 ;
12724 char *kwnames
[] = {
12725 (char *) "self",(char *) "Id", NULL
12728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12731 arg2
= (int)SWIG_As_int(obj1
);
12732 if (PyErr_Occurred()) SWIG_fail
;
12734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12735 (arg1
)->SetId(arg2
);
12737 wxPyEndAllowThreads(__tstate
);
12738 if (PyErr_Occurred()) SWIG_fail
;
12740 Py_INCREF(Py_None
); resultobj
= Py_None
;
12747 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12748 PyObject
*resultobj
;
12749 wxEvent
*arg1
= (wxEvent
*) 0 ;
12751 PyObject
* obj0
= 0 ;
12752 char *kwnames
[] = {
12753 (char *) "self", NULL
12756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12761 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12763 wxPyEndAllowThreads(__tstate
);
12764 if (PyErr_Occurred()) SWIG_fail
;
12767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12775 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12776 PyObject
*resultobj
;
12777 wxEvent
*arg1
= (wxEvent
*) 0 ;
12778 bool arg2
= (bool) True
;
12779 PyObject
* obj0
= 0 ;
12780 PyObject
* obj1
= 0 ;
12781 char *kwnames
[] = {
12782 (char *) "self",(char *) "skip", NULL
12785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12789 arg2
= (bool)SWIG_As_bool(obj1
);
12790 if (PyErr_Occurred()) SWIG_fail
;
12793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12794 (arg1
)->Skip(arg2
);
12796 wxPyEndAllowThreads(__tstate
);
12797 if (PyErr_Occurred()) SWIG_fail
;
12799 Py_INCREF(Py_None
); resultobj
= Py_None
;
12806 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12807 PyObject
*resultobj
;
12808 wxEvent
*arg1
= (wxEvent
*) 0 ;
12810 PyObject
* obj0
= 0 ;
12811 char *kwnames
[] = {
12812 (char *) "self", NULL
12815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12820 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12822 wxPyEndAllowThreads(__tstate
);
12823 if (PyErr_Occurred()) SWIG_fail
;
12826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12834 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12835 PyObject
*resultobj
;
12836 wxEvent
*arg1
= (wxEvent
*) 0 ;
12838 PyObject
* obj0
= 0 ;
12839 char *kwnames
[] = {
12840 (char *) "self", NULL
12843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12848 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12850 wxPyEndAllowThreads(__tstate
);
12851 if (PyErr_Occurred()) SWIG_fail
;
12854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12862 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12863 PyObject
*resultobj
;
12864 wxEvent
*arg1
= (wxEvent
*) 0 ;
12866 PyObject
* obj0
= 0 ;
12867 char *kwnames
[] = {
12868 (char *) "self", NULL
12871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12876 result
= (int)(arg1
)->StopPropagation();
12878 wxPyEndAllowThreads(__tstate
);
12879 if (PyErr_Occurred()) SWIG_fail
;
12881 resultobj
= SWIG_From_int((int)result
);
12888 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12889 PyObject
*resultobj
;
12890 wxEvent
*arg1
= (wxEvent
*) 0 ;
12892 PyObject
* obj0
= 0 ;
12893 PyObject
* obj1
= 0 ;
12894 char *kwnames
[] = {
12895 (char *) "self",(char *) "propagationLevel", NULL
12898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12901 arg2
= (int)SWIG_As_int(obj1
);
12902 if (PyErr_Occurred()) SWIG_fail
;
12904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12905 (arg1
)->ResumePropagation(arg2
);
12907 wxPyEndAllowThreads(__tstate
);
12908 if (PyErr_Occurred()) SWIG_fail
;
12910 Py_INCREF(Py_None
); resultobj
= Py_None
;
12917 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12918 PyObject
*resultobj
;
12919 wxEvent
*arg1
= (wxEvent
*) 0 ;
12921 PyObject
* obj0
= 0 ;
12922 char *kwnames
[] = {
12923 (char *) "self", NULL
12926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12931 result
= (wxEvent
*)(arg1
)->Clone();
12933 wxPyEndAllowThreads(__tstate
);
12934 if (PyErr_Occurred()) SWIG_fail
;
12936 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12943 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
12945 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12946 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12948 return Py_BuildValue((char *)"");
12950 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12951 PyObject
*resultobj
;
12952 wxEvent
*arg1
= 0 ;
12953 wxPropagationDisabler
*result
;
12954 PyObject
* obj0
= 0 ;
12955 char *kwnames
[] = {
12956 (char *) "event", NULL
12959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12961 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12963 if (arg1
== NULL
) {
12964 PyErr_SetString(PyExc_TypeError
,"null reference");
12968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12969 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
12971 wxPyEndAllowThreads(__tstate
);
12972 if (PyErr_Occurred()) SWIG_fail
;
12974 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
12981 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12982 PyObject
*resultobj
;
12983 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
12984 PyObject
* obj0
= 0 ;
12985 char *kwnames
[] = {
12986 (char *) "self", NULL
12989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
12991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12996 wxPyEndAllowThreads(__tstate
);
12997 if (PyErr_Occurred()) SWIG_fail
;
12999 Py_INCREF(Py_None
); resultobj
= Py_None
;
13006 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
13008 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13009 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
13011 return Py_BuildValue((char *)"");
13013 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13014 PyObject
*resultobj
;
13015 wxEvent
*arg1
= 0 ;
13016 wxPropagateOnce
*result
;
13017 PyObject
* obj0
= 0 ;
13018 char *kwnames
[] = {
13019 (char *) "event", NULL
13022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
13023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13024 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13026 if (arg1
== NULL
) {
13027 PyErr_SetString(PyExc_TypeError
,"null reference");
13031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13032 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
13034 wxPyEndAllowThreads(__tstate
);
13035 if (PyErr_Occurred()) SWIG_fail
;
13037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
13044 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13045 PyObject
*resultobj
;
13046 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
13047 PyObject
* obj0
= 0 ;
13048 char *kwnames
[] = {
13049 (char *) "self", NULL
13052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
13053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
13054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13059 wxPyEndAllowThreads(__tstate
);
13060 if (PyErr_Occurred()) SWIG_fail
;
13062 Py_INCREF(Py_None
); resultobj
= Py_None
;
13069 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
13071 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13072 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
13074 return Py_BuildValue((char *)"");
13076 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13077 PyObject
*resultobj
;
13078 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13079 int arg2
= (int) 0 ;
13080 wxCommandEvent
*result
;
13081 PyObject
* obj0
= 0 ;
13082 PyObject
* obj1
= 0 ;
13083 char *kwnames
[] = {
13084 (char *) "commandType",(char *) "winid", NULL
13087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13089 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13090 if (PyErr_Occurred()) SWIG_fail
;
13093 arg2
= (int)SWIG_As_int(obj1
);
13094 if (PyErr_Occurred()) SWIG_fail
;
13097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13098 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
13100 wxPyEndAllowThreads(__tstate
);
13101 if (PyErr_Occurred()) SWIG_fail
;
13103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
13110 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13111 PyObject
*resultobj
;
13112 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13114 PyObject
* obj0
= 0 ;
13115 char *kwnames
[] = {
13116 (char *) "self", NULL
13119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
13120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13124 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
13126 wxPyEndAllowThreads(__tstate
);
13127 if (PyErr_Occurred()) SWIG_fail
;
13129 resultobj
= SWIG_From_int((int)result
);
13136 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13137 PyObject
*resultobj
;
13138 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13139 wxString
*arg2
= 0 ;
13140 bool temp2
= False
;
13141 PyObject
* obj0
= 0 ;
13142 PyObject
* obj1
= 0 ;
13143 char *kwnames
[] = {
13144 (char *) "self",(char *) "s", NULL
13147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
13148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13151 arg2
= wxString_in_helper(obj1
);
13152 if (arg2
== NULL
) SWIG_fail
;
13156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13157 (arg1
)->SetString((wxString
const &)*arg2
);
13159 wxPyEndAllowThreads(__tstate
);
13160 if (PyErr_Occurred()) SWIG_fail
;
13162 Py_INCREF(Py_None
); resultobj
= Py_None
;
13177 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13178 PyObject
*resultobj
;
13179 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13181 PyObject
* obj0
= 0 ;
13182 char *kwnames
[] = {
13183 (char *) "self", NULL
13186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
13187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13191 result
= ((wxCommandEvent
const *)arg1
)->GetString();
13193 wxPyEndAllowThreads(__tstate
);
13194 if (PyErr_Occurred()) SWIG_fail
;
13198 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13200 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13209 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13210 PyObject
*resultobj
;
13211 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13213 PyObject
* obj0
= 0 ;
13214 char *kwnames
[] = {
13215 (char *) "self", NULL
13218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
13219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13223 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
13225 wxPyEndAllowThreads(__tstate
);
13226 if (PyErr_Occurred()) SWIG_fail
;
13229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13237 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13238 PyObject
*resultobj
;
13239 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13241 PyObject
* obj0
= 0 ;
13242 char *kwnames
[] = {
13243 (char *) "self", NULL
13246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
13247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13251 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
13253 wxPyEndAllowThreads(__tstate
);
13254 if (PyErr_Occurred()) SWIG_fail
;
13257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13265 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13266 PyObject
*resultobj
;
13267 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13269 PyObject
* obj0
= 0 ;
13270 PyObject
* obj1
= 0 ;
13271 char *kwnames
[] = {
13272 (char *) "self",(char *) "extraLong", NULL
13275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
13276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13278 arg2
= (long)SWIG_As_long(obj1
);
13279 if (PyErr_Occurred()) SWIG_fail
;
13281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13282 (arg1
)->SetExtraLong(arg2
);
13284 wxPyEndAllowThreads(__tstate
);
13285 if (PyErr_Occurred()) SWIG_fail
;
13287 Py_INCREF(Py_None
); resultobj
= Py_None
;
13294 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13295 PyObject
*resultobj
;
13296 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13298 PyObject
* obj0
= 0 ;
13299 char *kwnames
[] = {
13300 (char *) "self", NULL
13303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
13304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13308 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
13310 wxPyEndAllowThreads(__tstate
);
13311 if (PyErr_Occurred()) SWIG_fail
;
13313 resultobj
= SWIG_From_long((long)result
);
13320 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13321 PyObject
*resultobj
;
13322 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13324 PyObject
* obj0
= 0 ;
13325 PyObject
* obj1
= 0 ;
13326 char *kwnames
[] = {
13327 (char *) "self",(char *) "i", NULL
13330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13333 arg2
= (int)SWIG_As_int(obj1
);
13334 if (PyErr_Occurred()) SWIG_fail
;
13336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13337 (arg1
)->SetInt(arg2
);
13339 wxPyEndAllowThreads(__tstate
);
13340 if (PyErr_Occurred()) SWIG_fail
;
13342 Py_INCREF(Py_None
); resultobj
= Py_None
;
13349 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13350 PyObject
*resultobj
;
13351 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13353 PyObject
* obj0
= 0 ;
13354 char *kwnames
[] = {
13355 (char *) "self", NULL
13358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
13359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13363 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
13365 wxPyEndAllowThreads(__tstate
);
13366 if (PyErr_Occurred()) SWIG_fail
;
13368 resultobj
= SWIG_From_long((long)result
);
13375 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13376 PyObject
*resultobj
;
13377 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13379 PyObject
* obj0
= 0 ;
13380 char *kwnames
[] = {
13381 (char *) "self", NULL
13384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
13385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13389 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
13391 wxPyEndAllowThreads(__tstate
);
13392 if (PyErr_Occurred()) SWIG_fail
;
13394 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13401 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
13403 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13404 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
13406 return Py_BuildValue((char *)"");
13408 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13409 PyObject
*resultobj
;
13410 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13411 int arg2
= (int) 0 ;
13412 wxNotifyEvent
*result
;
13413 PyObject
* obj0
= 0 ;
13414 PyObject
* obj1
= 0 ;
13415 char *kwnames
[] = {
13416 (char *) "commandType",(char *) "winid", NULL
13419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13421 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13422 if (PyErr_Occurred()) SWIG_fail
;
13425 arg2
= (int)SWIG_As_int(obj1
);
13426 if (PyErr_Occurred()) SWIG_fail
;
13429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13430 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
13432 wxPyEndAllowThreads(__tstate
);
13433 if (PyErr_Occurred()) SWIG_fail
;
13435 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
13442 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13443 PyObject
*resultobj
;
13444 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13445 PyObject
* obj0
= 0 ;
13446 char *kwnames
[] = {
13447 (char *) "self", NULL
13450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
13451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13457 wxPyEndAllowThreads(__tstate
);
13458 if (PyErr_Occurred()) SWIG_fail
;
13460 Py_INCREF(Py_None
); resultobj
= Py_None
;
13467 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13468 PyObject
*resultobj
;
13469 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13470 PyObject
* obj0
= 0 ;
13471 char *kwnames
[] = {
13472 (char *) "self", NULL
13475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13482 wxPyEndAllowThreads(__tstate
);
13483 if (PyErr_Occurred()) SWIG_fail
;
13485 Py_INCREF(Py_None
); resultobj
= Py_None
;
13492 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13493 PyObject
*resultobj
;
13494 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13496 PyObject
* obj0
= 0 ;
13497 char *kwnames
[] = {
13498 (char *) "self", NULL
13501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13506 result
= (bool)(arg1
)->IsAllowed();
13508 wxPyEndAllowThreads(__tstate
);
13509 if (PyErr_Occurred()) SWIG_fail
;
13512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13520 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
13522 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13523 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13525 return Py_BuildValue((char *)"");
13527 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13528 PyObject
*resultobj
;
13529 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13530 int arg2
= (int) 0 ;
13531 int arg3
= (int) 0 ;
13532 int arg4
= (int) 0 ;
13533 wxScrollEvent
*result
;
13534 PyObject
* obj0
= 0 ;
13535 PyObject
* obj1
= 0 ;
13536 PyObject
* obj2
= 0 ;
13537 PyObject
* obj3
= 0 ;
13538 char *kwnames
[] = {
13539 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13544 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13545 if (PyErr_Occurred()) SWIG_fail
;
13548 arg2
= (int)SWIG_As_int(obj1
);
13549 if (PyErr_Occurred()) SWIG_fail
;
13552 arg3
= (int)SWIG_As_int(obj2
);
13553 if (PyErr_Occurred()) SWIG_fail
;
13556 arg4
= (int)SWIG_As_int(obj3
);
13557 if (PyErr_Occurred()) SWIG_fail
;
13560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13561 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13563 wxPyEndAllowThreads(__tstate
);
13564 if (PyErr_Occurred()) SWIG_fail
;
13566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13573 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13574 PyObject
*resultobj
;
13575 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13577 PyObject
* obj0
= 0 ;
13578 char *kwnames
[] = {
13579 (char *) "self", NULL
13582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13587 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13589 wxPyEndAllowThreads(__tstate
);
13590 if (PyErr_Occurred()) SWIG_fail
;
13592 resultobj
= SWIG_From_int((int)result
);
13599 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13600 PyObject
*resultobj
;
13601 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13603 PyObject
* obj0
= 0 ;
13604 char *kwnames
[] = {
13605 (char *) "self", NULL
13608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13613 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13615 wxPyEndAllowThreads(__tstate
);
13616 if (PyErr_Occurred()) SWIG_fail
;
13618 resultobj
= SWIG_From_int((int)result
);
13625 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13626 PyObject
*resultobj
;
13627 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13629 PyObject
* obj0
= 0 ;
13630 PyObject
* obj1
= 0 ;
13631 char *kwnames
[] = {
13632 (char *) "self",(char *) "orient", NULL
13635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13638 arg2
= (int)SWIG_As_int(obj1
);
13639 if (PyErr_Occurred()) SWIG_fail
;
13641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13642 (arg1
)->SetOrientation(arg2
);
13644 wxPyEndAllowThreads(__tstate
);
13645 if (PyErr_Occurred()) SWIG_fail
;
13647 Py_INCREF(Py_None
); resultobj
= Py_None
;
13654 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13655 PyObject
*resultobj
;
13656 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13658 PyObject
* obj0
= 0 ;
13659 PyObject
* obj1
= 0 ;
13660 char *kwnames
[] = {
13661 (char *) "self",(char *) "pos", NULL
13664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13667 arg2
= (int)SWIG_As_int(obj1
);
13668 if (PyErr_Occurred()) SWIG_fail
;
13670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13671 (arg1
)->SetPosition(arg2
);
13673 wxPyEndAllowThreads(__tstate
);
13674 if (PyErr_Occurred()) SWIG_fail
;
13676 Py_INCREF(Py_None
); resultobj
= Py_None
;
13683 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
13685 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13686 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13688 return Py_BuildValue((char *)"");
13690 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13691 PyObject
*resultobj
;
13692 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13693 int arg2
= (int) 0 ;
13694 int arg3
= (int) 0 ;
13695 wxScrollWinEvent
*result
;
13696 PyObject
* obj0
= 0 ;
13697 PyObject
* obj1
= 0 ;
13698 PyObject
* obj2
= 0 ;
13699 char *kwnames
[] = {
13700 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13705 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13706 if (PyErr_Occurred()) SWIG_fail
;
13709 arg2
= (int)SWIG_As_int(obj1
);
13710 if (PyErr_Occurred()) SWIG_fail
;
13713 arg3
= (int)SWIG_As_int(obj2
);
13714 if (PyErr_Occurred()) SWIG_fail
;
13717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13718 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13720 wxPyEndAllowThreads(__tstate
);
13721 if (PyErr_Occurred()) SWIG_fail
;
13723 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13730 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13731 PyObject
*resultobj
;
13732 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13734 PyObject
* obj0
= 0 ;
13735 char *kwnames
[] = {
13736 (char *) "self", NULL
13739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13744 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13746 wxPyEndAllowThreads(__tstate
);
13747 if (PyErr_Occurred()) SWIG_fail
;
13749 resultobj
= SWIG_From_int((int)result
);
13756 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13757 PyObject
*resultobj
;
13758 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13760 PyObject
* obj0
= 0 ;
13761 char *kwnames
[] = {
13762 (char *) "self", NULL
13765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13770 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13772 wxPyEndAllowThreads(__tstate
);
13773 if (PyErr_Occurred()) SWIG_fail
;
13775 resultobj
= SWIG_From_int((int)result
);
13782 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13783 PyObject
*resultobj
;
13784 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13786 PyObject
* obj0
= 0 ;
13787 PyObject
* obj1
= 0 ;
13788 char *kwnames
[] = {
13789 (char *) "self",(char *) "orient", NULL
13792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13795 arg2
= (int)SWIG_As_int(obj1
);
13796 if (PyErr_Occurred()) SWIG_fail
;
13798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13799 (arg1
)->SetOrientation(arg2
);
13801 wxPyEndAllowThreads(__tstate
);
13802 if (PyErr_Occurred()) SWIG_fail
;
13804 Py_INCREF(Py_None
); resultobj
= Py_None
;
13811 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13812 PyObject
*resultobj
;
13813 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13815 PyObject
* obj0
= 0 ;
13816 PyObject
* obj1
= 0 ;
13817 char *kwnames
[] = {
13818 (char *) "self",(char *) "pos", NULL
13821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13824 arg2
= (int)SWIG_As_int(obj1
);
13825 if (PyErr_Occurred()) SWIG_fail
;
13827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13828 (arg1
)->SetPosition(arg2
);
13830 wxPyEndAllowThreads(__tstate
);
13831 if (PyErr_Occurred()) SWIG_fail
;
13833 Py_INCREF(Py_None
); resultobj
= Py_None
;
13840 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
13842 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13843 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13845 return Py_BuildValue((char *)"");
13847 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13848 PyObject
*resultobj
;
13849 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13850 wxMouseEvent
*result
;
13851 PyObject
* obj0
= 0 ;
13852 char *kwnames
[] = {
13853 (char *) "mouseType", NULL
13856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13858 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13859 if (PyErr_Occurred()) SWIG_fail
;
13862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13863 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13865 wxPyEndAllowThreads(__tstate
);
13866 if (PyErr_Occurred()) SWIG_fail
;
13869 resultobj
= wxPyMake_wxObject(result
, 1);
13877 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13878 PyObject
*resultobj
;
13879 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13881 PyObject
* obj0
= 0 ;
13882 char *kwnames
[] = {
13883 (char *) "self", NULL
13886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13891 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13893 wxPyEndAllowThreads(__tstate
);
13894 if (PyErr_Occurred()) SWIG_fail
;
13897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13905 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13906 PyObject
*resultobj
;
13907 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13908 int arg2
= (int) wxMOUSE_BTN_ANY
;
13910 PyObject
* obj0
= 0 ;
13911 PyObject
* obj1
= 0 ;
13912 char *kwnames
[] = {
13913 (char *) "self",(char *) "but", NULL
13916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13920 arg2
= (int)SWIG_As_int(obj1
);
13921 if (PyErr_Occurred()) SWIG_fail
;
13924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13925 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
13927 wxPyEndAllowThreads(__tstate
);
13928 if (PyErr_Occurred()) SWIG_fail
;
13931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13939 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13940 PyObject
*resultobj
;
13941 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13942 int arg2
= (int) wxMOUSE_BTN_ANY
;
13944 PyObject
* obj0
= 0 ;
13945 PyObject
* obj1
= 0 ;
13946 char *kwnames
[] = {
13947 (char *) "self",(char *) "but", NULL
13950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
13951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13954 arg2
= (int)SWIG_As_int(obj1
);
13955 if (PyErr_Occurred()) SWIG_fail
;
13958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13959 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
13961 wxPyEndAllowThreads(__tstate
);
13962 if (PyErr_Occurred()) SWIG_fail
;
13965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13973 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13974 PyObject
*resultobj
;
13975 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13976 int arg2
= (int) wxMOUSE_BTN_ANY
;
13978 PyObject
* obj0
= 0 ;
13979 PyObject
* obj1
= 0 ;
13980 char *kwnames
[] = {
13981 (char *) "self",(char *) "but", NULL
13984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13988 arg2
= (int)SWIG_As_int(obj1
);
13989 if (PyErr_Occurred()) SWIG_fail
;
13992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13993 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
13995 wxPyEndAllowThreads(__tstate
);
13996 if (PyErr_Occurred()) SWIG_fail
;
13999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14007 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14008 PyObject
*resultobj
;
14009 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14012 PyObject
* obj0
= 0 ;
14013 PyObject
* obj1
= 0 ;
14014 char *kwnames
[] = {
14015 (char *) "self",(char *) "but", NULL
14018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
14019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14021 arg2
= (int)SWIG_As_int(obj1
);
14022 if (PyErr_Occurred()) SWIG_fail
;
14024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14025 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
14027 wxPyEndAllowThreads(__tstate
);
14028 if (PyErr_Occurred()) SWIG_fail
;
14031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14039 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14040 PyObject
*resultobj
;
14041 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14044 PyObject
* obj0
= 0 ;
14045 PyObject
* obj1
= 0 ;
14046 char *kwnames
[] = {
14047 (char *) "self",(char *) "but", NULL
14050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
14051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14053 arg2
= (int)SWIG_As_int(obj1
);
14054 if (PyErr_Occurred()) SWIG_fail
;
14056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14057 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
14059 wxPyEndAllowThreads(__tstate
);
14060 if (PyErr_Occurred()) SWIG_fail
;
14063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14071 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14072 PyObject
*resultobj
;
14073 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14075 PyObject
* obj0
= 0 ;
14076 char *kwnames
[] = {
14077 (char *) "self", NULL
14080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
14081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14085 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
14087 wxPyEndAllowThreads(__tstate
);
14088 if (PyErr_Occurred()) SWIG_fail
;
14090 resultobj
= SWIG_From_int((int)result
);
14097 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14098 PyObject
*resultobj
;
14099 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14101 PyObject
* obj0
= 0 ;
14102 char *kwnames
[] = {
14103 (char *) "self", NULL
14106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
14107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14111 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
14113 wxPyEndAllowThreads(__tstate
);
14114 if (PyErr_Occurred()) SWIG_fail
;
14117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14125 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14126 PyObject
*resultobj
;
14127 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14129 PyObject
* obj0
= 0 ;
14130 char *kwnames
[] = {
14131 (char *) "self", NULL
14134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
14135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14139 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
14141 wxPyEndAllowThreads(__tstate
);
14142 if (PyErr_Occurred()) SWIG_fail
;
14145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14153 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14154 PyObject
*resultobj
;
14155 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14157 PyObject
* obj0
= 0 ;
14158 char *kwnames
[] = {
14159 (char *) "self", NULL
14162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
14163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14167 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
14169 wxPyEndAllowThreads(__tstate
);
14170 if (PyErr_Occurred()) SWIG_fail
;
14173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14181 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14182 PyObject
*resultobj
;
14183 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14185 PyObject
* obj0
= 0 ;
14186 char *kwnames
[] = {
14187 (char *) "self", NULL
14190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
14191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14195 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
14197 wxPyEndAllowThreads(__tstate
);
14198 if (PyErr_Occurred()) SWIG_fail
;
14201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14209 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14210 PyObject
*resultobj
;
14211 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14213 PyObject
* obj0
= 0 ;
14214 char *kwnames
[] = {
14215 (char *) "self", NULL
14218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
14219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14223 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
14225 wxPyEndAllowThreads(__tstate
);
14226 if (PyErr_Occurred()) SWIG_fail
;
14229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14237 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14238 PyObject
*resultobj
;
14239 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14241 PyObject
* obj0
= 0 ;
14242 char *kwnames
[] = {
14243 (char *) "self", NULL
14246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
14247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14251 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
14253 wxPyEndAllowThreads(__tstate
);
14254 if (PyErr_Occurred()) SWIG_fail
;
14257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14265 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14266 PyObject
*resultobj
;
14267 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14269 PyObject
* obj0
= 0 ;
14270 char *kwnames
[] = {
14271 (char *) "self", NULL
14274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
14275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14279 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
14281 wxPyEndAllowThreads(__tstate
);
14282 if (PyErr_Occurred()) SWIG_fail
;
14285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14293 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14294 PyObject
*resultobj
;
14295 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14297 PyObject
* obj0
= 0 ;
14298 char *kwnames
[] = {
14299 (char *) "self", NULL
14302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
14303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14307 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
14309 wxPyEndAllowThreads(__tstate
);
14310 if (PyErr_Occurred()) SWIG_fail
;
14313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14321 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14322 PyObject
*resultobj
;
14323 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14325 PyObject
* obj0
= 0 ;
14326 char *kwnames
[] = {
14327 (char *) "self", NULL
14330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
14331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14335 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
14337 wxPyEndAllowThreads(__tstate
);
14338 if (PyErr_Occurred()) SWIG_fail
;
14341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14349 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14350 PyObject
*resultobj
;
14351 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14353 PyObject
* obj0
= 0 ;
14354 char *kwnames
[] = {
14355 (char *) "self", NULL
14358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
14359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14363 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
14365 wxPyEndAllowThreads(__tstate
);
14366 if (PyErr_Occurred()) SWIG_fail
;
14369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14377 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14378 PyObject
*resultobj
;
14379 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14381 PyObject
* obj0
= 0 ;
14382 char *kwnames
[] = {
14383 (char *) "self", NULL
14386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
14387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14391 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
14393 wxPyEndAllowThreads(__tstate
);
14394 if (PyErr_Occurred()) SWIG_fail
;
14397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14405 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14406 PyObject
*resultobj
;
14407 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14409 PyObject
* obj0
= 0 ;
14410 char *kwnames
[] = {
14411 (char *) "self", NULL
14414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
14415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14419 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
14421 wxPyEndAllowThreads(__tstate
);
14422 if (PyErr_Occurred()) SWIG_fail
;
14425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14433 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14434 PyObject
*resultobj
;
14435 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14437 PyObject
* obj0
= 0 ;
14438 char *kwnames
[] = {
14439 (char *) "self", NULL
14442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
14443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14447 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
14449 wxPyEndAllowThreads(__tstate
);
14450 if (PyErr_Occurred()) SWIG_fail
;
14453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14461 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14462 PyObject
*resultobj
;
14463 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14465 PyObject
* obj0
= 0 ;
14466 char *kwnames
[] = {
14467 (char *) "self", NULL
14470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
14471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14475 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
14477 wxPyEndAllowThreads(__tstate
);
14478 if (PyErr_Occurred()) SWIG_fail
;
14481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14489 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14490 PyObject
*resultobj
;
14491 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14493 PyObject
* obj0
= 0 ;
14494 char *kwnames
[] = {
14495 (char *) "self", NULL
14498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14503 result
= (bool)(arg1
)->LeftIsDown();
14505 wxPyEndAllowThreads(__tstate
);
14506 if (PyErr_Occurred()) SWIG_fail
;
14509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14517 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14518 PyObject
*resultobj
;
14519 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14521 PyObject
* obj0
= 0 ;
14522 char *kwnames
[] = {
14523 (char *) "self", NULL
14526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14531 result
= (bool)(arg1
)->MiddleIsDown();
14533 wxPyEndAllowThreads(__tstate
);
14534 if (PyErr_Occurred()) SWIG_fail
;
14537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14545 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14546 PyObject
*resultobj
;
14547 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14549 PyObject
* obj0
= 0 ;
14550 char *kwnames
[] = {
14551 (char *) "self", NULL
14554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14559 result
= (bool)(arg1
)->RightIsDown();
14561 wxPyEndAllowThreads(__tstate
);
14562 if (PyErr_Occurred()) SWIG_fail
;
14565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14573 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14574 PyObject
*resultobj
;
14575 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14577 PyObject
* obj0
= 0 ;
14578 char *kwnames
[] = {
14579 (char *) "self", NULL
14582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14587 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14589 wxPyEndAllowThreads(__tstate
);
14590 if (PyErr_Occurred()) SWIG_fail
;
14593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14601 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14602 PyObject
*resultobj
;
14603 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14605 PyObject
* obj0
= 0 ;
14606 char *kwnames
[] = {
14607 (char *) "self", NULL
14610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14615 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14617 wxPyEndAllowThreads(__tstate
);
14618 if (PyErr_Occurred()) SWIG_fail
;
14621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14629 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14630 PyObject
*resultobj
;
14631 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14633 PyObject
* obj0
= 0 ;
14634 char *kwnames
[] = {
14635 (char *) "self", NULL
14638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14643 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14645 wxPyEndAllowThreads(__tstate
);
14646 if (PyErr_Occurred()) SWIG_fail
;
14649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14657 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14658 PyObject
*resultobj
;
14659 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14661 PyObject
* obj0
= 0 ;
14662 char *kwnames
[] = {
14663 (char *) "self", NULL
14666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14671 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14673 wxPyEndAllowThreads(__tstate
);
14674 if (PyErr_Occurred()) SWIG_fail
;
14677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14685 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14686 PyObject
*resultobj
;
14687 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14689 PyObject
* obj0
= 0 ;
14690 char *kwnames
[] = {
14691 (char *) "self", NULL
14694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14699 result
= (arg1
)->GetPosition();
14701 wxPyEndAllowThreads(__tstate
);
14702 if (PyErr_Occurred()) SWIG_fail
;
14705 wxPoint
* resultptr
;
14706 resultptr
= new wxPoint((wxPoint
&) result
);
14707 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14715 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14716 PyObject
*resultobj
;
14717 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14718 long *arg2
= (long *) 0 ;
14719 long *arg3
= (long *) 0 ;
14724 PyObject
* obj0
= 0 ;
14725 char *kwnames
[] = {
14726 (char *) "self", NULL
14729 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14730 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14736 (arg1
)->GetPosition(arg2
,arg3
);
14738 wxPyEndAllowThreads(__tstate
);
14739 if (PyErr_Occurred()) SWIG_fail
;
14741 Py_INCREF(Py_None
); resultobj
= Py_None
;
14742 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14743 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
14744 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14745 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
14752 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14753 PyObject
*resultobj
;
14754 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14757 PyObject
* obj0
= 0 ;
14758 PyObject
* obj1
= 0 ;
14759 char *kwnames
[] = {
14760 (char *) "self",(char *) "dc", NULL
14763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14766 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14767 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14769 if (arg2
== NULL
) {
14770 PyErr_SetString(PyExc_TypeError
,"null reference");
14774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14775 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14777 wxPyEndAllowThreads(__tstate
);
14778 if (PyErr_Occurred()) SWIG_fail
;
14781 wxPoint
* resultptr
;
14782 resultptr
= new wxPoint((wxPoint
&) result
);
14783 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14791 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14792 PyObject
*resultobj
;
14793 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14795 PyObject
* obj0
= 0 ;
14796 char *kwnames
[] = {
14797 (char *) "self", NULL
14800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
14801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14805 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
14807 wxPyEndAllowThreads(__tstate
);
14808 if (PyErr_Occurred()) SWIG_fail
;
14810 resultobj
= SWIG_From_int((int)result
);
14817 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14818 PyObject
*resultobj
;
14819 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14821 PyObject
* obj0
= 0 ;
14822 char *kwnames
[] = {
14823 (char *) "self", NULL
14826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
14827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14831 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
14833 wxPyEndAllowThreads(__tstate
);
14834 if (PyErr_Occurred()) SWIG_fail
;
14836 resultobj
= SWIG_From_int((int)result
);
14843 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14844 PyObject
*resultobj
;
14845 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14847 PyObject
* obj0
= 0 ;
14848 char *kwnames
[] = {
14849 (char *) "self", NULL
14852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
14853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14857 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
14859 wxPyEndAllowThreads(__tstate
);
14860 if (PyErr_Occurred()) SWIG_fail
;
14862 resultobj
= SWIG_From_int((int)result
);
14869 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14870 PyObject
*resultobj
;
14871 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14873 PyObject
* obj0
= 0 ;
14874 char *kwnames
[] = {
14875 (char *) "self", NULL
14878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
14879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14883 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
14885 wxPyEndAllowThreads(__tstate
);
14886 if (PyErr_Occurred()) SWIG_fail
;
14888 resultobj
= SWIG_From_int((int)result
);
14895 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14896 PyObject
*resultobj
;
14897 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14899 PyObject
* obj0
= 0 ;
14900 char *kwnames
[] = {
14901 (char *) "self", NULL
14904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14909 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14911 wxPyEndAllowThreads(__tstate
);
14912 if (PyErr_Occurred()) SWIG_fail
;
14914 resultobj
= SWIG_From_int((int)result
);
14921 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14922 PyObject
*resultobj
;
14923 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14925 PyObject
* obj0
= 0 ;
14926 char *kwnames
[] = {
14927 (char *) "self", NULL
14930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14935 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14937 wxPyEndAllowThreads(__tstate
);
14938 if (PyErr_Occurred()) SWIG_fail
;
14941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14949 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14950 PyObject
*resultobj
;
14951 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14953 PyObject
* obj0
= 0 ;
14954 PyObject
* obj1
= 0 ;
14955 char *kwnames
[] = {
14956 (char *) "self",(char *) "m_x", NULL
14959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14962 arg2
= (int)SWIG_As_int(obj1
);
14963 if (PyErr_Occurred()) SWIG_fail
;
14964 if (arg1
) (arg1
)->m_x
= arg2
;
14966 Py_INCREF(Py_None
); resultobj
= Py_None
;
14973 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14974 PyObject
*resultobj
;
14975 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14977 PyObject
* obj0
= 0 ;
14978 char *kwnames
[] = {
14979 (char *) "self", NULL
14982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14985 result
= (int) ((arg1
)->m_x
);
14987 resultobj
= SWIG_From_int((int)result
);
14994 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14995 PyObject
*resultobj
;
14996 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14998 PyObject
* obj0
= 0 ;
14999 PyObject
* obj1
= 0 ;
15000 char *kwnames
[] = {
15001 (char *) "self",(char *) "m_y", NULL
15004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15007 arg2
= (int)SWIG_As_int(obj1
);
15008 if (PyErr_Occurred()) SWIG_fail
;
15009 if (arg1
) (arg1
)->m_y
= arg2
;
15011 Py_INCREF(Py_None
); resultobj
= Py_None
;
15018 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15019 PyObject
*resultobj
;
15020 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15022 PyObject
* obj0
= 0 ;
15023 char *kwnames
[] = {
15024 (char *) "self", NULL
15027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15030 result
= (int) ((arg1
)->m_y
);
15032 resultobj
= SWIG_From_int((int)result
);
15039 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15040 PyObject
*resultobj
;
15041 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15043 PyObject
* obj0
= 0 ;
15044 PyObject
* obj1
= 0 ;
15045 char *kwnames
[] = {
15046 (char *) "self",(char *) "m_leftDown", NULL
15049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15052 arg2
= (bool)SWIG_As_bool(obj1
);
15053 if (PyErr_Occurred()) SWIG_fail
;
15054 if (arg1
) (arg1
)->m_leftDown
= arg2
;
15056 Py_INCREF(Py_None
); resultobj
= Py_None
;
15063 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15064 PyObject
*resultobj
;
15065 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15067 PyObject
* obj0
= 0 ;
15068 char *kwnames
[] = {
15069 (char *) "self", NULL
15072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
15073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15075 result
= (bool) ((arg1
)->m_leftDown
);
15078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15086 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15087 PyObject
*resultobj
;
15088 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15090 PyObject
* obj0
= 0 ;
15091 PyObject
* obj1
= 0 ;
15092 char *kwnames
[] = {
15093 (char *) "self",(char *) "m_middleDown", NULL
15096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15099 arg2
= (bool)SWIG_As_bool(obj1
);
15100 if (PyErr_Occurred()) SWIG_fail
;
15101 if (arg1
) (arg1
)->m_middleDown
= arg2
;
15103 Py_INCREF(Py_None
); resultobj
= Py_None
;
15110 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15111 PyObject
*resultobj
;
15112 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15114 PyObject
* obj0
= 0 ;
15115 char *kwnames
[] = {
15116 (char *) "self", NULL
15119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
15120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15122 result
= (bool) ((arg1
)->m_middleDown
);
15125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15133 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15134 PyObject
*resultobj
;
15135 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15137 PyObject
* obj0
= 0 ;
15138 PyObject
* obj1
= 0 ;
15139 char *kwnames
[] = {
15140 (char *) "self",(char *) "m_rightDown", NULL
15143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15146 arg2
= (bool)SWIG_As_bool(obj1
);
15147 if (PyErr_Occurred()) SWIG_fail
;
15148 if (arg1
) (arg1
)->m_rightDown
= arg2
;
15150 Py_INCREF(Py_None
); resultobj
= Py_None
;
15157 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15158 PyObject
*resultobj
;
15159 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15161 PyObject
* obj0
= 0 ;
15162 char *kwnames
[] = {
15163 (char *) "self", NULL
15166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
15167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15169 result
= (bool) ((arg1
)->m_rightDown
);
15172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15180 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15181 PyObject
*resultobj
;
15182 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15184 PyObject
* obj0
= 0 ;
15185 PyObject
* obj1
= 0 ;
15186 char *kwnames
[] = {
15187 (char *) "self",(char *) "m_controlDown", NULL
15190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15193 arg2
= (bool)SWIG_As_bool(obj1
);
15194 if (PyErr_Occurred()) SWIG_fail
;
15195 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15197 Py_INCREF(Py_None
); resultobj
= Py_None
;
15204 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15205 PyObject
*resultobj
;
15206 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15208 PyObject
* obj0
= 0 ;
15209 char *kwnames
[] = {
15210 (char *) "self", NULL
15213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15216 result
= (bool) ((arg1
)->m_controlDown
);
15219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15227 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15228 PyObject
*resultobj
;
15229 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15231 PyObject
* obj0
= 0 ;
15232 PyObject
* obj1
= 0 ;
15233 char *kwnames
[] = {
15234 (char *) "self",(char *) "m_shiftDown", NULL
15237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15240 arg2
= (bool)SWIG_As_bool(obj1
);
15241 if (PyErr_Occurred()) SWIG_fail
;
15242 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15244 Py_INCREF(Py_None
); resultobj
= Py_None
;
15251 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15252 PyObject
*resultobj
;
15253 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15255 PyObject
* obj0
= 0 ;
15256 char *kwnames
[] = {
15257 (char *) "self", NULL
15260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
15261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15263 result
= (bool) ((arg1
)->m_shiftDown
);
15266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15274 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15275 PyObject
*resultobj
;
15276 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15278 PyObject
* obj0
= 0 ;
15279 PyObject
* obj1
= 0 ;
15280 char *kwnames
[] = {
15281 (char *) "self",(char *) "m_altDown", NULL
15284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15287 arg2
= (bool)SWIG_As_bool(obj1
);
15288 if (PyErr_Occurred()) SWIG_fail
;
15289 if (arg1
) (arg1
)->m_altDown
= arg2
;
15291 Py_INCREF(Py_None
); resultobj
= Py_None
;
15298 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15299 PyObject
*resultobj
;
15300 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15302 PyObject
* obj0
= 0 ;
15303 char *kwnames
[] = {
15304 (char *) "self", NULL
15307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15310 result
= (bool) ((arg1
)->m_altDown
);
15313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15321 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15322 PyObject
*resultobj
;
15323 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15325 PyObject
* obj0
= 0 ;
15326 PyObject
* obj1
= 0 ;
15327 char *kwnames
[] = {
15328 (char *) "self",(char *) "m_metaDown", NULL
15331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15334 arg2
= (bool)SWIG_As_bool(obj1
);
15335 if (PyErr_Occurred()) SWIG_fail
;
15336 if (arg1
) (arg1
)->m_metaDown
= arg2
;
15338 Py_INCREF(Py_None
); resultobj
= Py_None
;
15345 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15346 PyObject
*resultobj
;
15347 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15349 PyObject
* obj0
= 0 ;
15350 char *kwnames
[] = {
15351 (char *) "self", NULL
15354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
15355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15357 result
= (bool) ((arg1
)->m_metaDown
);
15360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15368 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15369 PyObject
*resultobj
;
15370 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15372 PyObject
* obj0
= 0 ;
15373 PyObject
* obj1
= 0 ;
15374 char *kwnames
[] = {
15375 (char *) "self",(char *) "m_wheelRotation", NULL
15378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15381 arg2
= (int)SWIG_As_int(obj1
);
15382 if (PyErr_Occurred()) SWIG_fail
;
15383 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
15385 Py_INCREF(Py_None
); resultobj
= Py_None
;
15392 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15393 PyObject
*resultobj
;
15394 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15396 PyObject
* obj0
= 0 ;
15397 char *kwnames
[] = {
15398 (char *) "self", NULL
15401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
15402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15404 result
= (int) ((arg1
)->m_wheelRotation
);
15406 resultobj
= SWIG_From_int((int)result
);
15413 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15414 PyObject
*resultobj
;
15415 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15417 PyObject
* obj0
= 0 ;
15418 PyObject
* obj1
= 0 ;
15419 char *kwnames
[] = {
15420 (char *) "self",(char *) "m_wheelDelta", NULL
15423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15426 arg2
= (int)SWIG_As_int(obj1
);
15427 if (PyErr_Occurred()) SWIG_fail
;
15428 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
15430 Py_INCREF(Py_None
); resultobj
= Py_None
;
15437 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15438 PyObject
*resultobj
;
15439 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15441 PyObject
* obj0
= 0 ;
15442 char *kwnames
[] = {
15443 (char *) "self", NULL
15446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
15447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15449 result
= (int) ((arg1
)->m_wheelDelta
);
15451 resultobj
= SWIG_From_int((int)result
);
15458 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15459 PyObject
*resultobj
;
15460 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15462 PyObject
* obj0
= 0 ;
15463 PyObject
* obj1
= 0 ;
15464 char *kwnames
[] = {
15465 (char *) "self",(char *) "m_linesPerAction", NULL
15468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15471 arg2
= (int)SWIG_As_int(obj1
);
15472 if (PyErr_Occurred()) SWIG_fail
;
15473 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
15475 Py_INCREF(Py_None
); resultobj
= Py_None
;
15482 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15483 PyObject
*resultobj
;
15484 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15486 PyObject
* obj0
= 0 ;
15487 char *kwnames
[] = {
15488 (char *) "self", NULL
15491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15494 result
= (int) ((arg1
)->m_linesPerAction
);
15496 resultobj
= SWIG_From_int((int)result
);
15503 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
15505 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15506 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15508 return Py_BuildValue((char *)"");
15510 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15511 PyObject
*resultobj
;
15512 int arg1
= (int) 0 ;
15513 int arg2
= (int) 0 ;
15514 wxSetCursorEvent
*result
;
15515 PyObject
* obj0
= 0 ;
15516 PyObject
* obj1
= 0 ;
15517 char *kwnames
[] = {
15518 (char *) "x",(char *) "y", NULL
15521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15523 arg1
= (int)SWIG_As_int(obj0
);
15524 if (PyErr_Occurred()) SWIG_fail
;
15527 arg2
= (int)SWIG_As_int(obj1
);
15528 if (PyErr_Occurred()) SWIG_fail
;
15531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15532 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15534 wxPyEndAllowThreads(__tstate
);
15535 if (PyErr_Occurred()) SWIG_fail
;
15537 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15544 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15545 PyObject
*resultobj
;
15546 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15548 PyObject
* obj0
= 0 ;
15549 char *kwnames
[] = {
15550 (char *) "self", NULL
15553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15558 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15560 wxPyEndAllowThreads(__tstate
);
15561 if (PyErr_Occurred()) SWIG_fail
;
15563 resultobj
= SWIG_From_int((int)result
);
15570 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15571 PyObject
*resultobj
;
15572 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15574 PyObject
* obj0
= 0 ;
15575 char *kwnames
[] = {
15576 (char *) "self", NULL
15579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15584 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15586 wxPyEndAllowThreads(__tstate
);
15587 if (PyErr_Occurred()) SWIG_fail
;
15589 resultobj
= SWIG_From_int((int)result
);
15596 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15597 PyObject
*resultobj
;
15598 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15599 wxCursor
*arg2
= 0 ;
15600 PyObject
* obj0
= 0 ;
15601 PyObject
* obj1
= 0 ;
15602 char *kwnames
[] = {
15603 (char *) "self",(char *) "cursor", NULL
15606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15609 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15610 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15612 if (arg2
== NULL
) {
15613 PyErr_SetString(PyExc_TypeError
,"null reference");
15617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15618 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15620 wxPyEndAllowThreads(__tstate
);
15621 if (PyErr_Occurred()) SWIG_fail
;
15623 Py_INCREF(Py_None
); resultobj
= Py_None
;
15630 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15631 PyObject
*resultobj
;
15632 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15634 PyObject
* obj0
= 0 ;
15635 char *kwnames
[] = {
15636 (char *) "self", NULL
15639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15645 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15646 result
= (wxCursor
*) &_result_ref
;
15649 wxPyEndAllowThreads(__tstate
);
15650 if (PyErr_Occurred()) SWIG_fail
;
15653 wxCursor
* resultptr
= new wxCursor(*result
);
15654 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15662 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15663 PyObject
*resultobj
;
15664 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15666 PyObject
* obj0
= 0 ;
15667 char *kwnames
[] = {
15668 (char *) "self", NULL
15671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15676 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15678 wxPyEndAllowThreads(__tstate
);
15679 if (PyErr_Occurred()) SWIG_fail
;
15682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15690 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
15692 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15693 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15695 return Py_BuildValue((char *)"");
15697 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15698 PyObject
*resultobj
;
15699 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15700 wxKeyEvent
*result
;
15701 PyObject
* obj0
= 0 ;
15702 char *kwnames
[] = {
15703 (char *) "keyType", NULL
15706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15708 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15709 if (PyErr_Occurred()) SWIG_fail
;
15712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15713 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15715 wxPyEndAllowThreads(__tstate
);
15716 if (PyErr_Occurred()) SWIG_fail
;
15718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15725 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15726 PyObject
*resultobj
;
15727 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15729 PyObject
* obj0
= 0 ;
15730 char *kwnames
[] = {
15731 (char *) "self", NULL
15734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15739 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15741 wxPyEndAllowThreads(__tstate
);
15742 if (PyErr_Occurred()) SWIG_fail
;
15745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15753 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15754 PyObject
*resultobj
;
15755 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15757 PyObject
* obj0
= 0 ;
15758 char *kwnames
[] = {
15759 (char *) "self", NULL
15762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15767 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15769 wxPyEndAllowThreads(__tstate
);
15770 if (PyErr_Occurred()) SWIG_fail
;
15773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15781 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15782 PyObject
*resultobj
;
15783 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15785 PyObject
* obj0
= 0 ;
15786 char *kwnames
[] = {
15787 (char *) "self", NULL
15790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15795 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
15797 wxPyEndAllowThreads(__tstate
);
15798 if (PyErr_Occurred()) SWIG_fail
;
15801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15809 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15810 PyObject
*resultobj
;
15811 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15813 PyObject
* obj0
= 0 ;
15814 char *kwnames
[] = {
15815 (char *) "self", NULL
15818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15823 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
15825 wxPyEndAllowThreads(__tstate
);
15826 if (PyErr_Occurred()) SWIG_fail
;
15829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15837 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15838 PyObject
*resultobj
;
15839 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15841 PyObject
* obj0
= 0 ;
15842 char *kwnames
[] = {
15843 (char *) "self", NULL
15846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
15847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15851 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
15853 wxPyEndAllowThreads(__tstate
);
15854 if (PyErr_Occurred()) SWIG_fail
;
15857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15865 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15866 PyObject
*resultobj
;
15867 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15869 PyObject
* obj0
= 0 ;
15870 char *kwnames
[] = {
15871 (char *) "self", NULL
15874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
15875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15879 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
15881 wxPyEndAllowThreads(__tstate
);
15882 if (PyErr_Occurred()) SWIG_fail
;
15885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15893 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15894 PyObject
*resultobj
;
15895 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15897 PyObject
* obj0
= 0 ;
15898 char *kwnames
[] = {
15899 (char *) "self", NULL
15902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
15903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15907 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
15909 wxPyEndAllowThreads(__tstate
);
15910 if (PyErr_Occurred()) SWIG_fail
;
15912 resultobj
= SWIG_From_int((int)result
);
15919 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15920 PyObject
*resultobj
;
15921 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15923 PyObject
* obj0
= 0 ;
15924 char *kwnames
[] = {
15925 (char *) "self", NULL
15928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
15929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15933 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
15935 wxPyEndAllowThreads(__tstate
);
15936 if (PyErr_Occurred()) SWIG_fail
;
15938 resultobj
= SWIG_From_int((int)result
);
15945 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15946 PyObject
*resultobj
;
15947 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15948 unsigned int result
;
15949 PyObject
* obj0
= 0 ;
15950 char *kwnames
[] = {
15951 (char *) "self", NULL
15954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
15955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15959 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
15961 wxPyEndAllowThreads(__tstate
);
15962 if (PyErr_Occurred()) SWIG_fail
;
15964 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
15971 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15972 PyObject
*resultobj
;
15973 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15974 unsigned int result
;
15975 PyObject
* obj0
= 0 ;
15976 char *kwnames
[] = {
15977 (char *) "self", NULL
15980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
15981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15985 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
15987 wxPyEndAllowThreads(__tstate
);
15988 if (PyErr_Occurred()) SWIG_fail
;
15990 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
15997 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15998 PyObject
*resultobj
;
15999 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16001 PyObject
* obj0
= 0 ;
16002 char *kwnames
[] = {
16003 (char *) "self", NULL
16006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16011 result
= (arg1
)->GetPosition();
16013 wxPyEndAllowThreads(__tstate
);
16014 if (PyErr_Occurred()) SWIG_fail
;
16017 wxPoint
* resultptr
;
16018 resultptr
= new wxPoint((wxPoint
&) result
);
16019 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16027 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16028 PyObject
*resultobj
;
16029 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16030 long *arg2
= (long *) 0 ;
16031 long *arg3
= (long *) 0 ;
16036 PyObject
* obj0
= 0 ;
16037 char *kwnames
[] = {
16038 (char *) "self", NULL
16041 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16042 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
16044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16048 (arg1
)->GetPosition(arg2
,arg3
);
16050 wxPyEndAllowThreads(__tstate
);
16051 if (PyErr_Occurred()) SWIG_fail
;
16053 Py_INCREF(Py_None
); resultobj
= Py_None
;
16054 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16055 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
16056 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16057 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
16064 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16065 PyObject
*resultobj
;
16066 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16068 PyObject
* obj0
= 0 ;
16069 char *kwnames
[] = {
16070 (char *) "self", NULL
16073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
16074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16078 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
16080 wxPyEndAllowThreads(__tstate
);
16081 if (PyErr_Occurred()) SWIG_fail
;
16083 resultobj
= SWIG_From_int((int)result
);
16090 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16091 PyObject
*resultobj
;
16092 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16094 PyObject
* obj0
= 0 ;
16095 char *kwnames
[] = {
16096 (char *) "self", NULL
16099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
16100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16104 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
16106 wxPyEndAllowThreads(__tstate
);
16107 if (PyErr_Occurred()) SWIG_fail
;
16109 resultobj
= SWIG_From_int((int)result
);
16116 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16117 PyObject
*resultobj
;
16118 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16120 PyObject
* obj0
= 0 ;
16121 PyObject
* obj1
= 0 ;
16122 char *kwnames
[] = {
16123 (char *) "self",(char *) "m_x", NULL
16126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16129 arg2
= (int)SWIG_As_int(obj1
);
16130 if (PyErr_Occurred()) SWIG_fail
;
16131 if (arg1
) (arg1
)->m_x
= arg2
;
16133 Py_INCREF(Py_None
); resultobj
= Py_None
;
16140 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16141 PyObject
*resultobj
;
16142 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16144 PyObject
* obj0
= 0 ;
16145 char *kwnames
[] = {
16146 (char *) "self", NULL
16149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
16150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16152 result
= (int) ((arg1
)->m_x
);
16154 resultobj
= SWIG_From_int((int)result
);
16161 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16162 PyObject
*resultobj
;
16163 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16165 PyObject
* obj0
= 0 ;
16166 PyObject
* obj1
= 0 ;
16167 char *kwnames
[] = {
16168 (char *) "self",(char *) "m_y", NULL
16171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16174 arg2
= (int)SWIG_As_int(obj1
);
16175 if (PyErr_Occurred()) SWIG_fail
;
16176 if (arg1
) (arg1
)->m_y
= arg2
;
16178 Py_INCREF(Py_None
); resultobj
= Py_None
;
16185 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16186 PyObject
*resultobj
;
16187 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16189 PyObject
* obj0
= 0 ;
16190 char *kwnames
[] = {
16191 (char *) "self", NULL
16194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
16195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16197 result
= (int) ((arg1
)->m_y
);
16199 resultobj
= SWIG_From_int((int)result
);
16206 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16207 PyObject
*resultobj
;
16208 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16210 PyObject
* obj0
= 0 ;
16211 PyObject
* obj1
= 0 ;
16212 char *kwnames
[] = {
16213 (char *) "self",(char *) "m_keyCode", NULL
16216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16219 arg2
= (long)SWIG_As_long(obj1
);
16220 if (PyErr_Occurred()) SWIG_fail
;
16221 if (arg1
) (arg1
)->m_keyCode
= arg2
;
16223 Py_INCREF(Py_None
); resultobj
= Py_None
;
16230 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16231 PyObject
*resultobj
;
16232 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16234 PyObject
* obj0
= 0 ;
16235 char *kwnames
[] = {
16236 (char *) "self", NULL
16239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
16240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16242 result
= (long) ((arg1
)->m_keyCode
);
16244 resultobj
= SWIG_From_long((long)result
);
16251 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16252 PyObject
*resultobj
;
16253 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16255 PyObject
* obj0
= 0 ;
16256 PyObject
* obj1
= 0 ;
16257 char *kwnames
[] = {
16258 (char *) "self",(char *) "m_controlDown", NULL
16261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16264 arg2
= (bool)SWIG_As_bool(obj1
);
16265 if (PyErr_Occurred()) SWIG_fail
;
16266 if (arg1
) (arg1
)->m_controlDown
= arg2
;
16268 Py_INCREF(Py_None
); resultobj
= Py_None
;
16275 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16276 PyObject
*resultobj
;
16277 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16279 PyObject
* obj0
= 0 ;
16280 char *kwnames
[] = {
16281 (char *) "self", NULL
16284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
16285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16287 result
= (bool) ((arg1
)->m_controlDown
);
16290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16298 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16299 PyObject
*resultobj
;
16300 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16302 PyObject
* obj0
= 0 ;
16303 PyObject
* obj1
= 0 ;
16304 char *kwnames
[] = {
16305 (char *) "self",(char *) "m_shiftDown", NULL
16308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16311 arg2
= (bool)SWIG_As_bool(obj1
);
16312 if (PyErr_Occurred()) SWIG_fail
;
16313 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
16315 Py_INCREF(Py_None
); resultobj
= Py_None
;
16322 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16323 PyObject
*resultobj
;
16324 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16326 PyObject
* obj0
= 0 ;
16327 char *kwnames
[] = {
16328 (char *) "self", NULL
16331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
16332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16334 result
= (bool) ((arg1
)->m_shiftDown
);
16337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16345 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16346 PyObject
*resultobj
;
16347 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16349 PyObject
* obj0
= 0 ;
16350 PyObject
* obj1
= 0 ;
16351 char *kwnames
[] = {
16352 (char *) "self",(char *) "m_altDown", NULL
16355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16358 arg2
= (bool)SWIG_As_bool(obj1
);
16359 if (PyErr_Occurred()) SWIG_fail
;
16360 if (arg1
) (arg1
)->m_altDown
= arg2
;
16362 Py_INCREF(Py_None
); resultobj
= Py_None
;
16369 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16370 PyObject
*resultobj
;
16371 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16373 PyObject
* obj0
= 0 ;
16374 char *kwnames
[] = {
16375 (char *) "self", NULL
16378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
16379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16381 result
= (bool) ((arg1
)->m_altDown
);
16384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16392 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16393 PyObject
*resultobj
;
16394 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16396 PyObject
* obj0
= 0 ;
16397 PyObject
* obj1
= 0 ;
16398 char *kwnames
[] = {
16399 (char *) "self",(char *) "m_metaDown", NULL
16402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16405 arg2
= (bool)SWIG_As_bool(obj1
);
16406 if (PyErr_Occurred()) SWIG_fail
;
16407 if (arg1
) (arg1
)->m_metaDown
= arg2
;
16409 Py_INCREF(Py_None
); resultobj
= Py_None
;
16416 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16417 PyObject
*resultobj
;
16418 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16420 PyObject
* obj0
= 0 ;
16421 char *kwnames
[] = {
16422 (char *) "self", NULL
16425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
16426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16428 result
= (bool) ((arg1
)->m_metaDown
);
16431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16439 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16440 PyObject
*resultobj
;
16441 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16443 PyObject
* obj0
= 0 ;
16444 PyObject
* obj1
= 0 ;
16445 char *kwnames
[] = {
16446 (char *) "self",(char *) "m_scanCode", NULL
16449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16452 arg2
= (bool)SWIG_As_bool(obj1
);
16453 if (PyErr_Occurred()) SWIG_fail
;
16454 if (arg1
) (arg1
)->m_scanCode
= arg2
;
16456 Py_INCREF(Py_None
); resultobj
= Py_None
;
16463 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16464 PyObject
*resultobj
;
16465 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16467 PyObject
* obj0
= 0 ;
16468 char *kwnames
[] = {
16469 (char *) "self", NULL
16472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
16473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16475 result
= (bool) ((arg1
)->m_scanCode
);
16478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16486 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16487 PyObject
*resultobj
;
16488 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16489 unsigned int arg2
;
16490 PyObject
* obj0
= 0 ;
16491 PyObject
* obj1
= 0 ;
16492 char *kwnames
[] = {
16493 (char *) "self",(char *) "m_rawCode", NULL
16496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16499 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
16500 if (PyErr_Occurred()) SWIG_fail
;
16501 if (arg1
) (arg1
)->m_rawCode
= arg2
;
16503 Py_INCREF(Py_None
); resultobj
= Py_None
;
16510 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16511 PyObject
*resultobj
;
16512 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16513 unsigned int result
;
16514 PyObject
* obj0
= 0 ;
16515 char *kwnames
[] = {
16516 (char *) "self", NULL
16519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16522 result
= (unsigned int) ((arg1
)->m_rawCode
);
16524 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16531 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16532 PyObject
*resultobj
;
16533 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16534 unsigned int arg2
;
16535 PyObject
* obj0
= 0 ;
16536 PyObject
* obj1
= 0 ;
16537 char *kwnames
[] = {
16538 (char *) "self",(char *) "m_rawFlags", NULL
16541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16544 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
16545 if (PyErr_Occurred()) SWIG_fail
;
16546 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16548 Py_INCREF(Py_None
); resultobj
= Py_None
;
16555 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16556 PyObject
*resultobj
;
16557 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16558 unsigned int result
;
16559 PyObject
* obj0
= 0 ;
16560 char *kwnames
[] = {
16561 (char *) "self", NULL
16564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16567 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16569 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16576 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
16578 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16579 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16581 return Py_BuildValue((char *)"");
16583 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16584 PyObject
*resultobj
;
16585 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16586 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16587 int arg2
= (int) 0 ;
16588 wxSizeEvent
*result
;
16590 PyObject
* obj0
= 0 ;
16591 PyObject
* obj1
= 0 ;
16592 char *kwnames
[] = {
16593 (char *) "sz",(char *) "winid", NULL
16596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16600 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16604 arg2
= (int)SWIG_As_int(obj1
);
16605 if (PyErr_Occurred()) SWIG_fail
;
16608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16609 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16611 wxPyEndAllowThreads(__tstate
);
16612 if (PyErr_Occurred()) SWIG_fail
;
16614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16621 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16622 PyObject
*resultobj
;
16623 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16625 PyObject
* obj0
= 0 ;
16626 char *kwnames
[] = {
16627 (char *) "self", NULL
16630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16635 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16637 wxPyEndAllowThreads(__tstate
);
16638 if (PyErr_Occurred()) SWIG_fail
;
16641 wxSize
* resultptr
;
16642 resultptr
= new wxSize((wxSize
&) result
);
16643 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16651 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16652 PyObject
*resultobj
;
16653 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16655 PyObject
* obj0
= 0 ;
16656 char *kwnames
[] = {
16657 (char *) "self", NULL
16660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16665 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16667 wxPyEndAllowThreads(__tstate
);
16668 if (PyErr_Occurred()) SWIG_fail
;
16671 wxRect
* resultptr
;
16672 resultptr
= new wxRect((wxRect
&) result
);
16673 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16681 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16682 PyObject
*resultobj
;
16683 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16686 PyObject
* obj0
= 0 ;
16687 PyObject
* obj1
= 0 ;
16688 char *kwnames
[] = {
16689 (char *) "self",(char *) "rect", NULL
16692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16695 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16696 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16700 (arg1
)->SetRect(arg2
);
16702 wxPyEndAllowThreads(__tstate
);
16703 if (PyErr_Occurred()) SWIG_fail
;
16705 Py_INCREF(Py_None
); resultobj
= Py_None
;
16712 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16713 PyObject
*resultobj
;
16714 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16717 PyObject
* obj0
= 0 ;
16718 PyObject
* obj1
= 0 ;
16719 char *kwnames
[] = {
16720 (char *) "self",(char *) "size", NULL
16723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16726 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16727 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16731 wxSizeEvent_SetSize(arg1
,arg2
);
16733 wxPyEndAllowThreads(__tstate
);
16734 if (PyErr_Occurred()) SWIG_fail
;
16736 Py_INCREF(Py_None
); resultobj
= Py_None
;
16743 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16744 PyObject
*resultobj
;
16745 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16746 wxSize
*arg2
= (wxSize
*) 0 ;
16747 PyObject
* obj0
= 0 ;
16748 PyObject
* obj1
= 0 ;
16749 char *kwnames
[] = {
16750 (char *) "self",(char *) "m_size", NULL
16753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16756 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16758 if (arg1
) (arg1
)->m_size
= *arg2
;
16760 Py_INCREF(Py_None
); resultobj
= Py_None
;
16767 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16768 PyObject
*resultobj
;
16769 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16771 PyObject
* obj0
= 0 ;
16772 char *kwnames
[] = {
16773 (char *) "self", NULL
16776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
16777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16779 result
= (wxSize
*)& ((arg1
)->m_size
);
16781 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16788 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16789 PyObject
*resultobj
;
16790 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16791 wxRect
*arg2
= (wxRect
*) 0 ;
16792 PyObject
* obj0
= 0 ;
16793 PyObject
* obj1
= 0 ;
16794 char *kwnames
[] = {
16795 (char *) "self",(char *) "m_rect", NULL
16798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16801 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16803 if (arg1
) (arg1
)->m_rect
= *arg2
;
16805 Py_INCREF(Py_None
); resultobj
= Py_None
;
16812 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16813 PyObject
*resultobj
;
16814 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16816 PyObject
* obj0
= 0 ;
16817 char *kwnames
[] = {
16818 (char *) "self", NULL
16821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16824 result
= (wxRect
*)& ((arg1
)->m_rect
);
16826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16833 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
16835 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16836 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
16838 return Py_BuildValue((char *)"");
16840 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16841 PyObject
*resultobj
;
16842 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
16843 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
16844 int arg2
= (int) 0 ;
16845 wxMoveEvent
*result
;
16847 PyObject
* obj0
= 0 ;
16848 PyObject
* obj1
= 0 ;
16849 char *kwnames
[] = {
16850 (char *) "pos",(char *) "winid", NULL
16853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16857 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
16861 arg2
= (int)SWIG_As_int(obj1
);
16862 if (PyErr_Occurred()) SWIG_fail
;
16865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16866 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
16868 wxPyEndAllowThreads(__tstate
);
16869 if (PyErr_Occurred()) SWIG_fail
;
16871 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
16878 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16879 PyObject
*resultobj
;
16880 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16882 PyObject
* obj0
= 0 ;
16883 char *kwnames
[] = {
16884 (char *) "self", NULL
16887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16892 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
16894 wxPyEndAllowThreads(__tstate
);
16895 if (PyErr_Occurred()) SWIG_fail
;
16898 wxPoint
* resultptr
;
16899 resultptr
= new wxPoint((wxPoint
&) result
);
16900 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16908 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16909 PyObject
*resultobj
;
16910 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16912 PyObject
* obj0
= 0 ;
16913 char *kwnames
[] = {
16914 (char *) "self", NULL
16917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16922 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
16924 wxPyEndAllowThreads(__tstate
);
16925 if (PyErr_Occurred()) SWIG_fail
;
16928 wxRect
* resultptr
;
16929 resultptr
= new wxRect((wxRect
&) result
);
16930 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16938 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16939 PyObject
*resultobj
;
16940 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16943 PyObject
* obj0
= 0 ;
16944 PyObject
* obj1
= 0 ;
16945 char *kwnames
[] = {
16946 (char *) "self",(char *) "rect", NULL
16949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16952 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16953 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16957 (arg1
)->SetRect(arg2
);
16959 wxPyEndAllowThreads(__tstate
);
16960 if (PyErr_Occurred()) SWIG_fail
;
16962 Py_INCREF(Py_None
); resultobj
= Py_None
;
16969 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16970 PyObject
*resultobj
;
16971 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16974 PyObject
* obj0
= 0 ;
16975 PyObject
* obj1
= 0 ;
16976 char *kwnames
[] = {
16977 (char *) "self",(char *) "pos", NULL
16980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16983 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
16984 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16988 wxMoveEvent_SetPosition(arg1
,arg2
);
16990 wxPyEndAllowThreads(__tstate
);
16991 if (PyErr_Occurred()) SWIG_fail
;
16993 Py_INCREF(Py_None
); resultobj
= Py_None
;
17000 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17001 PyObject
*resultobj
;
17002 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17003 wxPoint
*arg2
= (wxPoint
*) 0 ;
17004 PyObject
* obj0
= 0 ;
17005 PyObject
* obj1
= 0 ;
17006 char *kwnames
[] = {
17007 (char *) "self",(char *) "m_pos", NULL
17010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17013 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
17014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17015 if (arg1
) (arg1
)->m_pos
= *arg2
;
17017 Py_INCREF(Py_None
); resultobj
= Py_None
;
17024 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17025 PyObject
*resultobj
;
17026 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17028 PyObject
* obj0
= 0 ;
17029 char *kwnames
[] = {
17030 (char *) "self", NULL
17033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
17034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17036 result
= (wxPoint
*)& ((arg1
)->m_pos
);
17038 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
17045 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17046 PyObject
*resultobj
;
17047 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17048 wxRect
*arg2
= (wxRect
*) 0 ;
17049 PyObject
* obj0
= 0 ;
17050 PyObject
* obj1
= 0 ;
17051 char *kwnames
[] = {
17052 (char *) "self",(char *) "m_rect", NULL
17055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17058 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
17059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17060 if (arg1
) (arg1
)->m_rect
= *arg2
;
17062 Py_INCREF(Py_None
); resultobj
= Py_None
;
17069 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17070 PyObject
*resultobj
;
17071 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17073 PyObject
* obj0
= 0 ;
17074 char *kwnames
[] = {
17075 (char *) "self", NULL
17078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
17079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17081 result
= (wxRect
*)& ((arg1
)->m_rect
);
17083 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
17090 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
17092 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17093 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
17095 return Py_BuildValue((char *)"");
17097 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17098 PyObject
*resultobj
;
17099 int arg1
= (int) 0 ;
17100 wxPaintEvent
*result
;
17101 PyObject
* obj0
= 0 ;
17102 char *kwnames
[] = {
17103 (char *) "Id", NULL
17106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
17108 arg1
= (int)SWIG_As_int(obj0
);
17109 if (PyErr_Occurred()) SWIG_fail
;
17112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17113 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
17115 wxPyEndAllowThreads(__tstate
);
17116 if (PyErr_Occurred()) SWIG_fail
;
17118 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
17125 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
17127 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17128 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
17130 return Py_BuildValue((char *)"");
17132 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17133 PyObject
*resultobj
;
17134 int arg1
= (int) 0 ;
17135 wxNcPaintEvent
*result
;
17136 PyObject
* obj0
= 0 ;
17137 char *kwnames
[] = {
17138 (char *) "winid", NULL
17141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
17143 arg1
= (int)SWIG_As_int(obj0
);
17144 if (PyErr_Occurred()) SWIG_fail
;
17147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17148 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
17150 wxPyEndAllowThreads(__tstate
);
17151 if (PyErr_Occurred()) SWIG_fail
;
17153 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
17160 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
17162 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17163 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
17165 return Py_BuildValue((char *)"");
17167 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17168 PyObject
*resultobj
;
17169 int arg1
= (int) 0 ;
17170 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
17171 wxEraseEvent
*result
;
17172 PyObject
* obj0
= 0 ;
17173 PyObject
* obj1
= 0 ;
17174 char *kwnames
[] = {
17175 (char *) "Id",(char *) "dc", NULL
17178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17180 arg1
= (int)SWIG_As_int(obj0
);
17181 if (PyErr_Occurred()) SWIG_fail
;
17184 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17189 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
17191 wxPyEndAllowThreads(__tstate
);
17192 if (PyErr_Occurred()) SWIG_fail
;
17194 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
17201 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17202 PyObject
*resultobj
;
17203 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
17205 PyObject
* obj0
= 0 ;
17206 char *kwnames
[] = {
17207 (char *) "self", NULL
17210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
17211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
17212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17215 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
17217 wxPyEndAllowThreads(__tstate
);
17218 if (PyErr_Occurred()) SWIG_fail
;
17221 resultobj
= wxPyMake_wxObject(result
, 0);
17229 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
17231 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17232 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
17234 return Py_BuildValue((char *)"");
17236 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17237 PyObject
*resultobj
;
17238 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17239 int arg2
= (int) 0 ;
17240 wxFocusEvent
*result
;
17241 PyObject
* obj0
= 0 ;
17242 PyObject
* obj1
= 0 ;
17243 char *kwnames
[] = {
17244 (char *) "type",(char *) "winid", NULL
17247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17249 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17250 if (PyErr_Occurred()) SWIG_fail
;
17253 arg2
= (int)SWIG_As_int(obj1
);
17254 if (PyErr_Occurred()) SWIG_fail
;
17257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17258 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
17260 wxPyEndAllowThreads(__tstate
);
17261 if (PyErr_Occurred()) SWIG_fail
;
17263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
17270 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17271 PyObject
*resultobj
;
17272 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17274 PyObject
* obj0
= 0 ;
17275 char *kwnames
[] = {
17276 (char *) "self", NULL
17279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17284 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
17286 wxPyEndAllowThreads(__tstate
);
17287 if (PyErr_Occurred()) SWIG_fail
;
17290 resultobj
= wxPyMake_wxObject(result
, 0);
17298 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17299 PyObject
*resultobj
;
17300 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17301 wxWindow
*arg2
= (wxWindow
*) 0 ;
17302 PyObject
* obj0
= 0 ;
17303 PyObject
* obj1
= 0 ;
17304 char *kwnames
[] = {
17305 (char *) "self",(char *) "win", NULL
17308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17311 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17315 (arg1
)->SetWindow(arg2
);
17317 wxPyEndAllowThreads(__tstate
);
17318 if (PyErr_Occurred()) SWIG_fail
;
17320 Py_INCREF(Py_None
); resultobj
= Py_None
;
17327 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
17329 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17330 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
17332 return Py_BuildValue((char *)"");
17334 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17335 PyObject
*resultobj
;
17336 wxWindow
*arg1
= (wxWindow
*) NULL
;
17337 wxChildFocusEvent
*result
;
17338 PyObject
* obj0
= 0 ;
17339 char *kwnames
[] = {
17340 (char *) "win", NULL
17343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
17345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17350 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
17352 wxPyEndAllowThreads(__tstate
);
17353 if (PyErr_Occurred()) SWIG_fail
;
17355 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
17362 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17363 PyObject
*resultobj
;
17364 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
17366 PyObject
* obj0
= 0 ;
17367 char *kwnames
[] = {
17368 (char *) "self", NULL
17371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
17373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17376 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
17378 wxPyEndAllowThreads(__tstate
);
17379 if (PyErr_Occurred()) SWIG_fail
;
17382 resultobj
= wxPyMake_wxObject(result
, 0);
17390 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
17392 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17393 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
17395 return Py_BuildValue((char *)"");
17397 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17398 PyObject
*resultobj
;
17399 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17400 bool arg2
= (bool) True
;
17401 int arg3
= (int) 0 ;
17402 wxActivateEvent
*result
;
17403 PyObject
* obj0
= 0 ;
17404 PyObject
* obj1
= 0 ;
17405 PyObject
* obj2
= 0 ;
17406 char *kwnames
[] = {
17407 (char *) "type",(char *) "active",(char *) "Id", NULL
17410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17412 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17413 if (PyErr_Occurred()) SWIG_fail
;
17416 arg2
= (bool)SWIG_As_bool(obj1
);
17417 if (PyErr_Occurred()) SWIG_fail
;
17420 arg3
= (int)SWIG_As_int(obj2
);
17421 if (PyErr_Occurred()) SWIG_fail
;
17424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17425 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
17427 wxPyEndAllowThreads(__tstate
);
17428 if (PyErr_Occurred()) SWIG_fail
;
17430 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
17437 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17438 PyObject
*resultobj
;
17439 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
17441 PyObject
* obj0
= 0 ;
17442 char *kwnames
[] = {
17443 (char *) "self", NULL
17446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
17447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
17448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17451 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
17453 wxPyEndAllowThreads(__tstate
);
17454 if (PyErr_Occurred()) SWIG_fail
;
17457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17465 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
17467 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17468 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
17470 return Py_BuildValue((char *)"");
17472 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17473 PyObject
*resultobj
;
17474 int arg1
= (int) 0 ;
17475 wxInitDialogEvent
*result
;
17476 PyObject
* obj0
= 0 ;
17477 char *kwnames
[] = {
17478 (char *) "Id", NULL
17481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
17483 arg1
= (int)SWIG_As_int(obj0
);
17484 if (PyErr_Occurred()) SWIG_fail
;
17487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17488 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
17490 wxPyEndAllowThreads(__tstate
);
17491 if (PyErr_Occurred()) SWIG_fail
;
17493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
17500 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
17502 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17503 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
17505 return Py_BuildValue((char *)"");
17507 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17508 PyObject
*resultobj
;
17509 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17510 int arg2
= (int) 0 ;
17511 wxMenu
*arg3
= (wxMenu
*) NULL
;
17512 wxMenuEvent
*result
;
17513 PyObject
* obj0
= 0 ;
17514 PyObject
* obj1
= 0 ;
17515 PyObject
* obj2
= 0 ;
17516 char *kwnames
[] = {
17517 (char *) "type",(char *) "winid",(char *) "menu", NULL
17520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17522 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17523 if (PyErr_Occurred()) SWIG_fail
;
17526 arg2
= (int)SWIG_As_int(obj1
);
17527 if (PyErr_Occurred()) SWIG_fail
;
17530 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17535 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17537 wxPyEndAllowThreads(__tstate
);
17538 if (PyErr_Occurred()) SWIG_fail
;
17540 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17547 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17548 PyObject
*resultobj
;
17549 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17551 PyObject
* obj0
= 0 ;
17552 char *kwnames
[] = {
17553 (char *) "self", NULL
17556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17561 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17563 wxPyEndAllowThreads(__tstate
);
17564 if (PyErr_Occurred()) SWIG_fail
;
17566 resultobj
= SWIG_From_int((int)result
);
17573 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17574 PyObject
*resultobj
;
17575 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17577 PyObject
* obj0
= 0 ;
17578 char *kwnames
[] = {
17579 (char *) "self", NULL
17582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
17583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17587 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17589 wxPyEndAllowThreads(__tstate
);
17590 if (PyErr_Occurred()) SWIG_fail
;
17593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17601 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17602 PyObject
*resultobj
;
17603 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17605 PyObject
* obj0
= 0 ;
17606 char *kwnames
[] = {
17607 (char *) "self", NULL
17610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17615 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17617 wxPyEndAllowThreads(__tstate
);
17618 if (PyErr_Occurred()) SWIG_fail
;
17621 resultobj
= wxPyMake_wxObject(result
, 0);
17629 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
17631 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17632 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17634 return Py_BuildValue((char *)"");
17636 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17637 PyObject
*resultobj
;
17638 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17639 int arg2
= (int) 0 ;
17640 wxCloseEvent
*result
;
17641 PyObject
* obj0
= 0 ;
17642 PyObject
* obj1
= 0 ;
17643 char *kwnames
[] = {
17644 (char *) "type",(char *) "winid", NULL
17647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17649 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17650 if (PyErr_Occurred()) SWIG_fail
;
17653 arg2
= (int)SWIG_As_int(obj1
);
17654 if (PyErr_Occurred()) SWIG_fail
;
17657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17658 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17660 wxPyEndAllowThreads(__tstate
);
17661 if (PyErr_Occurred()) SWIG_fail
;
17663 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17670 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17671 PyObject
*resultobj
;
17672 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17674 PyObject
* obj0
= 0 ;
17675 PyObject
* obj1
= 0 ;
17676 char *kwnames
[] = {
17677 (char *) "self",(char *) "logOff", NULL
17680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17683 arg2
= (bool)SWIG_As_bool(obj1
);
17684 if (PyErr_Occurred()) SWIG_fail
;
17686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17687 (arg1
)->SetLoggingOff(arg2
);
17689 wxPyEndAllowThreads(__tstate
);
17690 if (PyErr_Occurred()) SWIG_fail
;
17692 Py_INCREF(Py_None
); resultobj
= Py_None
;
17699 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17700 PyObject
*resultobj
;
17701 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17703 PyObject
* obj0
= 0 ;
17704 char *kwnames
[] = {
17705 (char *) "self", NULL
17708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17713 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17715 wxPyEndAllowThreads(__tstate
);
17716 if (PyErr_Occurred()) SWIG_fail
;
17719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17727 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17728 PyObject
*resultobj
;
17729 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17730 bool arg2
= (bool) True
;
17731 PyObject
* obj0
= 0 ;
17732 PyObject
* obj1
= 0 ;
17733 char *kwnames
[] = {
17734 (char *) "self",(char *) "veto", NULL
17737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17741 arg2
= (bool)SWIG_As_bool(obj1
);
17742 if (PyErr_Occurred()) SWIG_fail
;
17745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17746 (arg1
)->Veto(arg2
);
17748 wxPyEndAllowThreads(__tstate
);
17749 if (PyErr_Occurred()) SWIG_fail
;
17751 Py_INCREF(Py_None
); resultobj
= Py_None
;
17758 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17759 PyObject
*resultobj
;
17760 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17762 PyObject
* obj0
= 0 ;
17763 PyObject
* obj1
= 0 ;
17764 char *kwnames
[] = {
17765 (char *) "self",(char *) "canVeto", NULL
17768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
17769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17771 arg2
= (bool)SWIG_As_bool(obj1
);
17772 if (PyErr_Occurred()) SWIG_fail
;
17774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17775 (arg1
)->SetCanVeto(arg2
);
17777 wxPyEndAllowThreads(__tstate
);
17778 if (PyErr_Occurred()) SWIG_fail
;
17780 Py_INCREF(Py_None
); resultobj
= Py_None
;
17787 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17788 PyObject
*resultobj
;
17789 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17791 PyObject
* obj0
= 0 ;
17792 char *kwnames
[] = {
17793 (char *) "self", NULL
17796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
17797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17801 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
17803 wxPyEndAllowThreads(__tstate
);
17804 if (PyErr_Occurred()) SWIG_fail
;
17807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17815 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17816 PyObject
*resultobj
;
17817 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17819 PyObject
* obj0
= 0 ;
17820 char *kwnames
[] = {
17821 (char *) "self", NULL
17824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
17825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17829 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
17831 wxPyEndAllowThreads(__tstate
);
17832 if (PyErr_Occurred()) SWIG_fail
;
17835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17843 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
17845 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17846 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
17848 return Py_BuildValue((char *)"");
17850 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17851 PyObject
*resultobj
;
17852 int arg1
= (int) 0 ;
17853 bool arg2
= (bool) False
;
17854 wxShowEvent
*result
;
17855 PyObject
* obj0
= 0 ;
17856 PyObject
* obj1
= 0 ;
17857 char *kwnames
[] = {
17858 (char *) "winid",(char *) "show", NULL
17861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17863 arg1
= (int)SWIG_As_int(obj0
);
17864 if (PyErr_Occurred()) SWIG_fail
;
17867 arg2
= (bool)SWIG_As_bool(obj1
);
17868 if (PyErr_Occurred()) SWIG_fail
;
17871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17872 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
17874 wxPyEndAllowThreads(__tstate
);
17875 if (PyErr_Occurred()) SWIG_fail
;
17877 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
17884 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17885 PyObject
*resultobj
;
17886 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17888 PyObject
* obj0
= 0 ;
17889 PyObject
* obj1
= 0 ;
17890 char *kwnames
[] = {
17891 (char *) "self",(char *) "show", NULL
17894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
17895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17897 arg2
= (bool)SWIG_As_bool(obj1
);
17898 if (PyErr_Occurred()) SWIG_fail
;
17900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17901 (arg1
)->SetShow(arg2
);
17903 wxPyEndAllowThreads(__tstate
);
17904 if (PyErr_Occurred()) SWIG_fail
;
17906 Py_INCREF(Py_None
); resultobj
= Py_None
;
17913 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17914 PyObject
*resultobj
;
17915 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17917 PyObject
* obj0
= 0 ;
17918 char *kwnames
[] = {
17919 (char *) "self", NULL
17922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
17923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17927 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
17929 wxPyEndAllowThreads(__tstate
);
17930 if (PyErr_Occurred()) SWIG_fail
;
17933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17941 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
17943 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17944 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
17946 return Py_BuildValue((char *)"");
17948 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17949 PyObject
*resultobj
;
17950 int arg1
= (int) 0 ;
17951 bool arg2
= (bool) True
;
17952 wxIconizeEvent
*result
;
17953 PyObject
* obj0
= 0 ;
17954 PyObject
* obj1
= 0 ;
17955 char *kwnames
[] = {
17956 (char *) "id",(char *) "iconized", NULL
17959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17961 arg1
= (int)SWIG_As_int(obj0
);
17962 if (PyErr_Occurred()) SWIG_fail
;
17965 arg2
= (bool)SWIG_As_bool(obj1
);
17966 if (PyErr_Occurred()) SWIG_fail
;
17969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17970 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
17972 wxPyEndAllowThreads(__tstate
);
17973 if (PyErr_Occurred()) SWIG_fail
;
17975 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
17982 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17983 PyObject
*resultobj
;
17984 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
17986 PyObject
* obj0
= 0 ;
17987 char *kwnames
[] = {
17988 (char *) "self", NULL
17991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
17992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
17993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17996 result
= (bool)(arg1
)->Iconized();
17998 wxPyEndAllowThreads(__tstate
);
17999 if (PyErr_Occurred()) SWIG_fail
;
18002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18010 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
18012 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18013 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
18015 return Py_BuildValue((char *)"");
18017 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18018 PyObject
*resultobj
;
18019 int arg1
= (int) 0 ;
18020 wxMaximizeEvent
*result
;
18021 PyObject
* obj0
= 0 ;
18022 char *kwnames
[] = {
18023 (char *) "id", NULL
18026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
18028 arg1
= (int)SWIG_As_int(obj0
);
18029 if (PyErr_Occurred()) SWIG_fail
;
18032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18033 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
18035 wxPyEndAllowThreads(__tstate
);
18036 if (PyErr_Occurred()) SWIG_fail
;
18038 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
18045 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
18047 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18048 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
18050 return Py_BuildValue((char *)"");
18052 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18053 PyObject
*resultobj
;
18054 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18056 PyObject
* obj0
= 0 ;
18057 char *kwnames
[] = {
18058 (char *) "self", NULL
18061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18066 result
= (arg1
)->GetPosition();
18068 wxPyEndAllowThreads(__tstate
);
18069 if (PyErr_Occurred()) SWIG_fail
;
18072 wxPoint
* resultptr
;
18073 resultptr
= new wxPoint((wxPoint
&) result
);
18074 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18082 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18083 PyObject
*resultobj
;
18084 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18086 PyObject
* obj0
= 0 ;
18087 char *kwnames
[] = {
18088 (char *) "self", NULL
18091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
18092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18096 result
= (int)(arg1
)->GetNumberOfFiles();
18098 wxPyEndAllowThreads(__tstate
);
18099 if (PyErr_Occurred()) SWIG_fail
;
18101 resultobj
= SWIG_From_int((int)result
);
18108 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18109 PyObject
*resultobj
;
18110 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18112 PyObject
* obj0
= 0 ;
18113 char *kwnames
[] = {
18114 (char *) "self", NULL
18117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
18118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18122 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
18124 wxPyEndAllowThreads(__tstate
);
18125 if (PyErr_Occurred()) SWIG_fail
;
18127 resultobj
= result
;
18134 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
18136 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18137 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
18139 return Py_BuildValue((char *)"");
18141 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18142 PyObject
*resultobj
;
18143 int arg1
= (int) 0 ;
18144 wxUpdateUIEvent
*result
;
18145 PyObject
* obj0
= 0 ;
18146 char *kwnames
[] = {
18147 (char *) "commandId", NULL
18150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
18152 arg1
= (int)SWIG_As_int(obj0
);
18153 if (PyErr_Occurred()) SWIG_fail
;
18156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18157 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
18159 wxPyEndAllowThreads(__tstate
);
18160 if (PyErr_Occurred()) SWIG_fail
;
18162 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
18169 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18170 PyObject
*resultobj
;
18171 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18173 PyObject
* obj0
= 0 ;
18174 char *kwnames
[] = {
18175 (char *) "self", NULL
18178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
18179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18183 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
18185 wxPyEndAllowThreads(__tstate
);
18186 if (PyErr_Occurred()) SWIG_fail
;
18189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18197 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18198 PyObject
*resultobj
;
18199 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18201 PyObject
* obj0
= 0 ;
18202 char *kwnames
[] = {
18203 (char *) "self", NULL
18206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
18207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18211 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
18213 wxPyEndAllowThreads(__tstate
);
18214 if (PyErr_Occurred()) SWIG_fail
;
18217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18225 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18226 PyObject
*resultobj
;
18227 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18229 PyObject
* obj0
= 0 ;
18230 char *kwnames
[] = {
18231 (char *) "self", NULL
18234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
18235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18239 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
18241 wxPyEndAllowThreads(__tstate
);
18242 if (PyErr_Occurred()) SWIG_fail
;
18246 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18248 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18257 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18258 PyObject
*resultobj
;
18259 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18261 PyObject
* obj0
= 0 ;
18262 char *kwnames
[] = {
18263 (char *) "self", NULL
18266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
18267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18271 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
18273 wxPyEndAllowThreads(__tstate
);
18274 if (PyErr_Occurred()) SWIG_fail
;
18277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18285 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18286 PyObject
*resultobj
;
18287 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18289 PyObject
* obj0
= 0 ;
18290 char *kwnames
[] = {
18291 (char *) "self", NULL
18294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
18295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18299 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
18301 wxPyEndAllowThreads(__tstate
);
18302 if (PyErr_Occurred()) SWIG_fail
;
18305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18313 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18314 PyObject
*resultobj
;
18315 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18317 PyObject
* obj0
= 0 ;
18318 char *kwnames
[] = {
18319 (char *) "self", NULL
18322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
18323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18327 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
18329 wxPyEndAllowThreads(__tstate
);
18330 if (PyErr_Occurred()) SWIG_fail
;
18333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18341 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18342 PyObject
*resultobj
;
18343 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18345 PyObject
* obj0
= 0 ;
18346 PyObject
* obj1
= 0 ;
18347 char *kwnames
[] = {
18348 (char *) "self",(char *) "check", NULL
18351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
18352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18354 arg2
= (bool)SWIG_As_bool(obj1
);
18355 if (PyErr_Occurred()) SWIG_fail
;
18357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18358 (arg1
)->Check(arg2
);
18360 wxPyEndAllowThreads(__tstate
);
18361 if (PyErr_Occurred()) SWIG_fail
;
18363 Py_INCREF(Py_None
); resultobj
= Py_None
;
18370 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18371 PyObject
*resultobj
;
18372 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18374 PyObject
* obj0
= 0 ;
18375 PyObject
* obj1
= 0 ;
18376 char *kwnames
[] = {
18377 (char *) "self",(char *) "enable", NULL
18380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18383 arg2
= (bool)SWIG_As_bool(obj1
);
18384 if (PyErr_Occurred()) SWIG_fail
;
18386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18387 (arg1
)->Enable(arg2
);
18389 wxPyEndAllowThreads(__tstate
);
18390 if (PyErr_Occurred()) SWIG_fail
;
18392 Py_INCREF(Py_None
); resultobj
= Py_None
;
18399 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18400 PyObject
*resultobj
;
18401 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18402 wxString
*arg2
= 0 ;
18403 bool temp2
= False
;
18404 PyObject
* obj0
= 0 ;
18405 PyObject
* obj1
= 0 ;
18406 char *kwnames
[] = {
18407 (char *) "self",(char *) "text", NULL
18410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18414 arg2
= wxString_in_helper(obj1
);
18415 if (arg2
== NULL
) SWIG_fail
;
18419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18420 (arg1
)->SetText((wxString
const &)*arg2
);
18422 wxPyEndAllowThreads(__tstate
);
18423 if (PyErr_Occurred()) SWIG_fail
;
18425 Py_INCREF(Py_None
); resultobj
= Py_None
;
18440 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18441 PyObject
*resultobj
;
18443 PyObject
* obj0
= 0 ;
18444 char *kwnames
[] = {
18445 (char *) "updateInterval", NULL
18448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
18449 arg1
= (long)SWIG_As_long(obj0
);
18450 if (PyErr_Occurred()) SWIG_fail
;
18452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18453 wxUpdateUIEvent::SetUpdateInterval(arg1
);
18455 wxPyEndAllowThreads(__tstate
);
18456 if (PyErr_Occurred()) SWIG_fail
;
18458 Py_INCREF(Py_None
); resultobj
= Py_None
;
18465 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18466 PyObject
*resultobj
;
18468 char *kwnames
[] = {
18472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
18474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18475 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
18477 wxPyEndAllowThreads(__tstate
);
18478 if (PyErr_Occurred()) SWIG_fail
;
18480 resultobj
= SWIG_From_long((long)result
);
18487 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18488 PyObject
*resultobj
;
18489 wxWindow
*arg1
= (wxWindow
*) 0 ;
18491 PyObject
* obj0
= 0 ;
18492 char *kwnames
[] = {
18493 (char *) "win", NULL
18496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
18497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18501 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
18503 wxPyEndAllowThreads(__tstate
);
18504 if (PyErr_Occurred()) SWIG_fail
;
18507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18515 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18516 PyObject
*resultobj
;
18517 char *kwnames
[] = {
18521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18524 wxUpdateUIEvent::ResetUpdateTime();
18526 wxPyEndAllowThreads(__tstate
);
18527 if (PyErr_Occurred()) SWIG_fail
;
18529 Py_INCREF(Py_None
); resultobj
= Py_None
;
18536 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18537 PyObject
*resultobj
;
18539 PyObject
* obj0
= 0 ;
18540 char *kwnames
[] = {
18541 (char *) "mode", NULL
18544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18545 arg1
= (int)SWIG_As_int(obj0
);
18546 if (PyErr_Occurred()) SWIG_fail
;
18548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18549 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18551 wxPyEndAllowThreads(__tstate
);
18552 if (PyErr_Occurred()) SWIG_fail
;
18554 Py_INCREF(Py_None
); resultobj
= Py_None
;
18561 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18562 PyObject
*resultobj
;
18564 char *kwnames
[] = {
18568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18571 result
= (int)wxUpdateUIEvent::GetMode();
18573 wxPyEndAllowThreads(__tstate
);
18574 if (PyErr_Occurred()) SWIG_fail
;
18576 resultobj
= SWIG_From_int((int)result
);
18583 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
18585 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18586 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18588 return Py_BuildValue((char *)"");
18590 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18591 PyObject
*resultobj
;
18592 wxSysColourChangedEvent
*result
;
18593 char *kwnames
[] = {
18597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18600 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18602 wxPyEndAllowThreads(__tstate
);
18603 if (PyErr_Occurred()) SWIG_fail
;
18605 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18612 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18614 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18615 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18617 return Py_BuildValue((char *)"");
18619 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18620 PyObject
*resultobj
;
18621 int arg1
= (int) 0 ;
18622 wxWindow
*arg2
= (wxWindow
*) NULL
;
18623 wxMouseCaptureChangedEvent
*result
;
18624 PyObject
* obj0
= 0 ;
18625 PyObject
* obj1
= 0 ;
18626 char *kwnames
[] = {
18627 (char *) "winid",(char *) "gainedCapture", NULL
18630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18632 arg1
= (int)SWIG_As_int(obj0
);
18633 if (PyErr_Occurred()) SWIG_fail
;
18636 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18641 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18643 wxPyEndAllowThreads(__tstate
);
18644 if (PyErr_Occurred()) SWIG_fail
;
18646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18653 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18654 PyObject
*resultobj
;
18655 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18657 PyObject
* obj0
= 0 ;
18658 char *kwnames
[] = {
18659 (char *) "self", NULL
18662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18667 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18669 wxPyEndAllowThreads(__tstate
);
18670 if (PyErr_Occurred()) SWIG_fail
;
18673 resultobj
= wxPyMake_wxObject(result
, 0);
18681 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18683 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18684 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18686 return Py_BuildValue((char *)"");
18688 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18689 PyObject
*resultobj
;
18690 wxDisplayChangedEvent
*result
;
18691 char *kwnames
[] = {
18695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18698 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18700 wxPyEndAllowThreads(__tstate
);
18701 if (PyErr_Occurred()) SWIG_fail
;
18703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18710 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18712 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18713 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
18715 return Py_BuildValue((char *)"");
18717 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18718 PyObject
*resultobj
;
18719 int arg1
= (int) 0 ;
18720 wxPaletteChangedEvent
*result
;
18721 PyObject
* obj0
= 0 ;
18722 char *kwnames
[] = {
18723 (char *) "id", NULL
18726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
18728 arg1
= (int)SWIG_As_int(obj0
);
18729 if (PyErr_Occurred()) SWIG_fail
;
18732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18733 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
18735 wxPyEndAllowThreads(__tstate
);
18736 if (PyErr_Occurred()) SWIG_fail
;
18738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18745 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18746 PyObject
*resultobj
;
18747 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18748 wxWindow
*arg2
= (wxWindow
*) 0 ;
18749 PyObject
* obj0
= 0 ;
18750 PyObject
* obj1
= 0 ;
18751 char *kwnames
[] = {
18752 (char *) "self",(char *) "win", NULL
18755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18758 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18762 (arg1
)->SetChangedWindow(arg2
);
18764 wxPyEndAllowThreads(__tstate
);
18765 if (PyErr_Occurred()) SWIG_fail
;
18767 Py_INCREF(Py_None
); resultobj
= Py_None
;
18774 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18775 PyObject
*resultobj
;
18776 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18778 PyObject
* obj0
= 0 ;
18779 char *kwnames
[] = {
18780 (char *) "self", NULL
18783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18788 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18790 wxPyEndAllowThreads(__tstate
);
18791 if (PyErr_Occurred()) SWIG_fail
;
18794 resultobj
= wxPyMake_wxObject(result
, 0);
18802 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18804 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18805 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
18807 return Py_BuildValue((char *)"");
18809 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18810 PyObject
*resultobj
;
18811 int arg1
= (int) 0 ;
18812 wxQueryNewPaletteEvent
*result
;
18813 PyObject
* obj0
= 0 ;
18814 char *kwnames
[] = {
18815 (char *) "winid", NULL
18818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
18820 arg1
= (int)SWIG_As_int(obj0
);
18821 if (PyErr_Occurred()) SWIG_fail
;
18824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18825 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
18827 wxPyEndAllowThreads(__tstate
);
18828 if (PyErr_Occurred()) SWIG_fail
;
18830 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
18837 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18838 PyObject
*resultobj
;
18839 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18841 PyObject
* obj0
= 0 ;
18842 PyObject
* obj1
= 0 ;
18843 char *kwnames
[] = {
18844 (char *) "self",(char *) "realized", NULL
18847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
18848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18850 arg2
= (bool)SWIG_As_bool(obj1
);
18851 if (PyErr_Occurred()) SWIG_fail
;
18853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18854 (arg1
)->SetPaletteRealized(arg2
);
18856 wxPyEndAllowThreads(__tstate
);
18857 if (PyErr_Occurred()) SWIG_fail
;
18859 Py_INCREF(Py_None
); resultobj
= Py_None
;
18866 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18867 PyObject
*resultobj
;
18868 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18870 PyObject
* obj0
= 0 ;
18871 char *kwnames
[] = {
18872 (char *) "self", NULL
18875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
18876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18880 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
18882 wxPyEndAllowThreads(__tstate
);
18883 if (PyErr_Occurred()) SWIG_fail
;
18886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18894 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
18896 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18897 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
18899 return Py_BuildValue((char *)"");
18901 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18902 PyObject
*resultobj
;
18903 wxNavigationKeyEvent
*result
;
18904 char *kwnames
[] = {
18908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
18910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18911 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
18913 wxPyEndAllowThreads(__tstate
);
18914 if (PyErr_Occurred()) SWIG_fail
;
18916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
18923 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18924 PyObject
*resultobj
;
18925 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18927 PyObject
* obj0
= 0 ;
18928 char *kwnames
[] = {
18929 (char *) "self", NULL
18932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
18933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18937 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
18939 wxPyEndAllowThreads(__tstate
);
18940 if (PyErr_Occurred()) SWIG_fail
;
18943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18951 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18952 PyObject
*resultobj
;
18953 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18955 PyObject
* obj0
= 0 ;
18956 PyObject
* obj1
= 0 ;
18957 char *kwnames
[] = {
18958 (char *) "self",(char *) "forward", NULL
18961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
18962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18964 arg2
= (bool)SWIG_As_bool(obj1
);
18965 if (PyErr_Occurred()) SWIG_fail
;
18967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18968 (arg1
)->SetDirection(arg2
);
18970 wxPyEndAllowThreads(__tstate
);
18971 if (PyErr_Occurred()) SWIG_fail
;
18973 Py_INCREF(Py_None
); resultobj
= Py_None
;
18980 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18981 PyObject
*resultobj
;
18982 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18984 PyObject
* obj0
= 0 ;
18985 char *kwnames
[] = {
18986 (char *) "self", NULL
18989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
18990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18994 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
18996 wxPyEndAllowThreads(__tstate
);
18997 if (PyErr_Occurred()) SWIG_fail
;
19000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19008 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19009 PyObject
*resultobj
;
19010 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19012 PyObject
* obj0
= 0 ;
19013 PyObject
* obj1
= 0 ;
19014 char *kwnames
[] = {
19015 (char *) "self",(char *) "ischange", NULL
19018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
19019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19021 arg2
= (bool)SWIG_As_bool(obj1
);
19022 if (PyErr_Occurred()) SWIG_fail
;
19024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19025 (arg1
)->SetWindowChange(arg2
);
19027 wxPyEndAllowThreads(__tstate
);
19028 if (PyErr_Occurred()) SWIG_fail
;
19030 Py_INCREF(Py_None
); resultobj
= Py_None
;
19037 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19038 PyObject
*resultobj
;
19039 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19041 PyObject
* obj0
= 0 ;
19042 PyObject
* obj1
= 0 ;
19043 char *kwnames
[] = {
19044 (char *) "self",(char *) "flags", NULL
19047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
19048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19050 arg2
= (long)SWIG_As_long(obj1
);
19051 if (PyErr_Occurred()) SWIG_fail
;
19053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19054 (arg1
)->SetFlags(arg2
);
19056 wxPyEndAllowThreads(__tstate
);
19057 if (PyErr_Occurred()) SWIG_fail
;
19059 Py_INCREF(Py_None
); resultobj
= Py_None
;
19066 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19067 PyObject
*resultobj
;
19068 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19070 PyObject
* obj0
= 0 ;
19071 char *kwnames
[] = {
19072 (char *) "self", NULL
19075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
19076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19080 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
19082 wxPyEndAllowThreads(__tstate
);
19083 if (PyErr_Occurred()) SWIG_fail
;
19086 resultobj
= wxPyMake_wxObject(result
, 0);
19094 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19095 PyObject
*resultobj
;
19096 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19097 wxWindow
*arg2
= (wxWindow
*) 0 ;
19098 PyObject
* obj0
= 0 ;
19099 PyObject
* obj1
= 0 ;
19100 char *kwnames
[] = {
19101 (char *) "self",(char *) "win", NULL
19104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
19105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19107 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19111 (arg1
)->SetCurrentFocus(arg2
);
19113 wxPyEndAllowThreads(__tstate
);
19114 if (PyErr_Occurred()) SWIG_fail
;
19116 Py_INCREF(Py_None
); resultobj
= Py_None
;
19123 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
19125 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19126 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
19128 return Py_BuildValue((char *)"");
19130 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19131 PyObject
*resultobj
;
19132 wxWindow
*arg1
= (wxWindow
*) NULL
;
19133 wxWindowCreateEvent
*result
;
19134 PyObject
* obj0
= 0 ;
19135 char *kwnames
[] = {
19136 (char *) "win", NULL
19139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
19141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19146 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
19148 wxPyEndAllowThreads(__tstate
);
19149 if (PyErr_Occurred()) SWIG_fail
;
19151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
19158 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19159 PyObject
*resultobj
;
19160 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
19162 PyObject
* obj0
= 0 ;
19163 char *kwnames
[] = {
19164 (char *) "self", NULL
19167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
19169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19172 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
19174 wxPyEndAllowThreads(__tstate
);
19175 if (PyErr_Occurred()) SWIG_fail
;
19178 resultobj
= wxPyMake_wxObject(result
, 0);
19186 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
19188 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19189 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
19191 return Py_BuildValue((char *)"");
19193 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19194 PyObject
*resultobj
;
19195 wxWindow
*arg1
= (wxWindow
*) NULL
;
19196 wxWindowDestroyEvent
*result
;
19197 PyObject
* obj0
= 0 ;
19198 char *kwnames
[] = {
19199 (char *) "win", NULL
19202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
19204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19209 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
19211 wxPyEndAllowThreads(__tstate
);
19212 if (PyErr_Occurred()) SWIG_fail
;
19214 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
19221 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19222 PyObject
*resultobj
;
19223 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
19225 PyObject
* obj0
= 0 ;
19226 char *kwnames
[] = {
19227 (char *) "self", NULL
19230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
19232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19235 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
19237 wxPyEndAllowThreads(__tstate
);
19238 if (PyErr_Occurred()) SWIG_fail
;
19241 resultobj
= wxPyMake_wxObject(result
, 0);
19249 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
19251 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19252 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
19254 return Py_BuildValue((char *)"");
19256 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19257 PyObject
*resultobj
;
19258 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19259 int arg2
= (int) 0 ;
19260 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19261 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19262 wxContextMenuEvent
*result
;
19264 PyObject
* obj0
= 0 ;
19265 PyObject
* obj1
= 0 ;
19266 PyObject
* obj2
= 0 ;
19267 char *kwnames
[] = {
19268 (char *) "type",(char *) "winid",(char *) "pt", NULL
19271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19273 arg1
= (wxEventType
)SWIG_As_int(obj0
);
19274 if (PyErr_Occurred()) SWIG_fail
;
19277 arg2
= (int)SWIG_As_int(obj1
);
19278 if (PyErr_Occurred()) SWIG_fail
;
19283 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19288 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
19290 wxPyEndAllowThreads(__tstate
);
19291 if (PyErr_Occurred()) SWIG_fail
;
19293 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
19300 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19301 PyObject
*resultobj
;
19302 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19304 PyObject
* obj0
= 0 ;
19305 char *kwnames
[] = {
19306 (char *) "self", NULL
19309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19315 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
19316 result
= (wxPoint
*) &_result_ref
;
19319 wxPyEndAllowThreads(__tstate
);
19320 if (PyErr_Occurred()) SWIG_fail
;
19322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19329 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19330 PyObject
*resultobj
;
19331 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19332 wxPoint
*arg2
= 0 ;
19334 PyObject
* obj0
= 0 ;
19335 PyObject
* obj1
= 0 ;
19336 char *kwnames
[] = {
19337 (char *) "self",(char *) "pos", NULL
19340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19345 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19349 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19351 wxPyEndAllowThreads(__tstate
);
19352 if (PyErr_Occurred()) SWIG_fail
;
19354 Py_INCREF(Py_None
); resultobj
= Py_None
;
19361 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
19363 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19364 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
19366 return Py_BuildValue((char *)"");
19368 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19369 PyObject
*resultobj
;
19370 wxIdleEvent
*result
;
19371 char *kwnames
[] = {
19375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
19377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19378 result
= (wxIdleEvent
*)new wxIdleEvent();
19380 wxPyEndAllowThreads(__tstate
);
19381 if (PyErr_Occurred()) SWIG_fail
;
19383 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
19390 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19391 PyObject
*resultobj
;
19392 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19393 bool arg2
= (bool) True
;
19394 PyObject
* obj0
= 0 ;
19395 PyObject
* obj1
= 0 ;
19396 char *kwnames
[] = {
19397 (char *) "self",(char *) "needMore", NULL
19400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
19401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19404 arg2
= (bool)SWIG_As_bool(obj1
);
19405 if (PyErr_Occurred()) SWIG_fail
;
19408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19409 (arg1
)->RequestMore(arg2
);
19411 wxPyEndAllowThreads(__tstate
);
19412 if (PyErr_Occurred()) SWIG_fail
;
19414 Py_INCREF(Py_None
); resultobj
= Py_None
;
19421 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19422 PyObject
*resultobj
;
19423 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19425 PyObject
* obj0
= 0 ;
19426 char *kwnames
[] = {
19427 (char *) "self", NULL
19430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
19431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19435 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
19437 wxPyEndAllowThreads(__tstate
);
19438 if (PyErr_Occurred()) SWIG_fail
;
19441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19449 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19450 PyObject
*resultobj
;
19452 PyObject
* obj0
= 0 ;
19453 char *kwnames
[] = {
19454 (char *) "mode", NULL
19457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
19458 arg1
= (int)SWIG_As_int(obj0
);
19459 if (PyErr_Occurred()) SWIG_fail
;
19461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19462 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
19464 wxPyEndAllowThreads(__tstate
);
19465 if (PyErr_Occurred()) SWIG_fail
;
19467 Py_INCREF(Py_None
); resultobj
= Py_None
;
19474 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19475 PyObject
*resultobj
;
19477 char *kwnames
[] = {
19481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
19483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19484 result
= (int)wxIdleEvent::GetMode();
19486 wxPyEndAllowThreads(__tstate
);
19487 if (PyErr_Occurred()) SWIG_fail
;
19489 resultobj
= SWIG_From_int((int)result
);
19496 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19497 PyObject
*resultobj
;
19498 wxWindow
*arg1
= (wxWindow
*) 0 ;
19500 PyObject
* obj0
= 0 ;
19501 char *kwnames
[] = {
19502 (char *) "win", NULL
19505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
19506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19510 result
= (bool)wxIdleEvent::CanSend(arg1
);
19512 wxPyEndAllowThreads(__tstate
);
19513 if (PyErr_Occurred()) SWIG_fail
;
19516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19524 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
19526 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19527 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
19529 return Py_BuildValue((char *)"");
19531 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19532 PyObject
*resultobj
;
19533 int arg1
= (int) 0 ;
19534 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
19536 PyObject
* obj0
= 0 ;
19537 PyObject
* obj1
= 0 ;
19538 char *kwnames
[] = {
19539 (char *) "winid",(char *) "commandType", NULL
19542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19544 arg1
= (int)SWIG_As_int(obj0
);
19545 if (PyErr_Occurred()) SWIG_fail
;
19548 arg2
= (wxEventType
)SWIG_As_int(obj1
);
19549 if (PyErr_Occurred()) SWIG_fail
;
19552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19553 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19555 wxPyEndAllowThreads(__tstate
);
19556 if (PyErr_Occurred()) SWIG_fail
;
19558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19565 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19566 PyObject
*resultobj
;
19567 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19568 PyObject
* obj0
= 0 ;
19569 char *kwnames
[] = {
19570 (char *) "self", NULL
19573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19580 wxPyEndAllowThreads(__tstate
);
19581 if (PyErr_Occurred()) SWIG_fail
;
19583 Py_INCREF(Py_None
); resultobj
= Py_None
;
19590 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19591 PyObject
*resultobj
;
19592 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19593 PyObject
*arg2
= (PyObject
*) 0 ;
19594 PyObject
* obj0
= 0 ;
19595 PyObject
* obj1
= 0 ;
19596 char *kwnames
[] = {
19597 (char *) "self",(char *) "self", NULL
19600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19606 (arg1
)->SetSelf(arg2
);
19608 wxPyEndAllowThreads(__tstate
);
19609 if (PyErr_Occurred()) SWIG_fail
;
19611 Py_INCREF(Py_None
); resultobj
= Py_None
;
19618 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19619 PyObject
*resultobj
;
19620 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19622 PyObject
* obj0
= 0 ;
19623 char *kwnames
[] = {
19624 (char *) "self", NULL
19627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19632 result
= (PyObject
*)(arg1
)->GetSelf();
19634 wxPyEndAllowThreads(__tstate
);
19635 if (PyErr_Occurred()) SWIG_fail
;
19637 resultobj
= result
;
19644 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
19646 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19647 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19649 return Py_BuildValue((char *)"");
19651 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19652 PyObject
*resultobj
;
19653 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19654 int arg2
= (int) 0 ;
19655 wxPyCommandEvent
*result
;
19656 PyObject
* obj0
= 0 ;
19657 PyObject
* obj1
= 0 ;
19658 char *kwnames
[] = {
19659 (char *) "commandType",(char *) "id", NULL
19662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19664 arg1
= (wxEventType
)SWIG_As_int(obj0
);
19665 if (PyErr_Occurred()) SWIG_fail
;
19668 arg2
= (int)SWIG_As_int(obj1
);
19669 if (PyErr_Occurred()) SWIG_fail
;
19672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19673 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19675 wxPyEndAllowThreads(__tstate
);
19676 if (PyErr_Occurred()) SWIG_fail
;
19678 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19685 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19686 PyObject
*resultobj
;
19687 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19688 PyObject
* obj0
= 0 ;
19689 char *kwnames
[] = {
19690 (char *) "self", NULL
19693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19700 wxPyEndAllowThreads(__tstate
);
19701 if (PyErr_Occurred()) SWIG_fail
;
19703 Py_INCREF(Py_None
); resultobj
= Py_None
;
19710 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19711 PyObject
*resultobj
;
19712 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19713 PyObject
*arg2
= (PyObject
*) 0 ;
19714 PyObject
* obj0
= 0 ;
19715 PyObject
* obj1
= 0 ;
19716 char *kwnames
[] = {
19717 (char *) "self",(char *) "self", NULL
19720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19726 (arg1
)->SetSelf(arg2
);
19728 wxPyEndAllowThreads(__tstate
);
19729 if (PyErr_Occurred()) SWIG_fail
;
19731 Py_INCREF(Py_None
); resultobj
= Py_None
;
19738 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19739 PyObject
*resultobj
;
19740 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19742 PyObject
* obj0
= 0 ;
19743 char *kwnames
[] = {
19744 (char *) "self", NULL
19747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19752 result
= (PyObject
*)(arg1
)->GetSelf();
19754 wxPyEndAllowThreads(__tstate
);
19755 if (PyErr_Occurred()) SWIG_fail
;
19757 resultobj
= result
;
19764 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
19766 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19767 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
19769 return Py_BuildValue((char *)"");
19771 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19772 PyObject
*resultobj
;
19774 char *kwnames
[] = {
19778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19781 result
= (wxPyApp
*)new_wxPyApp();
19783 wxPyEndAllowThreads(__tstate
);
19784 if (PyErr_Occurred()) SWIG_fail
;
19786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
19793 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19794 PyObject
*resultobj
;
19795 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19796 PyObject
* obj0
= 0 ;
19797 char *kwnames
[] = {
19798 (char *) "self", NULL
19801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
19802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19808 wxPyEndAllowThreads(__tstate
);
19809 if (PyErr_Occurred()) SWIG_fail
;
19811 Py_INCREF(Py_None
); resultobj
= Py_None
;
19818 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19819 PyObject
*resultobj
;
19820 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19821 PyObject
*arg2
= (PyObject
*) 0 ;
19822 PyObject
*arg3
= (PyObject
*) 0 ;
19823 PyObject
* obj0
= 0 ;
19824 PyObject
* obj1
= 0 ;
19825 PyObject
* obj2
= 0 ;
19826 char *kwnames
[] = {
19827 (char *) "self",(char *) "self",(char *) "_class", NULL
19830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19837 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19839 wxPyEndAllowThreads(__tstate
);
19840 if (PyErr_Occurred()) SWIG_fail
;
19842 Py_INCREF(Py_None
); resultobj
= Py_None
;
19849 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19850 PyObject
*resultobj
;
19851 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19853 PyObject
* obj0
= 0 ;
19854 char *kwnames
[] = {
19855 (char *) "self", NULL
19858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
19859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19863 result
= ((wxPyApp
const *)arg1
)->GetAppName();
19865 wxPyEndAllowThreads(__tstate
);
19866 if (PyErr_Occurred()) SWIG_fail
;
19870 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19872 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19881 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19882 PyObject
*resultobj
;
19883 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19884 wxString
*arg2
= 0 ;
19885 bool temp2
= False
;
19886 PyObject
* obj0
= 0 ;
19887 PyObject
* obj1
= 0 ;
19888 char *kwnames
[] = {
19889 (char *) "self",(char *) "name", NULL
19892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19896 arg2
= wxString_in_helper(obj1
);
19897 if (arg2
== NULL
) SWIG_fail
;
19901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19902 (arg1
)->SetAppName((wxString
const &)*arg2
);
19904 wxPyEndAllowThreads(__tstate
);
19905 if (PyErr_Occurred()) SWIG_fail
;
19907 Py_INCREF(Py_None
); resultobj
= Py_None
;
19922 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19923 PyObject
*resultobj
;
19924 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19926 PyObject
* obj0
= 0 ;
19927 char *kwnames
[] = {
19928 (char *) "self", NULL
19931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
19932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19936 result
= ((wxPyApp
const *)arg1
)->GetClassName();
19938 wxPyEndAllowThreads(__tstate
);
19939 if (PyErr_Occurred()) SWIG_fail
;
19943 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19945 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19954 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19955 PyObject
*resultobj
;
19956 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19957 wxString
*arg2
= 0 ;
19958 bool temp2
= False
;
19959 PyObject
* obj0
= 0 ;
19960 PyObject
* obj1
= 0 ;
19961 char *kwnames
[] = {
19962 (char *) "self",(char *) "name", NULL
19965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
19966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19969 arg2
= wxString_in_helper(obj1
);
19970 if (arg2
== NULL
) SWIG_fail
;
19974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19975 (arg1
)->SetClassName((wxString
const &)*arg2
);
19977 wxPyEndAllowThreads(__tstate
);
19978 if (PyErr_Occurred()) SWIG_fail
;
19980 Py_INCREF(Py_None
); resultobj
= Py_None
;
19995 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19996 PyObject
*resultobj
;
19997 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19999 PyObject
* obj0
= 0 ;
20000 char *kwnames
[] = {
20001 (char *) "self", NULL
20004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
20005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20010 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
20011 result
= (wxString
*) &_result_ref
;
20014 wxPyEndAllowThreads(__tstate
);
20015 if (PyErr_Occurred()) SWIG_fail
;
20019 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20021 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20030 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20031 PyObject
*resultobj
;
20032 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20033 wxString
*arg2
= 0 ;
20034 bool temp2
= False
;
20035 PyObject
* obj0
= 0 ;
20036 PyObject
* obj1
= 0 ;
20037 char *kwnames
[] = {
20038 (char *) "self",(char *) "name", NULL
20041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
20042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20045 arg2
= wxString_in_helper(obj1
);
20046 if (arg2
== NULL
) SWIG_fail
;
20050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20051 (arg1
)->SetVendorName((wxString
const &)*arg2
);
20053 wxPyEndAllowThreads(__tstate
);
20054 if (PyErr_Occurred()) SWIG_fail
;
20056 Py_INCREF(Py_None
); resultobj
= Py_None
;
20071 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20072 PyObject
*resultobj
;
20073 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20074 wxAppTraits
*result
;
20075 PyObject
* obj0
= 0 ;
20076 char *kwnames
[] = {
20077 (char *) "self", NULL
20080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
20081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20085 result
= (wxAppTraits
*)(arg1
)->GetTraits();
20087 wxPyEndAllowThreads(__tstate
);
20088 if (PyErr_Occurred()) SWIG_fail
;
20090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
20097 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20098 PyObject
*resultobj
;
20099 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20100 PyObject
* obj0
= 0 ;
20101 char *kwnames
[] = {
20102 (char *) "self", NULL
20105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
20106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20110 (arg1
)->ProcessPendingEvents();
20112 wxPyEndAllowThreads(__tstate
);
20113 if (PyErr_Occurred()) SWIG_fail
;
20115 Py_INCREF(Py_None
); resultobj
= Py_None
;
20122 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20123 PyObject
*resultobj
;
20124 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20125 bool arg2
= (bool) False
;
20127 PyObject
* obj0
= 0 ;
20128 PyObject
* obj1
= 0 ;
20129 char *kwnames
[] = {
20130 (char *) "self",(char *) "onlyIfNeeded", NULL
20133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
20134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20137 arg2
= (bool)SWIG_As_bool(obj1
);
20138 if (PyErr_Occurred()) SWIG_fail
;
20141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20142 result
= (bool)(arg1
)->Yield(arg2
);
20144 wxPyEndAllowThreads(__tstate
);
20145 if (PyErr_Occurred()) SWIG_fail
;
20148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20156 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20157 PyObject
*resultobj
;
20158 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20159 PyObject
* obj0
= 0 ;
20160 char *kwnames
[] = {
20161 (char *) "self", NULL
20164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
20165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20169 (arg1
)->WakeUpIdle();
20171 wxPyEndAllowThreads(__tstate
);
20172 if (PyErr_Occurred()) SWIG_fail
;
20174 Py_INCREF(Py_None
); resultobj
= Py_None
;
20181 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20182 PyObject
*resultobj
;
20183 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20185 PyObject
* obj0
= 0 ;
20186 char *kwnames
[] = {
20187 (char *) "self", NULL
20190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
20191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20195 result
= (int)(arg1
)->MainLoop();
20197 wxPyEndAllowThreads(__tstate
);
20198 if (PyErr_Occurred()) SWIG_fail
;
20200 resultobj
= SWIG_From_int((int)result
);
20207 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20208 PyObject
*resultobj
;
20209 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20210 PyObject
* obj0
= 0 ;
20211 char *kwnames
[] = {
20212 (char *) "self", NULL
20215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
20216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20222 wxPyEndAllowThreads(__tstate
);
20223 if (PyErr_Occurred()) SWIG_fail
;
20225 Py_INCREF(Py_None
); resultobj
= Py_None
;
20232 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20233 PyObject
*resultobj
;
20234 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20235 PyObject
* obj0
= 0 ;
20236 char *kwnames
[] = {
20237 (char *) "self", NULL
20240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
20241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20245 (arg1
)->ExitMainLoop();
20247 wxPyEndAllowThreads(__tstate
);
20248 if (PyErr_Occurred()) SWIG_fail
;
20250 Py_INCREF(Py_None
); resultobj
= Py_None
;
20257 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20258 PyObject
*resultobj
;
20259 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20261 PyObject
* obj0
= 0 ;
20262 char *kwnames
[] = {
20263 (char *) "self", NULL
20266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
20267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20271 result
= (bool)(arg1
)->Pending();
20273 wxPyEndAllowThreads(__tstate
);
20274 if (PyErr_Occurred()) SWIG_fail
;
20277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20285 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20286 PyObject
*resultobj
;
20287 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20289 PyObject
* obj0
= 0 ;
20290 char *kwnames
[] = {
20291 (char *) "self", NULL
20294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
20295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20299 result
= (bool)(arg1
)->Dispatch();
20301 wxPyEndAllowThreads(__tstate
);
20302 if (PyErr_Occurred()) SWIG_fail
;
20305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20313 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20314 PyObject
*resultobj
;
20315 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20317 PyObject
* obj0
= 0 ;
20318 char *kwnames
[] = {
20319 (char *) "self", NULL
20322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
20323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20327 result
= (bool)(arg1
)->ProcessIdle();
20329 wxPyEndAllowThreads(__tstate
);
20330 if (PyErr_Occurred()) SWIG_fail
;
20333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20341 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20342 PyObject
*resultobj
;
20343 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20344 wxWindow
*arg2
= (wxWindow
*) 0 ;
20345 wxIdleEvent
*arg3
= 0 ;
20347 PyObject
* obj0
= 0 ;
20348 PyObject
* obj1
= 0 ;
20349 PyObject
* obj2
= 0 ;
20350 char *kwnames
[] = {
20351 (char *) "self",(char *) "win",(char *) "event", NULL
20354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20357 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20359 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
20360 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20362 if (arg3
== NULL
) {
20363 PyErr_SetString(PyExc_TypeError
,"null reference");
20367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20368 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
20370 wxPyEndAllowThreads(__tstate
);
20371 if (PyErr_Occurred()) SWIG_fail
;
20374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20382 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20383 PyObject
*resultobj
;
20384 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20386 PyObject
* obj0
= 0 ;
20387 char *kwnames
[] = {
20388 (char *) "self", NULL
20391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
20392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20396 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
20398 wxPyEndAllowThreads(__tstate
);
20399 if (PyErr_Occurred()) SWIG_fail
;
20402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20410 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20411 PyObject
*resultobj
;
20412 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20413 wxWindow
*arg2
= (wxWindow
*) 0 ;
20414 PyObject
* obj0
= 0 ;
20415 PyObject
* obj1
= 0 ;
20416 char *kwnames
[] = {
20417 (char *) "self",(char *) "win", NULL
20420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20423 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20427 (arg1
)->SetTopWindow(arg2
);
20429 wxPyEndAllowThreads(__tstate
);
20430 if (PyErr_Occurred()) SWIG_fail
;
20432 Py_INCREF(Py_None
); resultobj
= Py_None
;
20439 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20440 PyObject
*resultobj
;
20441 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20443 PyObject
* obj0
= 0 ;
20444 char *kwnames
[] = {
20445 (char *) "self", NULL
20448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
20449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20453 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
20455 wxPyEndAllowThreads(__tstate
);
20456 if (PyErr_Occurred()) SWIG_fail
;
20459 resultobj
= wxPyMake_wxObject(result
, 0);
20467 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20468 PyObject
*resultobj
;
20469 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20471 PyObject
* obj0
= 0 ;
20472 PyObject
* obj1
= 0 ;
20473 char *kwnames
[] = {
20474 (char *) "self",(char *) "flag", NULL
20477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
20478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20480 arg2
= (bool)SWIG_As_bool(obj1
);
20481 if (PyErr_Occurred()) SWIG_fail
;
20483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20484 (arg1
)->SetExitOnFrameDelete(arg2
);
20486 wxPyEndAllowThreads(__tstate
);
20487 if (PyErr_Occurred()) SWIG_fail
;
20489 Py_INCREF(Py_None
); resultobj
= Py_None
;
20496 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20497 PyObject
*resultobj
;
20498 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20500 PyObject
* obj0
= 0 ;
20501 char *kwnames
[] = {
20502 (char *) "self", NULL
20505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
20506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20510 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
20512 wxPyEndAllowThreads(__tstate
);
20513 if (PyErr_Occurred()) SWIG_fail
;
20516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20524 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20525 PyObject
*resultobj
;
20526 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20528 PyObject
* obj0
= 0 ;
20529 PyObject
* obj1
= 0 ;
20530 char *kwnames
[] = {
20531 (char *) "self",(char *) "flag", NULL
20534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
20535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20537 arg2
= (bool)SWIG_As_bool(obj1
);
20538 if (PyErr_Occurred()) SWIG_fail
;
20540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20541 (arg1
)->SetUseBestVisual(arg2
);
20543 wxPyEndAllowThreads(__tstate
);
20544 if (PyErr_Occurred()) SWIG_fail
;
20546 Py_INCREF(Py_None
); resultobj
= Py_None
;
20553 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20554 PyObject
*resultobj
;
20555 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20557 PyObject
* obj0
= 0 ;
20558 char *kwnames
[] = {
20559 (char *) "self", NULL
20562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20567 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20569 wxPyEndAllowThreads(__tstate
);
20570 if (PyErr_Occurred()) SWIG_fail
;
20573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20581 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20582 PyObject
*resultobj
;
20583 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20585 PyObject
* obj0
= 0 ;
20586 PyObject
* obj1
= 0 ;
20587 char *kwnames
[] = {
20588 (char *) "self",(char *) "mode", NULL
20591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20594 arg2
= (int)SWIG_As_int(obj1
);
20595 if (PyErr_Occurred()) SWIG_fail
;
20597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20598 (arg1
)->SetPrintMode(arg2
);
20600 wxPyEndAllowThreads(__tstate
);
20601 if (PyErr_Occurred()) SWIG_fail
;
20603 Py_INCREF(Py_None
); resultobj
= Py_None
;
20610 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20611 PyObject
*resultobj
;
20612 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20614 PyObject
* obj0
= 0 ;
20615 char *kwnames
[] = {
20616 (char *) "self", NULL
20619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20624 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
20626 wxPyEndAllowThreads(__tstate
);
20627 if (PyErr_Occurred()) SWIG_fail
;
20629 resultobj
= SWIG_From_int((int)result
);
20636 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20637 PyObject
*resultobj
;
20638 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20640 PyObject
* obj0
= 0 ;
20641 PyObject
* obj1
= 0 ;
20642 char *kwnames
[] = {
20643 (char *) "self",(char *) "mode", NULL
20646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20649 arg2
= (int)SWIG_As_int(obj1
);
20650 if (PyErr_Occurred()) SWIG_fail
;
20652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20653 (arg1
)->SetAssertMode(arg2
);
20655 wxPyEndAllowThreads(__tstate
);
20656 if (PyErr_Occurred()) SWIG_fail
;
20658 Py_INCREF(Py_None
); resultobj
= Py_None
;
20665 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20666 PyObject
*resultobj
;
20667 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20669 PyObject
* obj0
= 0 ;
20670 char *kwnames
[] = {
20671 (char *) "self", NULL
20674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20679 result
= (int)(arg1
)->GetAssertMode();
20681 wxPyEndAllowThreads(__tstate
);
20682 if (PyErr_Occurred()) SWIG_fail
;
20684 resultobj
= SWIG_From_int((int)result
);
20691 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20692 PyObject
*resultobj
;
20694 char *kwnames
[] = {
20698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
20700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20701 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20703 wxPyEndAllowThreads(__tstate
);
20704 if (PyErr_Occurred()) SWIG_fail
;
20707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20715 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20716 PyObject
*resultobj
;
20718 char *kwnames
[] = {
20722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
20724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20725 result
= (long)wxPyApp::GetMacAboutMenuItemId();
20727 wxPyEndAllowThreads(__tstate
);
20728 if (PyErr_Occurred()) SWIG_fail
;
20730 resultobj
= SWIG_From_long((long)result
);
20737 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20738 PyObject
*resultobj
;
20740 char *kwnames
[] = {
20744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
20746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20747 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
20749 wxPyEndAllowThreads(__tstate
);
20750 if (PyErr_Occurred()) SWIG_fail
;
20752 resultobj
= SWIG_From_long((long)result
);
20759 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20760 PyObject
*resultobj
;
20762 char *kwnames
[] = {
20766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
20768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20769 result
= (long)wxPyApp::GetMacExitMenuItemId();
20771 wxPyEndAllowThreads(__tstate
);
20772 if (PyErr_Occurred()) SWIG_fail
;
20774 resultobj
= SWIG_From_long((long)result
);
20781 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20782 PyObject
*resultobj
;
20784 char *kwnames
[] = {
20788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
20790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20791 result
= wxPyApp::GetMacHelpMenuTitleName();
20793 wxPyEndAllowThreads(__tstate
);
20794 if (PyErr_Occurred()) SWIG_fail
;
20798 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20800 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20809 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20810 PyObject
*resultobj
;
20812 PyObject
* obj0
= 0 ;
20813 char *kwnames
[] = {
20814 (char *) "val", NULL
20817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
20818 arg1
= (bool)SWIG_As_bool(obj0
);
20819 if (PyErr_Occurred()) SWIG_fail
;
20821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20822 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
20824 wxPyEndAllowThreads(__tstate
);
20825 if (PyErr_Occurred()) SWIG_fail
;
20827 Py_INCREF(Py_None
); resultobj
= Py_None
;
20834 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20835 PyObject
*resultobj
;
20837 PyObject
* obj0
= 0 ;
20838 char *kwnames
[] = {
20839 (char *) "val", NULL
20842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
20843 arg1
= (long)SWIG_As_long(obj0
);
20844 if (PyErr_Occurred()) SWIG_fail
;
20846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20847 wxPyApp::SetMacAboutMenuItemId(arg1
);
20849 wxPyEndAllowThreads(__tstate
);
20850 if (PyErr_Occurred()) SWIG_fail
;
20852 Py_INCREF(Py_None
); resultobj
= Py_None
;
20859 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20860 PyObject
*resultobj
;
20862 PyObject
* obj0
= 0 ;
20863 char *kwnames
[] = {
20864 (char *) "val", NULL
20867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
20868 arg1
= (long)SWIG_As_long(obj0
);
20869 if (PyErr_Occurred()) SWIG_fail
;
20871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20872 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
20874 wxPyEndAllowThreads(__tstate
);
20875 if (PyErr_Occurred()) SWIG_fail
;
20877 Py_INCREF(Py_None
); resultobj
= Py_None
;
20884 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20885 PyObject
*resultobj
;
20887 PyObject
* obj0
= 0 ;
20888 char *kwnames
[] = {
20889 (char *) "val", NULL
20892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
20893 arg1
= (long)SWIG_As_long(obj0
);
20894 if (PyErr_Occurred()) SWIG_fail
;
20896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20897 wxPyApp::SetMacExitMenuItemId(arg1
);
20899 wxPyEndAllowThreads(__tstate
);
20900 if (PyErr_Occurred()) SWIG_fail
;
20902 Py_INCREF(Py_None
); resultobj
= Py_None
;
20909 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20910 PyObject
*resultobj
;
20911 wxString
*arg1
= 0 ;
20912 bool temp1
= False
;
20913 PyObject
* obj0
= 0 ;
20914 char *kwnames
[] = {
20915 (char *) "val", NULL
20918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
20920 arg1
= wxString_in_helper(obj0
);
20921 if (arg1
== NULL
) SWIG_fail
;
20925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20926 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
20928 wxPyEndAllowThreads(__tstate
);
20929 if (PyErr_Occurred()) SWIG_fail
;
20931 Py_INCREF(Py_None
); resultobj
= Py_None
;
20946 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20947 PyObject
*resultobj
;
20948 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20949 PyObject
* obj0
= 0 ;
20950 char *kwnames
[] = {
20951 (char *) "self", NULL
20954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
20955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20959 (arg1
)->_BootstrapApp();
20961 wxPyEndAllowThreads(__tstate
);
20962 if (PyErr_Occurred()) SWIG_fail
;
20964 Py_INCREF(Py_None
); resultobj
= Py_None
;
20971 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20972 PyObject
*resultobj
;
20974 char *kwnames
[] = {
20978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
20980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20981 result
= (int)PyApp_GetComCtl32Version();
20983 wxPyEndAllowThreads(__tstate
);
20984 if (PyErr_Occurred()) SWIG_fail
;
20986 resultobj
= SWIG_From_int((int)result
);
20993 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
20995 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20996 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
20998 return Py_BuildValue((char *)"");
21000 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21001 PyObject
*resultobj
;
21002 char *kwnames
[] = {
21006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
21008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21011 wxPyEndAllowThreads(__tstate
);
21012 if (PyErr_Occurred()) SWIG_fail
;
21014 Py_INCREF(Py_None
); resultobj
= Py_None
;
21021 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21022 PyObject
*resultobj
;
21024 char *kwnames
[] = {
21028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
21030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21031 result
= (bool)wxYield();
21033 wxPyEndAllowThreads(__tstate
);
21034 if (PyErr_Occurred()) SWIG_fail
;
21037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21045 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21046 PyObject
*resultobj
;
21048 char *kwnames
[] = {
21052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
21054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21055 result
= (bool)wxYieldIfNeeded();
21057 wxPyEndAllowThreads(__tstate
);
21058 if (PyErr_Occurred()) SWIG_fail
;
21061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21069 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21070 PyObject
*resultobj
;
21071 wxWindow
*arg1
= (wxWindow
*) NULL
;
21072 bool arg2
= (bool) False
;
21074 PyObject
* obj0
= 0 ;
21075 PyObject
* obj1
= 0 ;
21076 char *kwnames
[] = {
21077 (char *) "win",(char *) "onlyIfNeeded", NULL
21080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
21082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21086 arg2
= (bool)SWIG_As_bool(obj1
);
21087 if (PyErr_Occurred()) SWIG_fail
;
21090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21091 result
= (bool)wxSafeYield(arg1
,arg2
);
21093 wxPyEndAllowThreads(__tstate
);
21094 if (PyErr_Occurred()) SWIG_fail
;
21097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21105 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21106 PyObject
*resultobj
;
21107 char *kwnames
[] = {
21111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
21113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21116 wxPyEndAllowThreads(__tstate
);
21117 if (PyErr_Occurred()) SWIG_fail
;
21119 Py_INCREF(Py_None
); resultobj
= Py_None
;
21126 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21127 PyObject
*resultobj
;
21128 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
21129 wxEvent
*arg2
= 0 ;
21130 PyObject
* obj0
= 0 ;
21131 PyObject
* obj1
= 0 ;
21132 char *kwnames
[] = {
21133 (char *) "dest",(char *) "event", NULL
21136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
21138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21139 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
21140 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21142 if (arg2
== NULL
) {
21143 PyErr_SetString(PyExc_TypeError
,"null reference");
21147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21148 wxPostEvent(arg1
,*arg2
);
21150 wxPyEndAllowThreads(__tstate
);
21151 if (PyErr_Occurred()) SWIG_fail
;
21153 Py_INCREF(Py_None
); resultobj
= Py_None
;
21160 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21161 PyObject
*resultobj
;
21162 char *kwnames
[] = {
21166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
21168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21171 wxPyEndAllowThreads(__tstate
);
21172 if (PyErr_Occurred()) SWIG_fail
;
21174 Py_INCREF(Py_None
); resultobj
= Py_None
;
21181 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21182 PyObject
*resultobj
;
21184 char *kwnames
[] = {
21188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
21190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21191 result
= (wxPyApp
*)wxPyGetApp();
21193 wxPyEndAllowThreads(__tstate
);
21194 if (PyErr_Occurred()) SWIG_fail
;
21197 resultobj
= wxPyMake_wxObject(result
, 0);
21205 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21206 PyObject
*resultobj
;
21207 int arg1
= (int) 0 ;
21208 int arg2
= (int) 0 ;
21209 int arg3
= (int) 0 ;
21210 wxAcceleratorEntry
*result
;
21211 PyObject
* obj0
= 0 ;
21212 PyObject
* obj1
= 0 ;
21213 PyObject
* obj2
= 0 ;
21214 char *kwnames
[] = {
21215 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
21218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21220 arg1
= (int)SWIG_As_int(obj0
);
21221 if (PyErr_Occurred()) SWIG_fail
;
21224 arg2
= (int)SWIG_As_int(obj1
);
21225 if (PyErr_Occurred()) SWIG_fail
;
21228 arg3
= (int)SWIG_As_int(obj2
);
21229 if (PyErr_Occurred()) SWIG_fail
;
21232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21233 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
21235 wxPyEndAllowThreads(__tstate
);
21236 if (PyErr_Occurred()) SWIG_fail
;
21238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
21245 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21246 PyObject
*resultobj
;
21247 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21248 PyObject
* obj0
= 0 ;
21249 char *kwnames
[] = {
21250 (char *) "self", NULL
21253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
21254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21260 wxPyEndAllowThreads(__tstate
);
21261 if (PyErr_Occurred()) SWIG_fail
;
21263 Py_INCREF(Py_None
); resultobj
= Py_None
;
21270 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21271 PyObject
*resultobj
;
21272 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21276 PyObject
* obj0
= 0 ;
21277 PyObject
* obj1
= 0 ;
21278 PyObject
* obj2
= 0 ;
21279 PyObject
* obj3
= 0 ;
21280 char *kwnames
[] = {
21281 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
21284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21287 arg2
= (int)SWIG_As_int(obj1
);
21288 if (PyErr_Occurred()) SWIG_fail
;
21289 arg3
= (int)SWIG_As_int(obj2
);
21290 if (PyErr_Occurred()) SWIG_fail
;
21291 arg4
= (int)SWIG_As_int(obj3
);
21292 if (PyErr_Occurred()) SWIG_fail
;
21294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21295 (arg1
)->Set(arg2
,arg3
,arg4
);
21297 wxPyEndAllowThreads(__tstate
);
21298 if (PyErr_Occurred()) SWIG_fail
;
21300 Py_INCREF(Py_None
); resultobj
= Py_None
;
21307 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21308 PyObject
*resultobj
;
21309 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21311 PyObject
* obj0
= 0 ;
21312 char *kwnames
[] = {
21313 (char *) "self", NULL
21316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
21317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21321 result
= (int)(arg1
)->GetFlags();
21323 wxPyEndAllowThreads(__tstate
);
21324 if (PyErr_Occurred()) SWIG_fail
;
21326 resultobj
= SWIG_From_int((int)result
);
21333 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21334 PyObject
*resultobj
;
21335 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21337 PyObject
* obj0
= 0 ;
21338 char *kwnames
[] = {
21339 (char *) "self", NULL
21342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
21343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21347 result
= (int)(arg1
)->GetKeyCode();
21349 wxPyEndAllowThreads(__tstate
);
21350 if (PyErr_Occurred()) SWIG_fail
;
21352 resultobj
= SWIG_From_int((int)result
);
21359 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21360 PyObject
*resultobj
;
21361 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21363 PyObject
* obj0
= 0 ;
21364 char *kwnames
[] = {
21365 (char *) "self", NULL
21368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
21369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21373 result
= (int)(arg1
)->GetCommand();
21375 wxPyEndAllowThreads(__tstate
);
21376 if (PyErr_Occurred()) SWIG_fail
;
21378 resultobj
= SWIG_From_int((int)result
);
21385 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
21387 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21388 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
21390 return Py_BuildValue((char *)"");
21392 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21393 PyObject
*resultobj
;
21395 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
21396 wxAcceleratorTable
*result
;
21397 PyObject
* obj0
= 0 ;
21398 char *kwnames
[] = {
21402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21404 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
21405 if (arg2
) arg1
= PyList_Size(obj0
);
21409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21410 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
21412 wxPyEndAllowThreads(__tstate
);
21413 if (PyErr_Occurred()) SWIG_fail
;
21415 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
21428 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21429 PyObject
*resultobj
;
21430 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21431 PyObject
* obj0
= 0 ;
21432 char *kwnames
[] = {
21433 (char *) "self", NULL
21436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21443 wxPyEndAllowThreads(__tstate
);
21444 if (PyErr_Occurred()) SWIG_fail
;
21446 Py_INCREF(Py_None
); resultobj
= Py_None
;
21453 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21454 PyObject
*resultobj
;
21455 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21457 PyObject
* obj0
= 0 ;
21458 char *kwnames
[] = {
21459 (char *) "self", NULL
21462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
21463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21467 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
21469 wxPyEndAllowThreads(__tstate
);
21470 if (PyErr_Occurred()) SWIG_fail
;
21473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21481 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
21483 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21484 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
21486 return Py_BuildValue((char *)"");
21488 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
21489 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
21494 static PyObject
*_wrap_NullAcceleratorTable_get() {
21497 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
21502 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21503 PyObject
*resultobj
;
21504 wxString
*arg1
= 0 ;
21505 wxAcceleratorEntry
*result
;
21506 bool temp1
= False
;
21507 PyObject
* obj0
= 0 ;
21508 char *kwnames
[] = {
21509 (char *) "label", NULL
21512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
21514 arg1
= wxString_in_helper(obj0
);
21515 if (arg1
== NULL
) SWIG_fail
;
21519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21520 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
21522 wxPyEndAllowThreads(__tstate
);
21523 if (PyErr_Occurred()) SWIG_fail
;
21525 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
21540 static int _wrap_PanelNameStr_set(PyObject
*) {
21541 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
21546 static PyObject
*_wrap_PanelNameStr_get() {
21551 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21553 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21560 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21561 PyObject
*resultobj
;
21562 wxVisualAttributes
*result
;
21563 char *kwnames
[] = {
21567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
21569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21570 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
21572 wxPyEndAllowThreads(__tstate
);
21573 if (PyErr_Occurred()) SWIG_fail
;
21575 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
21582 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21583 PyObject
*resultobj
;
21584 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21585 PyObject
* obj0
= 0 ;
21586 char *kwnames
[] = {
21587 (char *) "self", NULL
21590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
21591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21595 delete_wxVisualAttributes(arg1
);
21597 wxPyEndAllowThreads(__tstate
);
21598 if (PyErr_Occurred()) SWIG_fail
;
21600 Py_INCREF(Py_None
); resultobj
= Py_None
;
21607 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21608 PyObject
*resultobj
;
21609 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21610 wxFont
*arg2
= (wxFont
*) 0 ;
21611 PyObject
* obj0
= 0 ;
21612 PyObject
* obj1
= 0 ;
21613 char *kwnames
[] = {
21614 (char *) "self",(char *) "font", NULL
21617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21620 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
21621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21622 if (arg1
) (arg1
)->font
= *arg2
;
21624 Py_INCREF(Py_None
); resultobj
= Py_None
;
21631 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21632 PyObject
*resultobj
;
21633 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21635 PyObject
* obj0
= 0 ;
21636 char *kwnames
[] = {
21637 (char *) "self", NULL
21640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
21641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21643 result
= (wxFont
*)& ((arg1
)->font
);
21645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
21652 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21653 PyObject
*resultobj
;
21654 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21655 wxColour
*arg2
= (wxColour
*) 0 ;
21656 PyObject
* obj0
= 0 ;
21657 PyObject
* obj1
= 0 ;
21658 char *kwnames
[] = {
21659 (char *) "self",(char *) "colFg", NULL
21662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21665 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21667 if (arg1
) (arg1
)->colFg
= *arg2
;
21669 Py_INCREF(Py_None
); resultobj
= Py_None
;
21676 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21677 PyObject
*resultobj
;
21678 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21680 PyObject
* obj0
= 0 ;
21681 char *kwnames
[] = {
21682 (char *) "self", NULL
21685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
21686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21688 result
= (wxColour
*)& ((arg1
)->colFg
);
21690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21697 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21698 PyObject
*resultobj
;
21699 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21700 wxColour
*arg2
= (wxColour
*) 0 ;
21701 PyObject
* obj0
= 0 ;
21702 PyObject
* obj1
= 0 ;
21703 char *kwnames
[] = {
21704 (char *) "self",(char *) "colBg", NULL
21707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21710 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21712 if (arg1
) (arg1
)->colBg
= *arg2
;
21714 Py_INCREF(Py_None
); resultobj
= Py_None
;
21721 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21722 PyObject
*resultobj
;
21723 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21725 PyObject
* obj0
= 0 ;
21726 char *kwnames
[] = {
21727 (char *) "self", NULL
21730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
21731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21733 result
= (wxColour
*)& ((arg1
)->colBg
);
21735 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21742 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
21744 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21745 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
21747 return Py_BuildValue((char *)"");
21749 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21750 PyObject
*resultobj
;
21751 wxWindow
*arg1
= (wxWindow
*) 0 ;
21752 int arg2
= (int) (int)-1 ;
21753 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21754 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21755 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21756 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21757 long arg5
= (long) 0 ;
21758 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21759 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21763 bool temp6
= False
;
21764 PyObject
* obj0
= 0 ;
21765 PyObject
* obj1
= 0 ;
21766 PyObject
* obj2
= 0 ;
21767 PyObject
* obj3
= 0 ;
21768 PyObject
* obj4
= 0 ;
21769 PyObject
* obj5
= 0 ;
21770 char *kwnames
[] = {
21771 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21778 arg2
= (int)SWIG_As_int(obj1
);
21779 if (PyErr_Occurred()) SWIG_fail
;
21784 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21790 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21794 arg5
= (long)SWIG_As_long(obj4
);
21795 if (PyErr_Occurred()) SWIG_fail
;
21799 arg6
= wxString_in_helper(obj5
);
21800 if (arg6
== NULL
) SWIG_fail
;
21805 if (!wxPyCheckForApp()) SWIG_fail
;
21806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21807 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21809 wxPyEndAllowThreads(__tstate
);
21810 if (PyErr_Occurred()) SWIG_fail
;
21812 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
21827 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21828 PyObject
*resultobj
;
21830 char *kwnames
[] = {
21834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
21836 if (!wxPyCheckForApp()) SWIG_fail
;
21837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21838 result
= (wxWindow
*)new wxWindow();
21840 wxPyEndAllowThreads(__tstate
);
21841 if (PyErr_Occurred()) SWIG_fail
;
21843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
21850 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21851 PyObject
*resultobj
;
21852 wxWindow
*arg1
= (wxWindow
*) 0 ;
21853 wxWindow
*arg2
= (wxWindow
*) 0 ;
21854 int arg3
= (int) (int)-1 ;
21855 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21856 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21857 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21858 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21859 long arg6
= (long) 0 ;
21860 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
21861 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21865 bool temp7
= False
;
21866 PyObject
* obj0
= 0 ;
21867 PyObject
* obj1
= 0 ;
21868 PyObject
* obj2
= 0 ;
21869 PyObject
* obj3
= 0 ;
21870 PyObject
* obj4
= 0 ;
21871 PyObject
* obj5
= 0 ;
21872 PyObject
* obj6
= 0 ;
21873 char *kwnames
[] = {
21874 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21880 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21883 arg3
= (int)SWIG_As_int(obj2
);
21884 if (PyErr_Occurred()) SWIG_fail
;
21889 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21895 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21899 arg6
= (long)SWIG_As_long(obj5
);
21900 if (PyErr_Occurred()) SWIG_fail
;
21904 arg7
= wxString_in_helper(obj6
);
21905 if (arg7
== NULL
) SWIG_fail
;
21910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21911 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21913 wxPyEndAllowThreads(__tstate
);
21914 if (PyErr_Occurred()) SWIG_fail
;
21917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21933 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21934 PyObject
*resultobj
;
21935 wxWindow
*arg1
= (wxWindow
*) 0 ;
21936 bool arg2
= (bool) False
;
21938 PyObject
* obj0
= 0 ;
21939 PyObject
* obj1
= 0 ;
21940 char *kwnames
[] = {
21941 (char *) "self",(char *) "force", NULL
21944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
21945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21948 arg2
= (bool)SWIG_As_bool(obj1
);
21949 if (PyErr_Occurred()) SWIG_fail
;
21952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21953 result
= (bool)(arg1
)->Close(arg2
);
21955 wxPyEndAllowThreads(__tstate
);
21956 if (PyErr_Occurred()) SWIG_fail
;
21959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21967 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21968 PyObject
*resultobj
;
21969 wxWindow
*arg1
= (wxWindow
*) 0 ;
21971 PyObject
* obj0
= 0 ;
21972 char *kwnames
[] = {
21973 (char *) "self", NULL
21976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
21977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21981 result
= (bool)(arg1
)->Destroy();
21983 wxPyEndAllowThreads(__tstate
);
21984 if (PyErr_Occurred()) SWIG_fail
;
21987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21995 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21996 PyObject
*resultobj
;
21997 wxWindow
*arg1
= (wxWindow
*) 0 ;
21999 PyObject
* obj0
= 0 ;
22000 char *kwnames
[] = {
22001 (char *) "self", NULL
22004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
22005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22009 result
= (bool)(arg1
)->DestroyChildren();
22011 wxPyEndAllowThreads(__tstate
);
22012 if (PyErr_Occurred()) SWIG_fail
;
22015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22023 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22024 PyObject
*resultobj
;
22025 wxWindow
*arg1
= (wxWindow
*) 0 ;
22027 PyObject
* obj0
= 0 ;
22028 char *kwnames
[] = {
22029 (char *) "self", NULL
22032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
22033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22037 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
22039 wxPyEndAllowThreads(__tstate
);
22040 if (PyErr_Occurred()) SWIG_fail
;
22043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22051 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22052 PyObject
*resultobj
;
22053 wxWindow
*arg1
= (wxWindow
*) 0 ;
22054 wxString
*arg2
= 0 ;
22055 bool temp2
= False
;
22056 PyObject
* obj0
= 0 ;
22057 PyObject
* obj1
= 0 ;
22058 char *kwnames
[] = {
22059 (char *) "self",(char *) "title", NULL
22062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
22063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22066 arg2
= wxString_in_helper(obj1
);
22067 if (arg2
== NULL
) SWIG_fail
;
22071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22072 (arg1
)->SetTitle((wxString
const &)*arg2
);
22074 wxPyEndAllowThreads(__tstate
);
22075 if (PyErr_Occurred()) SWIG_fail
;
22077 Py_INCREF(Py_None
); resultobj
= Py_None
;
22092 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22093 PyObject
*resultobj
;
22094 wxWindow
*arg1
= (wxWindow
*) 0 ;
22096 PyObject
* obj0
= 0 ;
22097 char *kwnames
[] = {
22098 (char *) "self", NULL
22101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
22102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22106 result
= ((wxWindow
const *)arg1
)->GetTitle();
22108 wxPyEndAllowThreads(__tstate
);
22109 if (PyErr_Occurred()) SWIG_fail
;
22113 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22115 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22124 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22125 PyObject
*resultobj
;
22126 wxWindow
*arg1
= (wxWindow
*) 0 ;
22127 wxString
*arg2
= 0 ;
22128 bool temp2
= False
;
22129 PyObject
* obj0
= 0 ;
22130 PyObject
* obj1
= 0 ;
22131 char *kwnames
[] = {
22132 (char *) "self",(char *) "label", NULL
22135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22139 arg2
= wxString_in_helper(obj1
);
22140 if (arg2
== NULL
) SWIG_fail
;
22144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22145 (arg1
)->SetLabel((wxString
const &)*arg2
);
22147 wxPyEndAllowThreads(__tstate
);
22148 if (PyErr_Occurred()) SWIG_fail
;
22150 Py_INCREF(Py_None
); resultobj
= Py_None
;
22165 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22166 PyObject
*resultobj
;
22167 wxWindow
*arg1
= (wxWindow
*) 0 ;
22169 PyObject
* obj0
= 0 ;
22170 char *kwnames
[] = {
22171 (char *) "self", NULL
22174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
22175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22179 result
= ((wxWindow
const *)arg1
)->GetLabel();
22181 wxPyEndAllowThreads(__tstate
);
22182 if (PyErr_Occurred()) SWIG_fail
;
22186 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22188 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22197 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22198 PyObject
*resultobj
;
22199 wxWindow
*arg1
= (wxWindow
*) 0 ;
22200 wxString
*arg2
= 0 ;
22201 bool temp2
= False
;
22202 PyObject
* obj0
= 0 ;
22203 PyObject
* obj1
= 0 ;
22204 char *kwnames
[] = {
22205 (char *) "self",(char *) "name", NULL
22208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
22209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22212 arg2
= wxString_in_helper(obj1
);
22213 if (arg2
== NULL
) SWIG_fail
;
22217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22218 (arg1
)->SetName((wxString
const &)*arg2
);
22220 wxPyEndAllowThreads(__tstate
);
22221 if (PyErr_Occurred()) SWIG_fail
;
22223 Py_INCREF(Py_None
); resultobj
= Py_None
;
22238 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22239 PyObject
*resultobj
;
22240 wxWindow
*arg1
= (wxWindow
*) 0 ;
22242 PyObject
* obj0
= 0 ;
22243 char *kwnames
[] = {
22244 (char *) "self", NULL
22247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
22248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22252 result
= ((wxWindow
const *)arg1
)->GetName();
22254 wxPyEndAllowThreads(__tstate
);
22255 if (PyErr_Occurred()) SWIG_fail
;
22259 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22261 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22270 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22271 PyObject
*resultobj
;
22272 wxWindow
*arg1
= (wxWindow
*) 0 ;
22274 PyObject
* obj0
= 0 ;
22275 PyObject
* obj1
= 0 ;
22276 char *kwnames
[] = {
22277 (char *) "self",(char *) "variant", NULL
22280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
22281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22283 arg2
= (int)SWIG_As_int(obj1
);
22284 if (PyErr_Occurred()) SWIG_fail
;
22286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22287 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
22289 wxPyEndAllowThreads(__tstate
);
22290 if (PyErr_Occurred()) SWIG_fail
;
22292 Py_INCREF(Py_None
); resultobj
= Py_None
;
22299 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22300 PyObject
*resultobj
;
22301 wxWindow
*arg1
= (wxWindow
*) 0 ;
22303 PyObject
* obj0
= 0 ;
22304 char *kwnames
[] = {
22305 (char *) "self", NULL
22308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
22309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22313 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
22315 wxPyEndAllowThreads(__tstate
);
22316 if (PyErr_Occurred()) SWIG_fail
;
22318 resultobj
= SWIG_From_int((int)result
);
22325 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22326 PyObject
*resultobj
;
22327 wxWindow
*arg1
= (wxWindow
*) 0 ;
22329 PyObject
* obj0
= 0 ;
22330 PyObject
* obj1
= 0 ;
22331 char *kwnames
[] = {
22332 (char *) "self",(char *) "winid", NULL
22335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
22336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22338 arg2
= (int)SWIG_As_int(obj1
);
22339 if (PyErr_Occurred()) SWIG_fail
;
22341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22342 (arg1
)->SetId(arg2
);
22344 wxPyEndAllowThreads(__tstate
);
22345 if (PyErr_Occurred()) SWIG_fail
;
22347 Py_INCREF(Py_None
); resultobj
= Py_None
;
22354 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22355 PyObject
*resultobj
;
22356 wxWindow
*arg1
= (wxWindow
*) 0 ;
22358 PyObject
* obj0
= 0 ;
22359 char *kwnames
[] = {
22360 (char *) "self", NULL
22363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
22364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22368 result
= (int)((wxWindow
const *)arg1
)->GetId();
22370 wxPyEndAllowThreads(__tstate
);
22371 if (PyErr_Occurred()) SWIG_fail
;
22373 resultobj
= SWIG_From_int((int)result
);
22380 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22381 PyObject
*resultobj
;
22383 char *kwnames
[] = {
22387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
22389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22390 result
= (int)wxWindow::NewControlId();
22392 wxPyEndAllowThreads(__tstate
);
22393 if (PyErr_Occurred()) SWIG_fail
;
22395 resultobj
= SWIG_From_int((int)result
);
22402 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22403 PyObject
*resultobj
;
22406 PyObject
* obj0
= 0 ;
22407 char *kwnames
[] = {
22408 (char *) "winid", NULL
22411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
22412 arg1
= (int)SWIG_As_int(obj0
);
22413 if (PyErr_Occurred()) SWIG_fail
;
22415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22416 result
= (int)wxWindow::NextControlId(arg1
);
22418 wxPyEndAllowThreads(__tstate
);
22419 if (PyErr_Occurred()) SWIG_fail
;
22421 resultobj
= SWIG_From_int((int)result
);
22428 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22429 PyObject
*resultobj
;
22432 PyObject
* obj0
= 0 ;
22433 char *kwnames
[] = {
22434 (char *) "winid", NULL
22437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
22438 arg1
= (int)SWIG_As_int(obj0
);
22439 if (PyErr_Occurred()) SWIG_fail
;
22441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22442 result
= (int)wxWindow::PrevControlId(arg1
);
22444 wxPyEndAllowThreads(__tstate
);
22445 if (PyErr_Occurred()) SWIG_fail
;
22447 resultobj
= SWIG_From_int((int)result
);
22454 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22455 PyObject
*resultobj
;
22456 wxWindow
*arg1
= (wxWindow
*) 0 ;
22459 PyObject
* obj0
= 0 ;
22460 PyObject
* obj1
= 0 ;
22461 char *kwnames
[] = {
22462 (char *) "self",(char *) "size", NULL
22465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22470 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22474 (arg1
)->SetSize((wxSize
const &)*arg2
);
22476 wxPyEndAllowThreads(__tstate
);
22477 if (PyErr_Occurred()) SWIG_fail
;
22479 Py_INCREF(Py_None
); resultobj
= Py_None
;
22486 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22487 PyObject
*resultobj
;
22488 wxWindow
*arg1
= (wxWindow
*) 0 ;
22493 int arg6
= (int) wxSIZE_AUTO
;
22494 PyObject
* obj0
= 0 ;
22495 PyObject
* obj1
= 0 ;
22496 PyObject
* obj2
= 0 ;
22497 PyObject
* obj3
= 0 ;
22498 PyObject
* obj4
= 0 ;
22499 PyObject
* obj5
= 0 ;
22500 char *kwnames
[] = {
22501 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22507 arg2
= (int)SWIG_As_int(obj1
);
22508 if (PyErr_Occurred()) SWIG_fail
;
22509 arg3
= (int)SWIG_As_int(obj2
);
22510 if (PyErr_Occurred()) SWIG_fail
;
22511 arg4
= (int)SWIG_As_int(obj3
);
22512 if (PyErr_Occurred()) SWIG_fail
;
22513 arg5
= (int)SWIG_As_int(obj4
);
22514 if (PyErr_Occurred()) SWIG_fail
;
22516 arg6
= (int)SWIG_As_int(obj5
);
22517 if (PyErr_Occurred()) SWIG_fail
;
22520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22521 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22523 wxPyEndAllowThreads(__tstate
);
22524 if (PyErr_Occurred()) SWIG_fail
;
22526 Py_INCREF(Py_None
); resultobj
= Py_None
;
22533 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22534 PyObject
*resultobj
;
22535 wxWindow
*arg1
= (wxWindow
*) 0 ;
22537 int arg3
= (int) wxSIZE_AUTO
;
22539 PyObject
* obj0
= 0 ;
22540 PyObject
* obj1
= 0 ;
22541 PyObject
* obj2
= 0 ;
22542 char *kwnames
[] = {
22543 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22551 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22554 arg3
= (int)SWIG_As_int(obj2
);
22555 if (PyErr_Occurred()) SWIG_fail
;
22558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22559 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
22561 wxPyEndAllowThreads(__tstate
);
22562 if (PyErr_Occurred()) SWIG_fail
;
22564 Py_INCREF(Py_None
); resultobj
= Py_None
;
22571 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22572 PyObject
*resultobj
;
22573 wxWindow
*arg1
= (wxWindow
*) 0 ;
22576 PyObject
* obj0
= 0 ;
22577 PyObject
* obj1
= 0 ;
22578 PyObject
* obj2
= 0 ;
22579 char *kwnames
[] = {
22580 (char *) "self",(char *) "width",(char *) "height", NULL
22583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22586 arg2
= (int)SWIG_As_int(obj1
);
22587 if (PyErr_Occurred()) SWIG_fail
;
22588 arg3
= (int)SWIG_As_int(obj2
);
22589 if (PyErr_Occurred()) SWIG_fail
;
22591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22592 (arg1
)->SetSize(arg2
,arg3
);
22594 wxPyEndAllowThreads(__tstate
);
22595 if (PyErr_Occurred()) SWIG_fail
;
22597 Py_INCREF(Py_None
); resultobj
= Py_None
;
22604 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22605 PyObject
*resultobj
;
22606 wxWindow
*arg1
= (wxWindow
*) 0 ;
22607 wxPoint
*arg2
= 0 ;
22608 int arg3
= (int) wxSIZE_USE_EXISTING
;
22610 PyObject
* obj0
= 0 ;
22611 PyObject
* obj1
= 0 ;
22612 PyObject
* obj2
= 0 ;
22613 char *kwnames
[] = {
22614 (char *) "self",(char *) "pt",(char *) "flags", NULL
22617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22622 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22625 arg3
= (int)SWIG_As_int(obj2
);
22626 if (PyErr_Occurred()) SWIG_fail
;
22629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22630 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
22632 wxPyEndAllowThreads(__tstate
);
22633 if (PyErr_Occurred()) SWIG_fail
;
22635 Py_INCREF(Py_None
); resultobj
= Py_None
;
22642 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22643 PyObject
*resultobj
;
22644 wxWindow
*arg1
= (wxWindow
*) 0 ;
22647 int arg4
= (int) wxSIZE_USE_EXISTING
;
22648 PyObject
* obj0
= 0 ;
22649 PyObject
* obj1
= 0 ;
22650 PyObject
* obj2
= 0 ;
22651 PyObject
* obj3
= 0 ;
22652 char *kwnames
[] = {
22653 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22659 arg2
= (int)SWIG_As_int(obj1
);
22660 if (PyErr_Occurred()) SWIG_fail
;
22661 arg3
= (int)SWIG_As_int(obj2
);
22662 if (PyErr_Occurred()) SWIG_fail
;
22664 arg4
= (int)SWIG_As_int(obj3
);
22665 if (PyErr_Occurred()) SWIG_fail
;
22668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22669 (arg1
)->Move(arg2
,arg3
,arg4
);
22671 wxPyEndAllowThreads(__tstate
);
22672 if (PyErr_Occurred()) SWIG_fail
;
22674 Py_INCREF(Py_None
); resultobj
= Py_None
;
22681 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22682 PyObject
*resultobj
;
22683 wxWindow
*arg1
= (wxWindow
*) 0 ;
22684 wxSize
const &arg2_defvalue
= wxDefaultSize
;
22685 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
22687 PyObject
* obj0
= 0 ;
22688 PyObject
* obj1
= 0 ;
22689 char *kwnames
[] = {
22690 (char *) "self",(char *) "size", NULL
22693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22699 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22704 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
22706 wxPyEndAllowThreads(__tstate
);
22707 if (PyErr_Occurred()) SWIG_fail
;
22709 Py_INCREF(Py_None
); resultobj
= Py_None
;
22716 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22717 PyObject
*resultobj
;
22718 wxWindow
*arg1
= (wxWindow
*) 0 ;
22719 PyObject
* obj0
= 0 ;
22720 char *kwnames
[] = {
22721 (char *) "self", NULL
22724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
22725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22731 wxPyEndAllowThreads(__tstate
);
22732 if (PyErr_Occurred()) SWIG_fail
;
22734 Py_INCREF(Py_None
); resultobj
= Py_None
;
22741 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22742 PyObject
*resultobj
;
22743 wxWindow
*arg1
= (wxWindow
*) 0 ;
22744 PyObject
* obj0
= 0 ;
22745 char *kwnames
[] = {
22746 (char *) "self", NULL
22749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
22750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22756 wxPyEndAllowThreads(__tstate
);
22757 if (PyErr_Occurred()) SWIG_fail
;
22759 Py_INCREF(Py_None
); resultobj
= Py_None
;
22766 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22767 PyObject
*resultobj
;
22768 wxWindow
*arg1
= (wxWindow
*) 0 ;
22771 PyObject
* obj0
= 0 ;
22772 PyObject
* obj1
= 0 ;
22773 char *kwnames
[] = {
22774 (char *) "self",(char *) "size", NULL
22777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22782 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22786 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
22788 wxPyEndAllowThreads(__tstate
);
22789 if (PyErr_Occurred()) SWIG_fail
;
22791 Py_INCREF(Py_None
); resultobj
= Py_None
;
22798 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22799 PyObject
*resultobj
;
22800 wxWindow
*arg1
= (wxWindow
*) 0 ;
22803 PyObject
* obj0
= 0 ;
22804 PyObject
* obj1
= 0 ;
22805 PyObject
* obj2
= 0 ;
22806 char *kwnames
[] = {
22807 (char *) "self",(char *) "width",(char *) "height", NULL
22810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22813 arg2
= (int)SWIG_As_int(obj1
);
22814 if (PyErr_Occurred()) SWIG_fail
;
22815 arg3
= (int)SWIG_As_int(obj2
);
22816 if (PyErr_Occurred()) SWIG_fail
;
22818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22819 (arg1
)->SetClientSize(arg2
,arg3
);
22821 wxPyEndAllowThreads(__tstate
);
22822 if (PyErr_Occurred()) SWIG_fail
;
22824 Py_INCREF(Py_None
); resultobj
= Py_None
;
22831 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22832 PyObject
*resultobj
;
22833 wxWindow
*arg1
= (wxWindow
*) 0 ;
22836 PyObject
* obj0
= 0 ;
22837 PyObject
* obj1
= 0 ;
22838 char *kwnames
[] = {
22839 (char *) "self",(char *) "rect", NULL
22842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22847 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22851 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
22853 wxPyEndAllowThreads(__tstate
);
22854 if (PyErr_Occurred()) SWIG_fail
;
22856 Py_INCREF(Py_None
); resultobj
= Py_None
;
22863 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22864 PyObject
*resultobj
;
22865 wxWindow
*arg1
= (wxWindow
*) 0 ;
22867 PyObject
* obj0
= 0 ;
22868 char *kwnames
[] = {
22869 (char *) "self", NULL
22872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
22873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22877 result
= (arg1
)->GetPosition();
22879 wxPyEndAllowThreads(__tstate
);
22880 if (PyErr_Occurred()) SWIG_fail
;
22883 wxPoint
* resultptr
;
22884 resultptr
= new wxPoint((wxPoint
&) result
);
22885 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22893 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22894 PyObject
*resultobj
;
22895 wxWindow
*arg1
= (wxWindow
*) 0 ;
22896 int *arg2
= (int *) 0 ;
22897 int *arg3
= (int *) 0 ;
22902 PyObject
* obj0
= 0 ;
22903 char *kwnames
[] = {
22904 (char *) "self", NULL
22907 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22908 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
22910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22914 (arg1
)->GetPosition(arg2
,arg3
);
22916 wxPyEndAllowThreads(__tstate
);
22917 if (PyErr_Occurred()) SWIG_fail
;
22919 Py_INCREF(Py_None
); resultobj
= Py_None
;
22920 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22921 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22922 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22923 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22930 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22931 PyObject
*resultobj
;
22932 wxWindow
*arg1
= (wxWindow
*) 0 ;
22934 PyObject
* obj0
= 0 ;
22935 char *kwnames
[] = {
22936 (char *) "self", NULL
22939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
22940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22944 result
= ((wxWindow
const *)arg1
)->GetSize();
22946 wxPyEndAllowThreads(__tstate
);
22947 if (PyErr_Occurred()) SWIG_fail
;
22950 wxSize
* resultptr
;
22951 resultptr
= new wxSize((wxSize
&) result
);
22952 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22960 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22961 PyObject
*resultobj
;
22962 wxWindow
*arg1
= (wxWindow
*) 0 ;
22963 int *arg2
= (int *) 0 ;
22964 int *arg3
= (int *) 0 ;
22969 PyObject
* obj0
= 0 ;
22970 char *kwnames
[] = {
22971 (char *) "self", NULL
22974 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22975 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
22977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22981 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
22983 wxPyEndAllowThreads(__tstate
);
22984 if (PyErr_Occurred()) SWIG_fail
;
22986 Py_INCREF(Py_None
); resultobj
= Py_None
;
22987 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22988 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22989 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22990 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22997 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22998 PyObject
*resultobj
;
22999 wxWindow
*arg1
= (wxWindow
*) 0 ;
23001 PyObject
* obj0
= 0 ;
23002 char *kwnames
[] = {
23003 (char *) "self", NULL
23006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
23007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23011 result
= ((wxWindow
const *)arg1
)->GetRect();
23013 wxPyEndAllowThreads(__tstate
);
23014 if (PyErr_Occurred()) SWIG_fail
;
23017 wxRect
* resultptr
;
23018 resultptr
= new wxRect((wxRect
&) result
);
23019 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
23027 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23028 PyObject
*resultobj
;
23029 wxWindow
*arg1
= (wxWindow
*) 0 ;
23031 PyObject
* obj0
= 0 ;
23032 char *kwnames
[] = {
23033 (char *) "self", NULL
23036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
23037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23041 result
= ((wxWindow
const *)arg1
)->GetClientSize();
23043 wxPyEndAllowThreads(__tstate
);
23044 if (PyErr_Occurred()) SWIG_fail
;
23047 wxSize
* resultptr
;
23048 resultptr
= new wxSize((wxSize
&) result
);
23049 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23057 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23058 PyObject
*resultobj
;
23059 wxWindow
*arg1
= (wxWindow
*) 0 ;
23060 int *arg2
= (int *) 0 ;
23061 int *arg3
= (int *) 0 ;
23066 PyObject
* obj0
= 0 ;
23067 char *kwnames
[] = {
23068 (char *) "self", NULL
23071 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23072 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
23074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23078 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
23080 wxPyEndAllowThreads(__tstate
);
23081 if (PyErr_Occurred()) SWIG_fail
;
23083 Py_INCREF(Py_None
); resultobj
= Py_None
;
23084 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23085 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23086 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23087 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23094 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23095 PyObject
*resultobj
;
23096 wxWindow
*arg1
= (wxWindow
*) 0 ;
23098 PyObject
* obj0
= 0 ;
23099 char *kwnames
[] = {
23100 (char *) "self", NULL
23103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
23104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23108 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
23110 wxPyEndAllowThreads(__tstate
);
23111 if (PyErr_Occurred()) SWIG_fail
;
23114 wxPoint
* resultptr
;
23115 resultptr
= new wxPoint((wxPoint
&) result
);
23116 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23124 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23125 PyObject
*resultobj
;
23126 wxWindow
*arg1
= (wxWindow
*) 0 ;
23128 PyObject
* obj0
= 0 ;
23129 char *kwnames
[] = {
23130 (char *) "self", NULL
23133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
23134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23138 result
= ((wxWindow
const *)arg1
)->GetClientRect();
23140 wxPyEndAllowThreads(__tstate
);
23141 if (PyErr_Occurred()) SWIG_fail
;
23144 wxRect
* resultptr
;
23145 resultptr
= new wxRect((wxRect
&) result
);
23146 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
23154 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23155 PyObject
*resultobj
;
23156 wxWindow
*arg1
= (wxWindow
*) 0 ;
23158 PyObject
* obj0
= 0 ;
23159 char *kwnames
[] = {
23160 (char *) "self", NULL
23163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
23164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23168 result
= ((wxWindow
const *)arg1
)->GetBestSize();
23170 wxPyEndAllowThreads(__tstate
);
23171 if (PyErr_Occurred()) SWIG_fail
;
23174 wxSize
* resultptr
;
23175 resultptr
= new wxSize((wxSize
&) result
);
23176 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23184 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23185 PyObject
*resultobj
;
23186 wxWindow
*arg1
= (wxWindow
*) 0 ;
23187 int *arg2
= (int *) 0 ;
23188 int *arg3
= (int *) 0 ;
23193 PyObject
* obj0
= 0 ;
23194 char *kwnames
[] = {
23195 (char *) "self", NULL
23198 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23199 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
23201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23205 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
23207 wxPyEndAllowThreads(__tstate
);
23208 if (PyErr_Occurred()) SWIG_fail
;
23210 Py_INCREF(Py_None
); resultobj
= Py_None
;
23211 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23212 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23213 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23214 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23221 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23222 PyObject
*resultobj
;
23223 wxWindow
*arg1
= (wxWindow
*) 0 ;
23224 PyObject
* obj0
= 0 ;
23225 char *kwnames
[] = {
23226 (char *) "self", NULL
23229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
23230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23234 (arg1
)->InvalidateBestSize();
23236 wxPyEndAllowThreads(__tstate
);
23237 if (PyErr_Occurred()) SWIG_fail
;
23239 Py_INCREF(Py_None
); resultobj
= Py_None
;
23246 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23247 PyObject
*resultobj
;
23248 wxWindow
*arg1
= (wxWindow
*) 0 ;
23250 PyObject
* obj0
= 0 ;
23251 char *kwnames
[] = {
23252 (char *) "self", NULL
23255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
23256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23260 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
23262 wxPyEndAllowThreads(__tstate
);
23263 if (PyErr_Occurred()) SWIG_fail
;
23266 wxSize
* resultptr
;
23267 resultptr
= new wxSize((wxSize
&) result
);
23268 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23276 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23277 PyObject
*resultobj
;
23278 wxWindow
*arg1
= (wxWindow
*) 0 ;
23280 PyObject
* obj0
= 0 ;
23281 char *kwnames
[] = {
23282 (char *) "self", NULL
23285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
23286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23290 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
23292 wxPyEndAllowThreads(__tstate
);
23293 if (PyErr_Occurred()) SWIG_fail
;
23296 wxSize
* resultptr
;
23297 resultptr
= new wxSize((wxSize
&) result
);
23298 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23306 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23307 PyObject
*resultobj
;
23308 wxWindow
*arg1
= (wxWindow
*) 0 ;
23309 int arg2
= (int) wxBOTH
;
23310 PyObject
* obj0
= 0 ;
23311 PyObject
* obj1
= 0 ;
23312 char *kwnames
[] = {
23313 (char *) "self",(char *) "direction", NULL
23316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
23317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23320 arg2
= (int)SWIG_As_int(obj1
);
23321 if (PyErr_Occurred()) SWIG_fail
;
23324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23325 (arg1
)->Center(arg2
);
23327 wxPyEndAllowThreads(__tstate
);
23328 if (PyErr_Occurred()) SWIG_fail
;
23330 Py_INCREF(Py_None
); resultobj
= Py_None
;
23337 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23338 PyObject
*resultobj
;
23339 wxWindow
*arg1
= (wxWindow
*) 0 ;
23340 int arg2
= (int) wxBOTH
;
23341 PyObject
* obj0
= 0 ;
23342 PyObject
* obj1
= 0 ;
23343 char *kwnames
[] = {
23344 (char *) "self",(char *) "dir", NULL
23347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
23348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23351 arg2
= (int)SWIG_As_int(obj1
);
23352 if (PyErr_Occurred()) SWIG_fail
;
23355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23356 (arg1
)->CenterOnScreen(arg2
);
23358 wxPyEndAllowThreads(__tstate
);
23359 if (PyErr_Occurred()) SWIG_fail
;
23361 Py_INCREF(Py_None
); resultobj
= Py_None
;
23368 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23369 PyObject
*resultobj
;
23370 wxWindow
*arg1
= (wxWindow
*) 0 ;
23371 int arg2
= (int) wxBOTH
;
23372 PyObject
* obj0
= 0 ;
23373 PyObject
* obj1
= 0 ;
23374 char *kwnames
[] = {
23375 (char *) "self",(char *) "dir", NULL
23378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
23379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23382 arg2
= (int)SWIG_As_int(obj1
);
23383 if (PyErr_Occurred()) SWIG_fail
;
23386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23387 (arg1
)->CenterOnParent(arg2
);
23389 wxPyEndAllowThreads(__tstate
);
23390 if (PyErr_Occurred()) SWIG_fail
;
23392 Py_INCREF(Py_None
); resultobj
= Py_None
;
23399 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23400 PyObject
*resultobj
;
23401 wxWindow
*arg1
= (wxWindow
*) 0 ;
23402 PyObject
* obj0
= 0 ;
23403 char *kwnames
[] = {
23404 (char *) "self", NULL
23407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
23408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23414 wxPyEndAllowThreads(__tstate
);
23415 if (PyErr_Occurred()) SWIG_fail
;
23417 Py_INCREF(Py_None
); resultobj
= Py_None
;
23424 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23425 PyObject
*resultobj
;
23426 wxWindow
*arg1
= (wxWindow
*) 0 ;
23427 PyObject
* obj0
= 0 ;
23428 char *kwnames
[] = {
23429 (char *) "self", NULL
23432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
23433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23437 (arg1
)->FitInside();
23439 wxPyEndAllowThreads(__tstate
);
23440 if (PyErr_Occurred()) SWIG_fail
;
23442 Py_INCREF(Py_None
); resultobj
= Py_None
;
23449 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23450 PyObject
*resultobj
;
23451 wxWindow
*arg1
= (wxWindow
*) 0 ;
23454 int arg4
= (int) -1 ;
23455 int arg5
= (int) -1 ;
23456 int arg6
= (int) -1 ;
23457 int arg7
= (int) -1 ;
23458 PyObject
* obj0
= 0 ;
23459 PyObject
* obj1
= 0 ;
23460 PyObject
* obj2
= 0 ;
23461 PyObject
* obj3
= 0 ;
23462 PyObject
* obj4
= 0 ;
23463 PyObject
* obj5
= 0 ;
23464 PyObject
* obj6
= 0 ;
23465 char *kwnames
[] = {
23466 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
23469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23472 arg2
= (int)SWIG_As_int(obj1
);
23473 if (PyErr_Occurred()) SWIG_fail
;
23474 arg3
= (int)SWIG_As_int(obj2
);
23475 if (PyErr_Occurred()) SWIG_fail
;
23477 arg4
= (int)SWIG_As_int(obj3
);
23478 if (PyErr_Occurred()) SWIG_fail
;
23481 arg5
= (int)SWIG_As_int(obj4
);
23482 if (PyErr_Occurred()) SWIG_fail
;
23485 arg6
= (int)SWIG_As_int(obj5
);
23486 if (PyErr_Occurred()) SWIG_fail
;
23489 arg7
= (int)SWIG_As_int(obj6
);
23490 if (PyErr_Occurred()) SWIG_fail
;
23493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23494 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23496 wxPyEndAllowThreads(__tstate
);
23497 if (PyErr_Occurred()) SWIG_fail
;
23499 Py_INCREF(Py_None
); resultobj
= Py_None
;
23506 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23507 PyObject
*resultobj
;
23508 wxWindow
*arg1
= (wxWindow
*) 0 ;
23510 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23511 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23512 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23513 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23517 PyObject
* obj0
= 0 ;
23518 PyObject
* obj1
= 0 ;
23519 PyObject
* obj2
= 0 ;
23520 PyObject
* obj3
= 0 ;
23521 char *kwnames
[] = {
23522 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
23525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23530 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23535 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23541 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23546 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
23548 wxPyEndAllowThreads(__tstate
);
23549 if (PyErr_Occurred()) SWIG_fail
;
23551 Py_INCREF(Py_None
); resultobj
= Py_None
;
23558 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23559 PyObject
*resultobj
;
23560 wxWindow
*arg1
= (wxWindow
*) 0 ;
23563 int arg4
= (int) -1 ;
23564 int arg5
= (int) -1 ;
23565 PyObject
* obj0
= 0 ;
23566 PyObject
* obj1
= 0 ;
23567 PyObject
* obj2
= 0 ;
23568 PyObject
* obj3
= 0 ;
23569 PyObject
* obj4
= 0 ;
23570 char *kwnames
[] = {
23571 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
23574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23577 arg2
= (int)SWIG_As_int(obj1
);
23578 if (PyErr_Occurred()) SWIG_fail
;
23579 arg3
= (int)SWIG_As_int(obj2
);
23580 if (PyErr_Occurred()) SWIG_fail
;
23582 arg4
= (int)SWIG_As_int(obj3
);
23583 if (PyErr_Occurred()) SWIG_fail
;
23586 arg5
= (int)SWIG_As_int(obj4
);
23587 if (PyErr_Occurred()) SWIG_fail
;
23590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23591 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
23593 wxPyEndAllowThreads(__tstate
);
23594 if (PyErr_Occurred()) SWIG_fail
;
23596 Py_INCREF(Py_None
); resultobj
= Py_None
;
23603 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23604 PyObject
*resultobj
;
23605 wxWindow
*arg1
= (wxWindow
*) 0 ;
23607 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23608 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23611 PyObject
* obj0
= 0 ;
23612 PyObject
* obj1
= 0 ;
23613 PyObject
* obj2
= 0 ;
23614 char *kwnames
[] = {
23615 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
23618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23623 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23628 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23633 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
23635 wxPyEndAllowThreads(__tstate
);
23636 if (PyErr_Occurred()) SWIG_fail
;
23638 Py_INCREF(Py_None
); resultobj
= Py_None
;
23645 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23646 PyObject
*resultobj
;
23647 wxWindow
*arg1
= (wxWindow
*) 0 ;
23649 PyObject
* obj0
= 0 ;
23650 char *kwnames
[] = {
23651 (char *) "self", NULL
23654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
23655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23659 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
23661 wxPyEndAllowThreads(__tstate
);
23662 if (PyErr_Occurred()) SWIG_fail
;
23665 wxSize
* resultptr
;
23666 resultptr
= new wxSize((wxSize
&) result
);
23667 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23675 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23676 PyObject
*resultobj
;
23677 wxWindow
*arg1
= (wxWindow
*) 0 ;
23679 PyObject
* obj0
= 0 ;
23680 char *kwnames
[] = {
23681 (char *) "self", NULL
23684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
23685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23689 result
= ((wxWindow
const *)arg1
)->GetMinSize();
23691 wxPyEndAllowThreads(__tstate
);
23692 if (PyErr_Occurred()) SWIG_fail
;
23695 wxSize
* resultptr
;
23696 resultptr
= new wxSize((wxSize
&) result
);
23697 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23705 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23706 PyObject
*resultobj
;
23707 wxWindow
*arg1
= (wxWindow
*) 0 ;
23710 PyObject
* obj0
= 0 ;
23711 PyObject
* obj1
= 0 ;
23712 char *kwnames
[] = {
23713 (char *) "self",(char *) "minSize", NULL
23716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23721 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23725 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
23727 wxPyEndAllowThreads(__tstate
);
23728 if (PyErr_Occurred()) SWIG_fail
;
23730 Py_INCREF(Py_None
); resultobj
= Py_None
;
23737 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23738 PyObject
*resultobj
;
23739 wxWindow
*arg1
= (wxWindow
*) 0 ;
23742 PyObject
* obj0
= 0 ;
23743 PyObject
* obj1
= 0 ;
23744 char *kwnames
[] = {
23745 (char *) "self",(char *) "maxSize", NULL
23748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23753 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23757 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
23759 wxPyEndAllowThreads(__tstate
);
23760 if (PyErr_Occurred()) SWIG_fail
;
23762 Py_INCREF(Py_None
); resultobj
= Py_None
;
23769 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23770 PyObject
*resultobj
;
23771 wxWindow
*arg1
= (wxWindow
*) 0 ;
23773 PyObject
* obj0
= 0 ;
23774 char *kwnames
[] = {
23775 (char *) "self", NULL
23778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
23779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23783 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
23785 wxPyEndAllowThreads(__tstate
);
23786 if (PyErr_Occurred()) SWIG_fail
;
23788 resultobj
= SWIG_From_int((int)result
);
23795 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23796 PyObject
*resultobj
;
23797 wxWindow
*arg1
= (wxWindow
*) 0 ;
23799 PyObject
* obj0
= 0 ;
23800 char *kwnames
[] = {
23801 (char *) "self", NULL
23804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
23805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23809 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
23811 wxPyEndAllowThreads(__tstate
);
23812 if (PyErr_Occurred()) SWIG_fail
;
23814 resultobj
= SWIG_From_int((int)result
);
23821 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23822 PyObject
*resultobj
;
23823 wxWindow
*arg1
= (wxWindow
*) 0 ;
23825 PyObject
* obj0
= 0 ;
23826 char *kwnames
[] = {
23827 (char *) "self", NULL
23830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
23831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23835 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
23837 wxPyEndAllowThreads(__tstate
);
23838 if (PyErr_Occurred()) SWIG_fail
;
23840 resultobj
= SWIG_From_int((int)result
);
23847 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23848 PyObject
*resultobj
;
23849 wxWindow
*arg1
= (wxWindow
*) 0 ;
23851 PyObject
* obj0
= 0 ;
23852 char *kwnames
[] = {
23853 (char *) "self", NULL
23856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
23857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23861 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
23863 wxPyEndAllowThreads(__tstate
);
23864 if (PyErr_Occurred()) SWIG_fail
;
23866 resultobj
= SWIG_From_int((int)result
);
23873 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23874 PyObject
*resultobj
;
23875 wxWindow
*arg1
= (wxWindow
*) 0 ;
23878 PyObject
* obj0
= 0 ;
23879 PyObject
* obj1
= 0 ;
23880 char *kwnames
[] = {
23881 (char *) "self",(char *) "size", NULL
23884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23889 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23893 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
23895 wxPyEndAllowThreads(__tstate
);
23896 if (PyErr_Occurred()) SWIG_fail
;
23898 Py_INCREF(Py_None
); resultobj
= Py_None
;
23905 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23906 PyObject
*resultobj
;
23907 wxWindow
*arg1
= (wxWindow
*) 0 ;
23910 PyObject
* obj0
= 0 ;
23911 PyObject
* obj1
= 0 ;
23912 PyObject
* obj2
= 0 ;
23913 char *kwnames
[] = {
23914 (char *) "self",(char *) "w",(char *) "h", NULL
23917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23920 arg2
= (int)SWIG_As_int(obj1
);
23921 if (PyErr_Occurred()) SWIG_fail
;
23922 arg3
= (int)SWIG_As_int(obj2
);
23923 if (PyErr_Occurred()) SWIG_fail
;
23925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23926 (arg1
)->SetVirtualSize(arg2
,arg3
);
23928 wxPyEndAllowThreads(__tstate
);
23929 if (PyErr_Occurred()) SWIG_fail
;
23931 Py_INCREF(Py_None
); resultobj
= Py_None
;
23938 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23939 PyObject
*resultobj
;
23940 wxWindow
*arg1
= (wxWindow
*) 0 ;
23942 PyObject
* obj0
= 0 ;
23943 char *kwnames
[] = {
23944 (char *) "self", NULL
23947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
23948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23952 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
23954 wxPyEndAllowThreads(__tstate
);
23955 if (PyErr_Occurred()) SWIG_fail
;
23958 wxSize
* resultptr
;
23959 resultptr
= new wxSize((wxSize
&) result
);
23960 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23968 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23969 PyObject
*resultobj
;
23970 wxWindow
*arg1
= (wxWindow
*) 0 ;
23971 int *arg2
= (int *) 0 ;
23972 int *arg3
= (int *) 0 ;
23977 PyObject
* obj0
= 0 ;
23978 char *kwnames
[] = {
23979 (char *) "self", NULL
23982 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23983 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
23985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23989 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
23991 wxPyEndAllowThreads(__tstate
);
23992 if (PyErr_Occurred()) SWIG_fail
;
23994 Py_INCREF(Py_None
); resultobj
= Py_None
;
23995 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23996 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23997 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23998 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24005 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24006 PyObject
*resultobj
;
24007 wxWindow
*arg1
= (wxWindow
*) 0 ;
24009 PyObject
* obj0
= 0 ;
24010 char *kwnames
[] = {
24011 (char *) "self", NULL
24014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
24015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24019 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
24021 wxPyEndAllowThreads(__tstate
);
24022 if (PyErr_Occurred()) SWIG_fail
;
24025 wxSize
* resultptr
;
24026 resultptr
= new wxSize((wxSize
&) result
);
24027 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24035 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24036 PyObject
*resultobj
;
24037 wxWindow
*arg1
= (wxWindow
*) 0 ;
24038 bool arg2
= (bool) True
;
24040 PyObject
* obj0
= 0 ;
24041 PyObject
* obj1
= 0 ;
24042 char *kwnames
[] = {
24043 (char *) "self",(char *) "show", NULL
24046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
24047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24050 arg2
= (bool)SWIG_As_bool(obj1
);
24051 if (PyErr_Occurred()) SWIG_fail
;
24054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24055 result
= (bool)(arg1
)->Show(arg2
);
24057 wxPyEndAllowThreads(__tstate
);
24058 if (PyErr_Occurred()) SWIG_fail
;
24061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24069 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24070 PyObject
*resultobj
;
24071 wxWindow
*arg1
= (wxWindow
*) 0 ;
24073 PyObject
* obj0
= 0 ;
24074 char *kwnames
[] = {
24075 (char *) "self", NULL
24078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
24079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24083 result
= (bool)(arg1
)->Hide();
24085 wxPyEndAllowThreads(__tstate
);
24086 if (PyErr_Occurred()) SWIG_fail
;
24089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24097 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24098 PyObject
*resultobj
;
24099 wxWindow
*arg1
= (wxWindow
*) 0 ;
24100 bool arg2
= (bool) True
;
24102 PyObject
* obj0
= 0 ;
24103 PyObject
* obj1
= 0 ;
24104 char *kwnames
[] = {
24105 (char *) "self",(char *) "enable", NULL
24108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
24109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24112 arg2
= (bool)SWIG_As_bool(obj1
);
24113 if (PyErr_Occurred()) SWIG_fail
;
24116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24117 result
= (bool)(arg1
)->Enable(arg2
);
24119 wxPyEndAllowThreads(__tstate
);
24120 if (PyErr_Occurred()) SWIG_fail
;
24123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24131 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24132 PyObject
*resultobj
;
24133 wxWindow
*arg1
= (wxWindow
*) 0 ;
24135 PyObject
* obj0
= 0 ;
24136 char *kwnames
[] = {
24137 (char *) "self", NULL
24140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
24141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24145 result
= (bool)(arg1
)->Disable();
24147 wxPyEndAllowThreads(__tstate
);
24148 if (PyErr_Occurred()) SWIG_fail
;
24151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24159 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24160 PyObject
*resultobj
;
24161 wxWindow
*arg1
= (wxWindow
*) 0 ;
24163 PyObject
* obj0
= 0 ;
24164 char *kwnames
[] = {
24165 (char *) "self", NULL
24168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
24169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24173 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
24175 wxPyEndAllowThreads(__tstate
);
24176 if (PyErr_Occurred()) SWIG_fail
;
24179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24187 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24188 PyObject
*resultobj
;
24189 wxWindow
*arg1
= (wxWindow
*) 0 ;
24191 PyObject
* obj0
= 0 ;
24192 char *kwnames
[] = {
24193 (char *) "self", NULL
24196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
24197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24201 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
24203 wxPyEndAllowThreads(__tstate
);
24204 if (PyErr_Occurred()) SWIG_fail
;
24207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24215 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24216 PyObject
*resultobj
;
24217 wxWindow
*arg1
= (wxWindow
*) 0 ;
24219 PyObject
* obj0
= 0 ;
24220 PyObject
* obj1
= 0 ;
24221 char *kwnames
[] = {
24222 (char *) "self",(char *) "style", NULL
24225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24228 arg2
= (long)SWIG_As_long(obj1
);
24229 if (PyErr_Occurred()) SWIG_fail
;
24231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24232 (arg1
)->SetWindowStyleFlag(arg2
);
24234 wxPyEndAllowThreads(__tstate
);
24235 if (PyErr_Occurred()) SWIG_fail
;
24237 Py_INCREF(Py_None
); resultobj
= Py_None
;
24244 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24245 PyObject
*resultobj
;
24246 wxWindow
*arg1
= (wxWindow
*) 0 ;
24248 PyObject
* obj0
= 0 ;
24249 char *kwnames
[] = {
24250 (char *) "self", NULL
24253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
24254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24258 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
24260 wxPyEndAllowThreads(__tstate
);
24261 if (PyErr_Occurred()) SWIG_fail
;
24263 resultobj
= SWIG_From_long((long)result
);
24270 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24271 PyObject
*resultobj
;
24272 wxWindow
*arg1
= (wxWindow
*) 0 ;
24275 PyObject
* obj0
= 0 ;
24276 PyObject
* obj1
= 0 ;
24277 char *kwnames
[] = {
24278 (char *) "self",(char *) "flag", NULL
24281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24284 arg2
= (int)SWIG_As_int(obj1
);
24285 if (PyErr_Occurred()) SWIG_fail
;
24287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24288 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
24290 wxPyEndAllowThreads(__tstate
);
24291 if (PyErr_Occurred()) SWIG_fail
;
24294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24302 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24303 PyObject
*resultobj
;
24304 wxWindow
*arg1
= (wxWindow
*) 0 ;
24306 PyObject
* obj0
= 0 ;
24307 char *kwnames
[] = {
24308 (char *) "self", NULL
24311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
24312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24316 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
24318 wxPyEndAllowThreads(__tstate
);
24319 if (PyErr_Occurred()) SWIG_fail
;
24322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24330 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24331 PyObject
*resultobj
;
24332 wxWindow
*arg1
= (wxWindow
*) 0 ;
24334 PyObject
* obj0
= 0 ;
24335 PyObject
* obj1
= 0 ;
24336 char *kwnames
[] = {
24337 (char *) "self",(char *) "exStyle", NULL
24340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
24341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24343 arg2
= (long)SWIG_As_long(obj1
);
24344 if (PyErr_Occurred()) SWIG_fail
;
24346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24347 (arg1
)->SetExtraStyle(arg2
);
24349 wxPyEndAllowThreads(__tstate
);
24350 if (PyErr_Occurred()) SWIG_fail
;
24352 Py_INCREF(Py_None
); resultobj
= Py_None
;
24359 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24360 PyObject
*resultobj
;
24361 wxWindow
*arg1
= (wxWindow
*) 0 ;
24363 PyObject
* obj0
= 0 ;
24364 char *kwnames
[] = {
24365 (char *) "self", NULL
24368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
24369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24373 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
24375 wxPyEndAllowThreads(__tstate
);
24376 if (PyErr_Occurred()) SWIG_fail
;
24378 resultobj
= SWIG_From_long((long)result
);
24385 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24386 PyObject
*resultobj
;
24387 wxWindow
*arg1
= (wxWindow
*) 0 ;
24388 bool arg2
= (bool) True
;
24389 PyObject
* obj0
= 0 ;
24390 PyObject
* obj1
= 0 ;
24391 char *kwnames
[] = {
24392 (char *) "self",(char *) "modal", NULL
24395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
24396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24399 arg2
= (bool)SWIG_As_bool(obj1
);
24400 if (PyErr_Occurred()) SWIG_fail
;
24403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24404 (arg1
)->MakeModal(arg2
);
24406 wxPyEndAllowThreads(__tstate
);
24407 if (PyErr_Occurred()) SWIG_fail
;
24409 Py_INCREF(Py_None
); resultobj
= Py_None
;
24416 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24417 PyObject
*resultobj
;
24418 wxWindow
*arg1
= (wxWindow
*) 0 ;
24420 PyObject
* obj0
= 0 ;
24421 PyObject
* obj1
= 0 ;
24422 char *kwnames
[] = {
24423 (char *) "self",(char *) "enableTheme", NULL
24426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
24427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24429 arg2
= (bool)SWIG_As_bool(obj1
);
24430 if (PyErr_Occurred()) SWIG_fail
;
24432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24433 (arg1
)->SetThemeEnabled(arg2
);
24435 wxPyEndAllowThreads(__tstate
);
24436 if (PyErr_Occurred()) SWIG_fail
;
24438 Py_INCREF(Py_None
); resultobj
= Py_None
;
24445 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24446 PyObject
*resultobj
;
24447 wxWindow
*arg1
= (wxWindow
*) 0 ;
24449 PyObject
* obj0
= 0 ;
24450 char *kwnames
[] = {
24451 (char *) "self", NULL
24454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
24455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24459 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
24461 wxPyEndAllowThreads(__tstate
);
24462 if (PyErr_Occurred()) SWIG_fail
;
24465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24473 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24474 PyObject
*resultobj
;
24475 wxWindow
*arg1
= (wxWindow
*) 0 ;
24476 PyObject
* obj0
= 0 ;
24477 char *kwnames
[] = {
24478 (char *) "self", NULL
24481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
24482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24486 (arg1
)->SetFocus();
24488 wxPyEndAllowThreads(__tstate
);
24489 if (PyErr_Occurred()) SWIG_fail
;
24491 Py_INCREF(Py_None
); resultobj
= Py_None
;
24498 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24499 PyObject
*resultobj
;
24500 wxWindow
*arg1
= (wxWindow
*) 0 ;
24501 PyObject
* obj0
= 0 ;
24502 char *kwnames
[] = {
24503 (char *) "self", NULL
24506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
24507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24511 (arg1
)->SetFocusFromKbd();
24513 wxPyEndAllowThreads(__tstate
);
24514 if (PyErr_Occurred()) SWIG_fail
;
24516 Py_INCREF(Py_None
); resultobj
= Py_None
;
24523 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24524 PyObject
*resultobj
;
24526 char *kwnames
[] = {
24530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
24532 if (!wxPyCheckForApp()) SWIG_fail
;
24533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24534 result
= (wxWindow
*)wxWindow::FindFocus();
24536 wxPyEndAllowThreads(__tstate
);
24537 if (PyErr_Occurred()) SWIG_fail
;
24540 resultobj
= wxPyMake_wxObject(result
, 0);
24548 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24549 PyObject
*resultobj
;
24550 wxWindow
*arg1
= (wxWindow
*) 0 ;
24552 PyObject
* obj0
= 0 ;
24553 char *kwnames
[] = {
24554 (char *) "self", NULL
24557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
24558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24562 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
24564 wxPyEndAllowThreads(__tstate
);
24565 if (PyErr_Occurred()) SWIG_fail
;
24568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24576 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24577 PyObject
*resultobj
;
24578 wxWindow
*arg1
= (wxWindow
*) 0 ;
24580 PyObject
* obj0
= 0 ;
24581 char *kwnames
[] = {
24582 (char *) "self", NULL
24585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
24586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24590 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
24592 wxPyEndAllowThreads(__tstate
);
24593 if (PyErr_Occurred()) SWIG_fail
;
24596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24604 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24605 PyObject
*resultobj
;
24606 wxWindow
*arg1
= (wxWindow
*) 0 ;
24608 PyObject
* obj0
= 0 ;
24609 char *kwnames
[] = {
24610 (char *) "self", NULL
24613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
24614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24618 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
24620 wxPyEndAllowThreads(__tstate
);
24621 if (PyErr_Occurred()) SWIG_fail
;
24624 resultobj
= wxPyMake_wxObject(result
, 0);
24632 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24633 PyObject
*resultobj
;
24634 wxWindow
*arg1
= (wxWindow
*) 0 ;
24635 wxWindow
*arg2
= (wxWindow
*) 0 ;
24637 PyObject
* obj0
= 0 ;
24638 PyObject
* obj1
= 0 ;
24639 char *kwnames
[] = {
24640 (char *) "self",(char *) "child", NULL
24643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24646 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24650 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
24652 wxPyEndAllowThreads(__tstate
);
24653 if (PyErr_Occurred()) SWIG_fail
;
24656 resultobj
= wxPyMake_wxObject(result
, 0);
24664 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24665 PyObject
*resultobj
;
24666 wxWindow
*arg1
= (wxWindow
*) 0 ;
24667 wxWindow
*arg2
= (wxWindow
*) 0 ;
24668 PyObject
* obj0
= 0 ;
24669 PyObject
* obj1
= 0 ;
24670 char *kwnames
[] = {
24671 (char *) "self",(char *) "win", NULL
24674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24677 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24681 (arg1
)->SetTmpDefaultItem(arg2
);
24683 wxPyEndAllowThreads(__tstate
);
24684 if (PyErr_Occurred()) SWIG_fail
;
24686 Py_INCREF(Py_None
); resultobj
= Py_None
;
24693 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24694 PyObject
*resultobj
;
24695 wxWindow
*arg1
= (wxWindow
*) 0 ;
24696 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
24698 PyObject
* obj0
= 0 ;
24699 PyObject
* obj1
= 0 ;
24700 char *kwnames
[] = {
24701 (char *) "self",(char *) "flags", NULL
24704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
24705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24708 arg2
= (int)SWIG_As_int(obj1
);
24709 if (PyErr_Occurred()) SWIG_fail
;
24712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24713 result
= (bool)(arg1
)->Navigate(arg2
);
24715 wxPyEndAllowThreads(__tstate
);
24716 if (PyErr_Occurred()) SWIG_fail
;
24719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24727 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24728 PyObject
*resultobj
;
24729 wxWindow
*arg1
= (wxWindow
*) 0 ;
24730 wxWindow
*arg2
= (wxWindow
*) 0 ;
24731 PyObject
* obj0
= 0 ;
24732 PyObject
* obj1
= 0 ;
24733 char *kwnames
[] = {
24734 (char *) "self",(char *) "win", NULL
24737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
24738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24740 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24744 (arg1
)->MoveAfterInTabOrder(arg2
);
24746 wxPyEndAllowThreads(__tstate
);
24747 if (PyErr_Occurred()) SWIG_fail
;
24749 Py_INCREF(Py_None
); resultobj
= Py_None
;
24756 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24757 PyObject
*resultobj
;
24758 wxWindow
*arg1
= (wxWindow
*) 0 ;
24759 wxWindow
*arg2
= (wxWindow
*) 0 ;
24760 PyObject
* obj0
= 0 ;
24761 PyObject
* obj1
= 0 ;
24762 char *kwnames
[] = {
24763 (char *) "self",(char *) "win", NULL
24766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
24767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24769 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24773 (arg1
)->MoveBeforeInTabOrder(arg2
);
24775 wxPyEndAllowThreads(__tstate
);
24776 if (PyErr_Occurred()) SWIG_fail
;
24778 Py_INCREF(Py_None
); resultobj
= Py_None
;
24785 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24786 PyObject
*resultobj
;
24787 wxWindow
*arg1
= (wxWindow
*) 0 ;
24789 PyObject
* obj0
= 0 ;
24790 char *kwnames
[] = {
24791 (char *) "self", NULL
24794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
24795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24799 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
24801 wxPyEndAllowThreads(__tstate
);
24802 if (PyErr_Occurred()) SWIG_fail
;
24804 resultobj
= result
;
24811 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24812 PyObject
*resultobj
;
24813 wxWindow
*arg1
= (wxWindow
*) 0 ;
24815 PyObject
* obj0
= 0 ;
24816 char *kwnames
[] = {
24817 (char *) "self", NULL
24820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
24821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24825 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
24827 wxPyEndAllowThreads(__tstate
);
24828 if (PyErr_Occurred()) SWIG_fail
;
24831 resultobj
= wxPyMake_wxObject(result
, 0);
24839 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24840 PyObject
*resultobj
;
24841 wxWindow
*arg1
= (wxWindow
*) 0 ;
24843 PyObject
* obj0
= 0 ;
24844 char *kwnames
[] = {
24845 (char *) "self", NULL
24848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
24849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24853 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
24855 wxPyEndAllowThreads(__tstate
);
24856 if (PyErr_Occurred()) SWIG_fail
;
24859 resultobj
= wxPyMake_wxObject(result
, 0);
24867 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24868 PyObject
*resultobj
;
24869 wxWindow
*arg1
= (wxWindow
*) 0 ;
24871 PyObject
* obj0
= 0 ;
24872 char *kwnames
[] = {
24873 (char *) "self", NULL
24876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
24877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24881 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
24883 wxPyEndAllowThreads(__tstate
);
24884 if (PyErr_Occurred()) SWIG_fail
;
24887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24895 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24896 PyObject
*resultobj
;
24897 wxWindow
*arg1
= (wxWindow
*) 0 ;
24898 wxWindow
*arg2
= (wxWindow
*) 0 ;
24900 PyObject
* obj0
= 0 ;
24901 PyObject
* obj1
= 0 ;
24902 char *kwnames
[] = {
24903 (char *) "self",(char *) "newParent", NULL
24906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
24907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24909 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24913 result
= (bool)(arg1
)->Reparent(arg2
);
24915 wxPyEndAllowThreads(__tstate
);
24916 if (PyErr_Occurred()) SWIG_fail
;
24919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24927 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24928 PyObject
*resultobj
;
24929 wxWindow
*arg1
= (wxWindow
*) 0 ;
24930 wxWindow
*arg2
= (wxWindow
*) 0 ;
24931 PyObject
* obj0
= 0 ;
24932 PyObject
* obj1
= 0 ;
24933 char *kwnames
[] = {
24934 (char *) "self",(char *) "child", NULL
24937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24940 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24944 (arg1
)->AddChild(arg2
);
24946 wxPyEndAllowThreads(__tstate
);
24947 if (PyErr_Occurred()) SWIG_fail
;
24949 Py_INCREF(Py_None
); resultobj
= Py_None
;
24956 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24957 PyObject
*resultobj
;
24958 wxWindow
*arg1
= (wxWindow
*) 0 ;
24959 wxWindow
*arg2
= (wxWindow
*) 0 ;
24960 PyObject
* obj0
= 0 ;
24961 PyObject
* obj1
= 0 ;
24962 char *kwnames
[] = {
24963 (char *) "self",(char *) "child", NULL
24966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24969 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24973 (arg1
)->RemoveChild(arg2
);
24975 wxPyEndAllowThreads(__tstate
);
24976 if (PyErr_Occurred()) SWIG_fail
;
24978 Py_INCREF(Py_None
); resultobj
= Py_None
;
24985 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24986 PyObject
*resultobj
;
24987 wxWindow
*arg1
= (wxWindow
*) 0 ;
24990 PyObject
* obj0
= 0 ;
24991 PyObject
* obj1
= 0 ;
24992 char *kwnames
[] = {
24993 (char *) "self",(char *) "winid", NULL
24996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
24997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24999 arg2
= (long)SWIG_As_long(obj1
);
25000 if (PyErr_Occurred()) SWIG_fail
;
25002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25003 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
25005 wxPyEndAllowThreads(__tstate
);
25006 if (PyErr_Occurred()) SWIG_fail
;
25009 resultobj
= wxPyMake_wxObject(result
, 0);
25017 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25018 PyObject
*resultobj
;
25019 wxWindow
*arg1
= (wxWindow
*) 0 ;
25020 wxString
*arg2
= 0 ;
25022 bool temp2
= False
;
25023 PyObject
* obj0
= 0 ;
25024 PyObject
* obj1
= 0 ;
25025 char *kwnames
[] = {
25026 (char *) "self",(char *) "name", NULL
25029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
25030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25033 arg2
= wxString_in_helper(obj1
);
25034 if (arg2
== NULL
) SWIG_fail
;
25038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25039 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
25041 wxPyEndAllowThreads(__tstate
);
25042 if (PyErr_Occurred()) SWIG_fail
;
25045 resultobj
= wxPyMake_wxObject(result
, 0);
25061 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25062 PyObject
*resultobj
;
25063 wxWindow
*arg1
= (wxWindow
*) 0 ;
25064 wxEvtHandler
*result
;
25065 PyObject
* obj0
= 0 ;
25066 char *kwnames
[] = {
25067 (char *) "self", NULL
25070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
25071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25075 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
25077 wxPyEndAllowThreads(__tstate
);
25078 if (PyErr_Occurred()) SWIG_fail
;
25081 resultobj
= wxPyMake_wxObject(result
, 0);
25089 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25090 PyObject
*resultobj
;
25091 wxWindow
*arg1
= (wxWindow
*) 0 ;
25092 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25093 PyObject
* obj0
= 0 ;
25094 PyObject
* obj1
= 0 ;
25095 char *kwnames
[] = {
25096 (char *) "self",(char *) "handler", NULL
25099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25102 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25106 (arg1
)->SetEventHandler(arg2
);
25108 wxPyEndAllowThreads(__tstate
);
25109 if (PyErr_Occurred()) SWIG_fail
;
25111 Py_INCREF(Py_None
); resultobj
= Py_None
;
25118 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25119 PyObject
*resultobj
;
25120 wxWindow
*arg1
= (wxWindow
*) 0 ;
25121 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25122 PyObject
* obj0
= 0 ;
25123 PyObject
* obj1
= 0 ;
25124 char *kwnames
[] = {
25125 (char *) "self",(char *) "handler", NULL
25128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25131 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25135 (arg1
)->PushEventHandler(arg2
);
25137 wxPyEndAllowThreads(__tstate
);
25138 if (PyErr_Occurred()) SWIG_fail
;
25140 Py_INCREF(Py_None
); resultobj
= Py_None
;
25147 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25148 PyObject
*resultobj
;
25149 wxWindow
*arg1
= (wxWindow
*) 0 ;
25150 bool arg2
= (bool) False
;
25151 wxEvtHandler
*result
;
25152 PyObject
* obj0
= 0 ;
25153 PyObject
* obj1
= 0 ;
25154 char *kwnames
[] = {
25155 (char *) "self",(char *) "deleteHandler", NULL
25158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25162 arg2
= (bool)SWIG_As_bool(obj1
);
25163 if (PyErr_Occurred()) SWIG_fail
;
25166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25167 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
25169 wxPyEndAllowThreads(__tstate
);
25170 if (PyErr_Occurred()) SWIG_fail
;
25173 resultobj
= wxPyMake_wxObject(result
, 0);
25181 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25182 PyObject
*resultobj
;
25183 wxWindow
*arg1
= (wxWindow
*) 0 ;
25184 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25186 PyObject
* obj0
= 0 ;
25187 PyObject
* obj1
= 0 ;
25188 char *kwnames
[] = {
25189 (char *) "self",(char *) "handler", NULL
25192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25195 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25199 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
25201 wxPyEndAllowThreads(__tstate
);
25202 if (PyErr_Occurred()) SWIG_fail
;
25205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25213 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25214 PyObject
*resultobj
;
25215 wxWindow
*arg1
= (wxWindow
*) 0 ;
25216 wxValidator
*arg2
= 0 ;
25217 PyObject
* obj0
= 0 ;
25218 PyObject
* obj1
= 0 ;
25219 char *kwnames
[] = {
25220 (char *) "self",(char *) "validator", NULL
25223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
25224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25226 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
25227 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25229 if (arg2
== NULL
) {
25230 PyErr_SetString(PyExc_TypeError
,"null reference");
25234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25235 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
25237 wxPyEndAllowThreads(__tstate
);
25238 if (PyErr_Occurred()) SWIG_fail
;
25240 Py_INCREF(Py_None
); resultobj
= Py_None
;
25247 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25248 PyObject
*resultobj
;
25249 wxWindow
*arg1
= (wxWindow
*) 0 ;
25250 wxValidator
*result
;
25251 PyObject
* obj0
= 0 ;
25252 char *kwnames
[] = {
25253 (char *) "self", NULL
25256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
25257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25261 result
= (wxValidator
*)(arg1
)->GetValidator();
25263 wxPyEndAllowThreads(__tstate
);
25264 if (PyErr_Occurred()) SWIG_fail
;
25267 resultobj
= wxPyMake_wxObject(result
, 0);
25275 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25276 PyObject
*resultobj
;
25277 wxWindow
*arg1
= (wxWindow
*) 0 ;
25279 PyObject
* obj0
= 0 ;
25280 char *kwnames
[] = {
25281 (char *) "self", NULL
25284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
25285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25289 result
= (bool)(arg1
)->Validate();
25291 wxPyEndAllowThreads(__tstate
);
25292 if (PyErr_Occurred()) SWIG_fail
;
25295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25303 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25304 PyObject
*resultobj
;
25305 wxWindow
*arg1
= (wxWindow
*) 0 ;
25307 PyObject
* obj0
= 0 ;
25308 char *kwnames
[] = {
25309 (char *) "self", NULL
25312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
25313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25317 result
= (bool)(arg1
)->TransferDataToWindow();
25319 wxPyEndAllowThreads(__tstate
);
25320 if (PyErr_Occurred()) SWIG_fail
;
25323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25331 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25332 PyObject
*resultobj
;
25333 wxWindow
*arg1
= (wxWindow
*) 0 ;
25335 PyObject
* obj0
= 0 ;
25336 char *kwnames
[] = {
25337 (char *) "self", NULL
25340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
25341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25345 result
= (bool)(arg1
)->TransferDataFromWindow();
25347 wxPyEndAllowThreads(__tstate
);
25348 if (PyErr_Occurred()) SWIG_fail
;
25351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25359 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25360 PyObject
*resultobj
;
25361 wxWindow
*arg1
= (wxWindow
*) 0 ;
25362 PyObject
* obj0
= 0 ;
25363 char *kwnames
[] = {
25364 (char *) "self", NULL
25367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
25368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25372 (arg1
)->InitDialog();
25374 wxPyEndAllowThreads(__tstate
);
25375 if (PyErr_Occurred()) SWIG_fail
;
25377 Py_INCREF(Py_None
); resultobj
= Py_None
;
25384 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25385 PyObject
*resultobj
;
25386 wxWindow
*arg1
= (wxWindow
*) 0 ;
25387 wxAcceleratorTable
*arg2
= 0 ;
25388 PyObject
* obj0
= 0 ;
25389 PyObject
* obj1
= 0 ;
25390 char *kwnames
[] = {
25391 (char *) "self",(char *) "accel", NULL
25394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
25395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25397 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
25398 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25400 if (arg2
== NULL
) {
25401 PyErr_SetString(PyExc_TypeError
,"null reference");
25405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25406 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
25408 wxPyEndAllowThreads(__tstate
);
25409 if (PyErr_Occurred()) SWIG_fail
;
25411 Py_INCREF(Py_None
); resultobj
= Py_None
;
25418 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25419 PyObject
*resultobj
;
25420 wxWindow
*arg1
= (wxWindow
*) 0 ;
25421 wxAcceleratorTable
*result
;
25422 PyObject
* obj0
= 0 ;
25423 char *kwnames
[] = {
25424 (char *) "self", NULL
25427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
25428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25432 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
25434 wxPyEndAllowThreads(__tstate
);
25435 if (PyErr_Occurred()) SWIG_fail
;
25437 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
25444 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25445 PyObject
*resultobj
;
25446 wxWindow
*arg1
= (wxWindow
*) 0 ;
25451 PyObject
* obj0
= 0 ;
25452 PyObject
* obj1
= 0 ;
25453 PyObject
* obj2
= 0 ;
25454 PyObject
* obj3
= 0 ;
25455 char *kwnames
[] = {
25456 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
25459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25462 arg2
= (int)SWIG_As_int(obj1
);
25463 if (PyErr_Occurred()) SWIG_fail
;
25464 arg3
= (int)SWIG_As_int(obj2
);
25465 if (PyErr_Occurred()) SWIG_fail
;
25466 arg4
= (int)SWIG_As_int(obj3
);
25467 if (PyErr_Occurred()) SWIG_fail
;
25469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25470 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
25472 wxPyEndAllowThreads(__tstate
);
25473 if (PyErr_Occurred()) SWIG_fail
;
25476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25484 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25485 PyObject
*resultobj
;
25486 wxWindow
*arg1
= (wxWindow
*) 0 ;
25489 PyObject
* obj0
= 0 ;
25490 PyObject
* obj1
= 0 ;
25491 char *kwnames
[] = {
25492 (char *) "self",(char *) "hotkeyId", NULL
25495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
25496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25498 arg2
= (int)SWIG_As_int(obj1
);
25499 if (PyErr_Occurred()) SWIG_fail
;
25501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25502 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
25504 wxPyEndAllowThreads(__tstate
);
25505 if (PyErr_Occurred()) SWIG_fail
;
25508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25516 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25517 PyObject
*resultobj
;
25518 wxWindow
*arg1
= (wxWindow
*) 0 ;
25519 wxPoint
*arg2
= 0 ;
25522 PyObject
* obj0
= 0 ;
25523 PyObject
* obj1
= 0 ;
25524 char *kwnames
[] = {
25525 (char *) "self",(char *) "pt", NULL
25528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25533 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25537 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25539 wxPyEndAllowThreads(__tstate
);
25540 if (PyErr_Occurred()) SWIG_fail
;
25543 wxPoint
* resultptr
;
25544 resultptr
= new wxPoint((wxPoint
&) result
);
25545 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25553 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25554 PyObject
*resultobj
;
25555 wxWindow
*arg1
= (wxWindow
*) 0 ;
25559 PyObject
* obj0
= 0 ;
25560 PyObject
* obj1
= 0 ;
25561 char *kwnames
[] = {
25562 (char *) "self",(char *) "sz", NULL
25565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25570 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25574 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25576 wxPyEndAllowThreads(__tstate
);
25577 if (PyErr_Occurred()) SWIG_fail
;
25580 wxSize
* resultptr
;
25581 resultptr
= new wxSize((wxSize
&) result
);
25582 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25590 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25591 PyObject
*resultobj
;
25592 wxWindow
*arg1
= (wxWindow
*) 0 ;
25593 wxPoint
*arg2
= 0 ;
25596 PyObject
* obj0
= 0 ;
25597 PyObject
* obj1
= 0 ;
25598 char *kwnames
[] = {
25599 (char *) "self",(char *) "pt", NULL
25602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
25603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25607 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25611 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25613 wxPyEndAllowThreads(__tstate
);
25614 if (PyErr_Occurred()) SWIG_fail
;
25617 wxPoint
* resultptr
;
25618 resultptr
= new wxPoint((wxPoint
&) result
);
25619 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25627 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25628 PyObject
*resultobj
;
25629 wxWindow
*arg1
= (wxWindow
*) 0 ;
25633 PyObject
* obj0
= 0 ;
25634 PyObject
* obj1
= 0 ;
25635 char *kwnames
[] = {
25636 (char *) "self",(char *) "sz", NULL
25639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
25640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25644 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25648 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25650 wxPyEndAllowThreads(__tstate
);
25651 if (PyErr_Occurred()) SWIG_fail
;
25654 wxSize
* resultptr
;
25655 resultptr
= new wxSize((wxSize
&) result
);
25656 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25664 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25665 PyObject
*resultobj
;
25666 wxWindow
*arg1
= (wxWindow
*) 0 ;
25667 wxPoint
*arg2
= 0 ;
25670 PyObject
* obj0
= 0 ;
25671 PyObject
* obj1
= 0 ;
25672 char *kwnames
[] = {
25673 (char *) "self",(char *) "pt", NULL
25676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25681 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25685 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
25687 wxPyEndAllowThreads(__tstate
);
25688 if (PyErr_Occurred()) SWIG_fail
;
25691 wxPoint
* resultptr
;
25692 resultptr
= new wxPoint((wxPoint
&) result
);
25693 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25701 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25702 PyObject
*resultobj
;
25703 wxWindow
*arg1
= (wxWindow
*) 0 ;
25707 PyObject
* obj0
= 0 ;
25708 PyObject
* obj1
= 0 ;
25709 char *kwnames
[] = {
25710 (char *) "self",(char *) "sz", NULL
25713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25718 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25722 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
25724 wxPyEndAllowThreads(__tstate
);
25725 if (PyErr_Occurred()) SWIG_fail
;
25728 wxSize
* resultptr
;
25729 resultptr
= new wxSize((wxSize
&) result
);
25730 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25738 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25739 PyObject
*resultobj
;
25740 wxWindow
*arg1
= (wxWindow
*) 0 ;
25743 PyObject
* obj0
= 0 ;
25744 PyObject
* obj1
= 0 ;
25745 PyObject
* obj2
= 0 ;
25746 char *kwnames
[] = {
25747 (char *) "self",(char *) "x",(char *) "y", NULL
25750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25753 arg2
= (int)SWIG_As_int(obj1
);
25754 if (PyErr_Occurred()) SWIG_fail
;
25755 arg3
= (int)SWIG_As_int(obj2
);
25756 if (PyErr_Occurred()) SWIG_fail
;
25758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25759 (arg1
)->WarpPointer(arg2
,arg3
);
25761 wxPyEndAllowThreads(__tstate
);
25762 if (PyErr_Occurred()) SWIG_fail
;
25764 Py_INCREF(Py_None
); resultobj
= Py_None
;
25771 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25772 PyObject
*resultobj
;
25773 wxWindow
*arg1
= (wxWindow
*) 0 ;
25774 PyObject
* obj0
= 0 ;
25775 char *kwnames
[] = {
25776 (char *) "self", NULL
25779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
25780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25784 (arg1
)->CaptureMouse();
25786 wxPyEndAllowThreads(__tstate
);
25787 if (PyErr_Occurred()) SWIG_fail
;
25789 Py_INCREF(Py_None
); resultobj
= Py_None
;
25796 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25797 PyObject
*resultobj
;
25798 wxWindow
*arg1
= (wxWindow
*) 0 ;
25799 PyObject
* obj0
= 0 ;
25800 char *kwnames
[] = {
25801 (char *) "self", NULL
25804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
25805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25809 (arg1
)->ReleaseMouse();
25811 wxPyEndAllowThreads(__tstate
);
25812 if (PyErr_Occurred()) SWIG_fail
;
25814 Py_INCREF(Py_None
); resultobj
= Py_None
;
25821 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25822 PyObject
*resultobj
;
25824 char *kwnames
[] = {
25828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
25830 if (!wxPyCheckForApp()) SWIG_fail
;
25831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25832 result
= (wxWindow
*)wxWindow::GetCapture();
25834 wxPyEndAllowThreads(__tstate
);
25835 if (PyErr_Occurred()) SWIG_fail
;
25838 resultobj
= wxPyMake_wxObject(result
, 0);
25846 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25847 PyObject
*resultobj
;
25848 wxWindow
*arg1
= (wxWindow
*) 0 ;
25850 PyObject
* obj0
= 0 ;
25851 char *kwnames
[] = {
25852 (char *) "self", NULL
25855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
25856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25860 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
25862 wxPyEndAllowThreads(__tstate
);
25863 if (PyErr_Occurred()) SWIG_fail
;
25866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25874 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25875 PyObject
*resultobj
;
25876 wxWindow
*arg1
= (wxWindow
*) 0 ;
25877 bool arg2
= (bool) True
;
25878 wxRect
*arg3
= (wxRect
*) NULL
;
25879 PyObject
* obj0
= 0 ;
25880 PyObject
* obj1
= 0 ;
25881 PyObject
* obj2
= 0 ;
25882 char *kwnames
[] = {
25883 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
25886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25890 arg2
= (bool)SWIG_As_bool(obj1
);
25891 if (PyErr_Occurred()) SWIG_fail
;
25894 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
25895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25899 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
25901 wxPyEndAllowThreads(__tstate
);
25902 if (PyErr_Occurred()) SWIG_fail
;
25904 Py_INCREF(Py_None
); resultobj
= Py_None
;
25911 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25912 PyObject
*resultobj
;
25913 wxWindow
*arg1
= (wxWindow
*) 0 ;
25916 PyObject
* obj0
= 0 ;
25917 PyObject
* obj1
= 0 ;
25918 char *kwnames
[] = {
25919 (char *) "self",(char *) "rect", NULL
25922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25927 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25931 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
25933 wxPyEndAllowThreads(__tstate
);
25934 if (PyErr_Occurred()) SWIG_fail
;
25936 Py_INCREF(Py_None
); resultobj
= Py_None
;
25943 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25944 PyObject
*resultobj
;
25945 wxWindow
*arg1
= (wxWindow
*) 0 ;
25946 PyObject
* obj0
= 0 ;
25947 char *kwnames
[] = {
25948 (char *) "self", NULL
25951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
25952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25958 wxPyEndAllowThreads(__tstate
);
25959 if (PyErr_Occurred()) SWIG_fail
;
25961 Py_INCREF(Py_None
); resultobj
= Py_None
;
25968 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25969 PyObject
*resultobj
;
25970 wxWindow
*arg1
= (wxWindow
*) 0 ;
25971 PyObject
* obj0
= 0 ;
25972 char *kwnames
[] = {
25973 (char *) "self", NULL
25976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
25977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25981 (arg1
)->ClearBackground();
25983 wxPyEndAllowThreads(__tstate
);
25984 if (PyErr_Occurred()) SWIG_fail
;
25986 Py_INCREF(Py_None
); resultobj
= Py_None
;
25993 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25994 PyObject
*resultobj
;
25995 wxWindow
*arg1
= (wxWindow
*) 0 ;
25996 PyObject
* obj0
= 0 ;
25997 char *kwnames
[] = {
25998 (char *) "self", NULL
26001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
26002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26008 wxPyEndAllowThreads(__tstate
);
26009 if (PyErr_Occurred()) SWIG_fail
;
26011 Py_INCREF(Py_None
); resultobj
= Py_None
;
26018 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26019 PyObject
*resultobj
;
26020 wxWindow
*arg1
= (wxWindow
*) 0 ;
26021 PyObject
* obj0
= 0 ;
26022 char *kwnames
[] = {
26023 (char *) "self", NULL
26026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
26027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26033 wxPyEndAllowThreads(__tstate
);
26034 if (PyErr_Occurred()) SWIG_fail
;
26036 Py_INCREF(Py_None
); resultobj
= Py_None
;
26043 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26044 PyObject
*resultobj
;
26045 wxWindow
*arg1
= (wxWindow
*) 0 ;
26047 PyObject
* obj0
= 0 ;
26048 PyObject
* obj1
= 0 ;
26049 char *kwnames
[] = {
26050 (char *) "self",(char *) "dc", NULL
26053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
26054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26056 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26057 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26059 if (arg2
== NULL
) {
26060 PyErr_SetString(PyExc_TypeError
,"null reference");
26064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26065 (arg1
)->PrepareDC(*arg2
);
26067 wxPyEndAllowThreads(__tstate
);
26068 if (PyErr_Occurred()) SWIG_fail
;
26070 Py_INCREF(Py_None
); resultobj
= Py_None
;
26077 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26078 PyObject
*resultobj
;
26079 wxWindow
*arg1
= (wxWindow
*) 0 ;
26081 PyObject
* obj0
= 0 ;
26082 char *kwnames
[] = {
26083 (char *) "self", NULL
26086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
26087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26092 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
26093 result
= (wxRegion
*) &_result_ref
;
26096 wxPyEndAllowThreads(__tstate
);
26097 if (PyErr_Occurred()) SWIG_fail
;
26099 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
26106 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26107 PyObject
*resultobj
;
26108 wxWindow
*arg1
= (wxWindow
*) 0 ;
26110 PyObject
* obj0
= 0 ;
26111 char *kwnames
[] = {
26112 (char *) "self", NULL
26115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
26116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26120 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
26122 wxPyEndAllowThreads(__tstate
);
26123 if (PyErr_Occurred()) SWIG_fail
;
26126 wxRect
* resultptr
;
26127 resultptr
= new wxRect((wxRect
&) result
);
26128 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26136 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26137 PyObject
*resultobj
;
26138 wxWindow
*arg1
= (wxWindow
*) 0 ;
26141 int arg4
= (int) 1 ;
26142 int arg5
= (int) 1 ;
26144 PyObject
* obj0
= 0 ;
26145 PyObject
* obj1
= 0 ;
26146 PyObject
* obj2
= 0 ;
26147 PyObject
* obj3
= 0 ;
26148 PyObject
* obj4
= 0 ;
26149 char *kwnames
[] = {
26150 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26156 arg2
= (int)SWIG_As_int(obj1
);
26157 if (PyErr_Occurred()) SWIG_fail
;
26158 arg3
= (int)SWIG_As_int(obj2
);
26159 if (PyErr_Occurred()) SWIG_fail
;
26161 arg4
= (int)SWIG_As_int(obj3
);
26162 if (PyErr_Occurred()) SWIG_fail
;
26165 arg5
= (int)SWIG_As_int(obj4
);
26166 if (PyErr_Occurred()) SWIG_fail
;
26169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26170 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
26172 wxPyEndAllowThreads(__tstate
);
26173 if (PyErr_Occurred()) SWIG_fail
;
26176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26184 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26185 PyObject
*resultobj
;
26186 wxWindow
*arg1
= (wxWindow
*) 0 ;
26187 wxPoint
*arg2
= 0 ;
26190 PyObject
* obj0
= 0 ;
26191 PyObject
* obj1
= 0 ;
26192 char *kwnames
[] = {
26193 (char *) "self",(char *) "pt", NULL
26196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
26197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26201 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26205 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
26207 wxPyEndAllowThreads(__tstate
);
26208 if (PyErr_Occurred()) SWIG_fail
;
26211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26219 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26220 PyObject
*resultobj
;
26221 wxWindow
*arg1
= (wxWindow
*) 0 ;
26225 PyObject
* obj0
= 0 ;
26226 PyObject
* obj1
= 0 ;
26227 char *kwnames
[] = {
26228 (char *) "self",(char *) "rect", NULL
26231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26236 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26240 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
26242 wxPyEndAllowThreads(__tstate
);
26243 if (PyErr_Occurred()) SWIG_fail
;
26246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26254 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26255 PyObject
*resultobj
;
26256 wxWindow
*arg1
= (wxWindow
*) 0 ;
26257 wxVisualAttributes result
;
26258 PyObject
* obj0
= 0 ;
26259 char *kwnames
[] = {
26260 (char *) "self", NULL
26263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26268 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
26270 wxPyEndAllowThreads(__tstate
);
26271 if (PyErr_Occurred()) SWIG_fail
;
26274 wxVisualAttributes
* resultptr
;
26275 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26276 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26284 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26285 PyObject
*resultobj
;
26286 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
26287 wxVisualAttributes result
;
26288 PyObject
* obj0
= 0 ;
26289 char *kwnames
[] = {
26290 (char *) "variant", NULL
26293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26295 arg1
= (int)SWIG_As_int(obj0
);
26296 if (PyErr_Occurred()) SWIG_fail
;
26299 if (!wxPyCheckForApp()) SWIG_fail
;
26300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26301 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26303 wxPyEndAllowThreads(__tstate
);
26304 if (PyErr_Occurred()) SWIG_fail
;
26307 wxVisualAttributes
* resultptr
;
26308 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26309 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26317 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26318 PyObject
*resultobj
;
26319 wxWindow
*arg1
= (wxWindow
*) 0 ;
26320 wxColour
*arg2
= 0 ;
26323 PyObject
* obj0
= 0 ;
26324 PyObject
* obj1
= 0 ;
26325 char *kwnames
[] = {
26326 (char *) "self",(char *) "colour", NULL
26329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26334 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26338 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26340 wxPyEndAllowThreads(__tstate
);
26341 if (PyErr_Occurred()) SWIG_fail
;
26344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26352 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26353 PyObject
*resultobj
;
26354 wxWindow
*arg1
= (wxWindow
*) 0 ;
26355 wxColour
*arg2
= 0 ;
26357 PyObject
* obj0
= 0 ;
26358 PyObject
* obj1
= 0 ;
26359 char *kwnames
[] = {
26360 (char *) "self",(char *) "colour", NULL
26363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26368 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26372 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
26374 wxPyEndAllowThreads(__tstate
);
26375 if (PyErr_Occurred()) SWIG_fail
;
26377 Py_INCREF(Py_None
); resultobj
= Py_None
;
26384 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26385 PyObject
*resultobj
;
26386 wxWindow
*arg1
= (wxWindow
*) 0 ;
26387 wxColour
*arg2
= 0 ;
26390 PyObject
* obj0
= 0 ;
26391 PyObject
* obj1
= 0 ;
26392 char *kwnames
[] = {
26393 (char *) "self",(char *) "colour", NULL
26396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26401 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26405 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
26407 wxPyEndAllowThreads(__tstate
);
26408 if (PyErr_Occurred()) SWIG_fail
;
26411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26419 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26420 PyObject
*resultobj
;
26421 wxWindow
*arg1
= (wxWindow
*) 0 ;
26422 wxColour
*arg2
= 0 ;
26424 PyObject
* obj0
= 0 ;
26425 PyObject
* obj1
= 0 ;
26426 char *kwnames
[] = {
26427 (char *) "self",(char *) "colour", NULL
26430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26435 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26439 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
26441 wxPyEndAllowThreads(__tstate
);
26442 if (PyErr_Occurred()) SWIG_fail
;
26444 Py_INCREF(Py_None
); resultobj
= Py_None
;
26451 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26452 PyObject
*resultobj
;
26453 wxWindow
*arg1
= (wxWindow
*) 0 ;
26455 PyObject
* obj0
= 0 ;
26456 char *kwnames
[] = {
26457 (char *) "self", NULL
26460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
26461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26465 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
26467 wxPyEndAllowThreads(__tstate
);
26468 if (PyErr_Occurred()) SWIG_fail
;
26471 wxColour
* resultptr
;
26472 resultptr
= new wxColour((wxColour
&) result
);
26473 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26481 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26482 PyObject
*resultobj
;
26483 wxWindow
*arg1
= (wxWindow
*) 0 ;
26485 PyObject
* obj0
= 0 ;
26486 char *kwnames
[] = {
26487 (char *) "self", NULL
26490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
26491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26495 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
26497 wxPyEndAllowThreads(__tstate
);
26498 if (PyErr_Occurred()) SWIG_fail
;
26501 wxColour
* resultptr
;
26502 resultptr
= new wxColour((wxColour
&) result
);
26503 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26511 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26512 PyObject
*resultobj
;
26513 wxWindow
*arg1
= (wxWindow
*) 0 ;
26516 PyObject
* obj0
= 0 ;
26517 PyObject
* obj1
= 0 ;
26518 char *kwnames
[] = {
26519 (char *) "self",(char *) "style", NULL
26522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
26523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26525 arg2
= (int)SWIG_As_int(obj1
);
26526 if (PyErr_Occurred()) SWIG_fail
;
26528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26529 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
26531 wxPyEndAllowThreads(__tstate
);
26532 if (PyErr_Occurred()) SWIG_fail
;
26535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26543 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26544 PyObject
*resultobj
;
26545 wxWindow
*arg1
= (wxWindow
*) 0 ;
26547 PyObject
* obj0
= 0 ;
26548 char *kwnames
[] = {
26549 (char *) "self", NULL
26552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
26553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26557 result
= (int)((wxWindow
const *)arg1
)->GetBackgroundStyle();
26559 wxPyEndAllowThreads(__tstate
);
26560 if (PyErr_Occurred()) SWIG_fail
;
26562 resultobj
= SWIG_From_int((int)result
);
26569 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26570 PyObject
*resultobj
;
26571 wxWindow
*arg1
= (wxWindow
*) 0 ;
26572 wxCursor
*arg2
= 0 ;
26574 PyObject
* obj0
= 0 ;
26575 PyObject
* obj1
= 0 ;
26576 char *kwnames
[] = {
26577 (char *) "self",(char *) "cursor", NULL
26580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
26581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26583 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
26584 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26586 if (arg2
== NULL
) {
26587 PyErr_SetString(PyExc_TypeError
,"null reference");
26591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26592 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
26594 wxPyEndAllowThreads(__tstate
);
26595 if (PyErr_Occurred()) SWIG_fail
;
26598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26606 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26607 PyObject
*resultobj
;
26608 wxWindow
*arg1
= (wxWindow
*) 0 ;
26610 PyObject
* obj0
= 0 ;
26611 char *kwnames
[] = {
26612 (char *) "self", NULL
26615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
26616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26620 result
= (arg1
)->GetCursor();
26622 wxPyEndAllowThreads(__tstate
);
26623 if (PyErr_Occurred()) SWIG_fail
;
26626 wxCursor
* resultptr
;
26627 resultptr
= new wxCursor((wxCursor
&) result
);
26628 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
26636 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26637 PyObject
*resultobj
;
26638 wxWindow
*arg1
= (wxWindow
*) 0 ;
26641 PyObject
* obj0
= 0 ;
26642 PyObject
* obj1
= 0 ;
26643 char *kwnames
[] = {
26644 (char *) "self",(char *) "font", NULL
26647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26650 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26651 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26653 if (arg2
== NULL
) {
26654 PyErr_SetString(PyExc_TypeError
,"null reference");
26658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26659 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
26661 wxPyEndAllowThreads(__tstate
);
26662 if (PyErr_Occurred()) SWIG_fail
;
26665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26673 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26674 PyObject
*resultobj
;
26675 wxWindow
*arg1
= (wxWindow
*) 0 ;
26677 PyObject
* obj0
= 0 ;
26678 PyObject
* obj1
= 0 ;
26679 char *kwnames
[] = {
26680 (char *) "self",(char *) "font", NULL
26683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26686 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26687 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26689 if (arg2
== NULL
) {
26690 PyErr_SetString(PyExc_TypeError
,"null reference");
26694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26695 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
26697 wxPyEndAllowThreads(__tstate
);
26698 if (PyErr_Occurred()) SWIG_fail
;
26700 Py_INCREF(Py_None
); resultobj
= Py_None
;
26707 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26708 PyObject
*resultobj
;
26709 wxWindow
*arg1
= (wxWindow
*) 0 ;
26711 PyObject
* obj0
= 0 ;
26712 char *kwnames
[] = {
26713 (char *) "self", NULL
26716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
26717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26721 result
= (arg1
)->GetFont();
26723 wxPyEndAllowThreads(__tstate
);
26724 if (PyErr_Occurred()) SWIG_fail
;
26727 wxFont
* resultptr
;
26728 resultptr
= new wxFont((wxFont
&) result
);
26729 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
26737 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26738 PyObject
*resultobj
;
26739 wxWindow
*arg1
= (wxWindow
*) 0 ;
26740 wxCaret
*arg2
= (wxCaret
*) 0 ;
26741 PyObject
* obj0
= 0 ;
26742 PyObject
* obj1
= 0 ;
26743 char *kwnames
[] = {
26744 (char *) "self",(char *) "caret", NULL
26747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
26748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26750 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
26751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26754 (arg1
)->SetCaret(arg2
);
26756 wxPyEndAllowThreads(__tstate
);
26757 if (PyErr_Occurred()) SWIG_fail
;
26759 Py_INCREF(Py_None
); resultobj
= Py_None
;
26766 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26767 PyObject
*resultobj
;
26768 wxWindow
*arg1
= (wxWindow
*) 0 ;
26770 PyObject
* obj0
= 0 ;
26771 char *kwnames
[] = {
26772 (char *) "self", NULL
26775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
26776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26780 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
26782 wxPyEndAllowThreads(__tstate
);
26783 if (PyErr_Occurred()) SWIG_fail
;
26785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
26792 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26793 PyObject
*resultobj
;
26794 wxWindow
*arg1
= (wxWindow
*) 0 ;
26796 PyObject
* obj0
= 0 ;
26797 char *kwnames
[] = {
26798 (char *) "self", NULL
26801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
26802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26806 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
26808 wxPyEndAllowThreads(__tstate
);
26809 if (PyErr_Occurred()) SWIG_fail
;
26811 resultobj
= SWIG_From_int((int)result
);
26818 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26819 PyObject
*resultobj
;
26820 wxWindow
*arg1
= (wxWindow
*) 0 ;
26822 PyObject
* obj0
= 0 ;
26823 char *kwnames
[] = {
26824 (char *) "self", NULL
26827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
26828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26832 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
26834 wxPyEndAllowThreads(__tstate
);
26835 if (PyErr_Occurred()) SWIG_fail
;
26837 resultobj
= SWIG_From_int((int)result
);
26844 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26845 PyObject
*resultobj
;
26846 wxWindow
*arg1
= (wxWindow
*) 0 ;
26847 wxString
*arg2
= 0 ;
26848 int *arg3
= (int *) 0 ;
26849 int *arg4
= (int *) 0 ;
26850 bool temp2
= False
;
26855 PyObject
* obj0
= 0 ;
26856 PyObject
* obj1
= 0 ;
26857 char *kwnames
[] = {
26858 (char *) "self",(char *) "string", NULL
26861 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26862 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
26863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
26864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26867 arg2
= wxString_in_helper(obj1
);
26868 if (arg2
== NULL
) SWIG_fail
;
26872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26873 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
26875 wxPyEndAllowThreads(__tstate
);
26876 if (PyErr_Occurred()) SWIG_fail
;
26878 Py_INCREF(Py_None
); resultobj
= Py_None
;
26879 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26880 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26881 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
26882 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
26897 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26898 PyObject
*resultobj
;
26899 wxWindow
*arg1
= (wxWindow
*) 0 ;
26900 wxString
*arg2
= 0 ;
26901 int *arg3
= (int *) 0 ;
26902 int *arg4
= (int *) 0 ;
26903 int *arg5
= (int *) 0 ;
26904 int *arg6
= (int *) 0 ;
26905 wxFont
*arg7
= (wxFont
*) NULL
;
26906 bool temp2
= False
;
26915 PyObject
* obj0
= 0 ;
26916 PyObject
* obj1
= 0 ;
26917 PyObject
* obj2
= 0 ;
26918 char *kwnames
[] = {
26919 (char *) "self",(char *) "string",(char *) "font", NULL
26922 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26923 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
26924 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
26925 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
26926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26930 arg2
= wxString_in_helper(obj1
);
26931 if (arg2
== NULL
) SWIG_fail
;
26935 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
26936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26940 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
26942 wxPyEndAllowThreads(__tstate
);
26943 if (PyErr_Occurred()) SWIG_fail
;
26945 Py_INCREF(Py_None
); resultobj
= Py_None
;
26946 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26947 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26948 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
26949 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
26950 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
26951 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
26952 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
26953 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
26968 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26969 PyObject
*resultobj
;
26970 wxWindow
*arg1
= (wxWindow
*) 0 ;
26971 int *arg2
= (int *) 0 ;
26972 int *arg3
= (int *) 0 ;
26977 PyObject
* obj0
= 0 ;
26978 PyObject
* obj1
= 0 ;
26979 PyObject
* obj2
= 0 ;
26980 char *kwnames
[] = {
26981 (char *) "self",(char *) "x",(char *) "y", NULL
26984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26988 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
26989 temp2
= SWIG_As_int(obj1
);
26990 if (PyErr_Occurred()) SWIG_fail
;
26992 res2
= SWIG_NEWOBJ
;
26996 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
26997 temp3
= SWIG_As_int(obj2
);
26998 if (PyErr_Occurred()) SWIG_fail
;
27000 res3
= SWIG_NEWOBJ
;
27004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27005 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
27007 wxPyEndAllowThreads(__tstate
);
27008 if (PyErr_Occurred()) SWIG_fail
;
27010 Py_INCREF(Py_None
); resultobj
= Py_None
;
27011 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27012 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27013 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27014 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27021 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27022 PyObject
*resultobj
;
27023 wxWindow
*arg1
= (wxWindow
*) 0 ;
27024 int *arg2
= (int *) 0 ;
27025 int *arg3
= (int *) 0 ;
27030 PyObject
* obj0
= 0 ;
27031 PyObject
* obj1
= 0 ;
27032 PyObject
* obj2
= 0 ;
27033 char *kwnames
[] = {
27034 (char *) "self",(char *) "x",(char *) "y", NULL
27037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27041 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
27042 temp2
= SWIG_As_int(obj1
);
27043 if (PyErr_Occurred()) SWIG_fail
;
27045 res2
= SWIG_NEWOBJ
;
27049 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
27050 temp3
= SWIG_As_int(obj2
);
27051 if (PyErr_Occurred()) SWIG_fail
;
27053 res3
= SWIG_NEWOBJ
;
27057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27058 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
27060 wxPyEndAllowThreads(__tstate
);
27061 if (PyErr_Occurred()) SWIG_fail
;
27063 Py_INCREF(Py_None
); resultobj
= Py_None
;
27064 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27065 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27066 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27067 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27074 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27075 PyObject
*resultobj
;
27076 wxWindow
*arg1
= (wxWindow
*) 0 ;
27077 wxPoint
*arg2
= 0 ;
27080 PyObject
* obj0
= 0 ;
27081 PyObject
* obj1
= 0 ;
27082 char *kwnames
[] = {
27083 (char *) "self",(char *) "pt", NULL
27086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
27087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27091 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27095 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
27097 wxPyEndAllowThreads(__tstate
);
27098 if (PyErr_Occurred()) SWIG_fail
;
27101 wxPoint
* resultptr
;
27102 resultptr
= new wxPoint((wxPoint
&) result
);
27103 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27111 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27112 PyObject
*resultobj
;
27113 wxWindow
*arg1
= (wxWindow
*) 0 ;
27114 wxPoint
*arg2
= 0 ;
27117 PyObject
* obj0
= 0 ;
27118 PyObject
* obj1
= 0 ;
27119 char *kwnames
[] = {
27120 (char *) "self",(char *) "pt", NULL
27123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
27124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27128 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27132 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
27134 wxPyEndAllowThreads(__tstate
);
27135 if (PyErr_Occurred()) SWIG_fail
;
27138 wxPoint
* resultptr
;
27139 resultptr
= new wxPoint((wxPoint
&) result
);
27140 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27148 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27149 PyObject
*resultobj
;
27150 wxWindow
*arg1
= (wxWindow
*) 0 ;
27154 PyObject
* obj0
= 0 ;
27155 PyObject
* obj1
= 0 ;
27156 PyObject
* obj2
= 0 ;
27157 char *kwnames
[] = {
27158 (char *) "self",(char *) "x",(char *) "y", NULL
27161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27164 arg2
= (int)SWIG_As_int(obj1
);
27165 if (PyErr_Occurred()) SWIG_fail
;
27166 arg3
= (int)SWIG_As_int(obj2
);
27167 if (PyErr_Occurred()) SWIG_fail
;
27169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27170 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
27172 wxPyEndAllowThreads(__tstate
);
27173 if (PyErr_Occurred()) SWIG_fail
;
27175 resultobj
= SWIG_From_int((int)result
);
27182 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27183 PyObject
*resultobj
;
27184 wxWindow
*arg1
= (wxWindow
*) 0 ;
27185 wxPoint
*arg2
= 0 ;
27188 PyObject
* obj0
= 0 ;
27189 PyObject
* obj1
= 0 ;
27190 char *kwnames
[] = {
27191 (char *) "self",(char *) "pt", NULL
27194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27199 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27203 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
27205 wxPyEndAllowThreads(__tstate
);
27206 if (PyErr_Occurred()) SWIG_fail
;
27208 resultobj
= SWIG_From_int((int)result
);
27215 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
27216 PyObject
*resultobj
;
27217 wxWindow
*arg1
= (wxWindow
*) 0 ;
27220 PyObject
* obj0
= 0 ;
27221 PyObject
* obj1
= 0 ;
27223 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
27224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27226 arg2
= (long)SWIG_As_long(obj1
);
27227 if (PyErr_Occurred()) SWIG_fail
;
27229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27230 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
27232 wxPyEndAllowThreads(__tstate
);
27233 if (PyErr_Occurred()) SWIG_fail
;
27235 resultobj
= SWIG_From_int((int)result
);
27242 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
27243 PyObject
*resultobj
;
27244 wxWindow
*arg1
= (wxWindow
*) 0 ;
27246 PyObject
* obj0
= 0 ;
27248 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
27249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27253 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
27255 wxPyEndAllowThreads(__tstate
);
27256 if (PyErr_Occurred()) SWIG_fail
;
27258 resultobj
= SWIG_From_int((int)result
);
27265 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
27270 argc
= PyObject_Length(args
);
27271 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
27272 argv
[ii
] = PyTuple_GetItem(args
,ii
);
27278 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27286 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
27293 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27301 _v
= SWIG_Check_long(argv
[1]);
27303 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
27308 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
27313 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27314 PyObject
*resultobj
;
27315 wxWindow
*arg1
= (wxWindow
*) 0 ;
27316 long arg2
= (long) wxUPDATE_UI_NONE
;
27317 PyObject
* obj0
= 0 ;
27318 PyObject
* obj1
= 0 ;
27319 char *kwnames
[] = {
27320 (char *) "self",(char *) "flags", NULL
27323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
27324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27327 arg2
= (long)SWIG_As_long(obj1
);
27328 if (PyErr_Occurred()) SWIG_fail
;
27331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27332 (arg1
)->UpdateWindowUI(arg2
);
27334 wxPyEndAllowThreads(__tstate
);
27335 if (PyErr_Occurred()) SWIG_fail
;
27337 Py_INCREF(Py_None
); resultobj
= Py_None
;
27344 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27345 PyObject
*resultobj
;
27346 wxWindow
*arg1
= (wxWindow
*) 0 ;
27347 wxMenu
*arg2
= (wxMenu
*) 0 ;
27348 int arg3
= (int) -1 ;
27349 int arg4
= (int) -1 ;
27351 PyObject
* obj0
= 0 ;
27352 PyObject
* obj1
= 0 ;
27353 PyObject
* obj2
= 0 ;
27354 PyObject
* obj3
= 0 ;
27355 char *kwnames
[] = {
27356 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
27359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27362 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27365 arg3
= (int)SWIG_As_int(obj2
);
27366 if (PyErr_Occurred()) SWIG_fail
;
27369 arg4
= (int)SWIG_As_int(obj3
);
27370 if (PyErr_Occurred()) SWIG_fail
;
27373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27374 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
27376 wxPyEndAllowThreads(__tstate
);
27377 if (PyErr_Occurred()) SWIG_fail
;
27380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27388 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27389 PyObject
*resultobj
;
27390 wxWindow
*arg1
= (wxWindow
*) 0 ;
27391 wxMenu
*arg2
= (wxMenu
*) 0 ;
27392 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27393 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27396 PyObject
* obj0
= 0 ;
27397 PyObject
* obj1
= 0 ;
27398 PyObject
* obj2
= 0 ;
27399 char *kwnames
[] = {
27400 (char *) "self",(char *) "menu",(char *) "pos", NULL
27403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27406 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27411 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27416 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
27418 wxPyEndAllowThreads(__tstate
);
27419 if (PyErr_Occurred()) SWIG_fail
;
27422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27430 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27431 PyObject
*resultobj
;
27432 wxWindow
*arg1
= (wxWindow
*) 0 ;
27434 PyObject
* obj0
= 0 ;
27435 char *kwnames
[] = {
27436 (char *) "self", NULL
27439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
27440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27444 result
= (long)wxWindow_GetHandle(arg1
);
27446 wxPyEndAllowThreads(__tstate
);
27447 if (PyErr_Occurred()) SWIG_fail
;
27449 resultobj
= SWIG_From_long((long)result
);
27456 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27457 PyObject
*resultobj
;
27458 wxWindow
*arg1
= (wxWindow
*) 0 ;
27461 PyObject
* obj0
= 0 ;
27462 PyObject
* obj1
= 0 ;
27463 char *kwnames
[] = {
27464 (char *) "self",(char *) "orient", NULL
27467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
27468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27470 arg2
= (int)SWIG_As_int(obj1
);
27471 if (PyErr_Occurred()) SWIG_fail
;
27473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27474 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
27476 wxPyEndAllowThreads(__tstate
);
27477 if (PyErr_Occurred()) SWIG_fail
;
27480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27488 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27489 PyObject
*resultobj
;
27490 wxWindow
*arg1
= (wxWindow
*) 0 ;
27495 bool arg6
= (bool) True
;
27496 PyObject
* obj0
= 0 ;
27497 PyObject
* obj1
= 0 ;
27498 PyObject
* obj2
= 0 ;
27499 PyObject
* obj3
= 0 ;
27500 PyObject
* obj4
= 0 ;
27501 PyObject
* obj5
= 0 ;
27502 char *kwnames
[] = {
27503 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
27506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27509 arg2
= (int)SWIG_As_int(obj1
);
27510 if (PyErr_Occurred()) SWIG_fail
;
27511 arg3
= (int)SWIG_As_int(obj2
);
27512 if (PyErr_Occurred()) SWIG_fail
;
27513 arg4
= (int)SWIG_As_int(obj3
);
27514 if (PyErr_Occurred()) SWIG_fail
;
27515 arg5
= (int)SWIG_As_int(obj4
);
27516 if (PyErr_Occurred()) SWIG_fail
;
27518 arg6
= (bool)SWIG_As_bool(obj5
);
27519 if (PyErr_Occurred()) SWIG_fail
;
27522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27523 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
27525 wxPyEndAllowThreads(__tstate
);
27526 if (PyErr_Occurred()) SWIG_fail
;
27528 Py_INCREF(Py_None
); resultobj
= Py_None
;
27535 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27536 PyObject
*resultobj
;
27537 wxWindow
*arg1
= (wxWindow
*) 0 ;
27540 bool arg4
= (bool) True
;
27541 PyObject
* obj0
= 0 ;
27542 PyObject
* obj1
= 0 ;
27543 PyObject
* obj2
= 0 ;
27544 PyObject
* obj3
= 0 ;
27545 char *kwnames
[] = {
27546 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
27549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27552 arg2
= (int)SWIG_As_int(obj1
);
27553 if (PyErr_Occurred()) SWIG_fail
;
27554 arg3
= (int)SWIG_As_int(obj2
);
27555 if (PyErr_Occurred()) SWIG_fail
;
27557 arg4
= (bool)SWIG_As_bool(obj3
);
27558 if (PyErr_Occurred()) SWIG_fail
;
27561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27562 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
27564 wxPyEndAllowThreads(__tstate
);
27565 if (PyErr_Occurred()) SWIG_fail
;
27567 Py_INCREF(Py_None
); resultobj
= Py_None
;
27574 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27575 PyObject
*resultobj
;
27576 wxWindow
*arg1
= (wxWindow
*) 0 ;
27579 PyObject
* obj0
= 0 ;
27580 PyObject
* obj1
= 0 ;
27581 char *kwnames
[] = {
27582 (char *) "self",(char *) "orientation", NULL
27585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
27586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27588 arg2
= (int)SWIG_As_int(obj1
);
27589 if (PyErr_Occurred()) SWIG_fail
;
27591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27592 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
27594 wxPyEndAllowThreads(__tstate
);
27595 if (PyErr_Occurred()) SWIG_fail
;
27597 resultobj
= SWIG_From_int((int)result
);
27604 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27605 PyObject
*resultobj
;
27606 wxWindow
*arg1
= (wxWindow
*) 0 ;
27609 PyObject
* obj0
= 0 ;
27610 PyObject
* obj1
= 0 ;
27611 char *kwnames
[] = {
27612 (char *) "self",(char *) "orientation", NULL
27615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
27616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27618 arg2
= (int)SWIG_As_int(obj1
);
27619 if (PyErr_Occurred()) SWIG_fail
;
27621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27622 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
27624 wxPyEndAllowThreads(__tstate
);
27625 if (PyErr_Occurred()) SWIG_fail
;
27627 resultobj
= SWIG_From_int((int)result
);
27634 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27635 PyObject
*resultobj
;
27636 wxWindow
*arg1
= (wxWindow
*) 0 ;
27639 PyObject
* obj0
= 0 ;
27640 PyObject
* obj1
= 0 ;
27641 char *kwnames
[] = {
27642 (char *) "self",(char *) "orientation", NULL
27645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
27646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27648 arg2
= (int)SWIG_As_int(obj1
);
27649 if (PyErr_Occurred()) SWIG_fail
;
27651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27652 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
27654 wxPyEndAllowThreads(__tstate
);
27655 if (PyErr_Occurred()) SWIG_fail
;
27657 resultobj
= SWIG_From_int((int)result
);
27664 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27665 PyObject
*resultobj
;
27666 wxWindow
*arg1
= (wxWindow
*) 0 ;
27669 wxRect
*arg4
= (wxRect
*) NULL
;
27670 PyObject
* obj0
= 0 ;
27671 PyObject
* obj1
= 0 ;
27672 PyObject
* obj2
= 0 ;
27673 PyObject
* obj3
= 0 ;
27674 char *kwnames
[] = {
27675 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
27678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27681 arg2
= (int)SWIG_As_int(obj1
);
27682 if (PyErr_Occurred()) SWIG_fail
;
27683 arg3
= (int)SWIG_As_int(obj2
);
27684 if (PyErr_Occurred()) SWIG_fail
;
27686 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
27687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27691 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
27693 wxPyEndAllowThreads(__tstate
);
27694 if (PyErr_Occurred()) SWIG_fail
;
27696 Py_INCREF(Py_None
); resultobj
= Py_None
;
27703 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27704 PyObject
*resultobj
;
27705 wxWindow
*arg1
= (wxWindow
*) 0 ;
27708 PyObject
* obj0
= 0 ;
27709 PyObject
* obj1
= 0 ;
27710 char *kwnames
[] = {
27711 (char *) "self",(char *) "lines", NULL
27714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
27715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27717 arg2
= (int)SWIG_As_int(obj1
);
27718 if (PyErr_Occurred()) SWIG_fail
;
27720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27721 result
= (bool)(arg1
)->ScrollLines(arg2
);
27723 wxPyEndAllowThreads(__tstate
);
27724 if (PyErr_Occurred()) SWIG_fail
;
27727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27735 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27736 PyObject
*resultobj
;
27737 wxWindow
*arg1
= (wxWindow
*) 0 ;
27740 PyObject
* obj0
= 0 ;
27741 PyObject
* obj1
= 0 ;
27742 char *kwnames
[] = {
27743 (char *) "self",(char *) "pages", NULL
27746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
27747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27749 arg2
= (int)SWIG_As_int(obj1
);
27750 if (PyErr_Occurred()) SWIG_fail
;
27752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27753 result
= (bool)(arg1
)->ScrollPages(arg2
);
27755 wxPyEndAllowThreads(__tstate
);
27756 if (PyErr_Occurred()) SWIG_fail
;
27759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27767 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27768 PyObject
*resultobj
;
27769 wxWindow
*arg1
= (wxWindow
*) 0 ;
27771 PyObject
* obj0
= 0 ;
27772 char *kwnames
[] = {
27773 (char *) "self", NULL
27776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
27777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27781 result
= (bool)(arg1
)->LineUp();
27783 wxPyEndAllowThreads(__tstate
);
27784 if (PyErr_Occurred()) SWIG_fail
;
27787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27795 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27796 PyObject
*resultobj
;
27797 wxWindow
*arg1
= (wxWindow
*) 0 ;
27799 PyObject
* obj0
= 0 ;
27800 char *kwnames
[] = {
27801 (char *) "self", NULL
27804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
27805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27809 result
= (bool)(arg1
)->LineDown();
27811 wxPyEndAllowThreads(__tstate
);
27812 if (PyErr_Occurred()) SWIG_fail
;
27815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27823 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27824 PyObject
*resultobj
;
27825 wxWindow
*arg1
= (wxWindow
*) 0 ;
27827 PyObject
* obj0
= 0 ;
27828 char *kwnames
[] = {
27829 (char *) "self", NULL
27832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
27833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27837 result
= (bool)(arg1
)->PageUp();
27839 wxPyEndAllowThreads(__tstate
);
27840 if (PyErr_Occurred()) SWIG_fail
;
27843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27851 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27852 PyObject
*resultobj
;
27853 wxWindow
*arg1
= (wxWindow
*) 0 ;
27855 PyObject
* obj0
= 0 ;
27856 char *kwnames
[] = {
27857 (char *) "self", NULL
27860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
27861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27865 result
= (bool)(arg1
)->PageDown();
27867 wxPyEndAllowThreads(__tstate
);
27868 if (PyErr_Occurred()) SWIG_fail
;
27871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27879 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27880 PyObject
*resultobj
;
27881 wxWindow
*arg1
= (wxWindow
*) 0 ;
27882 wxString
*arg2
= 0 ;
27883 bool temp2
= False
;
27884 PyObject
* obj0
= 0 ;
27885 PyObject
* obj1
= 0 ;
27886 char *kwnames
[] = {
27887 (char *) "self",(char *) "text", NULL
27890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
27891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27894 arg2
= wxString_in_helper(obj1
);
27895 if (arg2
== NULL
) SWIG_fail
;
27899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27900 (arg1
)->SetHelpText((wxString
const &)*arg2
);
27902 wxPyEndAllowThreads(__tstate
);
27903 if (PyErr_Occurred()) SWIG_fail
;
27905 Py_INCREF(Py_None
); resultobj
= Py_None
;
27920 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27921 PyObject
*resultobj
;
27922 wxWindow
*arg1
= (wxWindow
*) 0 ;
27923 wxString
*arg2
= 0 ;
27924 bool temp2
= False
;
27925 PyObject
* obj0
= 0 ;
27926 PyObject
* obj1
= 0 ;
27927 char *kwnames
[] = {
27928 (char *) "self",(char *) "text", NULL
27931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
27932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27935 arg2
= wxString_in_helper(obj1
);
27936 if (arg2
== NULL
) SWIG_fail
;
27940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27941 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
27943 wxPyEndAllowThreads(__tstate
);
27944 if (PyErr_Occurred()) SWIG_fail
;
27946 Py_INCREF(Py_None
); resultobj
= Py_None
;
27961 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27962 PyObject
*resultobj
;
27963 wxWindow
*arg1
= (wxWindow
*) 0 ;
27965 PyObject
* obj0
= 0 ;
27966 char *kwnames
[] = {
27967 (char *) "self", NULL
27970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
27971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27975 result
= ((wxWindow
const *)arg1
)->GetHelpText();
27977 wxPyEndAllowThreads(__tstate
);
27978 if (PyErr_Occurred()) SWIG_fail
;
27982 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27984 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27993 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27994 PyObject
*resultobj
;
27995 wxWindow
*arg1
= (wxWindow
*) 0 ;
27996 wxString
*arg2
= 0 ;
27997 bool temp2
= False
;
27998 PyObject
* obj0
= 0 ;
27999 PyObject
* obj1
= 0 ;
28000 char *kwnames
[] = {
28001 (char *) "self",(char *) "tip", NULL
28004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
28005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28008 arg2
= wxString_in_helper(obj1
);
28009 if (arg2
== NULL
) SWIG_fail
;
28013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28014 (arg1
)->SetToolTip((wxString
const &)*arg2
);
28016 wxPyEndAllowThreads(__tstate
);
28017 if (PyErr_Occurred()) SWIG_fail
;
28019 Py_INCREF(Py_None
); resultobj
= Py_None
;
28034 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28035 PyObject
*resultobj
;
28036 wxWindow
*arg1
= (wxWindow
*) 0 ;
28037 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
28038 PyObject
* obj0
= 0 ;
28039 PyObject
* obj1
= 0 ;
28040 char *kwnames
[] = {
28041 (char *) "self",(char *) "tip", NULL
28044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
28045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28047 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
28048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28051 (arg1
)->SetToolTip(arg2
);
28053 wxPyEndAllowThreads(__tstate
);
28054 if (PyErr_Occurred()) SWIG_fail
;
28056 Py_INCREF(Py_None
); resultobj
= Py_None
;
28063 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28064 PyObject
*resultobj
;
28065 wxWindow
*arg1
= (wxWindow
*) 0 ;
28067 PyObject
* obj0
= 0 ;
28068 char *kwnames
[] = {
28069 (char *) "self", NULL
28072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
28073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28077 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
28079 wxPyEndAllowThreads(__tstate
);
28080 if (PyErr_Occurred()) SWIG_fail
;
28083 resultobj
= wxPyMake_wxObject(result
, 0);
28091 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28092 PyObject
*resultobj
;
28093 wxWindow
*arg1
= (wxWindow
*) 0 ;
28094 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
28095 PyObject
* obj0
= 0 ;
28096 PyObject
* obj1
= 0 ;
28097 char *kwnames
[] = {
28098 (char *) "self",(char *) "dropTarget", NULL
28101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
28102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28104 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
28105 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
28107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28108 (arg1
)->SetDropTarget(arg2
);
28110 wxPyEndAllowThreads(__tstate
);
28111 if (PyErr_Occurred()) SWIG_fail
;
28113 Py_INCREF(Py_None
); resultobj
= Py_None
;
28120 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28121 PyObject
*resultobj
;
28122 wxWindow
*arg1
= (wxWindow
*) 0 ;
28123 wxPyDropTarget
*result
;
28124 PyObject
* obj0
= 0 ;
28125 char *kwnames
[] = {
28126 (char *) "self", NULL
28129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
28130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28134 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
28136 wxPyEndAllowThreads(__tstate
);
28137 if (PyErr_Occurred()) SWIG_fail
;
28139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
28146 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28147 PyObject
*resultobj
;
28148 wxWindow
*arg1
= (wxWindow
*) 0 ;
28149 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
28150 PyObject
* obj0
= 0 ;
28151 PyObject
* obj1
= 0 ;
28152 char *kwnames
[] = {
28153 (char *) "self",(char *) "constraints", NULL
28156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
28157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28159 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
28160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28163 (arg1
)->SetConstraints(arg2
);
28165 wxPyEndAllowThreads(__tstate
);
28166 if (PyErr_Occurred()) SWIG_fail
;
28168 Py_INCREF(Py_None
); resultobj
= Py_None
;
28175 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28176 PyObject
*resultobj
;
28177 wxWindow
*arg1
= (wxWindow
*) 0 ;
28178 wxLayoutConstraints
*result
;
28179 PyObject
* obj0
= 0 ;
28180 char *kwnames
[] = {
28181 (char *) "self", NULL
28184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
28185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28189 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
28191 wxPyEndAllowThreads(__tstate
);
28192 if (PyErr_Occurred()) SWIG_fail
;
28194 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
28201 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28202 PyObject
*resultobj
;
28203 wxWindow
*arg1
= (wxWindow
*) 0 ;
28205 PyObject
* obj0
= 0 ;
28206 PyObject
* obj1
= 0 ;
28207 char *kwnames
[] = {
28208 (char *) "self",(char *) "autoLayout", NULL
28211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
28212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28214 arg2
= (bool)SWIG_As_bool(obj1
);
28215 if (PyErr_Occurred()) SWIG_fail
;
28217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28218 (arg1
)->SetAutoLayout(arg2
);
28220 wxPyEndAllowThreads(__tstate
);
28221 if (PyErr_Occurred()) SWIG_fail
;
28223 Py_INCREF(Py_None
); resultobj
= Py_None
;
28230 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28231 PyObject
*resultobj
;
28232 wxWindow
*arg1
= (wxWindow
*) 0 ;
28234 PyObject
* obj0
= 0 ;
28235 char *kwnames
[] = {
28236 (char *) "self", NULL
28239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
28240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28244 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
28246 wxPyEndAllowThreads(__tstate
);
28247 if (PyErr_Occurred()) SWIG_fail
;
28250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28258 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28259 PyObject
*resultobj
;
28260 wxWindow
*arg1
= (wxWindow
*) 0 ;
28262 PyObject
* obj0
= 0 ;
28263 char *kwnames
[] = {
28264 (char *) "self", NULL
28267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
28268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28272 result
= (bool)(arg1
)->Layout();
28274 wxPyEndAllowThreads(__tstate
);
28275 if (PyErr_Occurred()) SWIG_fail
;
28278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28286 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28287 PyObject
*resultobj
;
28288 wxWindow
*arg1
= (wxWindow
*) 0 ;
28289 wxSizer
*arg2
= (wxSizer
*) 0 ;
28290 bool arg3
= (bool) True
;
28291 PyObject
* obj0
= 0 ;
28292 PyObject
* obj1
= 0 ;
28293 PyObject
* obj2
= 0 ;
28294 char *kwnames
[] = {
28295 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28301 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28304 arg3
= (bool)SWIG_As_bool(obj2
);
28305 if (PyErr_Occurred()) SWIG_fail
;
28308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28309 (arg1
)->SetSizer(arg2
,arg3
);
28311 wxPyEndAllowThreads(__tstate
);
28312 if (PyErr_Occurred()) SWIG_fail
;
28314 Py_INCREF(Py_None
); resultobj
= Py_None
;
28321 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28322 PyObject
*resultobj
;
28323 wxWindow
*arg1
= (wxWindow
*) 0 ;
28324 wxSizer
*arg2
= (wxSizer
*) 0 ;
28325 bool arg3
= (bool) True
;
28326 PyObject
* obj0
= 0 ;
28327 PyObject
* obj1
= 0 ;
28328 PyObject
* obj2
= 0 ;
28329 char *kwnames
[] = {
28330 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28336 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28339 arg3
= (bool)SWIG_As_bool(obj2
);
28340 if (PyErr_Occurred()) SWIG_fail
;
28343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28344 (arg1
)->SetSizerAndFit(arg2
,arg3
);
28346 wxPyEndAllowThreads(__tstate
);
28347 if (PyErr_Occurred()) SWIG_fail
;
28349 Py_INCREF(Py_None
); resultobj
= Py_None
;
28356 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28357 PyObject
*resultobj
;
28358 wxWindow
*arg1
= (wxWindow
*) 0 ;
28360 PyObject
* obj0
= 0 ;
28361 char *kwnames
[] = {
28362 (char *) "self", NULL
28365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
28366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28370 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
28372 wxPyEndAllowThreads(__tstate
);
28373 if (PyErr_Occurred()) SWIG_fail
;
28376 resultobj
= wxPyMake_wxSizer(result
, 0);
28384 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28385 PyObject
*resultobj
;
28386 wxWindow
*arg1
= (wxWindow
*) 0 ;
28387 wxSizer
*arg2
= (wxSizer
*) 0 ;
28388 PyObject
* obj0
= 0 ;
28389 PyObject
* obj1
= 0 ;
28390 char *kwnames
[] = {
28391 (char *) "self",(char *) "sizer", NULL
28394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
28395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28397 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28401 (arg1
)->SetContainingSizer(arg2
);
28403 wxPyEndAllowThreads(__tstate
);
28404 if (PyErr_Occurred()) SWIG_fail
;
28406 Py_INCREF(Py_None
); resultobj
= Py_None
;
28413 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28414 PyObject
*resultobj
;
28415 wxWindow
*arg1
= (wxWindow
*) 0 ;
28417 PyObject
* obj0
= 0 ;
28418 char *kwnames
[] = {
28419 (char *) "self", NULL
28422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
28423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28427 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
28429 wxPyEndAllowThreads(__tstate
);
28430 if (PyErr_Occurred()) SWIG_fail
;
28433 resultobj
= wxPyMake_wxSizer(result
, 0);
28441 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28442 PyObject
*resultobj
;
28443 wxWindow
*arg1
= (wxWindow
*) 0 ;
28444 PyObject
* obj0
= 0 ;
28445 char *kwnames
[] = {
28446 (char *) "self", NULL
28449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
28450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28454 (arg1
)->InheritAttributes();
28456 wxPyEndAllowThreads(__tstate
);
28457 if (PyErr_Occurred()) SWIG_fail
;
28459 Py_INCREF(Py_None
); resultobj
= Py_None
;
28466 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28467 PyObject
*resultobj
;
28468 wxWindow
*arg1
= (wxWindow
*) 0 ;
28470 PyObject
* obj0
= 0 ;
28471 char *kwnames
[] = {
28472 (char *) "self", NULL
28475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
28476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28480 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
28482 wxPyEndAllowThreads(__tstate
);
28483 if (PyErr_Occurred()) SWIG_fail
;
28486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28494 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
28496 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28497 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
28499 return Py_BuildValue((char *)"");
28501 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28502 PyObject
*resultobj
;
28504 wxWindow
*arg2
= (wxWindow
*) NULL
;
28506 PyObject
* obj0
= 0 ;
28507 PyObject
* obj1
= 0 ;
28508 char *kwnames
[] = {
28509 (char *) "id",(char *) "parent", NULL
28512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28513 arg1
= (long)SWIG_As_long(obj0
);
28514 if (PyErr_Occurred()) SWIG_fail
;
28516 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28520 if (!wxPyCheckForApp()) SWIG_fail
;
28521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28522 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
28524 wxPyEndAllowThreads(__tstate
);
28525 if (PyErr_Occurred()) SWIG_fail
;
28528 resultobj
= wxPyMake_wxObject(result
, 0);
28536 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28537 PyObject
*resultobj
;
28538 wxString
*arg1
= 0 ;
28539 wxWindow
*arg2
= (wxWindow
*) NULL
;
28541 bool temp1
= False
;
28542 PyObject
* obj0
= 0 ;
28543 PyObject
* obj1
= 0 ;
28544 char *kwnames
[] = {
28545 (char *) "name",(char *) "parent", NULL
28548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28550 arg1
= wxString_in_helper(obj0
);
28551 if (arg1
== NULL
) SWIG_fail
;
28555 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28559 if (!wxPyCheckForApp()) SWIG_fail
;
28560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28561 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28563 wxPyEndAllowThreads(__tstate
);
28564 if (PyErr_Occurred()) SWIG_fail
;
28567 resultobj
= wxPyMake_wxObject(result
, 0);
28583 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28584 PyObject
*resultobj
;
28585 wxString
*arg1
= 0 ;
28586 wxWindow
*arg2
= (wxWindow
*) NULL
;
28588 bool temp1
= False
;
28589 PyObject
* obj0
= 0 ;
28590 PyObject
* obj1
= 0 ;
28591 char *kwnames
[] = {
28592 (char *) "label",(char *) "parent", NULL
28595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28597 arg1
= wxString_in_helper(obj0
);
28598 if (arg1
== NULL
) SWIG_fail
;
28602 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28606 if (!wxPyCheckForApp()) SWIG_fail
;
28607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28608 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28610 wxPyEndAllowThreads(__tstate
);
28611 if (PyErr_Occurred()) SWIG_fail
;
28614 resultobj
= wxPyMake_wxObject(result
, 0);
28630 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28631 PyObject
*resultobj
;
28632 wxWindow
*arg1
= (wxWindow
*) 0 ;
28633 unsigned long arg2
;
28635 PyObject
* obj0
= 0 ;
28636 PyObject
* obj1
= 0 ;
28637 char *kwnames
[] = {
28638 (char *) "parent",(char *) "_hWnd", NULL
28641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
28642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28644 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
28645 if (PyErr_Occurred()) SWIG_fail
;
28647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28648 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
28650 wxPyEndAllowThreads(__tstate
);
28651 if (PyErr_Occurred()) SWIG_fail
;
28654 resultobj
= wxPyMake_wxObject(result
, 0);
28662 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28663 PyObject
*resultobj
;
28664 wxValidator
*result
;
28665 char *kwnames
[] = {
28669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
28671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28672 result
= (wxValidator
*)new wxValidator();
28674 wxPyEndAllowThreads(__tstate
);
28675 if (PyErr_Occurred()) SWIG_fail
;
28677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
28684 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28685 PyObject
*resultobj
;
28686 wxValidator
*arg1
= (wxValidator
*) 0 ;
28687 wxValidator
*result
;
28688 PyObject
* obj0
= 0 ;
28689 char *kwnames
[] = {
28690 (char *) "self", NULL
28693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
28694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28698 result
= (wxValidator
*)(arg1
)->Clone();
28700 wxPyEndAllowThreads(__tstate
);
28701 if (PyErr_Occurred()) SWIG_fail
;
28704 resultobj
= wxPyMake_wxObject(result
, 0);
28712 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28713 PyObject
*resultobj
;
28714 wxValidator
*arg1
= (wxValidator
*) 0 ;
28715 wxWindow
*arg2
= (wxWindow
*) 0 ;
28717 PyObject
* obj0
= 0 ;
28718 PyObject
* obj1
= 0 ;
28719 char *kwnames
[] = {
28720 (char *) "self",(char *) "parent", NULL
28723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
28724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28726 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28730 result
= (bool)(arg1
)->Validate(arg2
);
28732 wxPyEndAllowThreads(__tstate
);
28733 if (PyErr_Occurred()) SWIG_fail
;
28736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28744 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28745 PyObject
*resultobj
;
28746 wxValidator
*arg1
= (wxValidator
*) 0 ;
28748 PyObject
* obj0
= 0 ;
28749 char *kwnames
[] = {
28750 (char *) "self", NULL
28753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
28754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28758 result
= (bool)(arg1
)->TransferToWindow();
28760 wxPyEndAllowThreads(__tstate
);
28761 if (PyErr_Occurred()) SWIG_fail
;
28764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28772 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28773 PyObject
*resultobj
;
28774 wxValidator
*arg1
= (wxValidator
*) 0 ;
28776 PyObject
* obj0
= 0 ;
28777 char *kwnames
[] = {
28778 (char *) "self", NULL
28781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
28782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28786 result
= (bool)(arg1
)->TransferFromWindow();
28788 wxPyEndAllowThreads(__tstate
);
28789 if (PyErr_Occurred()) SWIG_fail
;
28792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28800 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28801 PyObject
*resultobj
;
28802 wxValidator
*arg1
= (wxValidator
*) 0 ;
28804 PyObject
* obj0
= 0 ;
28805 char *kwnames
[] = {
28806 (char *) "self", NULL
28809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
28810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28814 result
= (wxWindow
*)(arg1
)->GetWindow();
28816 wxPyEndAllowThreads(__tstate
);
28817 if (PyErr_Occurred()) SWIG_fail
;
28820 resultobj
= wxPyMake_wxObject(result
, 0);
28828 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28829 PyObject
*resultobj
;
28830 wxValidator
*arg1
= (wxValidator
*) 0 ;
28831 wxWindow
*arg2
= (wxWindow
*) 0 ;
28832 PyObject
* obj0
= 0 ;
28833 PyObject
* obj1
= 0 ;
28834 char *kwnames
[] = {
28835 (char *) "self",(char *) "window", NULL
28838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
28839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28841 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28845 (arg1
)->SetWindow(arg2
);
28847 wxPyEndAllowThreads(__tstate
);
28848 if (PyErr_Occurred()) SWIG_fail
;
28850 Py_INCREF(Py_None
); resultobj
= Py_None
;
28857 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28858 PyObject
*resultobj
;
28860 char *kwnames
[] = {
28864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
28866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28867 result
= (bool)wxValidator::IsSilent();
28869 wxPyEndAllowThreads(__tstate
);
28870 if (PyErr_Occurred()) SWIG_fail
;
28873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28881 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28882 PyObject
*resultobj
;
28883 int arg1
= (int) True
;
28884 PyObject
* obj0
= 0 ;
28885 char *kwnames
[] = {
28886 (char *) "doIt", NULL
28889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
28891 arg1
= (int)SWIG_As_int(obj0
);
28892 if (PyErr_Occurred()) SWIG_fail
;
28895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28896 wxValidator::SetBellOnError(arg1
);
28898 wxPyEndAllowThreads(__tstate
);
28899 if (PyErr_Occurred()) SWIG_fail
;
28901 Py_INCREF(Py_None
); resultobj
= Py_None
;
28908 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
28910 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28911 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
28913 return Py_BuildValue((char *)"");
28915 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28916 PyObject
*resultobj
;
28917 wxPyValidator
*result
;
28918 char *kwnames
[] = {
28922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
28924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28925 result
= (wxPyValidator
*)new wxPyValidator();
28927 wxPyEndAllowThreads(__tstate
);
28928 if (PyErr_Occurred()) SWIG_fail
;
28930 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
28937 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28938 PyObject
*resultobj
;
28939 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
28940 PyObject
*arg2
= (PyObject
*) 0 ;
28941 PyObject
*arg3
= (PyObject
*) 0 ;
28942 int arg4
= (int) True
;
28943 PyObject
* obj0
= 0 ;
28944 PyObject
* obj1
= 0 ;
28945 PyObject
* obj2
= 0 ;
28946 PyObject
* obj3
= 0 ;
28947 char *kwnames
[] = {
28948 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
28953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28957 arg4
= (int)SWIG_As_int(obj3
);
28958 if (PyErr_Occurred()) SWIG_fail
;
28961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28962 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28964 wxPyEndAllowThreads(__tstate
);
28965 if (PyErr_Occurred()) SWIG_fail
;
28967 Py_INCREF(Py_None
); resultobj
= Py_None
;
28974 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
28976 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28977 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
28979 return Py_BuildValue((char *)"");
28981 static int _wrap_DefaultValidator_set(PyObject
*) {
28982 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
28987 static PyObject
*_wrap_DefaultValidator_get() {
28990 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
28995 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28996 PyObject
*resultobj
;
28997 wxString
const &arg1_defvalue
= wxPyEmptyString
;
28998 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
28999 long arg2
= (long) 0 ;
29001 bool temp1
= False
;
29002 PyObject
* obj0
= 0 ;
29003 PyObject
* obj1
= 0 ;
29004 char *kwnames
[] = {
29005 (char *) "title",(char *) "style", NULL
29008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
29011 arg1
= wxString_in_helper(obj0
);
29012 if (arg1
== NULL
) SWIG_fail
;
29017 arg2
= (long)SWIG_As_long(obj1
);
29018 if (PyErr_Occurred()) SWIG_fail
;
29021 if (!wxPyCheckForApp()) SWIG_fail
;
29022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29023 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
29025 wxPyEndAllowThreads(__tstate
);
29026 if (PyErr_Occurred()) SWIG_fail
;
29028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
29043 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29044 PyObject
*resultobj
;
29045 wxMenu
*arg1
= (wxMenu
*) 0 ;
29047 wxString
*arg3
= 0 ;
29048 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29049 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29050 int arg5
= (int) wxITEM_NORMAL
;
29051 wxMenuItem
*result
;
29052 bool temp3
= False
;
29053 bool temp4
= False
;
29054 PyObject
* obj0
= 0 ;
29055 PyObject
* obj1
= 0 ;
29056 PyObject
* obj2
= 0 ;
29057 PyObject
* obj3
= 0 ;
29058 PyObject
* obj4
= 0 ;
29059 char *kwnames
[] = {
29060 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29066 arg2
= (int)SWIG_As_int(obj1
);
29067 if (PyErr_Occurred()) SWIG_fail
;
29069 arg3
= wxString_in_helper(obj2
);
29070 if (arg3
== NULL
) SWIG_fail
;
29075 arg4
= wxString_in_helper(obj3
);
29076 if (arg4
== NULL
) SWIG_fail
;
29081 arg5
= (int)SWIG_As_int(obj4
);
29082 if (PyErr_Occurred()) SWIG_fail
;
29085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29086 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29088 wxPyEndAllowThreads(__tstate
);
29089 if (PyErr_Occurred()) SWIG_fail
;
29092 resultobj
= wxPyMake_wxObject(result
, 0);
29116 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29117 PyObject
*resultobj
;
29118 wxMenu
*arg1
= (wxMenu
*) 0 ;
29119 wxMenuItem
*result
;
29120 PyObject
* obj0
= 0 ;
29121 char *kwnames
[] = {
29122 (char *) "self", NULL
29125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
29126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29130 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
29132 wxPyEndAllowThreads(__tstate
);
29133 if (PyErr_Occurred()) SWIG_fail
;
29136 resultobj
= wxPyMake_wxObject(result
, 0);
29144 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29145 PyObject
*resultobj
;
29146 wxMenu
*arg1
= (wxMenu
*) 0 ;
29148 wxString
*arg3
= 0 ;
29149 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29150 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29151 wxMenuItem
*result
;
29152 bool temp3
= False
;
29153 bool temp4
= False
;
29154 PyObject
* obj0
= 0 ;
29155 PyObject
* obj1
= 0 ;
29156 PyObject
* obj2
= 0 ;
29157 PyObject
* obj3
= 0 ;
29158 char *kwnames
[] = {
29159 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29165 arg2
= (int)SWIG_As_int(obj1
);
29166 if (PyErr_Occurred()) SWIG_fail
;
29168 arg3
= wxString_in_helper(obj2
);
29169 if (arg3
== NULL
) SWIG_fail
;
29174 arg4
= wxString_in_helper(obj3
);
29175 if (arg4
== NULL
) SWIG_fail
;
29180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29181 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29183 wxPyEndAllowThreads(__tstate
);
29184 if (PyErr_Occurred()) SWIG_fail
;
29187 resultobj
= wxPyMake_wxObject(result
, 0);
29211 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29212 PyObject
*resultobj
;
29213 wxMenu
*arg1
= (wxMenu
*) 0 ;
29215 wxString
*arg3
= 0 ;
29216 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29217 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29218 wxMenuItem
*result
;
29219 bool temp3
= False
;
29220 bool temp4
= False
;
29221 PyObject
* obj0
= 0 ;
29222 PyObject
* obj1
= 0 ;
29223 PyObject
* obj2
= 0 ;
29224 PyObject
* obj3
= 0 ;
29225 char *kwnames
[] = {
29226 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29232 arg2
= (int)SWIG_As_int(obj1
);
29233 if (PyErr_Occurred()) SWIG_fail
;
29235 arg3
= wxString_in_helper(obj2
);
29236 if (arg3
== NULL
) SWIG_fail
;
29241 arg4
= wxString_in_helper(obj3
);
29242 if (arg4
== NULL
) SWIG_fail
;
29247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29248 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29250 wxPyEndAllowThreads(__tstate
);
29251 if (PyErr_Occurred()) SWIG_fail
;
29254 resultobj
= wxPyMake_wxObject(result
, 0);
29278 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29279 PyObject
*resultobj
;
29280 wxMenu
*arg1
= (wxMenu
*) 0 ;
29282 wxString
*arg3
= 0 ;
29283 wxMenu
*arg4
= (wxMenu
*) 0 ;
29284 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29285 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29286 wxMenuItem
*result
;
29287 bool temp3
= False
;
29288 bool temp5
= False
;
29289 PyObject
* obj0
= 0 ;
29290 PyObject
* obj1
= 0 ;
29291 PyObject
* obj2
= 0 ;
29292 PyObject
* obj3
= 0 ;
29293 PyObject
* obj4
= 0 ;
29294 char *kwnames
[] = {
29295 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29301 arg2
= (int)SWIG_As_int(obj1
);
29302 if (PyErr_Occurred()) SWIG_fail
;
29304 arg3
= wxString_in_helper(obj2
);
29305 if (arg3
== NULL
) SWIG_fail
;
29308 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29312 arg5
= wxString_in_helper(obj4
);
29313 if (arg5
== NULL
) SWIG_fail
;
29318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29319 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29321 wxPyEndAllowThreads(__tstate
);
29322 if (PyErr_Occurred()) SWIG_fail
;
29325 resultobj
= wxPyMake_wxObject(result
, 0);
29349 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29350 PyObject
*resultobj
;
29351 wxMenu
*arg1
= (wxMenu
*) 0 ;
29352 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29353 wxMenuItem
*result
;
29354 PyObject
* obj0
= 0 ;
29355 PyObject
* obj1
= 0 ;
29356 char *kwnames
[] = {
29357 (char *) "self",(char *) "item", NULL
29360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29363 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29367 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
29369 wxPyEndAllowThreads(__tstate
);
29370 if (PyErr_Occurred()) SWIG_fail
;
29373 resultobj
= wxPyMake_wxObject(result
, 0);
29381 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29382 PyObject
*resultobj
;
29383 wxMenu
*arg1
= (wxMenu
*) 0 ;
29384 PyObject
* obj0
= 0 ;
29385 char *kwnames
[] = {
29386 (char *) "self", NULL
29389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
29390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29396 wxPyEndAllowThreads(__tstate
);
29397 if (PyErr_Occurred()) SWIG_fail
;
29399 Py_INCREF(Py_None
); resultobj
= Py_None
;
29406 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29407 PyObject
*resultobj
;
29408 wxMenu
*arg1
= (wxMenu
*) 0 ;
29410 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
29411 wxMenuItem
*result
;
29412 PyObject
* obj0
= 0 ;
29413 PyObject
* obj1
= 0 ;
29414 PyObject
* obj2
= 0 ;
29415 char *kwnames
[] = {
29416 (char *) "self",(char *) "pos",(char *) "item", NULL
29419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29422 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29423 if (PyErr_Occurred()) SWIG_fail
;
29424 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
29425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29428 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
29430 wxPyEndAllowThreads(__tstate
);
29431 if (PyErr_Occurred()) SWIG_fail
;
29434 resultobj
= wxPyMake_wxObject(result
, 0);
29442 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29443 PyObject
*resultobj
;
29444 wxMenu
*arg1
= (wxMenu
*) 0 ;
29447 wxString
*arg4
= 0 ;
29448 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29449 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29450 int arg6
= (int) wxITEM_NORMAL
;
29451 wxMenuItem
*result
;
29452 bool temp4
= False
;
29453 bool temp5
= False
;
29454 PyObject
* obj0
= 0 ;
29455 PyObject
* obj1
= 0 ;
29456 PyObject
* obj2
= 0 ;
29457 PyObject
* obj3
= 0 ;
29458 PyObject
* obj4
= 0 ;
29459 PyObject
* obj5
= 0 ;
29460 char *kwnames
[] = {
29461 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29467 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29468 if (PyErr_Occurred()) SWIG_fail
;
29469 arg3
= (int)SWIG_As_int(obj2
);
29470 if (PyErr_Occurred()) SWIG_fail
;
29472 arg4
= wxString_in_helper(obj3
);
29473 if (arg4
== NULL
) SWIG_fail
;
29478 arg5
= wxString_in_helper(obj4
);
29479 if (arg5
== NULL
) SWIG_fail
;
29484 arg6
= (int)SWIG_As_int(obj5
);
29485 if (PyErr_Occurred()) SWIG_fail
;
29488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29489 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
29491 wxPyEndAllowThreads(__tstate
);
29492 if (PyErr_Occurred()) SWIG_fail
;
29495 resultobj
= wxPyMake_wxObject(result
, 0);
29519 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29520 PyObject
*resultobj
;
29521 wxMenu
*arg1
= (wxMenu
*) 0 ;
29523 wxMenuItem
*result
;
29524 PyObject
* obj0
= 0 ;
29525 PyObject
* obj1
= 0 ;
29526 char *kwnames
[] = {
29527 (char *) "self",(char *) "pos", NULL
29530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
29531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29533 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29534 if (PyErr_Occurred()) SWIG_fail
;
29536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29537 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
29539 wxPyEndAllowThreads(__tstate
);
29540 if (PyErr_Occurred()) SWIG_fail
;
29543 resultobj
= wxPyMake_wxObject(result
, 0);
29551 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29552 PyObject
*resultobj
;
29553 wxMenu
*arg1
= (wxMenu
*) 0 ;
29556 wxString
*arg4
= 0 ;
29557 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29558 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29559 wxMenuItem
*result
;
29560 bool temp4
= False
;
29561 bool temp5
= False
;
29562 PyObject
* obj0
= 0 ;
29563 PyObject
* obj1
= 0 ;
29564 PyObject
* obj2
= 0 ;
29565 PyObject
* obj3
= 0 ;
29566 PyObject
* obj4
= 0 ;
29567 char *kwnames
[] = {
29568 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29574 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29575 if (PyErr_Occurred()) SWIG_fail
;
29576 arg3
= (int)SWIG_As_int(obj2
);
29577 if (PyErr_Occurred()) SWIG_fail
;
29579 arg4
= wxString_in_helper(obj3
);
29580 if (arg4
== NULL
) SWIG_fail
;
29585 arg5
= wxString_in_helper(obj4
);
29586 if (arg5
== NULL
) SWIG_fail
;
29591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29592 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29594 wxPyEndAllowThreads(__tstate
);
29595 if (PyErr_Occurred()) SWIG_fail
;
29598 resultobj
= wxPyMake_wxObject(result
, 0);
29622 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29623 PyObject
*resultobj
;
29624 wxMenu
*arg1
= (wxMenu
*) 0 ;
29627 wxString
*arg4
= 0 ;
29628 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29629 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29630 wxMenuItem
*result
;
29631 bool temp4
= False
;
29632 bool temp5
= False
;
29633 PyObject
* obj0
= 0 ;
29634 PyObject
* obj1
= 0 ;
29635 PyObject
* obj2
= 0 ;
29636 PyObject
* obj3
= 0 ;
29637 PyObject
* obj4
= 0 ;
29638 char *kwnames
[] = {
29639 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29645 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29646 if (PyErr_Occurred()) SWIG_fail
;
29647 arg3
= (int)SWIG_As_int(obj2
);
29648 if (PyErr_Occurred()) SWIG_fail
;
29650 arg4
= wxString_in_helper(obj3
);
29651 if (arg4
== NULL
) SWIG_fail
;
29656 arg5
= wxString_in_helper(obj4
);
29657 if (arg5
== NULL
) SWIG_fail
;
29662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29663 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29665 wxPyEndAllowThreads(__tstate
);
29666 if (PyErr_Occurred()) SWIG_fail
;
29669 resultobj
= wxPyMake_wxObject(result
, 0);
29693 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29694 PyObject
*resultobj
;
29695 wxMenu
*arg1
= (wxMenu
*) 0 ;
29698 wxString
*arg4
= 0 ;
29699 wxMenu
*arg5
= (wxMenu
*) 0 ;
29700 wxString
const &arg6_defvalue
= wxPyEmptyString
;
29701 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29702 wxMenuItem
*result
;
29703 bool temp4
= False
;
29704 bool temp6
= False
;
29705 PyObject
* obj0
= 0 ;
29706 PyObject
* obj1
= 0 ;
29707 PyObject
* obj2
= 0 ;
29708 PyObject
* obj3
= 0 ;
29709 PyObject
* obj4
= 0 ;
29710 PyObject
* obj5
= 0 ;
29711 char *kwnames
[] = {
29712 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29718 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29719 if (PyErr_Occurred()) SWIG_fail
;
29720 arg3
= (int)SWIG_As_int(obj2
);
29721 if (PyErr_Occurred()) SWIG_fail
;
29723 arg4
= wxString_in_helper(obj3
);
29724 if (arg4
== NULL
) SWIG_fail
;
29727 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
29728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29731 arg6
= wxString_in_helper(obj5
);
29732 if (arg6
== NULL
) SWIG_fail
;
29737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29738 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29740 wxPyEndAllowThreads(__tstate
);
29741 if (PyErr_Occurred()) SWIG_fail
;
29744 resultobj
= wxPyMake_wxObject(result
, 0);
29768 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29769 PyObject
*resultobj
;
29770 wxMenu
*arg1
= (wxMenu
*) 0 ;
29771 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29772 wxMenuItem
*result
;
29773 PyObject
* obj0
= 0 ;
29774 PyObject
* obj1
= 0 ;
29775 char *kwnames
[] = {
29776 (char *) "self",(char *) "item", NULL
29779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29782 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29786 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
29788 wxPyEndAllowThreads(__tstate
);
29789 if (PyErr_Occurred()) SWIG_fail
;
29792 resultobj
= wxPyMake_wxObject(result
, 0);
29800 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29801 PyObject
*resultobj
;
29802 wxMenu
*arg1
= (wxMenu
*) 0 ;
29804 wxString
*arg3
= 0 ;
29805 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29806 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29807 int arg5
= (int) wxITEM_NORMAL
;
29808 wxMenuItem
*result
;
29809 bool temp3
= False
;
29810 bool temp4
= False
;
29811 PyObject
* obj0
= 0 ;
29812 PyObject
* obj1
= 0 ;
29813 PyObject
* obj2
= 0 ;
29814 PyObject
* obj3
= 0 ;
29815 PyObject
* obj4
= 0 ;
29816 char *kwnames
[] = {
29817 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29823 arg2
= (int)SWIG_As_int(obj1
);
29824 if (PyErr_Occurred()) SWIG_fail
;
29826 arg3
= wxString_in_helper(obj2
);
29827 if (arg3
== NULL
) SWIG_fail
;
29832 arg4
= wxString_in_helper(obj3
);
29833 if (arg4
== NULL
) SWIG_fail
;
29838 arg5
= (int)SWIG_As_int(obj4
);
29839 if (PyErr_Occurred()) SWIG_fail
;
29842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29843 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29845 wxPyEndAllowThreads(__tstate
);
29846 if (PyErr_Occurred()) SWIG_fail
;
29849 resultobj
= wxPyMake_wxObject(result
, 0);
29873 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29874 PyObject
*resultobj
;
29875 wxMenu
*arg1
= (wxMenu
*) 0 ;
29876 wxMenuItem
*result
;
29877 PyObject
* obj0
= 0 ;
29878 char *kwnames
[] = {
29879 (char *) "self", NULL
29882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
29883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29887 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
29889 wxPyEndAllowThreads(__tstate
);
29890 if (PyErr_Occurred()) SWIG_fail
;
29893 resultobj
= wxPyMake_wxObject(result
, 0);
29901 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29902 PyObject
*resultobj
;
29903 wxMenu
*arg1
= (wxMenu
*) 0 ;
29905 wxString
*arg3
= 0 ;
29906 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29907 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29908 wxMenuItem
*result
;
29909 bool temp3
= False
;
29910 bool temp4
= False
;
29911 PyObject
* obj0
= 0 ;
29912 PyObject
* obj1
= 0 ;
29913 PyObject
* obj2
= 0 ;
29914 PyObject
* obj3
= 0 ;
29915 char *kwnames
[] = {
29916 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29922 arg2
= (int)SWIG_As_int(obj1
);
29923 if (PyErr_Occurred()) SWIG_fail
;
29925 arg3
= wxString_in_helper(obj2
);
29926 if (arg3
== NULL
) SWIG_fail
;
29931 arg4
= wxString_in_helper(obj3
);
29932 if (arg4
== NULL
) SWIG_fail
;
29937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29938 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29940 wxPyEndAllowThreads(__tstate
);
29941 if (PyErr_Occurred()) SWIG_fail
;
29944 resultobj
= wxPyMake_wxObject(result
, 0);
29968 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29969 PyObject
*resultobj
;
29970 wxMenu
*arg1
= (wxMenu
*) 0 ;
29972 wxString
*arg3
= 0 ;
29973 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29974 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29975 wxMenuItem
*result
;
29976 bool temp3
= False
;
29977 bool temp4
= False
;
29978 PyObject
* obj0
= 0 ;
29979 PyObject
* obj1
= 0 ;
29980 PyObject
* obj2
= 0 ;
29981 PyObject
* obj3
= 0 ;
29982 char *kwnames
[] = {
29983 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29989 arg2
= (int)SWIG_As_int(obj1
);
29990 if (PyErr_Occurred()) SWIG_fail
;
29992 arg3
= wxString_in_helper(obj2
);
29993 if (arg3
== NULL
) SWIG_fail
;
29998 arg4
= wxString_in_helper(obj3
);
29999 if (arg4
== NULL
) SWIG_fail
;
30004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30005 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
30007 wxPyEndAllowThreads(__tstate
);
30008 if (PyErr_Occurred()) SWIG_fail
;
30011 resultobj
= wxPyMake_wxObject(result
, 0);
30035 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30036 PyObject
*resultobj
;
30037 wxMenu
*arg1
= (wxMenu
*) 0 ;
30039 wxString
*arg3
= 0 ;
30040 wxMenu
*arg4
= (wxMenu
*) 0 ;
30041 wxString
const &arg5_defvalue
= wxPyEmptyString
;
30042 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
30043 wxMenuItem
*result
;
30044 bool temp3
= False
;
30045 bool temp5
= False
;
30046 PyObject
* obj0
= 0 ;
30047 PyObject
* obj1
= 0 ;
30048 PyObject
* obj2
= 0 ;
30049 PyObject
* obj3
= 0 ;
30050 PyObject
* obj4
= 0 ;
30051 char *kwnames
[] = {
30052 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
30055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30058 arg2
= (int)SWIG_As_int(obj1
);
30059 if (PyErr_Occurred()) SWIG_fail
;
30061 arg3
= wxString_in_helper(obj2
);
30062 if (arg3
== NULL
) SWIG_fail
;
30065 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
30066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30069 arg5
= wxString_in_helper(obj4
);
30070 if (arg5
== NULL
) SWIG_fail
;
30075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30076 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
30078 wxPyEndAllowThreads(__tstate
);
30079 if (PyErr_Occurred()) SWIG_fail
;
30082 resultobj
= wxPyMake_wxObject(result
, 0);
30106 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30107 PyObject
*resultobj
;
30108 wxMenu
*arg1
= (wxMenu
*) 0 ;
30110 wxMenuItem
*result
;
30111 PyObject
* obj0
= 0 ;
30112 PyObject
* obj1
= 0 ;
30113 char *kwnames
[] = {
30114 (char *) "self",(char *) "id", NULL
30117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
30118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30120 arg2
= (int)SWIG_As_int(obj1
);
30121 if (PyErr_Occurred()) SWIG_fail
;
30123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30124 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
30126 wxPyEndAllowThreads(__tstate
);
30127 if (PyErr_Occurred()) SWIG_fail
;
30130 resultobj
= wxPyMake_wxObject(result
, 0);
30138 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30139 PyObject
*resultobj
;
30140 wxMenu
*arg1
= (wxMenu
*) 0 ;
30141 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30142 wxMenuItem
*result
;
30143 PyObject
* obj0
= 0 ;
30144 PyObject
* obj1
= 0 ;
30145 char *kwnames
[] = {
30146 (char *) "self",(char *) "item", NULL
30149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30152 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30156 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
30158 wxPyEndAllowThreads(__tstate
);
30159 if (PyErr_Occurred()) SWIG_fail
;
30162 resultobj
= wxPyMake_wxObject(result
, 0);
30170 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30171 PyObject
*resultobj
;
30172 wxMenu
*arg1
= (wxMenu
*) 0 ;
30175 PyObject
* obj0
= 0 ;
30176 PyObject
* obj1
= 0 ;
30177 char *kwnames
[] = {
30178 (char *) "self",(char *) "id", NULL
30181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30184 arg2
= (int)SWIG_As_int(obj1
);
30185 if (PyErr_Occurred()) SWIG_fail
;
30187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30188 result
= (bool)(arg1
)->Delete(arg2
);
30190 wxPyEndAllowThreads(__tstate
);
30191 if (PyErr_Occurred()) SWIG_fail
;
30194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30202 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30203 PyObject
*resultobj
;
30204 wxMenu
*arg1
= (wxMenu
*) 0 ;
30205 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30207 PyObject
* obj0
= 0 ;
30208 PyObject
* obj1
= 0 ;
30209 char *kwnames
[] = {
30210 (char *) "self",(char *) "item", NULL
30213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30216 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30220 result
= (bool)(arg1
)->Delete(arg2
);
30222 wxPyEndAllowThreads(__tstate
);
30223 if (PyErr_Occurred()) SWIG_fail
;
30226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30234 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30235 PyObject
*resultobj
;
30236 wxMenu
*arg1
= (wxMenu
*) 0 ;
30237 PyObject
* obj0
= 0 ;
30238 char *kwnames
[] = {
30239 (char *) "self", NULL
30242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
30243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30247 wxMenu_Destroy(arg1
);
30249 wxPyEndAllowThreads(__tstate
);
30250 if (PyErr_Occurred()) SWIG_fail
;
30252 Py_INCREF(Py_None
); resultobj
= Py_None
;
30259 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30260 PyObject
*resultobj
;
30261 wxMenu
*arg1
= (wxMenu
*) 0 ;
30264 PyObject
* obj0
= 0 ;
30265 PyObject
* obj1
= 0 ;
30266 char *kwnames
[] = {
30267 (char *) "self",(char *) "id", NULL
30270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
30271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30273 arg2
= (int)SWIG_As_int(obj1
);
30274 if (PyErr_Occurred()) SWIG_fail
;
30276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30277 result
= (bool)(arg1
)->Destroy(arg2
);
30279 wxPyEndAllowThreads(__tstate
);
30280 if (PyErr_Occurred()) SWIG_fail
;
30283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30291 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30292 PyObject
*resultobj
;
30293 wxMenu
*arg1
= (wxMenu
*) 0 ;
30294 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30296 PyObject
* obj0
= 0 ;
30297 PyObject
* obj1
= 0 ;
30298 char *kwnames
[] = {
30299 (char *) "self",(char *) "item", NULL
30302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30305 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30309 result
= (bool)(arg1
)->Destroy(arg2
);
30311 wxPyEndAllowThreads(__tstate
);
30312 if (PyErr_Occurred()) SWIG_fail
;
30315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30323 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30324 PyObject
*resultobj
;
30325 wxMenu
*arg1
= (wxMenu
*) 0 ;
30327 PyObject
* obj0
= 0 ;
30328 char *kwnames
[] = {
30329 (char *) "self", NULL
30332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
30333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30337 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
30339 wxPyEndAllowThreads(__tstate
);
30340 if (PyErr_Occurred()) SWIG_fail
;
30342 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
30349 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30350 PyObject
*resultobj
;
30351 wxMenu
*arg1
= (wxMenu
*) 0 ;
30353 PyObject
* obj0
= 0 ;
30354 char *kwnames
[] = {
30355 (char *) "self", NULL
30358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
30359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30363 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
30365 wxPyEndAllowThreads(__tstate
);
30366 if (PyErr_Occurred()) SWIG_fail
;
30368 resultobj
= result
;
30375 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30376 PyObject
*resultobj
;
30377 wxMenu
*arg1
= (wxMenu
*) 0 ;
30378 wxString
*arg2
= 0 ;
30380 bool temp2
= False
;
30381 PyObject
* obj0
= 0 ;
30382 PyObject
* obj1
= 0 ;
30383 char *kwnames
[] = {
30384 (char *) "self",(char *) "item", NULL
30387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30391 arg2
= wxString_in_helper(obj1
);
30392 if (arg2
== NULL
) SWIG_fail
;
30396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30397 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
30399 wxPyEndAllowThreads(__tstate
);
30400 if (PyErr_Occurred()) SWIG_fail
;
30402 resultobj
= SWIG_From_int((int)result
);
30417 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30418 PyObject
*resultobj
;
30419 wxMenu
*arg1
= (wxMenu
*) 0 ;
30421 wxMenuItem
*result
;
30422 PyObject
* obj0
= 0 ;
30423 PyObject
* obj1
= 0 ;
30424 char *kwnames
[] = {
30425 (char *) "self",(char *) "id", NULL
30428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
30429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30431 arg2
= (int)SWIG_As_int(obj1
);
30432 if (PyErr_Occurred()) SWIG_fail
;
30434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30435 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
30437 wxPyEndAllowThreads(__tstate
);
30438 if (PyErr_Occurred()) SWIG_fail
;
30441 resultobj
= wxPyMake_wxObject(result
, 0);
30449 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30450 PyObject
*resultobj
;
30451 wxMenu
*arg1
= (wxMenu
*) 0 ;
30453 wxMenuItem
*result
;
30454 PyObject
* obj0
= 0 ;
30455 PyObject
* obj1
= 0 ;
30456 char *kwnames
[] = {
30457 (char *) "self",(char *) "position", NULL
30460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
30461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30463 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30464 if (PyErr_Occurred()) SWIG_fail
;
30466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30467 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
30469 wxPyEndAllowThreads(__tstate
);
30470 if (PyErr_Occurred()) SWIG_fail
;
30473 resultobj
= wxPyMake_wxObject(result
, 0);
30481 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30482 PyObject
*resultobj
;
30483 wxMenu
*arg1
= (wxMenu
*) 0 ;
30486 PyObject
* obj0
= 0 ;
30487 PyObject
* obj1
= 0 ;
30488 PyObject
* obj2
= 0 ;
30489 char *kwnames
[] = {
30490 (char *) "self",(char *) "id",(char *) "enable", NULL
30493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30496 arg2
= (int)SWIG_As_int(obj1
);
30497 if (PyErr_Occurred()) SWIG_fail
;
30498 arg3
= (bool)SWIG_As_bool(obj2
);
30499 if (PyErr_Occurred()) SWIG_fail
;
30501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30502 (arg1
)->Enable(arg2
,arg3
);
30504 wxPyEndAllowThreads(__tstate
);
30505 if (PyErr_Occurred()) SWIG_fail
;
30507 Py_INCREF(Py_None
); resultobj
= Py_None
;
30514 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30515 PyObject
*resultobj
;
30516 wxMenu
*arg1
= (wxMenu
*) 0 ;
30519 PyObject
* obj0
= 0 ;
30520 PyObject
* obj1
= 0 ;
30521 char *kwnames
[] = {
30522 (char *) "self",(char *) "id", NULL
30525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
30526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30528 arg2
= (int)SWIG_As_int(obj1
);
30529 if (PyErr_Occurred()) SWIG_fail
;
30531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30532 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
30534 wxPyEndAllowThreads(__tstate
);
30535 if (PyErr_Occurred()) SWIG_fail
;
30538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30546 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30547 PyObject
*resultobj
;
30548 wxMenu
*arg1
= (wxMenu
*) 0 ;
30551 PyObject
* obj0
= 0 ;
30552 PyObject
* obj1
= 0 ;
30553 PyObject
* obj2
= 0 ;
30554 char *kwnames
[] = {
30555 (char *) "self",(char *) "id",(char *) "check", NULL
30558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30561 arg2
= (int)SWIG_As_int(obj1
);
30562 if (PyErr_Occurred()) SWIG_fail
;
30563 arg3
= (bool)SWIG_As_bool(obj2
);
30564 if (PyErr_Occurred()) SWIG_fail
;
30566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30567 (arg1
)->Check(arg2
,arg3
);
30569 wxPyEndAllowThreads(__tstate
);
30570 if (PyErr_Occurred()) SWIG_fail
;
30572 Py_INCREF(Py_None
); resultobj
= Py_None
;
30579 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30580 PyObject
*resultobj
;
30581 wxMenu
*arg1
= (wxMenu
*) 0 ;
30584 PyObject
* obj0
= 0 ;
30585 PyObject
* obj1
= 0 ;
30586 char *kwnames
[] = {
30587 (char *) "self",(char *) "id", NULL
30590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
30591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30593 arg2
= (int)SWIG_As_int(obj1
);
30594 if (PyErr_Occurred()) SWIG_fail
;
30596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30597 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
30599 wxPyEndAllowThreads(__tstate
);
30600 if (PyErr_Occurred()) SWIG_fail
;
30603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30611 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30612 PyObject
*resultobj
;
30613 wxMenu
*arg1
= (wxMenu
*) 0 ;
30615 wxString
*arg3
= 0 ;
30616 bool temp3
= False
;
30617 PyObject
* obj0
= 0 ;
30618 PyObject
* obj1
= 0 ;
30619 PyObject
* obj2
= 0 ;
30620 char *kwnames
[] = {
30621 (char *) "self",(char *) "id",(char *) "label", NULL
30624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30627 arg2
= (int)SWIG_As_int(obj1
);
30628 if (PyErr_Occurred()) SWIG_fail
;
30630 arg3
= wxString_in_helper(obj2
);
30631 if (arg3
== NULL
) SWIG_fail
;
30635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30636 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
30638 wxPyEndAllowThreads(__tstate
);
30639 if (PyErr_Occurred()) SWIG_fail
;
30641 Py_INCREF(Py_None
); resultobj
= Py_None
;
30656 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30657 PyObject
*resultobj
;
30658 wxMenu
*arg1
= (wxMenu
*) 0 ;
30661 PyObject
* obj0
= 0 ;
30662 PyObject
* obj1
= 0 ;
30663 char *kwnames
[] = {
30664 (char *) "self",(char *) "id", NULL
30667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30670 arg2
= (int)SWIG_As_int(obj1
);
30671 if (PyErr_Occurred()) SWIG_fail
;
30673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30674 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
30676 wxPyEndAllowThreads(__tstate
);
30677 if (PyErr_Occurred()) SWIG_fail
;
30681 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30683 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30692 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30693 PyObject
*resultobj
;
30694 wxMenu
*arg1
= (wxMenu
*) 0 ;
30696 wxString
*arg3
= 0 ;
30697 bool temp3
= False
;
30698 PyObject
* obj0
= 0 ;
30699 PyObject
* obj1
= 0 ;
30700 PyObject
* obj2
= 0 ;
30701 char *kwnames
[] = {
30702 (char *) "self",(char *) "id",(char *) "helpString", NULL
30705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30708 arg2
= (int)SWIG_As_int(obj1
);
30709 if (PyErr_Occurred()) SWIG_fail
;
30711 arg3
= wxString_in_helper(obj2
);
30712 if (arg3
== NULL
) SWIG_fail
;
30716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30717 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
30719 wxPyEndAllowThreads(__tstate
);
30720 if (PyErr_Occurred()) SWIG_fail
;
30722 Py_INCREF(Py_None
); resultobj
= Py_None
;
30737 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30738 PyObject
*resultobj
;
30739 wxMenu
*arg1
= (wxMenu
*) 0 ;
30742 PyObject
* obj0
= 0 ;
30743 PyObject
* obj1
= 0 ;
30744 char *kwnames
[] = {
30745 (char *) "self",(char *) "id", NULL
30748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
30749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30751 arg2
= (int)SWIG_As_int(obj1
);
30752 if (PyErr_Occurred()) SWIG_fail
;
30754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30755 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
30757 wxPyEndAllowThreads(__tstate
);
30758 if (PyErr_Occurred()) SWIG_fail
;
30762 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30764 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30773 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30774 PyObject
*resultobj
;
30775 wxMenu
*arg1
= (wxMenu
*) 0 ;
30776 wxString
*arg2
= 0 ;
30777 bool temp2
= False
;
30778 PyObject
* obj0
= 0 ;
30779 PyObject
* obj1
= 0 ;
30780 char *kwnames
[] = {
30781 (char *) "self",(char *) "title", NULL
30784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
30785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30788 arg2
= wxString_in_helper(obj1
);
30789 if (arg2
== NULL
) SWIG_fail
;
30793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30794 (arg1
)->SetTitle((wxString
const &)*arg2
);
30796 wxPyEndAllowThreads(__tstate
);
30797 if (PyErr_Occurred()) SWIG_fail
;
30799 Py_INCREF(Py_None
); resultobj
= Py_None
;
30814 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30815 PyObject
*resultobj
;
30816 wxMenu
*arg1
= (wxMenu
*) 0 ;
30818 PyObject
* obj0
= 0 ;
30819 char *kwnames
[] = {
30820 (char *) "self", NULL
30823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
30824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30828 result
= ((wxMenu
const *)arg1
)->GetTitle();
30830 wxPyEndAllowThreads(__tstate
);
30831 if (PyErr_Occurred()) SWIG_fail
;
30835 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30837 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30846 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30847 PyObject
*resultobj
;
30848 wxMenu
*arg1
= (wxMenu
*) 0 ;
30849 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
30850 PyObject
* obj0
= 0 ;
30851 PyObject
* obj1
= 0 ;
30852 char *kwnames
[] = {
30853 (char *) "self",(char *) "handler", NULL
30856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
30857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30859 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30863 (arg1
)->SetEventHandler(arg2
);
30865 wxPyEndAllowThreads(__tstate
);
30866 if (PyErr_Occurred()) SWIG_fail
;
30868 Py_INCREF(Py_None
); resultobj
= Py_None
;
30875 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30876 PyObject
*resultobj
;
30877 wxMenu
*arg1
= (wxMenu
*) 0 ;
30878 wxEvtHandler
*result
;
30879 PyObject
* obj0
= 0 ;
30880 char *kwnames
[] = {
30881 (char *) "self", NULL
30884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
30885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30889 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
30891 wxPyEndAllowThreads(__tstate
);
30892 if (PyErr_Occurred()) SWIG_fail
;
30895 resultobj
= wxPyMake_wxObject(result
, 0);
30903 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30904 PyObject
*resultobj
;
30905 wxMenu
*arg1
= (wxMenu
*) 0 ;
30906 wxWindow
*arg2
= (wxWindow
*) 0 ;
30907 PyObject
* obj0
= 0 ;
30908 PyObject
* obj1
= 0 ;
30909 char *kwnames
[] = {
30910 (char *) "self",(char *) "win", NULL
30913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
30914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30916 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30920 (arg1
)->SetInvokingWindow(arg2
);
30922 wxPyEndAllowThreads(__tstate
);
30923 if (PyErr_Occurred()) SWIG_fail
;
30925 Py_INCREF(Py_None
); resultobj
= Py_None
;
30932 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30933 PyObject
*resultobj
;
30934 wxMenu
*arg1
= (wxMenu
*) 0 ;
30936 PyObject
* obj0
= 0 ;
30937 char *kwnames
[] = {
30938 (char *) "self", NULL
30941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
30942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30946 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
30948 wxPyEndAllowThreads(__tstate
);
30949 if (PyErr_Occurred()) SWIG_fail
;
30952 resultobj
= wxPyMake_wxObject(result
, 0);
30960 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30961 PyObject
*resultobj
;
30962 wxMenu
*arg1
= (wxMenu
*) 0 ;
30964 PyObject
* obj0
= 0 ;
30965 char *kwnames
[] = {
30966 (char *) "self", NULL
30969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
30970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30974 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
30976 wxPyEndAllowThreads(__tstate
);
30977 if (PyErr_Occurred()) SWIG_fail
;
30979 resultobj
= SWIG_From_long((long)result
);
30986 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30987 PyObject
*resultobj
;
30988 wxMenu
*arg1
= (wxMenu
*) 0 ;
30989 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
30990 PyObject
* obj0
= 0 ;
30991 PyObject
* obj1
= 0 ;
30992 char *kwnames
[] = {
30993 (char *) "self",(char *) "source", NULL
30996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31000 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
31001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31005 (arg1
)->UpdateUI(arg2
);
31007 wxPyEndAllowThreads(__tstate
);
31008 if (PyErr_Occurred()) SWIG_fail
;
31010 Py_INCREF(Py_None
); resultobj
= Py_None
;
31017 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31018 PyObject
*resultobj
;
31019 wxMenu
*arg1
= (wxMenu
*) 0 ;
31021 PyObject
* obj0
= 0 ;
31022 char *kwnames
[] = {
31023 (char *) "self", NULL
31026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
31027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31031 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
31033 wxPyEndAllowThreads(__tstate
);
31034 if (PyErr_Occurred()) SWIG_fail
;
31037 resultobj
= wxPyMake_wxObject(result
, 0);
31045 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31046 PyObject
*resultobj
;
31047 wxMenu
*arg1
= (wxMenu
*) 0 ;
31048 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
31049 PyObject
* obj0
= 0 ;
31050 PyObject
* obj1
= 0 ;
31051 char *kwnames
[] = {
31052 (char *) "self",(char *) "menubar", NULL
31055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
31056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31058 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
31059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31062 (arg1
)->Attach(arg2
);
31064 wxPyEndAllowThreads(__tstate
);
31065 if (PyErr_Occurred()) SWIG_fail
;
31067 Py_INCREF(Py_None
); resultobj
= Py_None
;
31074 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31075 PyObject
*resultobj
;
31076 wxMenu
*arg1
= (wxMenu
*) 0 ;
31077 PyObject
* obj0
= 0 ;
31078 char *kwnames
[] = {
31079 (char *) "self", NULL
31082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
31083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31089 wxPyEndAllowThreads(__tstate
);
31090 if (PyErr_Occurred()) SWIG_fail
;
31092 Py_INCREF(Py_None
); resultobj
= Py_None
;
31099 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31100 PyObject
*resultobj
;
31101 wxMenu
*arg1
= (wxMenu
*) 0 ;
31103 PyObject
* obj0
= 0 ;
31104 char *kwnames
[] = {
31105 (char *) "self", NULL
31108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
31109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31113 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
31115 wxPyEndAllowThreads(__tstate
);
31116 if (PyErr_Occurred()) SWIG_fail
;
31119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31127 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31128 PyObject
*resultobj
;
31129 wxMenu
*arg1
= (wxMenu
*) 0 ;
31130 wxMenu
*arg2
= (wxMenu
*) 0 ;
31131 PyObject
* obj0
= 0 ;
31132 PyObject
* obj1
= 0 ;
31133 char *kwnames
[] = {
31134 (char *) "self",(char *) "parent", NULL
31137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
31138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31140 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31144 (arg1
)->SetParent(arg2
);
31146 wxPyEndAllowThreads(__tstate
);
31147 if (PyErr_Occurred()) SWIG_fail
;
31149 Py_INCREF(Py_None
); resultobj
= Py_None
;
31156 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31157 PyObject
*resultobj
;
31158 wxMenu
*arg1
= (wxMenu
*) 0 ;
31160 PyObject
* obj0
= 0 ;
31161 char *kwnames
[] = {
31162 (char *) "self", NULL
31165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
31166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31170 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
31172 wxPyEndAllowThreads(__tstate
);
31173 if (PyErr_Occurred()) SWIG_fail
;
31176 resultobj
= wxPyMake_wxObject(result
, 0);
31184 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
31186 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31187 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
31189 return Py_BuildValue((char *)"");
31191 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31192 PyObject
*resultobj
;
31193 long arg1
= (long) 0 ;
31195 PyObject
* obj0
= 0 ;
31196 char *kwnames
[] = {
31197 (char *) "style", NULL
31200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
31202 arg1
= (long)SWIG_As_long(obj0
);
31203 if (PyErr_Occurred()) SWIG_fail
;
31206 if (!wxPyCheckForApp()) SWIG_fail
;
31207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31208 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
31210 wxPyEndAllowThreads(__tstate
);
31211 if (PyErr_Occurred()) SWIG_fail
;
31213 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
31220 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31221 PyObject
*resultobj
;
31222 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31223 wxMenu
*arg2
= (wxMenu
*) 0 ;
31224 wxString
*arg3
= 0 ;
31226 bool temp3
= False
;
31227 PyObject
* obj0
= 0 ;
31228 PyObject
* obj1
= 0 ;
31229 PyObject
* obj2
= 0 ;
31230 char *kwnames
[] = {
31231 (char *) "self",(char *) "menu",(char *) "title", NULL
31234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31237 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31240 arg3
= wxString_in_helper(obj2
);
31241 if (arg3
== NULL
) SWIG_fail
;
31245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31246 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
31248 wxPyEndAllowThreads(__tstate
);
31249 if (PyErr_Occurred()) SWIG_fail
;
31252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31268 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31269 PyObject
*resultobj
;
31270 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31272 wxMenu
*arg3
= (wxMenu
*) 0 ;
31273 wxString
*arg4
= 0 ;
31275 bool temp4
= False
;
31276 PyObject
* obj0
= 0 ;
31277 PyObject
* obj1
= 0 ;
31278 PyObject
* obj2
= 0 ;
31279 PyObject
* obj3
= 0 ;
31280 char *kwnames
[] = {
31281 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31287 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31288 if (PyErr_Occurred()) SWIG_fail
;
31289 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31292 arg4
= wxString_in_helper(obj3
);
31293 if (arg4
== NULL
) SWIG_fail
;
31297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31298 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
31300 wxPyEndAllowThreads(__tstate
);
31301 if (PyErr_Occurred()) SWIG_fail
;
31304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31320 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31321 PyObject
*resultobj
;
31322 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31324 PyObject
* obj0
= 0 ;
31325 char *kwnames
[] = {
31326 (char *) "self", NULL
31329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
31330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31334 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
31336 wxPyEndAllowThreads(__tstate
);
31337 if (PyErr_Occurred()) SWIG_fail
;
31339 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
31346 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31347 PyObject
*resultobj
;
31348 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31351 PyObject
* obj0
= 0 ;
31352 PyObject
* obj1
= 0 ;
31353 char *kwnames
[] = {
31354 (char *) "self",(char *) "pos", NULL
31357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31360 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31361 if (PyErr_Occurred()) SWIG_fail
;
31363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31364 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
31366 wxPyEndAllowThreads(__tstate
);
31367 if (PyErr_Occurred()) SWIG_fail
;
31370 resultobj
= wxPyMake_wxObject(result
, 0);
31378 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31379 PyObject
*resultobj
;
31380 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31382 wxMenu
*arg3
= (wxMenu
*) 0 ;
31383 wxString
*arg4
= 0 ;
31385 bool temp4
= False
;
31386 PyObject
* obj0
= 0 ;
31387 PyObject
* obj1
= 0 ;
31388 PyObject
* obj2
= 0 ;
31389 PyObject
* obj3
= 0 ;
31390 char *kwnames
[] = {
31391 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31397 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31398 if (PyErr_Occurred()) SWIG_fail
;
31399 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31402 arg4
= wxString_in_helper(obj3
);
31403 if (arg4
== NULL
) SWIG_fail
;
31407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31408 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
31410 wxPyEndAllowThreads(__tstate
);
31411 if (PyErr_Occurred()) SWIG_fail
;
31414 resultobj
= wxPyMake_wxObject(result
, 0);
31430 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31431 PyObject
*resultobj
;
31432 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31435 PyObject
* obj0
= 0 ;
31436 PyObject
* obj1
= 0 ;
31437 char *kwnames
[] = {
31438 (char *) "self",(char *) "pos", NULL
31441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
31442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31444 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31445 if (PyErr_Occurred()) SWIG_fail
;
31447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31448 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
31450 wxPyEndAllowThreads(__tstate
);
31451 if (PyErr_Occurred()) SWIG_fail
;
31454 resultobj
= wxPyMake_wxObject(result
, 0);
31462 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31463 PyObject
*resultobj
;
31464 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31467 PyObject
* obj0
= 0 ;
31468 PyObject
* obj1
= 0 ;
31469 PyObject
* obj2
= 0 ;
31470 char *kwnames
[] = {
31471 (char *) "self",(char *) "pos",(char *) "enable", NULL
31474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31477 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31478 if (PyErr_Occurred()) SWIG_fail
;
31479 arg3
= (bool)SWIG_As_bool(obj2
);
31480 if (PyErr_Occurred()) SWIG_fail
;
31482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31483 (arg1
)->EnableTop(arg2
,arg3
);
31485 wxPyEndAllowThreads(__tstate
);
31486 if (PyErr_Occurred()) SWIG_fail
;
31488 Py_INCREF(Py_None
); resultobj
= Py_None
;
31495 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31496 PyObject
*resultobj
;
31497 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31500 PyObject
* obj0
= 0 ;
31501 PyObject
* obj1
= 0 ;
31502 char *kwnames
[] = {
31503 (char *) "self",(char *) "pos", NULL
31506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31509 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31510 if (PyErr_Occurred()) SWIG_fail
;
31512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31513 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
31515 wxPyEndAllowThreads(__tstate
);
31516 if (PyErr_Occurred()) SWIG_fail
;
31519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31527 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31528 PyObject
*resultobj
;
31529 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31531 wxString
*arg3
= 0 ;
31532 bool temp3
= False
;
31533 PyObject
* obj0
= 0 ;
31534 PyObject
* obj1
= 0 ;
31535 PyObject
* obj2
= 0 ;
31536 char *kwnames
[] = {
31537 (char *) "self",(char *) "pos",(char *) "label", NULL
31540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31543 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31544 if (PyErr_Occurred()) SWIG_fail
;
31546 arg3
= wxString_in_helper(obj2
);
31547 if (arg3
== NULL
) SWIG_fail
;
31551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31552 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
31554 wxPyEndAllowThreads(__tstate
);
31555 if (PyErr_Occurred()) SWIG_fail
;
31557 Py_INCREF(Py_None
); resultobj
= Py_None
;
31572 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31573 PyObject
*resultobj
;
31574 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31577 PyObject
* obj0
= 0 ;
31578 PyObject
* obj1
= 0 ;
31579 char *kwnames
[] = {
31580 (char *) "self",(char *) "pos", NULL
31583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31586 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31587 if (PyErr_Occurred()) SWIG_fail
;
31589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31590 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
31592 wxPyEndAllowThreads(__tstate
);
31593 if (PyErr_Occurred()) SWIG_fail
;
31597 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31599 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31608 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31609 PyObject
*resultobj
;
31610 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31611 wxString
*arg2
= 0 ;
31612 wxString
*arg3
= 0 ;
31614 bool temp2
= False
;
31615 bool temp3
= False
;
31616 PyObject
* obj0
= 0 ;
31617 PyObject
* obj1
= 0 ;
31618 PyObject
* obj2
= 0 ;
31619 char *kwnames
[] = {
31620 (char *) "self",(char *) "menu",(char *) "item", NULL
31623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31627 arg2
= wxString_in_helper(obj1
);
31628 if (arg2
== NULL
) SWIG_fail
;
31632 arg3
= wxString_in_helper(obj2
);
31633 if (arg3
== NULL
) SWIG_fail
;
31637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31638 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
31640 wxPyEndAllowThreads(__tstate
);
31641 if (PyErr_Occurred()) SWIG_fail
;
31643 resultobj
= SWIG_From_int((int)result
);
31666 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31667 PyObject
*resultobj
;
31668 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31670 wxMenuItem
*result
;
31671 PyObject
* obj0
= 0 ;
31672 PyObject
* obj1
= 0 ;
31673 char *kwnames
[] = {
31674 (char *) "self",(char *) "id", NULL
31677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
31678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31680 arg2
= (int)SWIG_As_int(obj1
);
31681 if (PyErr_Occurred()) SWIG_fail
;
31683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31684 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
31686 wxPyEndAllowThreads(__tstate
);
31687 if (PyErr_Occurred()) SWIG_fail
;
31690 resultobj
= wxPyMake_wxObject(result
, 0);
31698 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31699 PyObject
*resultobj
;
31700 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31701 wxString
*arg2
= 0 ;
31703 bool temp2
= False
;
31704 PyObject
* obj0
= 0 ;
31705 PyObject
* obj1
= 0 ;
31706 char *kwnames
[] = {
31707 (char *) "self",(char *) "title", NULL
31710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31714 arg2
= wxString_in_helper(obj1
);
31715 if (arg2
== NULL
) SWIG_fail
;
31719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31720 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
31722 wxPyEndAllowThreads(__tstate
);
31723 if (PyErr_Occurred()) SWIG_fail
;
31725 resultobj
= SWIG_From_int((int)result
);
31740 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31741 PyObject
*resultobj
;
31742 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31745 PyObject
* obj0
= 0 ;
31746 PyObject
* obj1
= 0 ;
31747 PyObject
* obj2
= 0 ;
31748 char *kwnames
[] = {
31749 (char *) "self",(char *) "id",(char *) "enable", NULL
31752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31755 arg2
= (int)SWIG_As_int(obj1
);
31756 if (PyErr_Occurred()) SWIG_fail
;
31757 arg3
= (bool)SWIG_As_bool(obj2
);
31758 if (PyErr_Occurred()) SWIG_fail
;
31760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31761 (arg1
)->Enable(arg2
,arg3
);
31763 wxPyEndAllowThreads(__tstate
);
31764 if (PyErr_Occurred()) SWIG_fail
;
31766 Py_INCREF(Py_None
); resultobj
= Py_None
;
31773 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31774 PyObject
*resultobj
;
31775 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31778 PyObject
* obj0
= 0 ;
31779 PyObject
* obj1
= 0 ;
31780 PyObject
* obj2
= 0 ;
31781 char *kwnames
[] = {
31782 (char *) "self",(char *) "id",(char *) "check", NULL
31785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31788 arg2
= (int)SWIG_As_int(obj1
);
31789 if (PyErr_Occurred()) SWIG_fail
;
31790 arg3
= (bool)SWIG_As_bool(obj2
);
31791 if (PyErr_Occurred()) SWIG_fail
;
31793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31794 (arg1
)->Check(arg2
,arg3
);
31796 wxPyEndAllowThreads(__tstate
);
31797 if (PyErr_Occurred()) SWIG_fail
;
31799 Py_INCREF(Py_None
); resultobj
= Py_None
;
31806 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31807 PyObject
*resultobj
;
31808 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31811 PyObject
* obj0
= 0 ;
31812 PyObject
* obj1
= 0 ;
31813 char *kwnames
[] = {
31814 (char *) "self",(char *) "id", NULL
31817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
31818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31820 arg2
= (int)SWIG_As_int(obj1
);
31821 if (PyErr_Occurred()) SWIG_fail
;
31823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31824 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
31826 wxPyEndAllowThreads(__tstate
);
31827 if (PyErr_Occurred()) SWIG_fail
;
31830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31838 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31839 PyObject
*resultobj
;
31840 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31843 PyObject
* obj0
= 0 ;
31844 PyObject
* obj1
= 0 ;
31845 char *kwnames
[] = {
31846 (char *) "self",(char *) "id", NULL
31849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
31850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31852 arg2
= (int)SWIG_As_int(obj1
);
31853 if (PyErr_Occurred()) SWIG_fail
;
31855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31856 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
31858 wxPyEndAllowThreads(__tstate
);
31859 if (PyErr_Occurred()) SWIG_fail
;
31862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31870 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31871 PyObject
*resultobj
;
31872 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31874 wxString
*arg3
= 0 ;
31875 bool temp3
= False
;
31876 PyObject
* obj0
= 0 ;
31877 PyObject
* obj1
= 0 ;
31878 PyObject
* obj2
= 0 ;
31879 char *kwnames
[] = {
31880 (char *) "self",(char *) "id",(char *) "label", NULL
31883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31886 arg2
= (int)SWIG_As_int(obj1
);
31887 if (PyErr_Occurred()) SWIG_fail
;
31889 arg3
= wxString_in_helper(obj2
);
31890 if (arg3
== NULL
) SWIG_fail
;
31894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31895 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
31897 wxPyEndAllowThreads(__tstate
);
31898 if (PyErr_Occurred()) SWIG_fail
;
31900 Py_INCREF(Py_None
); resultobj
= Py_None
;
31915 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31916 PyObject
*resultobj
;
31917 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31920 PyObject
* obj0
= 0 ;
31921 PyObject
* obj1
= 0 ;
31922 char *kwnames
[] = {
31923 (char *) "self",(char *) "id", NULL
31926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31929 arg2
= (int)SWIG_As_int(obj1
);
31930 if (PyErr_Occurred()) SWIG_fail
;
31932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31933 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
31935 wxPyEndAllowThreads(__tstate
);
31936 if (PyErr_Occurred()) SWIG_fail
;
31940 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31942 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31951 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31952 PyObject
*resultobj
;
31953 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31955 wxString
*arg3
= 0 ;
31956 bool temp3
= False
;
31957 PyObject
* obj0
= 0 ;
31958 PyObject
* obj1
= 0 ;
31959 PyObject
* obj2
= 0 ;
31960 char *kwnames
[] = {
31961 (char *) "self",(char *) "id",(char *) "helpString", NULL
31964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31967 arg2
= (int)SWIG_As_int(obj1
);
31968 if (PyErr_Occurred()) SWIG_fail
;
31970 arg3
= wxString_in_helper(obj2
);
31971 if (arg3
== NULL
) SWIG_fail
;
31975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31976 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
31978 wxPyEndAllowThreads(__tstate
);
31979 if (PyErr_Occurred()) SWIG_fail
;
31981 Py_INCREF(Py_None
); resultobj
= Py_None
;
31996 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31997 PyObject
*resultobj
;
31998 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32001 PyObject
* obj0
= 0 ;
32002 PyObject
* obj1
= 0 ;
32003 char *kwnames
[] = {
32004 (char *) "self",(char *) "id", NULL
32007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
32008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32010 arg2
= (int)SWIG_As_int(obj1
);
32011 if (PyErr_Occurred()) SWIG_fail
;
32013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32014 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
32016 wxPyEndAllowThreads(__tstate
);
32017 if (PyErr_Occurred()) SWIG_fail
;
32021 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32023 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32032 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32033 PyObject
*resultobj
;
32034 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32036 PyObject
* obj0
= 0 ;
32037 char *kwnames
[] = {
32038 (char *) "self", NULL
32041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
32042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32046 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
32048 wxPyEndAllowThreads(__tstate
);
32049 if (PyErr_Occurred()) SWIG_fail
;
32052 resultobj
= wxPyMake_wxObject(result
, 0);
32060 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32061 PyObject
*resultobj
;
32062 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32064 PyObject
* obj0
= 0 ;
32065 char *kwnames
[] = {
32066 (char *) "self", NULL
32069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
32070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32074 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
32076 wxPyEndAllowThreads(__tstate
);
32077 if (PyErr_Occurred()) SWIG_fail
;
32080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32088 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32089 PyObject
*resultobj
;
32090 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32091 wxFrame
*arg2
= (wxFrame
*) 0 ;
32092 PyObject
* obj0
= 0 ;
32093 PyObject
* obj1
= 0 ;
32094 char *kwnames
[] = {
32095 (char *) "self",(char *) "frame", NULL
32098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
32099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32101 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
32102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32105 (arg1
)->Attach(arg2
);
32107 wxPyEndAllowThreads(__tstate
);
32108 if (PyErr_Occurred()) SWIG_fail
;
32110 Py_INCREF(Py_None
); resultobj
= Py_None
;
32117 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32118 PyObject
*resultobj
;
32119 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32120 PyObject
* obj0
= 0 ;
32121 char *kwnames
[] = {
32122 (char *) "self", NULL
32125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
32126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32132 wxPyEndAllowThreads(__tstate
);
32133 if (PyErr_Occurred()) SWIG_fail
;
32135 Py_INCREF(Py_None
); resultobj
= Py_None
;
32142 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
32144 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32145 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
32147 return Py_BuildValue((char *)"");
32149 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32150 PyObject
*resultobj
;
32151 wxMenu
*arg1
= (wxMenu
*) NULL
;
32152 int arg2
= (int) wxID_ANY
;
32153 wxString
const &arg3_defvalue
= wxPyEmptyString
;
32154 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
32155 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32156 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32157 int arg5
= (int) wxITEM_NORMAL
;
32158 wxMenu
*arg6
= (wxMenu
*) NULL
;
32159 wxMenuItem
*result
;
32160 bool temp3
= False
;
32161 bool temp4
= False
;
32162 PyObject
* obj0
= 0 ;
32163 PyObject
* obj1
= 0 ;
32164 PyObject
* obj2
= 0 ;
32165 PyObject
* obj3
= 0 ;
32166 PyObject
* obj4
= 0 ;
32167 PyObject
* obj5
= 0 ;
32168 char *kwnames
[] = {
32169 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
32172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
32175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32178 arg2
= (int)SWIG_As_int(obj1
);
32179 if (PyErr_Occurred()) SWIG_fail
;
32183 arg3
= wxString_in_helper(obj2
);
32184 if (arg3
== NULL
) SWIG_fail
;
32190 arg4
= wxString_in_helper(obj3
);
32191 if (arg4
== NULL
) SWIG_fail
;
32196 arg5
= (int)SWIG_As_int(obj4
);
32197 if (PyErr_Occurred()) SWIG_fail
;
32200 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
32201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32205 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
32207 wxPyEndAllowThreads(__tstate
);
32208 if (PyErr_Occurred()) SWIG_fail
;
32211 resultobj
= wxPyMake_wxObject(result
, 1);
32235 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32236 PyObject
*resultobj
;
32237 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32239 PyObject
* obj0
= 0 ;
32240 char *kwnames
[] = {
32241 (char *) "self", NULL
32244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
32245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32249 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
32251 wxPyEndAllowThreads(__tstate
);
32252 if (PyErr_Occurred()) SWIG_fail
;
32255 resultobj
= wxPyMake_wxObject(result
, 0);
32263 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32264 PyObject
*resultobj
;
32265 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32266 wxMenu
*arg2
= (wxMenu
*) 0 ;
32267 PyObject
* obj0
= 0 ;
32268 PyObject
* obj1
= 0 ;
32269 char *kwnames
[] = {
32270 (char *) "self",(char *) "menu", NULL
32273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32276 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32280 (arg1
)->SetMenu(arg2
);
32282 wxPyEndAllowThreads(__tstate
);
32283 if (PyErr_Occurred()) SWIG_fail
;
32285 Py_INCREF(Py_None
); resultobj
= Py_None
;
32292 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32293 PyObject
*resultobj
;
32294 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32296 PyObject
* obj0
= 0 ;
32297 PyObject
* obj1
= 0 ;
32298 char *kwnames
[] = {
32299 (char *) "self",(char *) "id", NULL
32302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
32303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32305 arg2
= (int)SWIG_As_int(obj1
);
32306 if (PyErr_Occurred()) SWIG_fail
;
32308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32309 (arg1
)->SetId(arg2
);
32311 wxPyEndAllowThreads(__tstate
);
32312 if (PyErr_Occurred()) SWIG_fail
;
32314 Py_INCREF(Py_None
); resultobj
= Py_None
;
32321 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32322 PyObject
*resultobj
;
32323 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32325 PyObject
* obj0
= 0 ;
32326 char *kwnames
[] = {
32327 (char *) "self", NULL
32330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
32331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32335 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
32337 wxPyEndAllowThreads(__tstate
);
32338 if (PyErr_Occurred()) SWIG_fail
;
32340 resultobj
= SWIG_From_int((int)result
);
32347 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32348 PyObject
*resultobj
;
32349 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32351 PyObject
* obj0
= 0 ;
32352 char *kwnames
[] = {
32353 (char *) "self", NULL
32356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
32357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32361 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
32363 wxPyEndAllowThreads(__tstate
);
32364 if (PyErr_Occurred()) SWIG_fail
;
32367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32375 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32376 PyObject
*resultobj
;
32377 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32378 wxString
*arg2
= 0 ;
32379 bool temp2
= False
;
32380 PyObject
* obj0
= 0 ;
32381 PyObject
* obj1
= 0 ;
32382 char *kwnames
[] = {
32383 (char *) "self",(char *) "str", NULL
32386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
32387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32390 arg2
= wxString_in_helper(obj1
);
32391 if (arg2
== NULL
) SWIG_fail
;
32395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32396 (arg1
)->SetText((wxString
const &)*arg2
);
32398 wxPyEndAllowThreads(__tstate
);
32399 if (PyErr_Occurred()) SWIG_fail
;
32401 Py_INCREF(Py_None
); resultobj
= Py_None
;
32416 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32417 PyObject
*resultobj
;
32418 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32420 PyObject
* obj0
= 0 ;
32421 char *kwnames
[] = {
32422 (char *) "self", NULL
32425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
32426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32430 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
32432 wxPyEndAllowThreads(__tstate
);
32433 if (PyErr_Occurred()) SWIG_fail
;
32437 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32439 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32448 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32449 PyObject
*resultobj
;
32450 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32452 PyObject
* obj0
= 0 ;
32453 char *kwnames
[] = {
32454 (char *) "self", NULL
32457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
32458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32463 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
32464 result
= (wxString
*) &_result_ref
;
32467 wxPyEndAllowThreads(__tstate
);
32468 if (PyErr_Occurred()) SWIG_fail
;
32472 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32474 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32483 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32484 PyObject
*resultobj
;
32485 wxString
*arg1
= 0 ;
32487 bool temp1
= False
;
32488 PyObject
* obj0
= 0 ;
32489 char *kwnames
[] = {
32490 (char *) "text", NULL
32493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
32495 arg1
= wxString_in_helper(obj0
);
32496 if (arg1
== NULL
) SWIG_fail
;
32500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32501 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
32503 wxPyEndAllowThreads(__tstate
);
32504 if (PyErr_Occurred()) SWIG_fail
;
32508 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32510 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32527 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32528 PyObject
*resultobj
;
32529 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32531 PyObject
* obj0
= 0 ;
32532 char *kwnames
[] = {
32533 (char *) "self", NULL
32536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
32537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32541 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
32543 wxPyEndAllowThreads(__tstate
);
32544 if (PyErr_Occurred()) SWIG_fail
;
32546 resultobj
= SWIG_From_int((int)result
);
32553 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32554 PyObject
*resultobj
;
32555 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32557 PyObject
* obj0
= 0 ;
32558 PyObject
* obj1
= 0 ;
32559 char *kwnames
[] = {
32560 (char *) "self",(char *) "kind", NULL
32563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
32564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32566 arg2
= (int)SWIG_As_int(obj1
);
32567 if (PyErr_Occurred()) SWIG_fail
;
32569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32570 (arg1
)->SetKind((wxItemKind
)arg2
);
32572 wxPyEndAllowThreads(__tstate
);
32573 if (PyErr_Occurred()) SWIG_fail
;
32575 Py_INCREF(Py_None
); resultobj
= Py_None
;
32582 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32583 PyObject
*resultobj
;
32584 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32586 PyObject
* obj0
= 0 ;
32587 PyObject
* obj1
= 0 ;
32588 char *kwnames
[] = {
32589 (char *) "self",(char *) "checkable", NULL
32592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
32593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32595 arg2
= (bool)SWIG_As_bool(obj1
);
32596 if (PyErr_Occurred()) SWIG_fail
;
32598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32599 (arg1
)->SetCheckable(arg2
);
32601 wxPyEndAllowThreads(__tstate
);
32602 if (PyErr_Occurred()) SWIG_fail
;
32604 Py_INCREF(Py_None
); resultobj
= Py_None
;
32611 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32612 PyObject
*resultobj
;
32613 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32615 PyObject
* obj0
= 0 ;
32616 char *kwnames
[] = {
32617 (char *) "self", NULL
32620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
32621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32625 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
32627 wxPyEndAllowThreads(__tstate
);
32628 if (PyErr_Occurred()) SWIG_fail
;
32631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32639 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32640 PyObject
*resultobj
;
32641 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32643 PyObject
* obj0
= 0 ;
32644 char *kwnames
[] = {
32645 (char *) "self", NULL
32648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
32649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32653 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
32655 wxPyEndAllowThreads(__tstate
);
32656 if (PyErr_Occurred()) SWIG_fail
;
32659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32667 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32668 PyObject
*resultobj
;
32669 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32670 wxMenu
*arg2
= (wxMenu
*) 0 ;
32671 PyObject
* obj0
= 0 ;
32672 PyObject
* obj1
= 0 ;
32673 char *kwnames
[] = {
32674 (char *) "self",(char *) "menu", NULL
32677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32680 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32684 (arg1
)->SetSubMenu(arg2
);
32686 wxPyEndAllowThreads(__tstate
);
32687 if (PyErr_Occurred()) SWIG_fail
;
32689 Py_INCREF(Py_None
); resultobj
= Py_None
;
32696 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32697 PyObject
*resultobj
;
32698 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32700 PyObject
* obj0
= 0 ;
32701 char *kwnames
[] = {
32702 (char *) "self", NULL
32705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
32706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32710 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
32712 wxPyEndAllowThreads(__tstate
);
32713 if (PyErr_Occurred()) SWIG_fail
;
32716 resultobj
= wxPyMake_wxObject(result
, 0);
32724 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32725 PyObject
*resultobj
;
32726 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32727 bool arg2
= (bool) True
;
32728 PyObject
* obj0
= 0 ;
32729 PyObject
* obj1
= 0 ;
32730 char *kwnames
[] = {
32731 (char *) "self",(char *) "enable", NULL
32734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
32735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32738 arg2
= (bool)SWIG_As_bool(obj1
);
32739 if (PyErr_Occurred()) SWIG_fail
;
32742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32743 (arg1
)->Enable(arg2
);
32745 wxPyEndAllowThreads(__tstate
);
32746 if (PyErr_Occurred()) SWIG_fail
;
32748 Py_INCREF(Py_None
); resultobj
= Py_None
;
32755 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32756 PyObject
*resultobj
;
32757 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32759 PyObject
* obj0
= 0 ;
32760 char *kwnames
[] = {
32761 (char *) "self", NULL
32764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
32765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32769 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
32771 wxPyEndAllowThreads(__tstate
);
32772 if (PyErr_Occurred()) SWIG_fail
;
32775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32783 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32784 PyObject
*resultobj
;
32785 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32786 bool arg2
= (bool) True
;
32787 PyObject
* obj0
= 0 ;
32788 PyObject
* obj1
= 0 ;
32789 char *kwnames
[] = {
32790 (char *) "self",(char *) "check", NULL
32793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
32794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32797 arg2
= (bool)SWIG_As_bool(obj1
);
32798 if (PyErr_Occurred()) SWIG_fail
;
32801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32802 (arg1
)->Check(arg2
);
32804 wxPyEndAllowThreads(__tstate
);
32805 if (PyErr_Occurred()) SWIG_fail
;
32807 Py_INCREF(Py_None
); resultobj
= Py_None
;
32814 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32815 PyObject
*resultobj
;
32816 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32818 PyObject
* obj0
= 0 ;
32819 char *kwnames
[] = {
32820 (char *) "self", NULL
32823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
32824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32828 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
32830 wxPyEndAllowThreads(__tstate
);
32831 if (PyErr_Occurred()) SWIG_fail
;
32834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32842 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32843 PyObject
*resultobj
;
32844 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32845 PyObject
* obj0
= 0 ;
32846 char *kwnames
[] = {
32847 (char *) "self", NULL
32850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
32851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32857 wxPyEndAllowThreads(__tstate
);
32858 if (PyErr_Occurred()) SWIG_fail
;
32860 Py_INCREF(Py_None
); resultobj
= Py_None
;
32867 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32868 PyObject
*resultobj
;
32869 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32870 wxString
*arg2
= 0 ;
32871 bool temp2
= False
;
32872 PyObject
* obj0
= 0 ;
32873 PyObject
* obj1
= 0 ;
32874 char *kwnames
[] = {
32875 (char *) "self",(char *) "str", NULL
32878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
32879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32882 arg2
= wxString_in_helper(obj1
);
32883 if (arg2
== NULL
) SWIG_fail
;
32887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32888 (arg1
)->SetHelp((wxString
const &)*arg2
);
32890 wxPyEndAllowThreads(__tstate
);
32891 if (PyErr_Occurred()) SWIG_fail
;
32893 Py_INCREF(Py_None
); resultobj
= Py_None
;
32908 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32909 PyObject
*resultobj
;
32910 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32912 PyObject
* obj0
= 0 ;
32913 char *kwnames
[] = {
32914 (char *) "self", NULL
32917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
32918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32923 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
32924 result
= (wxString
*) &_result_ref
;
32927 wxPyEndAllowThreads(__tstate
);
32928 if (PyErr_Occurred()) SWIG_fail
;
32932 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32934 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32943 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32944 PyObject
*resultobj
;
32945 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32946 wxAcceleratorEntry
*result
;
32947 PyObject
* obj0
= 0 ;
32948 char *kwnames
[] = {
32949 (char *) "self", NULL
32952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
32953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32957 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
32959 wxPyEndAllowThreads(__tstate
);
32960 if (PyErr_Occurred()) SWIG_fail
;
32962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
32969 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32970 PyObject
*resultobj
;
32971 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32972 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
32973 PyObject
* obj0
= 0 ;
32974 PyObject
* obj1
= 0 ;
32975 char *kwnames
[] = {
32976 (char *) "self",(char *) "accel", NULL
32979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
32980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32982 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
32983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32986 (arg1
)->SetAccel(arg2
);
32988 wxPyEndAllowThreads(__tstate
);
32989 if (PyErr_Occurred()) SWIG_fail
;
32991 Py_INCREF(Py_None
); resultobj
= Py_None
;
32998 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32999 PyObject
*resultobj
;
33001 char *kwnames
[] = {
33005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
33007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33008 result
= (int)MenuItem_GetDefaultMarginWidth();
33010 wxPyEndAllowThreads(__tstate
);
33011 if (PyErr_Occurred()) SWIG_fail
;
33013 resultobj
= SWIG_From_int((int)result
);
33020 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33021 PyObject
*resultobj
;
33022 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33023 wxBitmap
*arg2
= 0 ;
33024 PyObject
* obj0
= 0 ;
33025 PyObject
* obj1
= 0 ;
33026 char *kwnames
[] = {
33027 (char *) "self",(char *) "bitmap", NULL
33030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
33031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33033 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33034 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33036 if (arg2
== NULL
) {
33037 PyErr_SetString(PyExc_TypeError
,"null reference");
33041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33042 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
33044 wxPyEndAllowThreads(__tstate
);
33045 if (PyErr_Occurred()) SWIG_fail
;
33047 Py_INCREF(Py_None
); resultobj
= Py_None
;
33054 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33055 PyObject
*resultobj
;
33056 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33058 PyObject
* obj0
= 0 ;
33059 char *kwnames
[] = {
33060 (char *) "self", NULL
33063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
33064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33069 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
33070 result
= (wxBitmap
*) &_result_ref
;
33073 wxPyEndAllowThreads(__tstate
);
33074 if (PyErr_Occurred()) SWIG_fail
;
33077 wxBitmap
* resultptr
= new wxBitmap(*result
);
33078 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
33086 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
33088 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33089 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
33091 return Py_BuildValue((char *)"");
33093 static int _wrap_ControlNameStr_set(PyObject
*) {
33094 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
33099 static PyObject
*_wrap_ControlNameStr_get() {
33104 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33106 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33113 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33114 PyObject
*resultobj
;
33115 wxWindow
*arg1
= (wxWindow
*) 0 ;
33116 int arg2
= (int) -1 ;
33117 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33118 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33119 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33120 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33121 long arg5
= (long) 0 ;
33122 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33123 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33124 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
33125 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33129 bool temp7
= False
;
33130 PyObject
* obj0
= 0 ;
33131 PyObject
* obj1
= 0 ;
33132 PyObject
* obj2
= 0 ;
33133 PyObject
* obj3
= 0 ;
33134 PyObject
* obj4
= 0 ;
33135 PyObject
* obj5
= 0 ;
33136 PyObject
* obj6
= 0 ;
33137 char *kwnames
[] = {
33138 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
33142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
33143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33145 arg2
= (int)SWIG_As_int(obj1
);
33146 if (PyErr_Occurred()) SWIG_fail
;
33151 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33157 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33161 arg5
= (long)SWIG_As_long(obj4
);
33162 if (PyErr_Occurred()) SWIG_fail
;
33165 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
33166 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33168 if (arg6
== NULL
) {
33169 PyErr_SetString(PyExc_TypeError
,"null reference");
33175 arg7
= wxString_in_helper(obj6
);
33176 if (arg7
== NULL
) SWIG_fail
;
33181 if (!wxPyCheckForApp()) SWIG_fail
;
33182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33183 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33185 wxPyEndAllowThreads(__tstate
);
33186 if (PyErr_Occurred()) SWIG_fail
;
33188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
33203 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33204 PyObject
*resultobj
;
33206 char *kwnames
[] = {
33210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
33212 if (!wxPyCheckForApp()) SWIG_fail
;
33213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33214 result
= (wxControl
*)new wxControl();
33216 wxPyEndAllowThreads(__tstate
);
33217 if (PyErr_Occurred()) SWIG_fail
;
33219 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
33226 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33227 PyObject
*resultobj
;
33228 wxControl
*arg1
= (wxControl
*) 0 ;
33229 wxWindow
*arg2
= (wxWindow
*) 0 ;
33230 int arg3
= (int) -1 ;
33231 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33232 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33233 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33234 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33235 long arg6
= (long) 0 ;
33236 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33237 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33238 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
33239 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33243 bool temp8
= False
;
33244 PyObject
* obj0
= 0 ;
33245 PyObject
* obj1
= 0 ;
33246 PyObject
* obj2
= 0 ;
33247 PyObject
* obj3
= 0 ;
33248 PyObject
* obj4
= 0 ;
33249 PyObject
* obj5
= 0 ;
33250 PyObject
* obj6
= 0 ;
33251 PyObject
* obj7
= 0 ;
33252 char *kwnames
[] = {
33253 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
33257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33259 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
33260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33262 arg3
= (int)SWIG_As_int(obj2
);
33263 if (PyErr_Occurred()) SWIG_fail
;
33268 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33274 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33278 arg6
= (long)SWIG_As_long(obj5
);
33279 if (PyErr_Occurred()) SWIG_fail
;
33282 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
33283 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33285 if (arg7
== NULL
) {
33286 PyErr_SetString(PyExc_TypeError
,"null reference");
33292 arg8
= wxString_in_helper(obj7
);
33293 if (arg8
== NULL
) SWIG_fail
;
33298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33299 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33301 wxPyEndAllowThreads(__tstate
);
33302 if (PyErr_Occurred()) SWIG_fail
;
33305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33321 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33322 PyObject
*resultobj
;
33323 wxControl
*arg1
= (wxControl
*) 0 ;
33324 wxCommandEvent
*arg2
= 0 ;
33325 PyObject
* obj0
= 0 ;
33326 PyObject
* obj1
= 0 ;
33327 char *kwnames
[] = {
33328 (char *) "self",(char *) "event", NULL
33331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
33332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33334 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
33335 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33337 if (arg2
== NULL
) {
33338 PyErr_SetString(PyExc_TypeError
,"null reference");
33342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33343 (arg1
)->Command(*arg2
);
33345 wxPyEndAllowThreads(__tstate
);
33346 if (PyErr_Occurred()) SWIG_fail
;
33348 Py_INCREF(Py_None
); resultobj
= Py_None
;
33355 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33356 PyObject
*resultobj
;
33357 wxControl
*arg1
= (wxControl
*) 0 ;
33359 PyObject
* obj0
= 0 ;
33360 char *kwnames
[] = {
33361 (char *) "self", NULL
33364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
33365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33369 result
= (arg1
)->GetLabel();
33371 wxPyEndAllowThreads(__tstate
);
33372 if (PyErr_Occurred()) SWIG_fail
;
33376 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33378 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33387 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33388 PyObject
*resultobj
;
33389 wxControl
*arg1
= (wxControl
*) 0 ;
33390 wxString
*arg2
= 0 ;
33391 bool temp2
= False
;
33392 PyObject
* obj0
= 0 ;
33393 PyObject
* obj1
= 0 ;
33394 char *kwnames
[] = {
33395 (char *) "self",(char *) "label", NULL
33398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
33399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33402 arg2
= wxString_in_helper(obj1
);
33403 if (arg2
== NULL
) SWIG_fail
;
33407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33408 (arg1
)->SetLabel((wxString
const &)*arg2
);
33410 wxPyEndAllowThreads(__tstate
);
33411 if (PyErr_Occurred()) SWIG_fail
;
33413 Py_INCREF(Py_None
); resultobj
= Py_None
;
33428 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33429 PyObject
*resultobj
;
33430 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
33431 wxVisualAttributes result
;
33432 PyObject
* obj0
= 0 ;
33433 char *kwnames
[] = {
33434 (char *) "variant", NULL
33437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
33439 arg1
= (int)SWIG_As_int(obj0
);
33440 if (PyErr_Occurred()) SWIG_fail
;
33443 if (!wxPyCheckForApp()) SWIG_fail
;
33444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33445 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
33447 wxPyEndAllowThreads(__tstate
);
33448 if (PyErr_Occurred()) SWIG_fail
;
33451 wxVisualAttributes
* resultptr
;
33452 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
33453 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
33461 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
33463 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33464 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
33466 return Py_BuildValue((char *)"");
33468 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33469 PyObject
*resultobj
;
33470 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33471 wxString
*arg2
= 0 ;
33472 PyObject
*arg3
= (PyObject
*) NULL
;
33474 bool temp2
= False
;
33475 PyObject
* obj0
= 0 ;
33476 PyObject
* obj1
= 0 ;
33477 PyObject
* obj2
= 0 ;
33478 char *kwnames
[] = {
33479 (char *) "self",(char *) "item",(char *) "clientData", NULL
33482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33486 arg2
= wxString_in_helper(obj1
);
33487 if (arg2
== NULL
) SWIG_fail
;
33494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33495 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
33497 wxPyEndAllowThreads(__tstate
);
33498 if (PyErr_Occurred()) SWIG_fail
;
33500 resultobj
= SWIG_From_int((int)result
);
33515 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33516 PyObject
*resultobj
;
33517 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33518 wxArrayString
*arg2
= 0 ;
33519 bool temp2
= False
;
33520 PyObject
* obj0
= 0 ;
33521 PyObject
* obj1
= 0 ;
33522 char *kwnames
[] = {
33523 (char *) "self",(char *) "strings", NULL
33526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
33527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33530 if (! PySequence_Check(obj1
)) {
33531 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
33534 arg2
= new wxArrayString
;
33536 int i
, len
=PySequence_Length(obj1
);
33537 for (i
=0; i
<len
; i
++) {
33538 PyObject
* item
= PySequence_GetItem(obj1
, i
);
33540 PyObject
* str
= PyObject_Unicode(item
);
33542 PyObject
* str
= PyObject_Str(item
);
33544 if (PyErr_Occurred()) SWIG_fail
;
33545 arg2
->Add(Py2wxString(str
));
33551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33552 (arg1
)->Append((wxArrayString
const &)*arg2
);
33554 wxPyEndAllowThreads(__tstate
);
33555 if (PyErr_Occurred()) SWIG_fail
;
33557 Py_INCREF(Py_None
); resultobj
= Py_None
;
33559 if (temp2
) delete arg2
;
33564 if (temp2
) delete arg2
;
33570 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33571 PyObject
*resultobj
;
33572 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33573 wxString
*arg2
= 0 ;
33575 PyObject
*arg4
= (PyObject
*) NULL
;
33577 bool temp2
= False
;
33578 PyObject
* obj0
= 0 ;
33579 PyObject
* obj1
= 0 ;
33580 PyObject
* obj2
= 0 ;
33581 PyObject
* obj3
= 0 ;
33582 char *kwnames
[] = {
33583 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
33586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33590 arg2
= wxString_in_helper(obj1
);
33591 if (arg2
== NULL
) SWIG_fail
;
33594 arg3
= (int)SWIG_As_int(obj2
);
33595 if (PyErr_Occurred()) SWIG_fail
;
33600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33601 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
33603 wxPyEndAllowThreads(__tstate
);
33604 if (PyErr_Occurred()) SWIG_fail
;
33606 resultobj
= SWIG_From_int((int)result
);
33621 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33622 PyObject
*resultobj
;
33623 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33624 PyObject
* obj0
= 0 ;
33625 char *kwnames
[] = {
33626 (char *) "self", NULL
33629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
33630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33636 wxPyEndAllowThreads(__tstate
);
33637 if (PyErr_Occurred()) SWIG_fail
;
33639 Py_INCREF(Py_None
); resultobj
= Py_None
;
33646 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33647 PyObject
*resultobj
;
33648 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33650 PyObject
* obj0
= 0 ;
33651 PyObject
* obj1
= 0 ;
33652 char *kwnames
[] = {
33653 (char *) "self",(char *) "n", NULL
33656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33659 arg2
= (int)SWIG_As_int(obj1
);
33660 if (PyErr_Occurred()) SWIG_fail
;
33662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33663 (arg1
)->Delete(arg2
);
33665 wxPyEndAllowThreads(__tstate
);
33666 if (PyErr_Occurred()) SWIG_fail
;
33668 Py_INCREF(Py_None
); resultobj
= Py_None
;
33675 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33676 PyObject
*resultobj
;
33677 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33679 PyObject
* obj0
= 0 ;
33680 char *kwnames
[] = {
33681 (char *) "self", NULL
33684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
33685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33689 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
33691 wxPyEndAllowThreads(__tstate
);
33692 if (PyErr_Occurred()) SWIG_fail
;
33694 resultobj
= SWIG_From_int((int)result
);
33701 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33702 PyObject
*resultobj
;
33703 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33705 PyObject
* obj0
= 0 ;
33706 char *kwnames
[] = {
33707 (char *) "self", NULL
33710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
33711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33715 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
33717 wxPyEndAllowThreads(__tstate
);
33718 if (PyErr_Occurred()) SWIG_fail
;
33721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33729 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33730 PyObject
*resultobj
;
33731 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33734 PyObject
* obj0
= 0 ;
33735 PyObject
* obj1
= 0 ;
33736 char *kwnames
[] = {
33737 (char *) "self",(char *) "n", NULL
33740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
33741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33743 arg2
= (int)SWIG_As_int(obj1
);
33744 if (PyErr_Occurred()) SWIG_fail
;
33746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33747 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
33749 wxPyEndAllowThreads(__tstate
);
33750 if (PyErr_Occurred()) SWIG_fail
;
33754 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33756 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33765 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33766 PyObject
*resultobj
;
33767 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33768 wxArrayString result
;
33769 PyObject
* obj0
= 0 ;
33770 char *kwnames
[] = {
33771 (char *) "self", NULL
33774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
33775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33779 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
33781 wxPyEndAllowThreads(__tstate
);
33782 if (PyErr_Occurred()) SWIG_fail
;
33785 resultobj
= wxArrayString2PyList_helper(result
);
33793 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33794 PyObject
*resultobj
;
33795 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33797 wxString
*arg3
= 0 ;
33798 bool temp3
= False
;
33799 PyObject
* obj0
= 0 ;
33800 PyObject
* obj1
= 0 ;
33801 PyObject
* obj2
= 0 ;
33802 char *kwnames
[] = {
33803 (char *) "self",(char *) "n",(char *) "s", NULL
33806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33809 arg2
= (int)SWIG_As_int(obj1
);
33810 if (PyErr_Occurred()) SWIG_fail
;
33812 arg3
= wxString_in_helper(obj2
);
33813 if (arg3
== NULL
) SWIG_fail
;
33817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33818 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
33820 wxPyEndAllowThreads(__tstate
);
33821 if (PyErr_Occurred()) SWIG_fail
;
33823 Py_INCREF(Py_None
); resultobj
= Py_None
;
33838 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33839 PyObject
*resultobj
;
33840 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33841 wxString
*arg2
= 0 ;
33843 bool temp2
= False
;
33844 PyObject
* obj0
= 0 ;
33845 PyObject
* obj1
= 0 ;
33846 char *kwnames
[] = {
33847 (char *) "self",(char *) "s", NULL
33850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
33851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33854 arg2
= wxString_in_helper(obj1
);
33855 if (arg2
== NULL
) SWIG_fail
;
33859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33860 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
33862 wxPyEndAllowThreads(__tstate
);
33863 if (PyErr_Occurred()) SWIG_fail
;
33865 resultobj
= SWIG_From_int((int)result
);
33880 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33881 PyObject
*resultobj
;
33882 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33884 PyObject
* obj0
= 0 ;
33885 PyObject
* obj1
= 0 ;
33886 char *kwnames
[] = {
33887 (char *) "self",(char *) "n", NULL
33890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
33891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33893 arg2
= (int)SWIG_As_int(obj1
);
33894 if (PyErr_Occurred()) SWIG_fail
;
33896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33897 (arg1
)->Select(arg2
);
33899 wxPyEndAllowThreads(__tstate
);
33900 if (PyErr_Occurred()) SWIG_fail
;
33902 Py_INCREF(Py_None
); resultobj
= Py_None
;
33909 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33910 PyObject
*resultobj
;
33911 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33913 PyObject
* obj0
= 0 ;
33914 char *kwnames
[] = {
33915 (char *) "self", NULL
33918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
33919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33923 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
33925 wxPyEndAllowThreads(__tstate
);
33926 if (PyErr_Occurred()) SWIG_fail
;
33928 resultobj
= SWIG_From_int((int)result
);
33935 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33936 PyObject
*resultobj
;
33937 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33939 PyObject
* obj0
= 0 ;
33940 char *kwnames
[] = {
33941 (char *) "self", NULL
33944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
33945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33949 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
33951 wxPyEndAllowThreads(__tstate
);
33952 if (PyErr_Occurred()) SWIG_fail
;
33956 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33958 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33967 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33968 PyObject
*resultobj
;
33969 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33972 PyObject
* obj0
= 0 ;
33973 PyObject
* obj1
= 0 ;
33974 char *kwnames
[] = {
33975 (char *) "self",(char *) "n", NULL
33978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
33979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33981 arg2
= (int)SWIG_As_int(obj1
);
33982 if (PyErr_Occurred()) SWIG_fail
;
33984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33985 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
33987 wxPyEndAllowThreads(__tstate
);
33988 if (PyErr_Occurred()) SWIG_fail
;
33990 resultobj
= result
;
33997 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33998 PyObject
*resultobj
;
33999 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34001 PyObject
*arg3
= (PyObject
*) 0 ;
34002 PyObject
* obj0
= 0 ;
34003 PyObject
* obj1
= 0 ;
34004 PyObject
* obj2
= 0 ;
34005 char *kwnames
[] = {
34006 (char *) "self",(char *) "n",(char *) "clientData", NULL
34009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34012 arg2
= (int)SWIG_As_int(obj1
);
34013 if (PyErr_Occurred()) SWIG_fail
;
34016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34017 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
34019 wxPyEndAllowThreads(__tstate
);
34020 if (PyErr_Occurred()) SWIG_fail
;
34022 Py_INCREF(Py_None
); resultobj
= Py_None
;
34029 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
34031 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34032 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
34034 return Py_BuildValue((char *)"");
34036 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
34038 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34039 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
34041 return Py_BuildValue((char *)"");
34043 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34044 PyObject
*resultobj
;
34045 wxSizerItem
*result
;
34046 char *kwnames
[] = {
34050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
34052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34053 result
= (wxSizerItem
*)new wxSizerItem();
34055 wxPyEndAllowThreads(__tstate
);
34056 if (PyErr_Occurred()) SWIG_fail
;
34058 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34065 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34066 PyObject
*resultobj
;
34067 wxWindow
*arg1
= (wxWindow
*) 0 ;
34071 PyObject
*arg5
= (PyObject
*) NULL
;
34072 wxSizerItem
*result
;
34073 PyObject
* obj0
= 0 ;
34074 PyObject
* obj1
= 0 ;
34075 PyObject
* obj2
= 0 ;
34076 PyObject
* obj3
= 0 ;
34077 PyObject
* obj4
= 0 ;
34078 char *kwnames
[] = {
34079 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
34084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34085 arg2
= (int)SWIG_As_int(obj1
);
34086 if (PyErr_Occurred()) SWIG_fail
;
34087 arg3
= (int)SWIG_As_int(obj2
);
34088 if (PyErr_Occurred()) SWIG_fail
;
34089 arg4
= (int)SWIG_As_int(obj3
);
34090 if (PyErr_Occurred()) SWIG_fail
;
34095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34096 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34098 wxPyEndAllowThreads(__tstate
);
34099 if (PyErr_Occurred()) SWIG_fail
;
34101 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34108 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34109 PyObject
*resultobj
;
34115 PyObject
*arg6
= (PyObject
*) NULL
;
34116 wxSizerItem
*result
;
34117 PyObject
* obj0
= 0 ;
34118 PyObject
* obj1
= 0 ;
34119 PyObject
* obj2
= 0 ;
34120 PyObject
* obj3
= 0 ;
34121 PyObject
* obj4
= 0 ;
34122 PyObject
* obj5
= 0 ;
34123 char *kwnames
[] = {
34124 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34128 arg1
= (int)SWIG_As_int(obj0
);
34129 if (PyErr_Occurred()) SWIG_fail
;
34130 arg2
= (int)SWIG_As_int(obj1
);
34131 if (PyErr_Occurred()) SWIG_fail
;
34132 arg3
= (int)SWIG_As_int(obj2
);
34133 if (PyErr_Occurred()) SWIG_fail
;
34134 arg4
= (int)SWIG_As_int(obj3
);
34135 if (PyErr_Occurred()) SWIG_fail
;
34136 arg5
= (int)SWIG_As_int(obj4
);
34137 if (PyErr_Occurred()) SWIG_fail
;
34142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34143 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34145 wxPyEndAllowThreads(__tstate
);
34146 if (PyErr_Occurred()) SWIG_fail
;
34148 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34155 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34156 PyObject
*resultobj
;
34157 wxSizer
*arg1
= (wxSizer
*) 0 ;
34161 PyObject
*arg5
= (PyObject
*) NULL
;
34162 wxSizerItem
*result
;
34163 PyObject
* obj0
= 0 ;
34164 PyObject
* obj1
= 0 ;
34165 PyObject
* obj2
= 0 ;
34166 PyObject
* obj3
= 0 ;
34167 PyObject
* obj4
= 0 ;
34168 char *kwnames
[] = {
34169 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34175 arg2
= (int)SWIG_As_int(obj1
);
34176 if (PyErr_Occurred()) SWIG_fail
;
34177 arg3
= (int)SWIG_As_int(obj2
);
34178 if (PyErr_Occurred()) SWIG_fail
;
34179 arg4
= (int)SWIG_As_int(obj3
);
34180 if (PyErr_Occurred()) SWIG_fail
;
34185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34186 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34188 wxPyEndAllowThreads(__tstate
);
34189 if (PyErr_Occurred()) SWIG_fail
;
34191 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34198 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34199 PyObject
*resultobj
;
34200 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34201 PyObject
* obj0
= 0 ;
34202 char *kwnames
[] = {
34203 (char *) "self", NULL
34206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
34207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34211 (arg1
)->DeleteWindows();
34213 wxPyEndAllowThreads(__tstate
);
34214 if (PyErr_Occurred()) SWIG_fail
;
34216 Py_INCREF(Py_None
); resultobj
= Py_None
;
34223 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34224 PyObject
*resultobj
;
34225 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34226 PyObject
* obj0
= 0 ;
34227 char *kwnames
[] = {
34228 (char *) "self", NULL
34231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
34232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34236 (arg1
)->DetachSizer();
34238 wxPyEndAllowThreads(__tstate
);
34239 if (PyErr_Occurred()) SWIG_fail
;
34241 Py_INCREF(Py_None
); resultobj
= Py_None
;
34248 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34249 PyObject
*resultobj
;
34250 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34252 PyObject
* obj0
= 0 ;
34253 char *kwnames
[] = {
34254 (char *) "self", NULL
34257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
34258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34262 result
= (arg1
)->GetSize();
34264 wxPyEndAllowThreads(__tstate
);
34265 if (PyErr_Occurred()) SWIG_fail
;
34268 wxSize
* resultptr
;
34269 resultptr
= new wxSize((wxSize
&) result
);
34270 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34278 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34279 PyObject
*resultobj
;
34280 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34282 PyObject
* obj0
= 0 ;
34283 char *kwnames
[] = {
34284 (char *) "self", NULL
34287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
34288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34292 result
= (arg1
)->CalcMin();
34294 wxPyEndAllowThreads(__tstate
);
34295 if (PyErr_Occurred()) SWIG_fail
;
34298 wxSize
* resultptr
;
34299 resultptr
= new wxSize((wxSize
&) result
);
34300 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34308 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34309 PyObject
*resultobj
;
34310 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34315 PyObject
* obj0
= 0 ;
34316 PyObject
* obj1
= 0 ;
34317 PyObject
* obj2
= 0 ;
34318 char *kwnames
[] = {
34319 (char *) "self",(char *) "pos",(char *) "size", NULL
34322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34325 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
34326 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34328 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
34329 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34333 (arg1
)->SetDimension(arg2
,arg3
);
34335 wxPyEndAllowThreads(__tstate
);
34336 if (PyErr_Occurred()) SWIG_fail
;
34338 Py_INCREF(Py_None
); resultobj
= Py_None
;
34345 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34346 PyObject
*resultobj
;
34347 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34349 PyObject
* obj0
= 0 ;
34350 char *kwnames
[] = {
34351 (char *) "self", NULL
34354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
34355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34359 result
= (arg1
)->GetMinSize();
34361 wxPyEndAllowThreads(__tstate
);
34362 if (PyErr_Occurred()) SWIG_fail
;
34365 wxSize
* resultptr
;
34366 resultptr
= new wxSize((wxSize
&) result
);
34367 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34375 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34376 PyObject
*resultobj
;
34377 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34379 PyObject
* obj0
= 0 ;
34380 char *kwnames
[] = {
34381 (char *) "self", NULL
34384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
34385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34389 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
34391 wxPyEndAllowThreads(__tstate
);
34392 if (PyErr_Occurred()) SWIG_fail
;
34395 wxSize
* resultptr
;
34396 resultptr
= new wxSize((wxSize
&) result
);
34397 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34405 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34406 PyObject
*resultobj
;
34407 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34410 PyObject
* obj0
= 0 ;
34411 PyObject
* obj1
= 0 ;
34412 PyObject
* obj2
= 0 ;
34413 char *kwnames
[] = {
34414 (char *) "self",(char *) "x",(char *) "y", NULL
34417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34420 arg2
= (int)SWIG_As_int(obj1
);
34421 if (PyErr_Occurred()) SWIG_fail
;
34422 arg3
= (int)SWIG_As_int(obj2
);
34423 if (PyErr_Occurred()) SWIG_fail
;
34425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34426 (arg1
)->SetInitSize(arg2
,arg3
);
34428 wxPyEndAllowThreads(__tstate
);
34429 if (PyErr_Occurred()) SWIG_fail
;
34431 Py_INCREF(Py_None
); resultobj
= Py_None
;
34438 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34439 PyObject
*resultobj
;
34440 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34443 PyObject
* obj0
= 0 ;
34444 PyObject
* obj1
= 0 ;
34445 PyObject
* obj2
= 0 ;
34446 char *kwnames
[] = {
34447 (char *) "self",(char *) "width",(char *) "height", NULL
34450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34453 arg2
= (int)SWIG_As_int(obj1
);
34454 if (PyErr_Occurred()) SWIG_fail
;
34455 arg3
= (int)SWIG_As_int(obj2
);
34456 if (PyErr_Occurred()) SWIG_fail
;
34458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34459 (arg1
)->SetRatio(arg2
,arg3
);
34461 wxPyEndAllowThreads(__tstate
);
34462 if (PyErr_Occurred()) SWIG_fail
;
34464 Py_INCREF(Py_None
); resultobj
= Py_None
;
34471 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34472 PyObject
*resultobj
;
34473 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34476 PyObject
* obj0
= 0 ;
34477 PyObject
* obj1
= 0 ;
34478 char *kwnames
[] = {
34479 (char *) "self",(char *) "size", NULL
34482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
34483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34485 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
34486 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34490 (arg1
)->SetRatio(arg2
);
34492 wxPyEndAllowThreads(__tstate
);
34493 if (PyErr_Occurred()) SWIG_fail
;
34495 Py_INCREF(Py_None
); resultobj
= Py_None
;
34502 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34503 PyObject
*resultobj
;
34504 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34506 PyObject
* obj0
= 0 ;
34507 PyObject
* obj1
= 0 ;
34508 char *kwnames
[] = {
34509 (char *) "self",(char *) "ratio", NULL
34512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
34513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34515 arg2
= (float)SWIG_As_float(obj1
);
34516 if (PyErr_Occurred()) SWIG_fail
;
34518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34519 (arg1
)->SetRatio(arg2
);
34521 wxPyEndAllowThreads(__tstate
);
34522 if (PyErr_Occurred()) SWIG_fail
;
34524 Py_INCREF(Py_None
); resultobj
= Py_None
;
34531 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34532 PyObject
*resultobj
;
34533 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34535 PyObject
* obj0
= 0 ;
34536 char *kwnames
[] = {
34537 (char *) "self", NULL
34540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
34541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34545 result
= (float)(arg1
)->GetRatio();
34547 wxPyEndAllowThreads(__tstate
);
34548 if (PyErr_Occurred()) SWIG_fail
;
34550 resultobj
= SWIG_From_float((float)result
);
34557 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34558 PyObject
*resultobj
;
34559 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34561 PyObject
* obj0
= 0 ;
34562 char *kwnames
[] = {
34563 (char *) "self", NULL
34566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
34567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34571 result
= (bool)(arg1
)->IsWindow();
34573 wxPyEndAllowThreads(__tstate
);
34574 if (PyErr_Occurred()) SWIG_fail
;
34577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34585 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34586 PyObject
*resultobj
;
34587 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34589 PyObject
* obj0
= 0 ;
34590 char *kwnames
[] = {
34591 (char *) "self", NULL
34594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
34595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34599 result
= (bool)(arg1
)->IsSizer();
34601 wxPyEndAllowThreads(__tstate
);
34602 if (PyErr_Occurred()) SWIG_fail
;
34605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34613 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34614 PyObject
*resultobj
;
34615 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34617 PyObject
* obj0
= 0 ;
34618 char *kwnames
[] = {
34619 (char *) "self", NULL
34622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
34623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34627 result
= (bool)(arg1
)->IsSpacer();
34629 wxPyEndAllowThreads(__tstate
);
34630 if (PyErr_Occurred()) SWIG_fail
;
34633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34641 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34642 PyObject
*resultobj
;
34643 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34645 PyObject
* obj0
= 0 ;
34646 PyObject
* obj1
= 0 ;
34647 char *kwnames
[] = {
34648 (char *) "self",(char *) "proportion", NULL
34651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
34652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34654 arg2
= (int)SWIG_As_int(obj1
);
34655 if (PyErr_Occurred()) SWIG_fail
;
34657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34658 (arg1
)->SetProportion(arg2
);
34660 wxPyEndAllowThreads(__tstate
);
34661 if (PyErr_Occurred()) SWIG_fail
;
34663 Py_INCREF(Py_None
); resultobj
= Py_None
;
34670 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34671 PyObject
*resultobj
;
34672 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34674 PyObject
* obj0
= 0 ;
34675 char *kwnames
[] = {
34676 (char *) "self", NULL
34679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
34680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34684 result
= (int)(arg1
)->GetProportion();
34686 wxPyEndAllowThreads(__tstate
);
34687 if (PyErr_Occurred()) SWIG_fail
;
34689 resultobj
= SWIG_From_int((int)result
);
34696 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34697 PyObject
*resultobj
;
34698 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34700 PyObject
* obj0
= 0 ;
34701 PyObject
* obj1
= 0 ;
34702 char *kwnames
[] = {
34703 (char *) "self",(char *) "flag", NULL
34706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
34707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34709 arg2
= (int)SWIG_As_int(obj1
);
34710 if (PyErr_Occurred()) SWIG_fail
;
34712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34713 (arg1
)->SetFlag(arg2
);
34715 wxPyEndAllowThreads(__tstate
);
34716 if (PyErr_Occurred()) SWIG_fail
;
34718 Py_INCREF(Py_None
); resultobj
= Py_None
;
34725 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34726 PyObject
*resultobj
;
34727 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34729 PyObject
* obj0
= 0 ;
34730 char *kwnames
[] = {
34731 (char *) "self", NULL
34734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
34735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34739 result
= (int)(arg1
)->GetFlag();
34741 wxPyEndAllowThreads(__tstate
);
34742 if (PyErr_Occurred()) SWIG_fail
;
34744 resultobj
= SWIG_From_int((int)result
);
34751 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34752 PyObject
*resultobj
;
34753 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34755 PyObject
* obj0
= 0 ;
34756 PyObject
* obj1
= 0 ;
34757 char *kwnames
[] = {
34758 (char *) "self",(char *) "border", NULL
34761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
34762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34764 arg2
= (int)SWIG_As_int(obj1
);
34765 if (PyErr_Occurred()) SWIG_fail
;
34767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34768 (arg1
)->SetBorder(arg2
);
34770 wxPyEndAllowThreads(__tstate
);
34771 if (PyErr_Occurred()) SWIG_fail
;
34773 Py_INCREF(Py_None
); resultobj
= Py_None
;
34780 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34781 PyObject
*resultobj
;
34782 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34784 PyObject
* obj0
= 0 ;
34785 char *kwnames
[] = {
34786 (char *) "self", NULL
34789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
34790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34794 result
= (int)(arg1
)->GetBorder();
34796 wxPyEndAllowThreads(__tstate
);
34797 if (PyErr_Occurred()) SWIG_fail
;
34799 resultobj
= SWIG_From_int((int)result
);
34806 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34807 PyObject
*resultobj
;
34808 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34810 PyObject
* obj0
= 0 ;
34811 char *kwnames
[] = {
34812 (char *) "self", NULL
34815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
34816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34820 result
= (wxWindow
*)(arg1
)->GetWindow();
34822 wxPyEndAllowThreads(__tstate
);
34823 if (PyErr_Occurred()) SWIG_fail
;
34826 resultobj
= wxPyMake_wxObject(result
, 0);
34834 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34835 PyObject
*resultobj
;
34836 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34837 wxWindow
*arg2
= (wxWindow
*) 0 ;
34838 PyObject
* obj0
= 0 ;
34839 PyObject
* obj1
= 0 ;
34840 char *kwnames
[] = {
34841 (char *) "self",(char *) "window", NULL
34844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34847 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34851 (arg1
)->SetWindow(arg2
);
34853 wxPyEndAllowThreads(__tstate
);
34854 if (PyErr_Occurred()) SWIG_fail
;
34856 Py_INCREF(Py_None
); resultobj
= Py_None
;
34863 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34864 PyObject
*resultobj
;
34865 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34867 PyObject
* obj0
= 0 ;
34868 char *kwnames
[] = {
34869 (char *) "self", NULL
34872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
34873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34877 result
= (wxSizer
*)(arg1
)->GetSizer();
34879 wxPyEndAllowThreads(__tstate
);
34880 if (PyErr_Occurred()) SWIG_fail
;
34883 resultobj
= wxPyMake_wxSizer(result
, 0);
34891 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34892 PyObject
*resultobj
;
34893 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34894 wxSizer
*arg2
= (wxSizer
*) 0 ;
34895 PyObject
* obj0
= 0 ;
34896 PyObject
* obj1
= 0 ;
34897 char *kwnames
[] = {
34898 (char *) "self",(char *) "sizer", NULL
34901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
34902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34904 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
34905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34908 (arg1
)->SetSizer(arg2
);
34910 wxPyEndAllowThreads(__tstate
);
34911 if (PyErr_Occurred()) SWIG_fail
;
34913 Py_INCREF(Py_None
); resultobj
= Py_None
;
34920 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34921 PyObject
*resultobj
;
34922 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34924 PyObject
* obj0
= 0 ;
34925 char *kwnames
[] = {
34926 (char *) "self", NULL
34929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
34930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34935 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
34936 result
= (wxSize
*) &_result_ref
;
34939 wxPyEndAllowThreads(__tstate
);
34940 if (PyErr_Occurred()) SWIG_fail
;
34942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
34949 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34950 PyObject
*resultobj
;
34951 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34954 PyObject
* obj0
= 0 ;
34955 PyObject
* obj1
= 0 ;
34956 char *kwnames
[] = {
34957 (char *) "self",(char *) "size", NULL
34960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
34961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34965 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
34968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34969 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
34971 wxPyEndAllowThreads(__tstate
);
34972 if (PyErr_Occurred()) SWIG_fail
;
34974 Py_INCREF(Py_None
); resultobj
= Py_None
;
34981 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34982 PyObject
*resultobj
;
34983 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34985 PyObject
* obj0
= 0 ;
34986 PyObject
* obj1
= 0 ;
34987 char *kwnames
[] = {
34988 (char *) "self",(char *) "show", NULL
34991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
34992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34994 arg2
= (bool)SWIG_As_bool(obj1
);
34995 if (PyErr_Occurred()) SWIG_fail
;
34997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34998 (arg1
)->Show(arg2
);
35000 wxPyEndAllowThreads(__tstate
);
35001 if (PyErr_Occurred()) SWIG_fail
;
35003 Py_INCREF(Py_None
); resultobj
= Py_None
;
35010 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35011 PyObject
*resultobj
;
35012 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35014 PyObject
* obj0
= 0 ;
35015 char *kwnames
[] = {
35016 (char *) "self", NULL
35019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
35020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35024 result
= (bool)(arg1
)->IsShown();
35026 wxPyEndAllowThreads(__tstate
);
35027 if (PyErr_Occurred()) SWIG_fail
;
35030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35038 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35039 PyObject
*resultobj
;
35040 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35042 PyObject
* obj0
= 0 ;
35043 char *kwnames
[] = {
35044 (char *) "self", NULL
35047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
35048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35052 result
= (arg1
)->GetPosition();
35054 wxPyEndAllowThreads(__tstate
);
35055 if (PyErr_Occurred()) SWIG_fail
;
35058 wxPoint
* resultptr
;
35059 resultptr
= new wxPoint((wxPoint
&) result
);
35060 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35068 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35069 PyObject
*resultobj
;
35070 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35072 PyObject
* obj0
= 0 ;
35073 char *kwnames
[] = {
35074 (char *) "self", NULL
35077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
35078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35082 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
35084 wxPyEndAllowThreads(__tstate
);
35085 if (PyErr_Occurred()) SWIG_fail
;
35087 resultobj
= result
;
35094 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
35096 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35097 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
35099 return Py_BuildValue((char *)"");
35101 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35102 PyObject
*resultobj
;
35103 wxSizer
*arg1
= (wxSizer
*) 0 ;
35104 PyObject
*arg2
= (PyObject
*) 0 ;
35105 PyObject
* obj0
= 0 ;
35106 PyObject
* obj1
= 0 ;
35107 char *kwnames
[] = {
35108 (char *) "self",(char *) "_self", NULL
35111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
35112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35117 wxSizer__setOORInfo(arg1
,arg2
);
35119 wxPyEndAllowThreads(__tstate
);
35120 if (PyErr_Occurred()) SWIG_fail
;
35122 Py_INCREF(Py_None
); resultobj
= Py_None
;
35129 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35130 PyObject
*resultobj
;
35131 wxSizer
*arg1
= (wxSizer
*) 0 ;
35132 PyObject
*arg2
= (PyObject
*) 0 ;
35133 int arg3
= (int) 0 ;
35134 int arg4
= (int) 0 ;
35135 int arg5
= (int) 0 ;
35136 PyObject
*arg6
= (PyObject
*) NULL
;
35137 PyObject
* obj0
= 0 ;
35138 PyObject
* obj1
= 0 ;
35139 PyObject
* obj2
= 0 ;
35140 PyObject
* obj3
= 0 ;
35141 PyObject
* obj4
= 0 ;
35142 PyObject
* obj5
= 0 ;
35143 char *kwnames
[] = {
35144 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35152 arg3
= (int)SWIG_As_int(obj2
);
35153 if (PyErr_Occurred()) SWIG_fail
;
35156 arg4
= (int)SWIG_As_int(obj3
);
35157 if (PyErr_Occurred()) SWIG_fail
;
35160 arg5
= (int)SWIG_As_int(obj4
);
35161 if (PyErr_Occurred()) SWIG_fail
;
35167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35168 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35170 wxPyEndAllowThreads(__tstate
);
35171 if (PyErr_Occurred()) SWIG_fail
;
35173 Py_INCREF(Py_None
); resultobj
= Py_None
;
35180 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35181 PyObject
*resultobj
;
35182 wxSizer
*arg1
= (wxSizer
*) 0 ;
35184 PyObject
*arg3
= (PyObject
*) 0 ;
35185 int arg4
= (int) 0 ;
35186 int arg5
= (int) 0 ;
35187 int arg6
= (int) 0 ;
35188 PyObject
*arg7
= (PyObject
*) NULL
;
35189 PyObject
* obj0
= 0 ;
35190 PyObject
* obj1
= 0 ;
35191 PyObject
* obj2
= 0 ;
35192 PyObject
* obj3
= 0 ;
35193 PyObject
* obj4
= 0 ;
35194 PyObject
* obj5
= 0 ;
35195 PyObject
* obj6
= 0 ;
35196 char *kwnames
[] = {
35197 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
35201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35203 arg2
= (int)SWIG_As_int(obj1
);
35204 if (PyErr_Occurred()) SWIG_fail
;
35207 arg4
= (int)SWIG_As_int(obj3
);
35208 if (PyErr_Occurred()) SWIG_fail
;
35211 arg5
= (int)SWIG_As_int(obj4
);
35212 if (PyErr_Occurred()) SWIG_fail
;
35215 arg6
= (int)SWIG_As_int(obj5
);
35216 if (PyErr_Occurred()) SWIG_fail
;
35222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35223 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
35225 wxPyEndAllowThreads(__tstate
);
35226 if (PyErr_Occurred()) SWIG_fail
;
35228 Py_INCREF(Py_None
); resultobj
= Py_None
;
35235 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35236 PyObject
*resultobj
;
35237 wxSizer
*arg1
= (wxSizer
*) 0 ;
35238 PyObject
*arg2
= (PyObject
*) 0 ;
35239 int arg3
= (int) 0 ;
35240 int arg4
= (int) 0 ;
35241 int arg5
= (int) 0 ;
35242 PyObject
*arg6
= (PyObject
*) NULL
;
35243 PyObject
* obj0
= 0 ;
35244 PyObject
* obj1
= 0 ;
35245 PyObject
* obj2
= 0 ;
35246 PyObject
* obj3
= 0 ;
35247 PyObject
* obj4
= 0 ;
35248 PyObject
* obj5
= 0 ;
35249 char *kwnames
[] = {
35250 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35258 arg3
= (int)SWIG_As_int(obj2
);
35259 if (PyErr_Occurred()) SWIG_fail
;
35262 arg4
= (int)SWIG_As_int(obj3
);
35263 if (PyErr_Occurred()) SWIG_fail
;
35266 arg5
= (int)SWIG_As_int(obj4
);
35267 if (PyErr_Occurred()) SWIG_fail
;
35273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35274 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35276 wxPyEndAllowThreads(__tstate
);
35277 if (PyErr_Occurred()) SWIG_fail
;
35279 Py_INCREF(Py_None
); resultobj
= Py_None
;
35286 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35287 PyObject
*resultobj
;
35288 wxSizer
*arg1
= (wxSizer
*) 0 ;
35289 PyObject
*arg2
= (PyObject
*) 0 ;
35291 PyObject
* obj0
= 0 ;
35292 PyObject
* obj1
= 0 ;
35293 char *kwnames
[] = {
35294 (char *) "self",(char *) "item", NULL
35297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35303 result
= (bool)wxSizer_Remove(arg1
,arg2
);
35305 wxPyEndAllowThreads(__tstate
);
35306 if (PyErr_Occurred()) SWIG_fail
;
35309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35317 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35318 PyObject
*resultobj
;
35319 wxSizer
*arg1
= (wxSizer
*) 0 ;
35320 PyObject
*arg2
= (PyObject
*) 0 ;
35322 PyObject
* obj0
= 0 ;
35323 PyObject
* obj1
= 0 ;
35324 char *kwnames
[] = {
35325 (char *) "self",(char *) "item", NULL
35328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
35329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35334 result
= (bool)wxSizer_Detach(arg1
,arg2
);
35336 wxPyEndAllowThreads(__tstate
);
35337 if (PyErr_Occurred()) SWIG_fail
;
35340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35348 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35349 PyObject
*resultobj
;
35350 wxSizer
*arg1
= (wxSizer
*) 0 ;
35351 PyObject
*arg2
= (PyObject
*) 0 ;
35354 PyObject
* obj0
= 0 ;
35355 PyObject
* obj1
= 0 ;
35356 PyObject
* obj2
= 0 ;
35357 char *kwnames
[] = {
35358 (char *) "self",(char *) "item",(char *) "size", NULL
35361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35367 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
35370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35371 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
35373 wxPyEndAllowThreads(__tstate
);
35374 if (PyErr_Occurred()) SWIG_fail
;
35376 Py_INCREF(Py_None
); resultobj
= Py_None
;
35383 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35384 PyObject
*resultobj
;
35385 wxSizer
*arg1
= (wxSizer
*) 0 ;
35386 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35387 PyObject
* obj0
= 0 ;
35388 PyObject
* obj1
= 0 ;
35389 char *kwnames
[] = {
35390 (char *) "self",(char *) "item", NULL
35393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35396 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35402 wxPyEndAllowThreads(__tstate
);
35403 if (PyErr_Occurred()) SWIG_fail
;
35405 Py_INCREF(Py_None
); resultobj
= Py_None
;
35412 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35413 PyObject
*resultobj
;
35414 wxSizer
*arg1
= (wxSizer
*) 0 ;
35416 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
35417 PyObject
* obj0
= 0 ;
35418 PyObject
* obj1
= 0 ;
35419 PyObject
* obj2
= 0 ;
35420 char *kwnames
[] = {
35421 (char *) "self",(char *) "index",(char *) "item", NULL
35424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35427 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
35428 if (PyErr_Occurred()) SWIG_fail
;
35429 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
35430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35433 (arg1
)->Insert(arg2
,arg3
);
35435 wxPyEndAllowThreads(__tstate
);
35436 if (PyErr_Occurred()) SWIG_fail
;
35438 Py_INCREF(Py_None
); resultobj
= Py_None
;
35445 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35446 PyObject
*resultobj
;
35447 wxSizer
*arg1
= (wxSizer
*) 0 ;
35448 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35449 PyObject
* obj0
= 0 ;
35450 PyObject
* obj1
= 0 ;
35451 char *kwnames
[] = {
35452 (char *) "self",(char *) "item", NULL
35455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35458 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35462 (arg1
)->Prepend(arg2
);
35464 wxPyEndAllowThreads(__tstate
);
35465 if (PyErr_Occurred()) SWIG_fail
;
35467 Py_INCREF(Py_None
); resultobj
= Py_None
;
35474 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35475 PyObject
*resultobj
;
35476 wxSizer
*arg1
= (wxSizer
*) 0 ;
35481 PyObject
* obj0
= 0 ;
35482 PyObject
* obj1
= 0 ;
35483 PyObject
* obj2
= 0 ;
35484 PyObject
* obj3
= 0 ;
35485 PyObject
* obj4
= 0 ;
35486 char *kwnames
[] = {
35487 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
35490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35493 arg2
= (int)SWIG_As_int(obj1
);
35494 if (PyErr_Occurred()) SWIG_fail
;
35495 arg3
= (int)SWIG_As_int(obj2
);
35496 if (PyErr_Occurred()) SWIG_fail
;
35497 arg4
= (int)SWIG_As_int(obj3
);
35498 if (PyErr_Occurred()) SWIG_fail
;
35499 arg5
= (int)SWIG_As_int(obj4
);
35500 if (PyErr_Occurred()) SWIG_fail
;
35502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35503 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
35505 wxPyEndAllowThreads(__tstate
);
35506 if (PyErr_Occurred()) SWIG_fail
;
35508 Py_INCREF(Py_None
); resultobj
= Py_None
;
35515 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35516 PyObject
*resultobj
;
35517 wxSizer
*arg1
= (wxSizer
*) 0 ;
35520 PyObject
* obj0
= 0 ;
35521 PyObject
* obj1
= 0 ;
35522 char *kwnames
[] = {
35523 (char *) "self",(char *) "size", NULL
35526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
35527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35531 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35535 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
35537 wxPyEndAllowThreads(__tstate
);
35538 if (PyErr_Occurred()) SWIG_fail
;
35540 Py_INCREF(Py_None
); resultobj
= Py_None
;
35547 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35548 PyObject
*resultobj
;
35549 wxSizer
*arg1
= (wxSizer
*) 0 ;
35551 PyObject
* obj0
= 0 ;
35552 char *kwnames
[] = {
35553 (char *) "self", NULL
35556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
35557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35561 result
= (arg1
)->GetSize();
35563 wxPyEndAllowThreads(__tstate
);
35564 if (PyErr_Occurred()) SWIG_fail
;
35567 wxSize
* resultptr
;
35568 resultptr
= new wxSize((wxSize
&) result
);
35569 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35577 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35578 PyObject
*resultobj
;
35579 wxSizer
*arg1
= (wxSizer
*) 0 ;
35581 PyObject
* obj0
= 0 ;
35582 char *kwnames
[] = {
35583 (char *) "self", NULL
35586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
35587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35591 result
= (arg1
)->GetPosition();
35593 wxPyEndAllowThreads(__tstate
);
35594 if (PyErr_Occurred()) SWIG_fail
;
35597 wxPoint
* resultptr
;
35598 resultptr
= new wxPoint((wxPoint
&) result
);
35599 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35607 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35608 PyObject
*resultobj
;
35609 wxSizer
*arg1
= (wxSizer
*) 0 ;
35611 PyObject
* obj0
= 0 ;
35612 char *kwnames
[] = {
35613 (char *) "self", NULL
35616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
35617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35621 result
= (arg1
)->GetMinSize();
35623 wxPyEndAllowThreads(__tstate
);
35624 if (PyErr_Occurred()) SWIG_fail
;
35627 wxSize
* resultptr
;
35628 resultptr
= new wxSize((wxSize
&) result
);
35629 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35637 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35638 PyObject
*resultobj
;
35639 wxSizer
*arg1
= (wxSizer
*) 0 ;
35640 PyObject
* obj0
= 0 ;
35641 char *kwnames
[] = {
35642 (char *) "self", NULL
35645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35650 (arg1
)->RecalcSizes();
35652 wxPyEndAllowThreads(__tstate
);
35653 if (PyErr_Occurred()) SWIG_fail
;
35655 Py_INCREF(Py_None
); resultobj
= Py_None
;
35662 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35663 PyObject
*resultobj
;
35664 wxSizer
*arg1
= (wxSizer
*) 0 ;
35666 PyObject
* obj0
= 0 ;
35667 char *kwnames
[] = {
35668 (char *) "self", NULL
35671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35676 result
= (arg1
)->CalcMin();
35678 wxPyEndAllowThreads(__tstate
);
35679 if (PyErr_Occurred()) SWIG_fail
;
35682 wxSize
* resultptr
;
35683 resultptr
= new wxSize((wxSize
&) result
);
35684 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35692 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35693 PyObject
*resultobj
;
35694 wxSizer
*arg1
= (wxSizer
*) 0 ;
35695 PyObject
* obj0
= 0 ;
35696 char *kwnames
[] = {
35697 (char *) "self", NULL
35700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
35701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35707 wxPyEndAllowThreads(__tstate
);
35708 if (PyErr_Occurred()) SWIG_fail
;
35710 Py_INCREF(Py_None
); resultobj
= Py_None
;
35717 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35718 PyObject
*resultobj
;
35719 wxSizer
*arg1
= (wxSizer
*) 0 ;
35720 wxWindow
*arg2
= (wxWindow
*) 0 ;
35722 PyObject
* obj0
= 0 ;
35723 PyObject
* obj1
= 0 ;
35724 char *kwnames
[] = {
35725 (char *) "self",(char *) "window", NULL
35728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
35729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35731 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35735 result
= (arg1
)->Fit(arg2
);
35737 wxPyEndAllowThreads(__tstate
);
35738 if (PyErr_Occurred()) SWIG_fail
;
35741 wxSize
* resultptr
;
35742 resultptr
= new wxSize((wxSize
&) result
);
35743 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35751 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35752 PyObject
*resultobj
;
35753 wxSizer
*arg1
= (wxSizer
*) 0 ;
35754 wxWindow
*arg2
= (wxWindow
*) 0 ;
35755 PyObject
* obj0
= 0 ;
35756 PyObject
* obj1
= 0 ;
35757 char *kwnames
[] = {
35758 (char *) "self",(char *) "window", NULL
35761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
35762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35764 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35768 (arg1
)->FitInside(arg2
);
35770 wxPyEndAllowThreads(__tstate
);
35771 if (PyErr_Occurred()) SWIG_fail
;
35773 Py_INCREF(Py_None
); resultobj
= Py_None
;
35780 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35781 PyObject
*resultobj
;
35782 wxSizer
*arg1
= (wxSizer
*) 0 ;
35783 wxWindow
*arg2
= (wxWindow
*) 0 ;
35784 PyObject
* obj0
= 0 ;
35785 PyObject
* obj1
= 0 ;
35786 char *kwnames
[] = {
35787 (char *) "self",(char *) "window", NULL
35790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35793 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35797 (arg1
)->SetSizeHints(arg2
);
35799 wxPyEndAllowThreads(__tstate
);
35800 if (PyErr_Occurred()) SWIG_fail
;
35802 Py_INCREF(Py_None
); resultobj
= Py_None
;
35809 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35810 PyObject
*resultobj
;
35811 wxSizer
*arg1
= (wxSizer
*) 0 ;
35812 wxWindow
*arg2
= (wxWindow
*) 0 ;
35813 PyObject
* obj0
= 0 ;
35814 PyObject
* obj1
= 0 ;
35815 char *kwnames
[] = {
35816 (char *) "self",(char *) "window", NULL
35819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35822 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35826 (arg1
)->SetVirtualSizeHints(arg2
);
35828 wxPyEndAllowThreads(__tstate
);
35829 if (PyErr_Occurred()) SWIG_fail
;
35831 Py_INCREF(Py_None
); resultobj
= Py_None
;
35838 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35839 PyObject
*resultobj
;
35840 wxSizer
*arg1
= (wxSizer
*) 0 ;
35841 bool arg2
= (bool) False
;
35842 PyObject
* obj0
= 0 ;
35843 PyObject
* obj1
= 0 ;
35844 char *kwnames
[] = {
35845 (char *) "self",(char *) "deleteWindows", NULL
35848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
35849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35852 arg2
= (bool)SWIG_As_bool(obj1
);
35853 if (PyErr_Occurred()) SWIG_fail
;
35856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35857 (arg1
)->Clear(arg2
);
35859 wxPyEndAllowThreads(__tstate
);
35860 if (PyErr_Occurred()) SWIG_fail
;
35862 Py_INCREF(Py_None
); resultobj
= Py_None
;
35869 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35870 PyObject
*resultobj
;
35871 wxSizer
*arg1
= (wxSizer
*) 0 ;
35872 PyObject
* obj0
= 0 ;
35873 char *kwnames
[] = {
35874 (char *) "self", NULL
35877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
35878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35882 (arg1
)->DeleteWindows();
35884 wxPyEndAllowThreads(__tstate
);
35885 if (PyErr_Occurred()) SWIG_fail
;
35887 Py_INCREF(Py_None
); resultobj
= Py_None
;
35894 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35895 PyObject
*resultobj
;
35896 wxSizer
*arg1
= (wxSizer
*) 0 ;
35898 PyObject
* obj0
= 0 ;
35899 char *kwnames
[] = {
35900 (char *) "self", NULL
35903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
35904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35908 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
35910 wxPyEndAllowThreads(__tstate
);
35911 if (PyErr_Occurred()) SWIG_fail
;
35913 resultobj
= result
;
35920 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35921 PyObject
*resultobj
;
35922 wxSizer
*arg1
= (wxSizer
*) 0 ;
35923 PyObject
*arg2
= (PyObject
*) 0 ;
35924 bool arg3
= (bool) True
;
35925 PyObject
* obj0
= 0 ;
35926 PyObject
* obj1
= 0 ;
35927 PyObject
* obj2
= 0 ;
35928 char *kwnames
[] = {
35929 (char *) "self",(char *) "item",(char *) "show", NULL
35932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35937 arg3
= (bool)SWIG_As_bool(obj2
);
35938 if (PyErr_Occurred()) SWIG_fail
;
35941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35942 wxSizer_Show(arg1
,arg2
,arg3
);
35944 wxPyEndAllowThreads(__tstate
);
35945 if (PyErr_Occurred()) SWIG_fail
;
35947 Py_INCREF(Py_None
); resultobj
= Py_None
;
35954 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35955 PyObject
*resultobj
;
35956 wxSizer
*arg1
= (wxSizer
*) 0 ;
35957 PyObject
*arg2
= (PyObject
*) 0 ;
35959 PyObject
* obj0
= 0 ;
35960 PyObject
* obj1
= 0 ;
35961 char *kwnames
[] = {
35962 (char *) "self",(char *) "item", NULL
35965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
35966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35971 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
35973 wxPyEndAllowThreads(__tstate
);
35974 if (PyErr_Occurred()) SWIG_fail
;
35977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35985 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35986 PyObject
*resultobj
;
35987 wxSizer
*arg1
= (wxSizer
*) 0 ;
35989 PyObject
* obj0
= 0 ;
35990 PyObject
* obj1
= 0 ;
35991 char *kwnames
[] = {
35992 (char *) "self",(char *) "show", NULL
35995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
35996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35998 arg2
= (bool)SWIG_As_bool(obj1
);
35999 if (PyErr_Occurred()) SWIG_fail
;
36001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36002 (arg1
)->ShowItems(arg2
);
36004 wxPyEndAllowThreads(__tstate
);
36005 if (PyErr_Occurred()) SWIG_fail
;
36007 Py_INCREF(Py_None
); resultobj
= Py_None
;
36014 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
36016 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36017 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
36019 return Py_BuildValue((char *)"");
36021 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36022 PyObject
*resultobj
;
36024 char *kwnames
[] = {
36028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
36030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36031 result
= (wxPySizer
*)new wxPySizer();
36033 wxPyEndAllowThreads(__tstate
);
36034 if (PyErr_Occurred()) SWIG_fail
;
36036 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
36043 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36044 PyObject
*resultobj
;
36045 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
36046 PyObject
*arg2
= (PyObject
*) 0 ;
36047 PyObject
*arg3
= (PyObject
*) 0 ;
36048 PyObject
* obj0
= 0 ;
36049 PyObject
* obj1
= 0 ;
36050 PyObject
* obj2
= 0 ;
36051 char *kwnames
[] = {
36052 (char *) "self",(char *) "self",(char *) "_class", NULL
36055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
36057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36062 (arg1
)->_setCallbackInfo(arg2
,arg3
);
36064 wxPyEndAllowThreads(__tstate
);
36065 if (PyErr_Occurred()) SWIG_fail
;
36067 Py_INCREF(Py_None
); resultobj
= Py_None
;
36074 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
36076 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36077 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
36079 return Py_BuildValue((char *)"");
36081 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36082 PyObject
*resultobj
;
36083 int arg1
= (int) wxHORIZONTAL
;
36084 wxBoxSizer
*result
;
36085 PyObject
* obj0
= 0 ;
36086 char *kwnames
[] = {
36087 (char *) "orient", NULL
36090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
36092 arg1
= (int)SWIG_As_int(obj0
);
36093 if (PyErr_Occurred()) SWIG_fail
;
36096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36097 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
36099 wxPyEndAllowThreads(__tstate
);
36100 if (PyErr_Occurred()) SWIG_fail
;
36102 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
36109 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36110 PyObject
*resultobj
;
36111 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36113 PyObject
* obj0
= 0 ;
36114 char *kwnames
[] = {
36115 (char *) "self", NULL
36118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
36119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36123 result
= (int)(arg1
)->GetOrientation();
36125 wxPyEndAllowThreads(__tstate
);
36126 if (PyErr_Occurred()) SWIG_fail
;
36128 resultobj
= SWIG_From_int((int)result
);
36135 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36136 PyObject
*resultobj
;
36137 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36139 PyObject
* obj0
= 0 ;
36140 PyObject
* obj1
= 0 ;
36141 char *kwnames
[] = {
36142 (char *) "self",(char *) "orient", NULL
36145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
36146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36148 arg2
= (int)SWIG_As_int(obj1
);
36149 if (PyErr_Occurred()) SWIG_fail
;
36151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36152 (arg1
)->SetOrientation(arg2
);
36154 wxPyEndAllowThreads(__tstate
);
36155 if (PyErr_Occurred()) SWIG_fail
;
36157 Py_INCREF(Py_None
); resultobj
= Py_None
;
36164 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
36166 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36167 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
36169 return Py_BuildValue((char *)"");
36171 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36172 PyObject
*resultobj
;
36173 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
36174 int arg2
= (int) wxHORIZONTAL
;
36175 wxStaticBoxSizer
*result
;
36176 PyObject
* obj0
= 0 ;
36177 PyObject
* obj1
= 0 ;
36178 char *kwnames
[] = {
36179 (char *) "box",(char *) "orient", NULL
36182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
36183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
36184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36186 arg2
= (int)SWIG_As_int(obj1
);
36187 if (PyErr_Occurred()) SWIG_fail
;
36190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36191 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
36193 wxPyEndAllowThreads(__tstate
);
36194 if (PyErr_Occurred()) SWIG_fail
;
36196 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
36203 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36204 PyObject
*resultobj
;
36205 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
36206 wxStaticBox
*result
;
36207 PyObject
* obj0
= 0 ;
36208 char *kwnames
[] = {
36209 (char *) "self", NULL
36212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
36213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
36214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36217 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
36219 wxPyEndAllowThreads(__tstate
);
36220 if (PyErr_Occurred()) SWIG_fail
;
36223 resultobj
= wxPyMake_wxObject(result
, 0);
36231 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
36233 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36234 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
36236 return Py_BuildValue((char *)"");
36238 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36239 PyObject
*resultobj
;
36240 int arg1
= (int) 1 ;
36241 int arg2
= (int) 0 ;
36242 int arg3
= (int) 0 ;
36243 int arg4
= (int) 0 ;
36244 wxGridSizer
*result
;
36245 PyObject
* obj0
= 0 ;
36246 PyObject
* obj1
= 0 ;
36247 PyObject
* obj2
= 0 ;
36248 PyObject
* obj3
= 0 ;
36249 char *kwnames
[] = {
36250 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36255 arg1
= (int)SWIG_As_int(obj0
);
36256 if (PyErr_Occurred()) SWIG_fail
;
36259 arg2
= (int)SWIG_As_int(obj1
);
36260 if (PyErr_Occurred()) SWIG_fail
;
36263 arg3
= (int)SWIG_As_int(obj2
);
36264 if (PyErr_Occurred()) SWIG_fail
;
36267 arg4
= (int)SWIG_As_int(obj3
);
36268 if (PyErr_Occurred()) SWIG_fail
;
36271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36272 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
36274 wxPyEndAllowThreads(__tstate
);
36275 if (PyErr_Occurred()) SWIG_fail
;
36277 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
36284 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36285 PyObject
*resultobj
;
36286 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36288 PyObject
* obj0
= 0 ;
36289 PyObject
* obj1
= 0 ;
36290 char *kwnames
[] = {
36291 (char *) "self",(char *) "cols", NULL
36294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
36295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36297 arg2
= (int)SWIG_As_int(obj1
);
36298 if (PyErr_Occurred()) SWIG_fail
;
36300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36301 (arg1
)->SetCols(arg2
);
36303 wxPyEndAllowThreads(__tstate
);
36304 if (PyErr_Occurred()) SWIG_fail
;
36306 Py_INCREF(Py_None
); resultobj
= Py_None
;
36313 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36314 PyObject
*resultobj
;
36315 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36317 PyObject
* obj0
= 0 ;
36318 PyObject
* obj1
= 0 ;
36319 char *kwnames
[] = {
36320 (char *) "self",(char *) "rows", NULL
36323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
36324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36326 arg2
= (int)SWIG_As_int(obj1
);
36327 if (PyErr_Occurred()) SWIG_fail
;
36329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36330 (arg1
)->SetRows(arg2
);
36332 wxPyEndAllowThreads(__tstate
);
36333 if (PyErr_Occurred()) SWIG_fail
;
36335 Py_INCREF(Py_None
); resultobj
= Py_None
;
36342 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36343 PyObject
*resultobj
;
36344 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36346 PyObject
* obj0
= 0 ;
36347 PyObject
* obj1
= 0 ;
36348 char *kwnames
[] = {
36349 (char *) "self",(char *) "gap", NULL
36352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36355 arg2
= (int)SWIG_As_int(obj1
);
36356 if (PyErr_Occurred()) SWIG_fail
;
36358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36359 (arg1
)->SetVGap(arg2
);
36361 wxPyEndAllowThreads(__tstate
);
36362 if (PyErr_Occurred()) SWIG_fail
;
36364 Py_INCREF(Py_None
); resultobj
= Py_None
;
36371 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36372 PyObject
*resultobj
;
36373 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36375 PyObject
* obj0
= 0 ;
36376 PyObject
* obj1
= 0 ;
36377 char *kwnames
[] = {
36378 (char *) "self",(char *) "gap", NULL
36381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36384 arg2
= (int)SWIG_As_int(obj1
);
36385 if (PyErr_Occurred()) SWIG_fail
;
36387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36388 (arg1
)->SetHGap(arg2
);
36390 wxPyEndAllowThreads(__tstate
);
36391 if (PyErr_Occurred()) SWIG_fail
;
36393 Py_INCREF(Py_None
); resultobj
= Py_None
;
36400 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36401 PyObject
*resultobj
;
36402 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36404 PyObject
* obj0
= 0 ;
36405 char *kwnames
[] = {
36406 (char *) "self", NULL
36409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
36410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36414 result
= (int)(arg1
)->GetCols();
36416 wxPyEndAllowThreads(__tstate
);
36417 if (PyErr_Occurred()) SWIG_fail
;
36419 resultobj
= SWIG_From_int((int)result
);
36426 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36427 PyObject
*resultobj
;
36428 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36430 PyObject
* obj0
= 0 ;
36431 char *kwnames
[] = {
36432 (char *) "self", NULL
36435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
36436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36440 result
= (int)(arg1
)->GetRows();
36442 wxPyEndAllowThreads(__tstate
);
36443 if (PyErr_Occurred()) SWIG_fail
;
36445 resultobj
= SWIG_From_int((int)result
);
36452 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36453 PyObject
*resultobj
;
36454 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36456 PyObject
* obj0
= 0 ;
36457 char *kwnames
[] = {
36458 (char *) "self", NULL
36461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
36462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36466 result
= (int)(arg1
)->GetVGap();
36468 wxPyEndAllowThreads(__tstate
);
36469 if (PyErr_Occurred()) SWIG_fail
;
36471 resultobj
= SWIG_From_int((int)result
);
36478 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36479 PyObject
*resultobj
;
36480 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36482 PyObject
* obj0
= 0 ;
36483 char *kwnames
[] = {
36484 (char *) "self", NULL
36487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
36488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36492 result
= (int)(arg1
)->GetHGap();
36494 wxPyEndAllowThreads(__tstate
);
36495 if (PyErr_Occurred()) SWIG_fail
;
36497 resultobj
= SWIG_From_int((int)result
);
36504 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
36506 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36507 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
36509 return Py_BuildValue((char *)"");
36511 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36512 PyObject
*resultobj
;
36513 int arg1
= (int) 1 ;
36514 int arg2
= (int) 0 ;
36515 int arg3
= (int) 0 ;
36516 int arg4
= (int) 0 ;
36517 wxFlexGridSizer
*result
;
36518 PyObject
* obj0
= 0 ;
36519 PyObject
* obj1
= 0 ;
36520 PyObject
* obj2
= 0 ;
36521 PyObject
* obj3
= 0 ;
36522 char *kwnames
[] = {
36523 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36528 arg1
= (int)SWIG_As_int(obj0
);
36529 if (PyErr_Occurred()) SWIG_fail
;
36532 arg2
= (int)SWIG_As_int(obj1
);
36533 if (PyErr_Occurred()) SWIG_fail
;
36536 arg3
= (int)SWIG_As_int(obj2
);
36537 if (PyErr_Occurred()) SWIG_fail
;
36540 arg4
= (int)SWIG_As_int(obj3
);
36541 if (PyErr_Occurred()) SWIG_fail
;
36544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36545 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
36547 wxPyEndAllowThreads(__tstate
);
36548 if (PyErr_Occurred()) SWIG_fail
;
36550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
36557 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36558 PyObject
*resultobj
;
36559 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36561 int arg3
= (int) 0 ;
36562 PyObject
* obj0
= 0 ;
36563 PyObject
* obj1
= 0 ;
36564 PyObject
* obj2
= 0 ;
36565 char *kwnames
[] = {
36566 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36572 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
36573 if (PyErr_Occurred()) SWIG_fail
;
36575 arg3
= (int)SWIG_As_int(obj2
);
36576 if (PyErr_Occurred()) SWIG_fail
;
36579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36580 (arg1
)->AddGrowableRow(arg2
,arg3
);
36582 wxPyEndAllowThreads(__tstate
);
36583 if (PyErr_Occurred()) SWIG_fail
;
36585 Py_INCREF(Py_None
); resultobj
= Py_None
;
36592 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36593 PyObject
*resultobj
;
36594 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36596 PyObject
* obj0
= 0 ;
36597 PyObject
* obj1
= 0 ;
36598 char *kwnames
[] = {
36599 (char *) "self",(char *) "idx", NULL
36602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36605 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
36606 if (PyErr_Occurred()) SWIG_fail
;
36608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36609 (arg1
)->RemoveGrowableRow(arg2
);
36611 wxPyEndAllowThreads(__tstate
);
36612 if (PyErr_Occurred()) SWIG_fail
;
36614 Py_INCREF(Py_None
); resultobj
= Py_None
;
36621 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36622 PyObject
*resultobj
;
36623 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36625 int arg3
= (int) 0 ;
36626 PyObject
* obj0
= 0 ;
36627 PyObject
* obj1
= 0 ;
36628 PyObject
* obj2
= 0 ;
36629 char *kwnames
[] = {
36630 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36636 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
36637 if (PyErr_Occurred()) SWIG_fail
;
36639 arg3
= (int)SWIG_As_int(obj2
);
36640 if (PyErr_Occurred()) SWIG_fail
;
36643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36644 (arg1
)->AddGrowableCol(arg2
,arg3
);
36646 wxPyEndAllowThreads(__tstate
);
36647 if (PyErr_Occurred()) SWIG_fail
;
36649 Py_INCREF(Py_None
); resultobj
= Py_None
;
36656 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36657 PyObject
*resultobj
;
36658 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36660 PyObject
* obj0
= 0 ;
36661 PyObject
* obj1
= 0 ;
36662 char *kwnames
[] = {
36663 (char *) "self",(char *) "idx", NULL
36666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
36667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36669 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
36670 if (PyErr_Occurred()) SWIG_fail
;
36672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36673 (arg1
)->RemoveGrowableCol(arg2
);
36675 wxPyEndAllowThreads(__tstate
);
36676 if (PyErr_Occurred()) SWIG_fail
;
36678 Py_INCREF(Py_None
); resultobj
= Py_None
;
36685 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36686 PyObject
*resultobj
;
36687 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36689 PyObject
* obj0
= 0 ;
36690 PyObject
* obj1
= 0 ;
36691 char *kwnames
[] = {
36692 (char *) "self",(char *) "direction", NULL
36695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
36696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36698 arg2
= (int)SWIG_As_int(obj1
);
36699 if (PyErr_Occurred()) SWIG_fail
;
36701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36702 (arg1
)->SetFlexibleDirection(arg2
);
36704 wxPyEndAllowThreads(__tstate
);
36705 if (PyErr_Occurred()) SWIG_fail
;
36707 Py_INCREF(Py_None
); resultobj
= Py_None
;
36714 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36715 PyObject
*resultobj
;
36716 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36718 PyObject
* obj0
= 0 ;
36719 char *kwnames
[] = {
36720 (char *) "self", NULL
36723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
36724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36728 result
= (int)(arg1
)->GetFlexibleDirection();
36730 wxPyEndAllowThreads(__tstate
);
36731 if (PyErr_Occurred()) SWIG_fail
;
36733 resultobj
= SWIG_From_int((int)result
);
36740 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36741 PyObject
*resultobj
;
36742 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36744 PyObject
* obj0
= 0 ;
36745 PyObject
* obj1
= 0 ;
36746 char *kwnames
[] = {
36747 (char *) "self",(char *) "mode", NULL
36750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
36751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36753 arg2
= (int)SWIG_As_int(obj1
);
36754 if (PyErr_Occurred()) SWIG_fail
;
36756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36757 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
36759 wxPyEndAllowThreads(__tstate
);
36760 if (PyErr_Occurred()) SWIG_fail
;
36762 Py_INCREF(Py_None
); resultobj
= Py_None
;
36769 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36770 PyObject
*resultobj
;
36771 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36773 PyObject
* obj0
= 0 ;
36774 char *kwnames
[] = {
36775 (char *) "self", NULL
36778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
36779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36783 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
36785 wxPyEndAllowThreads(__tstate
);
36786 if (PyErr_Occurred()) SWIG_fail
;
36788 resultobj
= SWIG_From_int((int)result
);
36795 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36796 PyObject
*resultobj
;
36797 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36798 wxArrayInt
*result
;
36799 PyObject
* obj0
= 0 ;
36800 char *kwnames
[] = {
36801 (char *) "self", NULL
36804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
36805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36810 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
36811 result
= (wxArrayInt
*) &_result_ref
;
36814 wxPyEndAllowThreads(__tstate
);
36815 if (PyErr_Occurred()) SWIG_fail
;
36818 resultobj
= PyList_New(0);
36820 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
36821 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
36822 PyList_Append(resultobj
, val
);
36832 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36833 PyObject
*resultobj
;
36834 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36835 wxArrayInt
*result
;
36836 PyObject
* obj0
= 0 ;
36837 char *kwnames
[] = {
36838 (char *) "self", NULL
36841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
36842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36847 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
36848 result
= (wxArrayInt
*) &_result_ref
;
36851 wxPyEndAllowThreads(__tstate
);
36852 if (PyErr_Occurred()) SWIG_fail
;
36855 resultobj
= PyList_New(0);
36857 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
36858 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
36859 PyList_Append(resultobj
, val
);
36869 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
36871 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36872 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
36874 return Py_BuildValue((char *)"");
36876 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36877 PyObject
*resultobj
;
36878 int arg1
= (int) 0 ;
36879 int arg2
= (int) 0 ;
36880 wxGBPosition
*result
;
36881 PyObject
* obj0
= 0 ;
36882 PyObject
* obj1
= 0 ;
36883 char *kwnames
[] = {
36884 (char *) "row",(char *) "col", NULL
36887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
36889 arg1
= (int)SWIG_As_int(obj0
);
36890 if (PyErr_Occurred()) SWIG_fail
;
36893 arg2
= (int)SWIG_As_int(obj1
);
36894 if (PyErr_Occurred()) SWIG_fail
;
36897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36898 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
36900 wxPyEndAllowThreads(__tstate
);
36901 if (PyErr_Occurred()) SWIG_fail
;
36903 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
36910 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36911 PyObject
*resultobj
;
36912 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36914 PyObject
* obj0
= 0 ;
36915 char *kwnames
[] = {
36916 (char *) "self", NULL
36919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
36920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36924 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
36926 wxPyEndAllowThreads(__tstate
);
36927 if (PyErr_Occurred()) SWIG_fail
;
36929 resultobj
= SWIG_From_int((int)result
);
36936 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36937 PyObject
*resultobj
;
36938 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36940 PyObject
* obj0
= 0 ;
36941 char *kwnames
[] = {
36942 (char *) "self", NULL
36945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
36946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36950 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
36952 wxPyEndAllowThreads(__tstate
);
36953 if (PyErr_Occurred()) SWIG_fail
;
36955 resultobj
= SWIG_From_int((int)result
);
36962 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36963 PyObject
*resultobj
;
36964 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36966 PyObject
* obj0
= 0 ;
36967 PyObject
* obj1
= 0 ;
36968 char *kwnames
[] = {
36969 (char *) "self",(char *) "row", NULL
36972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36975 arg2
= (int)SWIG_As_int(obj1
);
36976 if (PyErr_Occurred()) SWIG_fail
;
36978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36979 (arg1
)->SetRow(arg2
);
36981 wxPyEndAllowThreads(__tstate
);
36982 if (PyErr_Occurred()) SWIG_fail
;
36984 Py_INCREF(Py_None
); resultobj
= Py_None
;
36991 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36992 PyObject
*resultobj
;
36993 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36995 PyObject
* obj0
= 0 ;
36996 PyObject
* obj1
= 0 ;
36997 char *kwnames
[] = {
36998 (char *) "self",(char *) "col", NULL
37001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
37002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37004 arg2
= (int)SWIG_As_int(obj1
);
37005 if (PyErr_Occurred()) SWIG_fail
;
37007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37008 (arg1
)->SetCol(arg2
);
37010 wxPyEndAllowThreads(__tstate
);
37011 if (PyErr_Occurred()) SWIG_fail
;
37013 Py_INCREF(Py_None
); resultobj
= Py_None
;
37020 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37021 PyObject
*resultobj
;
37022 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37023 wxGBPosition
*arg2
= 0 ;
37025 wxGBPosition temp2
;
37026 PyObject
* obj0
= 0 ;
37027 PyObject
* obj1
= 0 ;
37028 char *kwnames
[] = {
37029 (char *) "self",(char *) "other", NULL
37032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37037 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37041 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
37043 wxPyEndAllowThreads(__tstate
);
37044 if (PyErr_Occurred()) SWIG_fail
;
37047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37055 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37056 PyObject
*resultobj
;
37057 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37058 wxGBPosition
*arg2
= 0 ;
37060 wxGBPosition temp2
;
37061 PyObject
* obj0
= 0 ;
37062 PyObject
* obj1
= 0 ;
37063 char *kwnames
[] = {
37064 (char *) "self",(char *) "other", NULL
37067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37072 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37076 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
37078 wxPyEndAllowThreads(__tstate
);
37079 if (PyErr_Occurred()) SWIG_fail
;
37082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37090 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37091 PyObject
*resultobj
;
37092 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37093 int arg2
= (int) 0 ;
37094 int arg3
= (int) 0 ;
37095 PyObject
* obj0
= 0 ;
37096 PyObject
* obj1
= 0 ;
37097 PyObject
* obj2
= 0 ;
37098 char *kwnames
[] = {
37099 (char *) "self",(char *) "row",(char *) "col", NULL
37102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37106 arg2
= (int)SWIG_As_int(obj1
);
37107 if (PyErr_Occurred()) SWIG_fail
;
37110 arg3
= (int)SWIG_As_int(obj2
);
37111 if (PyErr_Occurred()) SWIG_fail
;
37114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37115 wxGBPosition_Set(arg1
,arg2
,arg3
);
37117 wxPyEndAllowThreads(__tstate
);
37118 if (PyErr_Occurred()) SWIG_fail
;
37120 Py_INCREF(Py_None
); resultobj
= Py_None
;
37127 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37128 PyObject
*resultobj
;
37129 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37131 PyObject
* obj0
= 0 ;
37132 char *kwnames
[] = {
37133 (char *) "self", NULL
37136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
37137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37141 result
= (PyObject
*)wxGBPosition_Get(arg1
);
37143 wxPyEndAllowThreads(__tstate
);
37144 if (PyErr_Occurred()) SWIG_fail
;
37146 resultobj
= result
;
37153 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
37155 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37156 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
37158 return Py_BuildValue((char *)"");
37160 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37161 PyObject
*resultobj
;
37162 int arg1
= (int) 1 ;
37163 int arg2
= (int) 1 ;
37165 PyObject
* obj0
= 0 ;
37166 PyObject
* obj1
= 0 ;
37167 char *kwnames
[] = {
37168 (char *) "rowspan",(char *) "colspan", NULL
37171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37173 arg1
= (int)SWIG_As_int(obj0
);
37174 if (PyErr_Occurred()) SWIG_fail
;
37177 arg2
= (int)SWIG_As_int(obj1
);
37178 if (PyErr_Occurred()) SWIG_fail
;
37181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37182 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
37184 wxPyEndAllowThreads(__tstate
);
37185 if (PyErr_Occurred()) SWIG_fail
;
37187 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
37194 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37195 PyObject
*resultobj
;
37196 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37198 PyObject
* obj0
= 0 ;
37199 char *kwnames
[] = {
37200 (char *) "self", NULL
37203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
37204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37208 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
37210 wxPyEndAllowThreads(__tstate
);
37211 if (PyErr_Occurred()) SWIG_fail
;
37213 resultobj
= SWIG_From_int((int)result
);
37220 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37221 PyObject
*resultobj
;
37222 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37224 PyObject
* obj0
= 0 ;
37225 char *kwnames
[] = {
37226 (char *) "self", NULL
37229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
37230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37234 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
37236 wxPyEndAllowThreads(__tstate
);
37237 if (PyErr_Occurred()) SWIG_fail
;
37239 resultobj
= SWIG_From_int((int)result
);
37246 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37247 PyObject
*resultobj
;
37248 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37250 PyObject
* obj0
= 0 ;
37251 PyObject
* obj1
= 0 ;
37252 char *kwnames
[] = {
37253 (char *) "self",(char *) "rowspan", NULL
37256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37259 arg2
= (int)SWIG_As_int(obj1
);
37260 if (PyErr_Occurred()) SWIG_fail
;
37262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37263 (arg1
)->SetRowspan(arg2
);
37265 wxPyEndAllowThreads(__tstate
);
37266 if (PyErr_Occurred()) SWIG_fail
;
37268 Py_INCREF(Py_None
); resultobj
= Py_None
;
37275 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37276 PyObject
*resultobj
;
37277 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37279 PyObject
* obj0
= 0 ;
37280 PyObject
* obj1
= 0 ;
37281 char *kwnames
[] = {
37282 (char *) "self",(char *) "colspan", NULL
37285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37288 arg2
= (int)SWIG_As_int(obj1
);
37289 if (PyErr_Occurred()) SWIG_fail
;
37291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37292 (arg1
)->SetColspan(arg2
);
37294 wxPyEndAllowThreads(__tstate
);
37295 if (PyErr_Occurred()) SWIG_fail
;
37297 Py_INCREF(Py_None
); resultobj
= Py_None
;
37304 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37305 PyObject
*resultobj
;
37306 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37307 wxGBSpan
*arg2
= 0 ;
37310 PyObject
* obj0
= 0 ;
37311 PyObject
* obj1
= 0 ;
37312 char *kwnames
[] = {
37313 (char *) "self",(char *) "other", NULL
37316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37321 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37325 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
37327 wxPyEndAllowThreads(__tstate
);
37328 if (PyErr_Occurred()) SWIG_fail
;
37331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37339 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37340 PyObject
*resultobj
;
37341 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37342 wxGBSpan
*arg2
= 0 ;
37345 PyObject
* obj0
= 0 ;
37346 PyObject
* obj1
= 0 ;
37347 char *kwnames
[] = {
37348 (char *) "self",(char *) "other", NULL
37351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37356 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37360 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
37362 wxPyEndAllowThreads(__tstate
);
37363 if (PyErr_Occurred()) SWIG_fail
;
37366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37374 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37375 PyObject
*resultobj
;
37376 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37377 int arg2
= (int) 1 ;
37378 int arg3
= (int) 1 ;
37379 PyObject
* obj0
= 0 ;
37380 PyObject
* obj1
= 0 ;
37381 PyObject
* obj2
= 0 ;
37382 char *kwnames
[] = {
37383 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
37386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37390 arg2
= (int)SWIG_As_int(obj1
);
37391 if (PyErr_Occurred()) SWIG_fail
;
37394 arg3
= (int)SWIG_As_int(obj2
);
37395 if (PyErr_Occurred()) SWIG_fail
;
37398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37399 wxGBSpan_Set(arg1
,arg2
,arg3
);
37401 wxPyEndAllowThreads(__tstate
);
37402 if (PyErr_Occurred()) SWIG_fail
;
37404 Py_INCREF(Py_None
); resultobj
= Py_None
;
37411 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37412 PyObject
*resultobj
;
37413 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37415 PyObject
* obj0
= 0 ;
37416 char *kwnames
[] = {
37417 (char *) "self", NULL
37420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
37421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37425 result
= (PyObject
*)wxGBSpan_Get(arg1
);
37427 wxPyEndAllowThreads(__tstate
);
37428 if (PyErr_Occurred()) SWIG_fail
;
37430 resultobj
= result
;
37437 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
37439 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37440 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
37442 return Py_BuildValue((char *)"");
37444 static int _wrap_DefaultSpan_set(PyObject
*) {
37445 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
37450 static PyObject
*_wrap_DefaultSpan_get() {
37453 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
37458 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37459 PyObject
*resultobj
;
37460 wxGBSizerItem
*result
;
37461 char *kwnames
[] = {
37465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
37467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37468 result
= (wxGBSizerItem
*)new wxGBSizerItem();
37470 wxPyEndAllowThreads(__tstate
);
37471 if (PyErr_Occurred()) SWIG_fail
;
37473 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37480 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37481 PyObject
*resultobj
;
37482 wxWindow
*arg1
= (wxWindow
*) 0 ;
37483 wxGBPosition
*arg2
= 0 ;
37484 wxGBSpan
*arg3
= 0 ;
37487 PyObject
*arg6
= (PyObject
*) NULL
;
37488 wxGBSizerItem
*result
;
37489 wxGBPosition temp2
;
37491 PyObject
* obj0
= 0 ;
37492 PyObject
* obj1
= 0 ;
37493 PyObject
* obj2
= 0 ;
37494 PyObject
* obj3
= 0 ;
37495 PyObject
* obj4
= 0 ;
37496 PyObject
* obj5
= 0 ;
37497 char *kwnames
[] = {
37498 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
37503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37506 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37510 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37512 arg4
= (int)SWIG_As_int(obj3
);
37513 if (PyErr_Occurred()) SWIG_fail
;
37514 arg5
= (int)SWIG_As_int(obj4
);
37515 if (PyErr_Occurred()) SWIG_fail
;
37520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37521 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37523 wxPyEndAllowThreads(__tstate
);
37524 if (PyErr_Occurred()) SWIG_fail
;
37526 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37533 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37534 PyObject
*resultobj
;
37535 wxSizer
*arg1
= (wxSizer
*) 0 ;
37536 wxGBPosition
*arg2
= 0 ;
37537 wxGBSpan
*arg3
= 0 ;
37540 PyObject
*arg6
= (PyObject
*) NULL
;
37541 wxGBSizerItem
*result
;
37542 wxGBPosition temp2
;
37544 PyObject
* obj0
= 0 ;
37545 PyObject
* obj1
= 0 ;
37546 PyObject
* obj2
= 0 ;
37547 PyObject
* obj3
= 0 ;
37548 PyObject
* obj4
= 0 ;
37549 PyObject
* obj5
= 0 ;
37550 char *kwnames
[] = {
37551 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
37556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37559 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37563 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37565 arg4
= (int)SWIG_As_int(obj3
);
37566 if (PyErr_Occurred()) SWIG_fail
;
37567 arg5
= (int)SWIG_As_int(obj4
);
37568 if (PyErr_Occurred()) SWIG_fail
;
37573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37574 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37576 wxPyEndAllowThreads(__tstate
);
37577 if (PyErr_Occurred()) SWIG_fail
;
37579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37586 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37587 PyObject
*resultobj
;
37590 wxGBPosition
*arg3
= 0 ;
37591 wxGBSpan
*arg4
= 0 ;
37594 PyObject
*arg7
= (PyObject
*) NULL
;
37595 wxGBSizerItem
*result
;
37596 wxGBPosition temp3
;
37598 PyObject
* obj0
= 0 ;
37599 PyObject
* obj1
= 0 ;
37600 PyObject
* obj2
= 0 ;
37601 PyObject
* obj3
= 0 ;
37602 PyObject
* obj4
= 0 ;
37603 PyObject
* obj5
= 0 ;
37604 PyObject
* obj6
= 0 ;
37605 char *kwnames
[] = {
37606 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37610 arg1
= (int)SWIG_As_int(obj0
);
37611 if (PyErr_Occurred()) SWIG_fail
;
37612 arg2
= (int)SWIG_As_int(obj1
);
37613 if (PyErr_Occurred()) SWIG_fail
;
37616 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37620 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
37622 arg5
= (int)SWIG_As_int(obj4
);
37623 if (PyErr_Occurred()) SWIG_fail
;
37624 arg6
= (int)SWIG_As_int(obj5
);
37625 if (PyErr_Occurred()) SWIG_fail
;
37630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37631 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
37633 wxPyEndAllowThreads(__tstate
);
37634 if (PyErr_Occurred()) SWIG_fail
;
37636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37643 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37644 PyObject
*resultobj
;
37645 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37646 wxGBPosition result
;
37647 PyObject
* obj0
= 0 ;
37648 char *kwnames
[] = {
37649 (char *) "self", NULL
37652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
37653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37657 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
37659 wxPyEndAllowThreads(__tstate
);
37660 if (PyErr_Occurred()) SWIG_fail
;
37663 wxGBPosition
* resultptr
;
37664 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37665 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37673 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37674 PyObject
*resultobj
;
37675 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37677 PyObject
* obj0
= 0 ;
37678 char *kwnames
[] = {
37679 (char *) "self", NULL
37682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
37683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37687 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
37689 wxPyEndAllowThreads(__tstate
);
37690 if (PyErr_Occurred()) SWIG_fail
;
37693 wxGBSpan
* resultptr
;
37694 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37695 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
37703 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37704 PyObject
*resultobj
;
37705 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37706 wxGBPosition
*arg2
= 0 ;
37708 wxGBPosition temp2
;
37709 PyObject
* obj0
= 0 ;
37710 PyObject
* obj1
= 0 ;
37711 char *kwnames
[] = {
37712 (char *) "self",(char *) "pos", NULL
37715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
37716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37720 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37724 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
37726 wxPyEndAllowThreads(__tstate
);
37727 if (PyErr_Occurred()) SWIG_fail
;
37730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37738 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37739 PyObject
*resultobj
;
37740 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37741 wxGBSpan
*arg2
= 0 ;
37744 PyObject
* obj0
= 0 ;
37745 PyObject
* obj1
= 0 ;
37746 char *kwnames
[] = {
37747 (char *) "self",(char *) "span", NULL
37750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37755 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37759 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
37761 wxPyEndAllowThreads(__tstate
);
37762 if (PyErr_Occurred()) SWIG_fail
;
37765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37773 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37774 PyObject
*resultobj
;
37775 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37776 wxGBSizerItem
*arg2
= 0 ;
37778 PyObject
* obj0
= 0 ;
37779 PyObject
* obj1
= 0 ;
37780 char *kwnames
[] = {
37781 (char *) "self",(char *) "other", NULL
37784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
37785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37787 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
37788 SWIG_POINTER_EXCEPTION
| 0)) == -1)
37790 if (arg2
== NULL
) {
37791 PyErr_SetString(PyExc_TypeError
,"null reference");
37795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37796 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
37798 wxPyEndAllowThreads(__tstate
);
37799 if (PyErr_Occurred()) SWIG_fail
;
37802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37810 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37811 PyObject
*resultobj
;
37812 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37813 wxGBPosition
*arg2
= 0 ;
37814 wxGBSpan
*arg3
= 0 ;
37816 wxGBPosition temp2
;
37818 PyObject
* obj0
= 0 ;
37819 PyObject
* obj1
= 0 ;
37820 PyObject
* obj2
= 0 ;
37821 char *kwnames
[] = {
37822 (char *) "self",(char *) "pos",(char *) "span", NULL
37825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37830 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37834 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37838 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
37840 wxPyEndAllowThreads(__tstate
);
37841 if (PyErr_Occurred()) SWIG_fail
;
37844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37852 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37853 PyObject
*resultobj
;
37854 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37855 wxGBPosition result
;
37856 PyObject
* obj0
= 0 ;
37857 char *kwnames
[] = {
37858 (char *) "self", NULL
37861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
37862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37866 result
= wxGBSizerItem_GetEndPos(arg1
);
37868 wxPyEndAllowThreads(__tstate
);
37869 if (PyErr_Occurred()) SWIG_fail
;
37872 wxGBPosition
* resultptr
;
37873 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37874 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37882 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37883 PyObject
*resultobj
;
37884 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37885 wxGridBagSizer
*result
;
37886 PyObject
* obj0
= 0 ;
37887 char *kwnames
[] = {
37888 (char *) "self", NULL
37891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
37892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37896 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
37898 wxPyEndAllowThreads(__tstate
);
37899 if (PyErr_Occurred()) SWIG_fail
;
37901 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
37908 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37909 PyObject
*resultobj
;
37910 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37911 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
37912 PyObject
* obj0
= 0 ;
37913 PyObject
* obj1
= 0 ;
37914 char *kwnames
[] = {
37915 (char *) "self",(char *) "sizer", NULL
37918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
37919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37921 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
37922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37925 (arg1
)->SetGBSizer(arg2
);
37927 wxPyEndAllowThreads(__tstate
);
37928 if (PyErr_Occurred()) SWIG_fail
;
37930 Py_INCREF(Py_None
); resultobj
= Py_None
;
37937 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
37939 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37940 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
37942 return Py_BuildValue((char *)"");
37944 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37945 PyObject
*resultobj
;
37946 int arg1
= (int) 0 ;
37947 int arg2
= (int) 0 ;
37948 wxGridBagSizer
*result
;
37949 PyObject
* obj0
= 0 ;
37950 PyObject
* obj1
= 0 ;
37951 char *kwnames
[] = {
37952 (char *) "vgap",(char *) "hgap", NULL
37955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
37957 arg1
= (int)SWIG_As_int(obj0
);
37958 if (PyErr_Occurred()) SWIG_fail
;
37961 arg2
= (int)SWIG_As_int(obj1
);
37962 if (PyErr_Occurred()) SWIG_fail
;
37965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37966 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
37968 wxPyEndAllowThreads(__tstate
);
37969 if (PyErr_Occurred()) SWIG_fail
;
37971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
37978 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37979 PyObject
*resultobj
;
37980 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37981 PyObject
*arg2
= (PyObject
*) 0 ;
37982 wxGBPosition
*arg3
= 0 ;
37983 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
37984 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
37985 int arg5
= (int) 0 ;
37986 int arg6
= (int) 0 ;
37987 PyObject
*arg7
= (PyObject
*) NULL
;
37989 wxGBPosition temp3
;
37991 PyObject
* obj0
= 0 ;
37992 PyObject
* obj1
= 0 ;
37993 PyObject
* obj2
= 0 ;
37994 PyObject
* obj3
= 0 ;
37995 PyObject
* obj4
= 0 ;
37996 PyObject
* obj5
= 0 ;
37997 PyObject
* obj6
= 0 ;
37998 char *kwnames
[] = {
37999 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38008 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38013 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
38017 arg5
= (int)SWIG_As_int(obj4
);
38018 if (PyErr_Occurred()) SWIG_fail
;
38021 arg6
= (int)SWIG_As_int(obj5
);
38022 if (PyErr_Occurred()) SWIG_fail
;
38028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38029 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
38031 wxPyEndAllowThreads(__tstate
);
38032 if (PyErr_Occurred()) SWIG_fail
;
38035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38043 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38044 PyObject
*resultobj
;
38045 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38046 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
38048 PyObject
* obj0
= 0 ;
38049 PyObject
* obj1
= 0 ;
38050 char *kwnames
[] = {
38051 (char *) "self",(char *) "item", NULL
38054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
38055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38057 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38061 result
= (bool)(arg1
)->Add(arg2
);
38063 wxPyEndAllowThreads(__tstate
);
38064 if (PyErr_Occurred()) SWIG_fail
;
38067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38075 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38076 PyObject
*resultobj
;
38077 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38079 PyObject
* obj0
= 0 ;
38080 char *kwnames
[] = {
38081 (char *) "self", NULL
38084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
38085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38089 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
38091 wxPyEndAllowThreads(__tstate
);
38092 if (PyErr_Occurred()) SWIG_fail
;
38095 wxSize
* resultptr
;
38096 resultptr
= new wxSize((wxSize
&) result
);
38097 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38105 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38106 PyObject
*resultobj
;
38107 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38110 PyObject
* obj0
= 0 ;
38111 PyObject
* obj1
= 0 ;
38112 char *kwnames
[] = {
38113 (char *) "self",(char *) "sz", NULL
38116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38121 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38125 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
38127 wxPyEndAllowThreads(__tstate
);
38128 if (PyErr_Occurred()) SWIG_fail
;
38130 Py_INCREF(Py_None
); resultobj
= Py_None
;
38137 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
38138 PyObject
*resultobj
;
38139 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38140 wxWindow
*arg2
= (wxWindow
*) 0 ;
38141 wxGBPosition result
;
38142 PyObject
* obj0
= 0 ;
38143 PyObject
* obj1
= 0 ;
38145 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38148 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38152 result
= (arg1
)->GetItemPosition(arg2
);
38154 wxPyEndAllowThreads(__tstate
);
38155 if (PyErr_Occurred()) SWIG_fail
;
38158 wxGBPosition
* resultptr
;
38159 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38160 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38168 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
38169 PyObject
*resultobj
;
38170 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38171 wxSizer
*arg2
= (wxSizer
*) 0 ;
38172 wxGBPosition result
;
38173 PyObject
* obj0
= 0 ;
38174 PyObject
* obj1
= 0 ;
38176 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38179 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38183 result
= (arg1
)->GetItemPosition(arg2
);
38185 wxPyEndAllowThreads(__tstate
);
38186 if (PyErr_Occurred()) SWIG_fail
;
38189 wxGBPosition
* resultptr
;
38190 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38191 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38199 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
38200 PyObject
*resultobj
;
38201 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38203 wxGBPosition result
;
38204 PyObject
* obj0
= 0 ;
38205 PyObject
* obj1
= 0 ;
38207 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38210 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
38211 if (PyErr_Occurred()) SWIG_fail
;
38213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38214 result
= (arg1
)->GetItemPosition(arg2
);
38216 wxPyEndAllowThreads(__tstate
);
38217 if (PyErr_Occurred()) SWIG_fail
;
38220 wxGBPosition
* resultptr
;
38221 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38222 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38230 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
38235 argc
= PyObject_Length(args
);
38236 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38237 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38243 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38253 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38261 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
38269 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38279 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38287 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
38295 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38303 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
38305 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
38310 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
38315 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
38316 PyObject
*resultobj
;
38317 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38318 wxWindow
*arg2
= (wxWindow
*) 0 ;
38319 wxGBPosition
*arg3
= 0 ;
38321 wxGBPosition temp3
;
38322 PyObject
* obj0
= 0 ;
38323 PyObject
* obj1
= 0 ;
38324 PyObject
* obj2
= 0 ;
38326 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38329 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38333 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38337 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38339 wxPyEndAllowThreads(__tstate
);
38340 if (PyErr_Occurred()) SWIG_fail
;
38343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38351 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
38352 PyObject
*resultobj
;
38353 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38354 wxSizer
*arg2
= (wxSizer
*) 0 ;
38355 wxGBPosition
*arg3
= 0 ;
38357 wxGBPosition temp3
;
38358 PyObject
* obj0
= 0 ;
38359 PyObject
* obj1
= 0 ;
38360 PyObject
* obj2
= 0 ;
38362 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38365 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38369 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38373 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38375 wxPyEndAllowThreads(__tstate
);
38376 if (PyErr_Occurred()) SWIG_fail
;
38379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38387 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
38388 PyObject
*resultobj
;
38389 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38391 wxGBPosition
*arg3
= 0 ;
38393 wxGBPosition temp3
;
38394 PyObject
* obj0
= 0 ;
38395 PyObject
* obj1
= 0 ;
38396 PyObject
* obj2
= 0 ;
38398 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38401 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
38402 if (PyErr_Occurred()) SWIG_fail
;
38405 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38409 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38411 wxPyEndAllowThreads(__tstate
);
38412 if (PyErr_Occurred()) SWIG_fail
;
38415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38423 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
38428 argc
= PyObject_Length(args
);
38429 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38430 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38436 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38446 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38455 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38458 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
38467 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38477 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38486 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38489 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
38498 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38506 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
38509 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38512 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
38518 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
38523 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
38524 PyObject
*resultobj
;
38525 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38526 wxWindow
*arg2
= (wxWindow
*) 0 ;
38528 PyObject
* obj0
= 0 ;
38529 PyObject
* obj1
= 0 ;
38531 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38534 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38538 result
= (arg1
)->GetItemSpan(arg2
);
38540 wxPyEndAllowThreads(__tstate
);
38541 if (PyErr_Occurred()) SWIG_fail
;
38544 wxGBSpan
* resultptr
;
38545 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38546 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38554 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
38555 PyObject
*resultobj
;
38556 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38557 wxSizer
*arg2
= (wxSizer
*) 0 ;
38559 PyObject
* obj0
= 0 ;
38560 PyObject
* obj1
= 0 ;
38562 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38565 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38569 result
= (arg1
)->GetItemSpan(arg2
);
38571 wxPyEndAllowThreads(__tstate
);
38572 if (PyErr_Occurred()) SWIG_fail
;
38575 wxGBSpan
* resultptr
;
38576 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38577 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38585 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
38586 PyObject
*resultobj
;
38587 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38590 PyObject
* obj0
= 0 ;
38591 PyObject
* obj1
= 0 ;
38593 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38596 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
38597 if (PyErr_Occurred()) SWIG_fail
;
38599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38600 result
= (arg1
)->GetItemSpan(arg2
);
38602 wxPyEndAllowThreads(__tstate
);
38603 if (PyErr_Occurred()) SWIG_fail
;
38606 wxGBSpan
* resultptr
;
38607 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38608 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38616 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
38621 argc
= PyObject_Length(args
);
38622 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38623 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38629 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38639 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38647 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
38655 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38665 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38673 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
38681 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38689 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
38691 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
38696 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
38701 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
38702 PyObject
*resultobj
;
38703 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38704 wxWindow
*arg2
= (wxWindow
*) 0 ;
38705 wxGBSpan
*arg3
= 0 ;
38708 PyObject
* obj0
= 0 ;
38709 PyObject
* obj1
= 0 ;
38710 PyObject
* obj2
= 0 ;
38712 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38715 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38719 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38723 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38725 wxPyEndAllowThreads(__tstate
);
38726 if (PyErr_Occurred()) SWIG_fail
;
38729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38737 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
38738 PyObject
*resultobj
;
38739 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38740 wxSizer
*arg2
= (wxSizer
*) 0 ;
38741 wxGBSpan
*arg3
= 0 ;
38744 PyObject
* obj0
= 0 ;
38745 PyObject
* obj1
= 0 ;
38746 PyObject
* obj2
= 0 ;
38748 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38751 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38755 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38759 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38761 wxPyEndAllowThreads(__tstate
);
38762 if (PyErr_Occurred()) SWIG_fail
;
38765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38773 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
38774 PyObject
*resultobj
;
38775 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38777 wxGBSpan
*arg3
= 0 ;
38780 PyObject
* obj0
= 0 ;
38781 PyObject
* obj1
= 0 ;
38782 PyObject
* obj2
= 0 ;
38784 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38787 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
38788 if (PyErr_Occurred()) SWIG_fail
;
38791 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38795 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38797 wxPyEndAllowThreads(__tstate
);
38798 if (PyErr_Occurred()) SWIG_fail
;
38801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38809 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
38814 argc
= PyObject_Length(args
);
38815 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38816 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38822 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38832 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38841 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38844 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
38853 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38863 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38872 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38875 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
38884 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38892 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
38895 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38898 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
38904 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
38909 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
38910 PyObject
*resultobj
;
38911 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38912 wxWindow
*arg2
= (wxWindow
*) 0 ;
38913 wxGBSizerItem
*result
;
38914 PyObject
* obj0
= 0 ;
38915 PyObject
* obj1
= 0 ;
38917 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
38918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38920 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38924 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
38926 wxPyEndAllowThreads(__tstate
);
38927 if (PyErr_Occurred()) SWIG_fail
;
38929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38936 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
38937 PyObject
*resultobj
;
38938 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38939 wxSizer
*arg2
= (wxSizer
*) 0 ;
38940 wxGBSizerItem
*result
;
38941 PyObject
* obj0
= 0 ;
38942 PyObject
* obj1
= 0 ;
38944 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
38945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38947 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38951 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
38953 wxPyEndAllowThreads(__tstate
);
38954 if (PyErr_Occurred()) SWIG_fail
;
38956 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38963 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
38968 argc
= PyObject_Length(args
);
38969 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38970 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38976 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38986 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38994 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
39002 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39012 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39020 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
39025 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
39030 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39031 PyObject
*resultobj
;
39032 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39033 wxGBPosition
*arg2
= 0 ;
39034 wxGBSizerItem
*result
;
39035 wxGBPosition temp2
;
39036 PyObject
* obj0
= 0 ;
39037 PyObject
* obj1
= 0 ;
39038 char *kwnames
[] = {
39039 (char *) "self",(char *) "pos", NULL
39042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
39043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39047 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39051 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
39053 wxPyEndAllowThreads(__tstate
);
39054 if (PyErr_Occurred()) SWIG_fail
;
39056 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39063 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39064 PyObject
*resultobj
;
39065 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39066 wxPoint
*arg2
= 0 ;
39067 wxGBSizerItem
*result
;
39069 PyObject
* obj0
= 0 ;
39070 PyObject
* obj1
= 0 ;
39071 char *kwnames
[] = {
39072 (char *) "self",(char *) "pt", NULL
39075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
39076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39080 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39084 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
39086 wxPyEndAllowThreads(__tstate
);
39087 if (PyErr_Occurred()) SWIG_fail
;
39089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39096 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39097 PyObject
*resultobj
;
39098 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39099 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
39100 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
39102 PyObject
* obj0
= 0 ;
39103 PyObject
* obj1
= 0 ;
39104 PyObject
* obj2
= 0 ;
39105 char *kwnames
[] = {
39106 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
39109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39112 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
39113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39115 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
39116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39120 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
39122 wxPyEndAllowThreads(__tstate
);
39123 if (PyErr_Occurred()) SWIG_fail
;
39126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39134 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39135 PyObject
*resultobj
;
39136 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39137 wxGBPosition
*arg2
= 0 ;
39138 wxGBSpan
*arg3
= 0 ;
39139 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
39141 wxGBPosition temp2
;
39143 PyObject
* obj0
= 0 ;
39144 PyObject
* obj1
= 0 ;
39145 PyObject
* obj2
= 0 ;
39146 PyObject
* obj3
= 0 ;
39147 char *kwnames
[] = {
39148 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
39151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39156 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39160 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39163 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
39164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39168 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
39170 wxPyEndAllowThreads(__tstate
);
39171 if (PyErr_Occurred()) SWIG_fail
;
39174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39182 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
39184 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39185 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
39187 return Py_BuildValue((char *)"");
39189 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39190 PyObject
*resultobj
;
39191 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39193 wxWindow
*arg3
= (wxWindow
*) 0 ;
39195 int arg5
= (int) 0 ;
39196 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
39197 PyObject
* obj0
= 0 ;
39198 PyObject
* obj1
= 0 ;
39199 PyObject
* obj2
= 0 ;
39200 PyObject
* obj3
= 0 ;
39201 PyObject
* obj4
= 0 ;
39202 PyObject
* obj5
= 0 ;
39203 char *kwnames
[] = {
39204 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
39207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39210 arg2
= (int)SWIG_As_int(obj1
);
39211 if (PyErr_Occurred()) SWIG_fail
;
39212 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39214 arg4
= (int)SWIG_As_int(obj3
);
39215 if (PyErr_Occurred()) SWIG_fail
;
39217 arg5
= (int)SWIG_As_int(obj4
);
39218 if (PyErr_Occurred()) SWIG_fail
;
39221 arg6
= (int)SWIG_As_int(obj5
);
39222 if (PyErr_Occurred()) SWIG_fail
;
39225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39226 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
39228 wxPyEndAllowThreads(__tstate
);
39229 if (PyErr_Occurred()) SWIG_fail
;
39231 Py_INCREF(Py_None
); resultobj
= Py_None
;
39238 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39239 PyObject
*resultobj
;
39240 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39241 wxWindow
*arg2
= (wxWindow
*) 0 ;
39242 int arg3
= (int) 0 ;
39243 PyObject
* obj0
= 0 ;
39244 PyObject
* obj1
= 0 ;
39245 PyObject
* obj2
= 0 ;
39246 char *kwnames
[] = {
39247 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39253 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39256 arg3
= (int)SWIG_As_int(obj2
);
39257 if (PyErr_Occurred()) SWIG_fail
;
39260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39261 (arg1
)->LeftOf(arg2
,arg3
);
39263 wxPyEndAllowThreads(__tstate
);
39264 if (PyErr_Occurred()) SWIG_fail
;
39266 Py_INCREF(Py_None
); resultobj
= Py_None
;
39273 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39274 PyObject
*resultobj
;
39275 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39276 wxWindow
*arg2
= (wxWindow
*) 0 ;
39277 int arg3
= (int) 0 ;
39278 PyObject
* obj0
= 0 ;
39279 PyObject
* obj1
= 0 ;
39280 PyObject
* obj2
= 0 ;
39281 char *kwnames
[] = {
39282 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39288 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39291 arg3
= (int)SWIG_As_int(obj2
);
39292 if (PyErr_Occurred()) SWIG_fail
;
39295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39296 (arg1
)->RightOf(arg2
,arg3
);
39298 wxPyEndAllowThreads(__tstate
);
39299 if (PyErr_Occurred()) SWIG_fail
;
39301 Py_INCREF(Py_None
); resultobj
= Py_None
;
39308 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39309 PyObject
*resultobj
;
39310 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39311 wxWindow
*arg2
= (wxWindow
*) 0 ;
39312 int arg3
= (int) 0 ;
39313 PyObject
* obj0
= 0 ;
39314 PyObject
* obj1
= 0 ;
39315 PyObject
* obj2
= 0 ;
39316 char *kwnames
[] = {
39317 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39323 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39326 arg3
= (int)SWIG_As_int(obj2
);
39327 if (PyErr_Occurred()) SWIG_fail
;
39330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39331 (arg1
)->Above(arg2
,arg3
);
39333 wxPyEndAllowThreads(__tstate
);
39334 if (PyErr_Occurred()) SWIG_fail
;
39336 Py_INCREF(Py_None
); resultobj
= Py_None
;
39343 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39344 PyObject
*resultobj
;
39345 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39346 wxWindow
*arg2
= (wxWindow
*) 0 ;
39347 int arg3
= (int) 0 ;
39348 PyObject
* obj0
= 0 ;
39349 PyObject
* obj1
= 0 ;
39350 PyObject
* obj2
= 0 ;
39351 char *kwnames
[] = {
39352 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39358 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39361 arg3
= (int)SWIG_As_int(obj2
);
39362 if (PyErr_Occurred()) SWIG_fail
;
39365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39366 (arg1
)->Below(arg2
,arg3
);
39368 wxPyEndAllowThreads(__tstate
);
39369 if (PyErr_Occurred()) SWIG_fail
;
39371 Py_INCREF(Py_None
); resultobj
= Py_None
;
39378 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39379 PyObject
*resultobj
;
39380 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39381 wxWindow
*arg2
= (wxWindow
*) 0 ;
39383 int arg4
= (int) 0 ;
39384 PyObject
* obj0
= 0 ;
39385 PyObject
* obj1
= 0 ;
39386 PyObject
* obj2
= 0 ;
39387 PyObject
* obj3
= 0 ;
39388 char *kwnames
[] = {
39389 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
39392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39395 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39397 arg3
= (int)SWIG_As_int(obj2
);
39398 if (PyErr_Occurred()) SWIG_fail
;
39400 arg4
= (int)SWIG_As_int(obj3
);
39401 if (PyErr_Occurred()) SWIG_fail
;
39404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39405 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
39407 wxPyEndAllowThreads(__tstate
);
39408 if (PyErr_Occurred()) SWIG_fail
;
39410 Py_INCREF(Py_None
); resultobj
= Py_None
;
39417 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39418 PyObject
*resultobj
;
39419 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39420 wxWindow
*arg2
= (wxWindow
*) 0 ;
39423 PyObject
* obj0
= 0 ;
39424 PyObject
* obj1
= 0 ;
39425 PyObject
* obj2
= 0 ;
39426 PyObject
* obj3
= 0 ;
39427 char *kwnames
[] = {
39428 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
39431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39434 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39436 arg3
= (int)SWIG_As_int(obj2
);
39437 if (PyErr_Occurred()) SWIG_fail
;
39438 arg4
= (int)SWIG_As_int(obj3
);
39439 if (PyErr_Occurred()) SWIG_fail
;
39441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39442 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
39444 wxPyEndAllowThreads(__tstate
);
39445 if (PyErr_Occurred()) SWIG_fail
;
39447 Py_INCREF(Py_None
); resultobj
= Py_None
;
39454 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39455 PyObject
*resultobj
;
39456 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39458 PyObject
* obj0
= 0 ;
39459 PyObject
* obj1
= 0 ;
39460 char *kwnames
[] = {
39461 (char *) "self",(char *) "val", NULL
39464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
39465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39467 arg2
= (int)SWIG_As_int(obj1
);
39468 if (PyErr_Occurred()) SWIG_fail
;
39470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39471 (arg1
)->Absolute(arg2
);
39473 wxPyEndAllowThreads(__tstate
);
39474 if (PyErr_Occurred()) SWIG_fail
;
39476 Py_INCREF(Py_None
); resultobj
= Py_None
;
39483 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39484 PyObject
*resultobj
;
39485 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39486 PyObject
* obj0
= 0 ;
39487 char *kwnames
[] = {
39488 (char *) "self", NULL
39491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
39492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39496 (arg1
)->Unconstrained();
39498 wxPyEndAllowThreads(__tstate
);
39499 if (PyErr_Occurred()) SWIG_fail
;
39501 Py_INCREF(Py_None
); resultobj
= Py_None
;
39508 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39509 PyObject
*resultobj
;
39510 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39511 PyObject
* obj0
= 0 ;
39512 char *kwnames
[] = {
39513 (char *) "self", NULL
39516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
39517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39523 wxPyEndAllowThreads(__tstate
);
39524 if (PyErr_Occurred()) SWIG_fail
;
39526 Py_INCREF(Py_None
); resultobj
= Py_None
;
39533 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39534 PyObject
*resultobj
;
39535 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39537 PyObject
* obj0
= 0 ;
39538 char *kwnames
[] = {
39539 (char *) "self", NULL
39542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
39543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39547 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
39549 wxPyEndAllowThreads(__tstate
);
39550 if (PyErr_Occurred()) SWIG_fail
;
39553 resultobj
= wxPyMake_wxObject(result
, 0);
39561 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39562 PyObject
*resultobj
;
39563 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39565 PyObject
* obj0
= 0 ;
39566 char *kwnames
[] = {
39567 (char *) "self", NULL
39570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
39571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39575 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
39577 wxPyEndAllowThreads(__tstate
);
39578 if (PyErr_Occurred()) SWIG_fail
;
39580 resultobj
= SWIG_From_int((int)result
);
39587 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39588 PyObject
*resultobj
;
39589 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39591 PyObject
* obj0
= 0 ;
39592 PyObject
* obj1
= 0 ;
39593 char *kwnames
[] = {
39594 (char *) "self",(char *) "which", NULL
39597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
39598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39600 arg2
= (int)SWIG_As_int(obj1
);
39601 if (PyErr_Occurred()) SWIG_fail
;
39603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39604 (arg1
)->SetEdge((wxEdge
)arg2
);
39606 wxPyEndAllowThreads(__tstate
);
39607 if (PyErr_Occurred()) SWIG_fail
;
39609 Py_INCREF(Py_None
); resultobj
= Py_None
;
39616 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39617 PyObject
*resultobj
;
39618 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39620 PyObject
* obj0
= 0 ;
39621 PyObject
* obj1
= 0 ;
39622 char *kwnames
[] = {
39623 (char *) "self",(char *) "v", NULL
39626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
39627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39629 arg2
= (int)SWIG_As_int(obj1
);
39630 if (PyErr_Occurred()) SWIG_fail
;
39632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39633 (arg1
)->SetValue(arg2
);
39635 wxPyEndAllowThreads(__tstate
);
39636 if (PyErr_Occurred()) SWIG_fail
;
39638 Py_INCREF(Py_None
); resultobj
= Py_None
;
39645 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39646 PyObject
*resultobj
;
39647 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39649 PyObject
* obj0
= 0 ;
39650 char *kwnames
[] = {
39651 (char *) "self", NULL
39654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
39655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39659 result
= (int)(arg1
)->GetMargin();
39661 wxPyEndAllowThreads(__tstate
);
39662 if (PyErr_Occurred()) SWIG_fail
;
39664 resultobj
= SWIG_From_int((int)result
);
39671 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39672 PyObject
*resultobj
;
39673 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39675 PyObject
* obj0
= 0 ;
39676 PyObject
* obj1
= 0 ;
39677 char *kwnames
[] = {
39678 (char *) "self",(char *) "m", NULL
39681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
39682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39684 arg2
= (int)SWIG_As_int(obj1
);
39685 if (PyErr_Occurred()) SWIG_fail
;
39687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39688 (arg1
)->SetMargin(arg2
);
39690 wxPyEndAllowThreads(__tstate
);
39691 if (PyErr_Occurred()) SWIG_fail
;
39693 Py_INCREF(Py_None
); resultobj
= Py_None
;
39700 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39701 PyObject
*resultobj
;
39702 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39704 PyObject
* obj0
= 0 ;
39705 char *kwnames
[] = {
39706 (char *) "self", NULL
39709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
39710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39714 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
39716 wxPyEndAllowThreads(__tstate
);
39717 if (PyErr_Occurred()) SWIG_fail
;
39719 resultobj
= SWIG_From_int((int)result
);
39726 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39727 PyObject
*resultobj
;
39728 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39730 PyObject
* obj0
= 0 ;
39731 char *kwnames
[] = {
39732 (char *) "self", NULL
39735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
39736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39740 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
39742 wxPyEndAllowThreads(__tstate
);
39743 if (PyErr_Occurred()) SWIG_fail
;
39745 resultobj
= SWIG_From_int((int)result
);
39752 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39753 PyObject
*resultobj
;
39754 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39756 PyObject
* obj0
= 0 ;
39757 char *kwnames
[] = {
39758 (char *) "self", NULL
39761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
39762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39766 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
39768 wxPyEndAllowThreads(__tstate
);
39769 if (PyErr_Occurred()) SWIG_fail
;
39771 resultobj
= SWIG_From_int((int)result
);
39778 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39779 PyObject
*resultobj
;
39780 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39782 PyObject
* obj0
= 0 ;
39783 char *kwnames
[] = {
39784 (char *) "self", NULL
39787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
39788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39792 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
39794 wxPyEndAllowThreads(__tstate
);
39795 if (PyErr_Occurred()) SWIG_fail
;
39798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39806 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39807 PyObject
*resultobj
;
39808 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39810 PyObject
* obj0
= 0 ;
39811 PyObject
* obj1
= 0 ;
39812 char *kwnames
[] = {
39813 (char *) "self",(char *) "d", NULL
39816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
39817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39819 arg2
= (bool)SWIG_As_bool(obj1
);
39820 if (PyErr_Occurred()) SWIG_fail
;
39822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39823 (arg1
)->SetDone(arg2
);
39825 wxPyEndAllowThreads(__tstate
);
39826 if (PyErr_Occurred()) SWIG_fail
;
39828 Py_INCREF(Py_None
); resultobj
= Py_None
;
39835 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39836 PyObject
*resultobj
;
39837 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39839 PyObject
* obj0
= 0 ;
39840 char *kwnames
[] = {
39841 (char *) "self", NULL
39844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
39845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39849 result
= (int)(arg1
)->GetRelationship();
39851 wxPyEndAllowThreads(__tstate
);
39852 if (PyErr_Occurred()) SWIG_fail
;
39854 resultobj
= SWIG_From_int((int)result
);
39861 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39862 PyObject
*resultobj
;
39863 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39865 PyObject
* obj0
= 0 ;
39866 PyObject
* obj1
= 0 ;
39867 char *kwnames
[] = {
39868 (char *) "self",(char *) "r", NULL
39871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
39872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39874 arg2
= (int)SWIG_As_int(obj1
);
39875 if (PyErr_Occurred()) SWIG_fail
;
39877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39878 (arg1
)->SetRelationship((wxRelationship
)arg2
);
39880 wxPyEndAllowThreads(__tstate
);
39881 if (PyErr_Occurred()) SWIG_fail
;
39883 Py_INCREF(Py_None
); resultobj
= Py_None
;
39890 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39891 PyObject
*resultobj
;
39892 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39893 wxWindow
*arg2
= (wxWindow
*) 0 ;
39895 PyObject
* obj0
= 0 ;
39896 PyObject
* obj1
= 0 ;
39897 char *kwnames
[] = {
39898 (char *) "self",(char *) "otherW", NULL
39901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
39902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39904 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39908 result
= (bool)(arg1
)->ResetIfWin(arg2
);
39910 wxPyEndAllowThreads(__tstate
);
39911 if (PyErr_Occurred()) SWIG_fail
;
39914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39922 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39923 PyObject
*resultobj
;
39924 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39925 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
39926 wxWindow
*arg3
= (wxWindow
*) 0 ;
39928 PyObject
* obj0
= 0 ;
39929 PyObject
* obj1
= 0 ;
39930 PyObject
* obj2
= 0 ;
39931 char *kwnames
[] = {
39932 (char *) "self",(char *) "constraints",(char *) "win", NULL
39935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39938 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
39939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39940 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39944 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
39946 wxPyEndAllowThreads(__tstate
);
39947 if (PyErr_Occurred()) SWIG_fail
;
39950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39958 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39959 PyObject
*resultobj
;
39960 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39962 wxWindow
*arg3
= (wxWindow
*) 0 ;
39963 wxWindow
*arg4
= (wxWindow
*) 0 ;
39965 PyObject
* obj0
= 0 ;
39966 PyObject
* obj1
= 0 ;
39967 PyObject
* obj2
= 0 ;
39968 PyObject
* obj3
= 0 ;
39969 char *kwnames
[] = {
39970 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
39973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39976 arg2
= (int)SWIG_As_int(obj1
);
39977 if (PyErr_Occurred()) SWIG_fail
;
39978 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39980 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
39981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39984 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
39986 wxPyEndAllowThreads(__tstate
);
39987 if (PyErr_Occurred()) SWIG_fail
;
39989 resultobj
= SWIG_From_int((int)result
);
39996 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
39998 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39999 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
40001 return Py_BuildValue((char *)"");
40003 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40004 PyObject
*resultobj
;
40005 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40006 wxIndividualLayoutConstraint
*result
;
40007 PyObject
* obj0
= 0 ;
40008 char *kwnames
[] = {
40009 (char *) "self", NULL
40012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
40013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40015 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
40017 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40024 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40025 PyObject
*resultobj
;
40026 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40027 wxIndividualLayoutConstraint
*result
;
40028 PyObject
* obj0
= 0 ;
40029 char *kwnames
[] = {
40030 (char *) "self", NULL
40033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
40034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40036 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
40038 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40045 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40046 PyObject
*resultobj
;
40047 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40048 wxIndividualLayoutConstraint
*result
;
40049 PyObject
* obj0
= 0 ;
40050 char *kwnames
[] = {
40051 (char *) "self", NULL
40054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
40055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40057 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
40059 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40066 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40067 PyObject
*resultobj
;
40068 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40069 wxIndividualLayoutConstraint
*result
;
40070 PyObject
* obj0
= 0 ;
40071 char *kwnames
[] = {
40072 (char *) "self", NULL
40075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
40076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40078 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
40080 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40087 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40088 PyObject
*resultobj
;
40089 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40090 wxIndividualLayoutConstraint
*result
;
40091 PyObject
* obj0
= 0 ;
40092 char *kwnames
[] = {
40093 (char *) "self", NULL
40096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
40097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40099 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
40101 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40108 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40109 PyObject
*resultobj
;
40110 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40111 wxIndividualLayoutConstraint
*result
;
40112 PyObject
* obj0
= 0 ;
40113 char *kwnames
[] = {
40114 (char *) "self", NULL
40117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
40118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40120 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
40122 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40129 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40130 PyObject
*resultobj
;
40131 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40132 wxIndividualLayoutConstraint
*result
;
40133 PyObject
* obj0
= 0 ;
40134 char *kwnames
[] = {
40135 (char *) "self", NULL
40138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
40139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40141 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
40143 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40150 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40151 PyObject
*resultobj
;
40152 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40153 wxIndividualLayoutConstraint
*result
;
40154 PyObject
* obj0
= 0 ;
40155 char *kwnames
[] = {
40156 (char *) "self", NULL
40159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
40160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40162 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
40164 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40171 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40172 PyObject
*resultobj
;
40173 wxLayoutConstraints
*result
;
40174 char *kwnames
[] = {
40178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
40180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40181 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
40183 wxPyEndAllowThreads(__tstate
);
40184 if (PyErr_Occurred()) SWIG_fail
;
40186 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
40193 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40194 PyObject
*resultobj
;
40195 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40196 wxWindow
*arg2
= (wxWindow
*) 0 ;
40197 int *arg3
= (int *) 0 ;
40201 PyObject
* obj0
= 0 ;
40202 PyObject
* obj1
= 0 ;
40203 char *kwnames
[] = {
40204 (char *) "self",(char *) "win", NULL
40207 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
40208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
40209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40211 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40215 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
40217 wxPyEndAllowThreads(__tstate
);
40218 if (PyErr_Occurred()) SWIG_fail
;
40221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40223 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
40224 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
40231 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40232 PyObject
*resultobj
;
40233 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40235 PyObject
* obj0
= 0 ;
40236 char *kwnames
[] = {
40237 (char *) "self", NULL
40240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
40241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40245 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
40247 wxPyEndAllowThreads(__tstate
);
40248 if (PyErr_Occurred()) SWIG_fail
;
40251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40259 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
40261 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40262 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
40264 return Py_BuildValue((char *)"");
40266 static PyMethodDef SwigMethods
[] = {
40267 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
40268 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
40269 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40270 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40271 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
40272 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40273 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40274 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40275 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40276 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40277 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40278 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40279 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40280 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40281 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40282 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40283 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40284 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40285 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40286 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40287 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40288 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40289 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40290 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40291 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40292 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
40293 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40294 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40295 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40296 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40297 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40298 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40299 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40300 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40301 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40302 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40303 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40304 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40305 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
40306 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40307 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40308 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40309 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40310 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40311 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40312 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40313 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40314 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40315 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40316 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40317 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40318 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40319 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40320 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
40321 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40322 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40323 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40324 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40325 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40326 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40327 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40328 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40329 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40330 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40331 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40332 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40333 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40334 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40335 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40336 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40337 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40338 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40339 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40340 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40341 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40342 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40343 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40344 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40345 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40346 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40347 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40348 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40349 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40350 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40351 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40352 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40353 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40354 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40355 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40356 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40357 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40358 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40359 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40360 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40361 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40362 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40363 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40364 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40365 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40366 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40367 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40368 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40369 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40370 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40371 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
40372 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40373 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40374 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40375 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40376 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40377 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40378 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40379 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40380 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40381 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40382 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40383 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40384 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40385 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40386 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40387 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40388 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40389 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40390 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40391 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40392 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40393 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40394 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40395 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40396 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40397 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40398 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40399 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
40400 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40401 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40402 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40403 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40404 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40405 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40406 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40407 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40408 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40409 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40410 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40411 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40412 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40413 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40414 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40415 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40416 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40417 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
40418 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40419 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
40420 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40421 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40422 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40423 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40424 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40425 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40426 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40427 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
40428 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
40429 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40430 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40431 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40432 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40433 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40434 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40435 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40436 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40437 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40438 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40439 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40440 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
40441 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40442 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40443 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40444 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40445 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40446 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40447 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40448 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40449 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40450 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40451 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
40452 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40453 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40454 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40455 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40456 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
40457 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40458 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40459 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40460 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40461 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40462 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
40463 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40464 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40465 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40466 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40467 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40468 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40469 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40470 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40471 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40472 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
40473 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40474 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40475 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40476 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40477 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40478 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40479 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40480 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40481 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40482 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
40483 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40484 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40485 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40486 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
40487 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40488 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40489 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40490 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40491 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40492 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40493 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40494 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40495 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40496 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40497 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40498 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40499 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40500 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40501 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40502 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40503 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40504 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40505 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40506 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40507 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40508 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40509 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40510 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40511 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40512 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40513 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40514 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40515 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40516 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40517 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40518 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40519 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40520 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40521 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40522 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40523 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40524 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40525 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40526 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40527 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40528 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40529 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40530 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40531 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40532 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40533 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40534 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40535 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40536 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40537 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40538 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40539 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40540 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40541 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40542 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40543 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40544 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40545 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40546 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40547 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40548 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40549 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40550 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40551 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40552 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40553 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40554 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40555 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40556 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40557 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40558 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
40559 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40560 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
40561 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40562 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
40563 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40564 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
40565 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40566 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
40567 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40568 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
40569 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40570 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
40571 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40572 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
40573 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40574 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
40575 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40576 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
40577 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40578 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
40579 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40580 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
40581 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40582 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
40583 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40584 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40585 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40586 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40587 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40588 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40589 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40590 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40591 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40592 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40593 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40594 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40595 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40596 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
40597 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40598 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40599 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40600 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40601 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40602 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40603 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40604 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40605 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40606 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40607 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40608 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40609 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40610 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40611 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40612 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40613 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40614 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
40615 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40616 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40617 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
40618 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40619 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40620 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
40621 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40622 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40623 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40624 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40625 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40626 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40627 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40628 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40629 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40630 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40631 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40632 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
40633 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40634 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40635 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40636 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40637 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
40638 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40639 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40640 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40641 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40642 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40643 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
40644 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40645 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40646 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40647 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40648 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40649 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
40650 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40651 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40652 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40653 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40654 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40655 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40656 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40657 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40658 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40659 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40660 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40661 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40662 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40663 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40664 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40665 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40666 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40667 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40668 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40669 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40670 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40671 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40672 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40673 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40674 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40675 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40676 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40677 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40678 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40679 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40680 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40681 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40682 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40683 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40684 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40685 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40686 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40687 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40688 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40689 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40690 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40691 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40692 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40693 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40694 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40695 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40696 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40697 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40698 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40699 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40700 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40701 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40702 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40703 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40704 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40705 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40706 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40707 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40708 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40709 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40710 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40711 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40712 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
40713 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40714 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40715 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40716 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40717 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40718 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40719 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
40720 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40721 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40722 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40723 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40724 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40725 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40726 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40727 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40728 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40729 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40730 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40731 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40732 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40733 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40734 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40735 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40736 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40737 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40738 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40739 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40740 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40741 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40742 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40743 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40744 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40745 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40746 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40747 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40748 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40749 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40750 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40751 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40752 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40753 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40754 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40755 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
40756 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40757 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40758 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40759 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40760 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40761 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40762 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40763 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40764 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40765 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
40766 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40767 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40768 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40769 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40770 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40771 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40772 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40773 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40774 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40775 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
40776 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40777 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
40778 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40779 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
40780 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40781 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40782 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
40783 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40784 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40785 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40786 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
40787 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40788 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40789 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
40790 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40791 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40792 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
40793 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40794 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
40795 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40796 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40797 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40798 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40799 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
40800 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40801 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40802 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40803 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40804 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40805 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40806 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40807 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
40808 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40809 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40810 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40811 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
40812 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40813 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40814 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
40815 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40816 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
40817 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40818 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40819 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40820 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
40821 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40822 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40823 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40824 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40825 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40826 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40827 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40828 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40829 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40830 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40831 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40832 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40833 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40834 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40835 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40836 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40837 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
40838 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40839 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
40840 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40841 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40842 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
40843 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40844 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
40845 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40846 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40847 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40848 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
40849 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40850 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40851 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40852 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
40853 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40854 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40855 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40856 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40857 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40858 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40859 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40860 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40861 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
40862 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40863 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40864 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
40865 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40866 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40867 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
40868 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40869 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40870 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40871 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
40872 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40873 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40874 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40875 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40876 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40877 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40878 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
40879 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40880 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40881 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40882 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40883 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
40884 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40885 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40886 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40887 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40888 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
40889 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40890 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40891 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40892 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40893 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40894 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40895 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40896 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40897 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40898 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40899 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40900 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40901 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40902 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40903 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40904 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40905 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40906 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40907 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40908 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40909 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40910 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40911 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40912 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40913 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40914 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40915 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40916 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40917 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40918 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40919 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40920 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40921 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40922 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40923 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40924 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40925 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40926 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40927 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40928 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40929 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40930 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40931 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40932 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
40933 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40934 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40935 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40936 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40937 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40938 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40939 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40940 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40941 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40942 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40943 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40944 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40945 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40946 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40947 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
40948 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40949 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40950 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40951 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
40952 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40953 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40954 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40955 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40956 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40957 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40958 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40959 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40960 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40961 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
40962 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40963 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40964 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40965 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40966 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40967 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40968 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40969 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40970 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40971 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40972 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40973 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40974 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40975 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40976 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40977 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40978 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40979 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40980 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40981 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40982 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40983 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40984 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40985 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40986 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40987 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40988 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40989 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40990 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40991 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40992 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40993 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40994 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40995 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40996 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40997 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40998 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40999 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41000 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41001 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41002 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41003 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41004 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41005 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41006 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41007 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41008 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41009 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41010 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41011 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41012 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41013 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41014 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41015 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41016 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41017 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41018 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41019 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41020 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41021 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41022 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41023 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41024 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41025 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41026 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41027 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41028 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41029 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41030 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41031 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41032 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41033 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41034 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41035 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41036 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41037 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41038 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41039 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41040 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41041 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41042 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41043 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41044 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41045 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41046 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41047 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41048 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41049 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41050 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41051 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41052 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41053 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41054 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41055 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41056 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41057 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41058 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41059 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41060 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41061 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41062 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41063 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41064 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41065 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41066 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41067 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41068 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41069 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41070 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41071 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41072 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41073 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41074 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41075 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41076 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41077 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41078 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41079 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41080 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41081 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41082 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41083 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41084 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41085 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41086 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41087 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41088 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41089 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41090 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41091 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41092 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41093 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41094 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41095 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41096 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41097 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41098 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41099 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41100 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41101 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41102 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41103 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41104 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41105 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41106 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41107 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41108 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41109 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41110 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41111 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41112 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41113 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41114 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41115 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41116 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41117 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41118 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41119 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41120 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41121 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41122 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41123 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41124 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41125 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41126 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41127 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41128 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41129 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41130 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
41131 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41132 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41133 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41134 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41135 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41136 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41137 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41138 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41139 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41140 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41141 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41142 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41143 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41144 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41145 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41146 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41147 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41148 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41149 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41150 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41151 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41152 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41153 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41154 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41155 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41156 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41157 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41158 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41159 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41160 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41161 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41162 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41163 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41164 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41165 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41166 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41167 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41168 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
41169 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41170 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41171 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41172 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41173 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41174 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41175 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41176 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41177 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41178 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41179 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41180 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41181 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41182 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
41183 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41184 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41185 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
41186 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41187 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41188 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41189 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41190 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41191 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41192 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41193 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41194 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41195 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41196 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41197 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41198 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41199 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41200 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41201 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41202 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41203 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41204 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41205 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41206 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41207 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41208 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41209 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41210 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41211 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41212 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41213 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41214 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41215 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41216 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41217 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41218 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41219 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41220 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41221 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41222 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41223 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41224 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41225 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41226 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41227 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41228 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41229 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41230 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41231 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41232 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41233 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41234 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41235 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41236 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41237 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41238 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41239 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41240 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
41241 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41242 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41243 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41244 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41245 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41246 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41247 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41248 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41249 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41250 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41251 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41252 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41253 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41254 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41255 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41256 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41257 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41258 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41259 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41260 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41261 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41262 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41263 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41264 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41265 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41266 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41267 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
41268 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41269 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41270 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41271 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41272 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41273 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41274 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41275 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41276 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41277 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41278 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41279 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41280 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41281 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41282 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41283 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41284 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41285 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41286 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41287 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41288 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41289 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41290 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41291 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41292 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41293 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41294 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41295 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41296 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41297 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
41298 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41299 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41300 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41301 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41302 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41303 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41304 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41305 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
41306 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41307 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41308 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41309 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41310 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41311 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41312 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41313 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41314 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41315 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41316 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41317 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41318 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41319 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41320 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41321 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41322 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
41323 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
41324 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41325 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41326 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41327 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41328 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41329 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41330 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41331 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41332 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41333 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41334 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41335 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41336 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41337 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41338 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41339 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41340 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41341 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41342 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41343 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41344 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41345 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41346 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41347 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41348 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41349 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41350 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41351 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41352 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41353 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41354 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41355 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41356 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41357 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41358 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41359 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
41360 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41361 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41362 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41363 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41364 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41365 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41366 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41367 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41368 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41369 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41370 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41371 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41372 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41373 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41374 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41375 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41376 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41377 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41378 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41379 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41380 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41381 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41382 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41383 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41384 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41385 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41386 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41387 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41388 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
41389 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41390 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41391 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
41392 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41393 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41394 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41395 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
41396 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41397 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41398 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
41399 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41400 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41401 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41402 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41403 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41404 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41405 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41406 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41407 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41408 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
41409 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41410 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41411 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41412 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41413 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41414 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41415 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41416 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41417 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41418 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41419 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41420 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
41421 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41422 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41423 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41424 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41425 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41426 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41427 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41428 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41429 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41430 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
41431 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41432 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41433 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41434 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41435 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41436 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41437 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41438 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41439 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41440 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
41441 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41442 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41443 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41444 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41445 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41446 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41447 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41448 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41449 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41450 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41451 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41452 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41453 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41454 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
41455 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41456 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41457 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41458 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41459 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41460 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
41461 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
41462 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
41463 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
41464 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
41465 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41466 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41467 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41468 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41469 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
41470 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41471 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41472 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41473 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41474 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41475 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41476 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41477 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41478 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41479 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41480 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41481 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41482 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41483 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41484 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41485 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41486 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41487 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41488 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41489 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41490 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41491 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41492 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41493 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41494 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41495 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41496 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
41497 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41498 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41499 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41500 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41501 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41502 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41503 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41504 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41505 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41506 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41507 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41508 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
41509 { NULL
, NULL
, 0, NULL
}
41513 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41515 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
41516 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
41518 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
41519 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
41521 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
41522 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41524 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
41525 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41527 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
41528 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
41530 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
41531 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41533 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
41534 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
41536 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
41537 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41539 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
41540 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41542 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
41543 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
41545 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
41546 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
41548 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
41549 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
41551 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
41552 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
41554 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
41555 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
41557 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
41558 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
41560 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
41561 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
41563 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
41564 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
41566 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
41567 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41569 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
41570 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
41572 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
41573 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41575 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
41576 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41578 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
41579 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
41581 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
41582 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
41584 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
41585 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
41587 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
41588 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
41590 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
41591 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
41593 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
41594 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
41596 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
41597 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
41599 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
41600 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41602 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
41603 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41605 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
41606 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41608 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
41609 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41611 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
41612 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41614 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
41615 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
41617 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
41618 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
41620 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
41621 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41623 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
41624 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
41626 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
41627 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
41629 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
41630 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41632 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
41633 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41635 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
41636 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41638 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
41639 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
41641 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
41642 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
41644 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
41645 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41647 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
41648 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41650 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
41651 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41653 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
41654 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
41656 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
41657 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
41659 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
41660 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
41662 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
41663 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
41665 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
41666 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
41668 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
41669 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
41671 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
41672 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
41674 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
41675 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
41677 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
41678 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
41680 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
41681 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
41683 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
41684 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
41686 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
41687 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
41689 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
41690 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
41692 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
41693 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
41695 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
41696 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
41698 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
41699 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41701 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
41702 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
41704 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
41705 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
41707 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
41708 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
41710 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
41711 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41713 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
41714 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
41716 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
41717 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
41719 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
41720 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
41722 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
41723 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
41725 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
41726 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
41728 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
41729 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
41731 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
41732 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
41734 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
41735 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
41737 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41738 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
41740 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41741 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
41743 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41744 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
41746 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
41747 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
41749 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
41750 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
41752 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
41753 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41755 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
41756 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
41758 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
41759 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
41761 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
41762 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
41764 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
41765 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
41767 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
41768 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
41770 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
41771 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
41773 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
41774 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
41776 static void *_p_wxSizerTo_p_wxObject(void *x
) {
41777 return (void *)((wxObject
*) ((wxSizer
*) x
));
41779 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
41780 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
41782 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
41783 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41785 static void *_p_wxMenuTo_p_wxObject(void *x
) {
41786 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
41788 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
41789 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
41791 static void *_p_wxImageTo_p_wxObject(void *x
) {
41792 return (void *)((wxObject
*) ((wxImage
*) x
));
41794 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
41795 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
41797 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
41798 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41800 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
41801 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
41803 static void *_p_wxWindowTo_p_wxObject(void *x
) {
41804 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
41806 static void *_p_wxControlTo_p_wxObject(void *x
) {
41807 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
41809 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
41810 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
41812 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
41813 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
41815 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
41816 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41818 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
41819 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
41821 static void *_p_wxEventTo_p_wxObject(void *x
) {
41822 return (void *)((wxObject
*) ((wxEvent
*) x
));
41824 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
41825 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
41827 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
41828 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
41830 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
41831 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
41833 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
41834 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
41836 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
41837 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
41839 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
41840 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41842 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
41843 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41845 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
41846 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
41848 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
41849 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
41851 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
41852 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
41854 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
41855 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
41857 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
41858 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
41860 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
41861 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
41863 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
41864 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
41866 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
41867 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
41869 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
41870 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41872 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
41873 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
41875 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
41876 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
41878 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
41879 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
41881 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
41882 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
41884 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
41885 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
41887 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
41888 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
41890 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
41891 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
41893 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
41894 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
41896 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
41897 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41899 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
41900 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41902 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
41903 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41905 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
41906 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41908 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
41909 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41911 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
41912 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
41914 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
41915 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
41917 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
41918 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41920 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
41921 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
41923 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
41924 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
41926 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
41927 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
41929 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
41930 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
41932 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
41933 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
41935 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
41936 return (void *)((wxObject
*) ((wxFSFile
*) x
));
41938 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
41939 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
41941 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
41942 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41944 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
41945 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
41947 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
41948 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41950 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
41951 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41953 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
41954 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41956 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
41957 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
41959 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
41960 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
41962 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
41963 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
41965 static void *_p_wxControlTo_p_wxWindow(void *x
) {
41966 return (void *)((wxWindow
*) ((wxControl
*) x
));
41968 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
41969 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
41971 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
41972 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
41974 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
41975 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41977 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
41978 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
41980 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
41981 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41983 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
41984 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41986 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
41987 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41989 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
41990 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41992 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
41993 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41995 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
41996 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41998 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
41999 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
42001 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}};
42002 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}};
42003 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}};
42004 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}};
42005 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}};
42006 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}};
42007 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}};
42008 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}};
42009 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}};
42010 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}};
42011 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}};
42012 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}};
42013 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}};
42014 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}};
42015 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}};
42016 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}};
42017 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}};
42018 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}};
42019 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}};
42020 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}};
42021 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}};
42022 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}};
42023 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}};
42024 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}};
42025 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}};
42026 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}};
42027 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}};
42028 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}};
42029 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}};
42030 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}};
42031 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}};
42032 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}};
42033 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}};
42034 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}};
42035 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}};
42036 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}};
42037 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}};
42038 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}};
42039 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}};
42040 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}};
42041 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}};
42042 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}};
42043 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}};
42044 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}};
42045 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}};
42046 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}};
42047 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}};
42048 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}};
42049 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}};
42050 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}};
42051 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}};
42052 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}};
42053 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}};
42054 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}};
42055 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}};
42056 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}};
42057 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}};
42058 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}};
42059 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}};
42060 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}};
42061 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}};
42062 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}};
42063 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}};
42064 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}};
42065 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}};
42066 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}};
42067 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}};
42068 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}};
42069 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}};
42070 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}};
42071 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}};
42072 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}};
42073 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}};
42074 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}};
42075 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}};
42076 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}};
42077 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}};
42078 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}};
42079 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}};
42080 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}};
42081 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}};
42082 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}};
42083 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}};
42084 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}};
42085 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}};
42086 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}};
42087 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}};
42088 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}};
42089 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}};
42090 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}};
42091 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}};
42092 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}};
42093 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}};
42094 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}};
42095 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}};
42096 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}};
42097 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}};
42098 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}};
42099 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}};
42100 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}};
42101 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}};
42102 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}};
42103 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}};
42104 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}};
42105 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}};
42106 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}};
42107 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}};
42108 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}};
42109 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}};
42110 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}};
42111 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}};
42112 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}};
42113 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}};
42114 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}};
42115 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}};
42116 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}};
42118 static swig_type_info
*swig_types_initial
[] = {
42119 _swigt__p_wxLayoutConstraints
,
42120 _swigt__p_wxRealPoint
,
42121 _swigt__p_wxSizerItem
,
42122 _swigt__p_wxGBSizerItem
,
42123 _swigt__p_wxScrollEvent
,
42124 _swigt__p_wxIndividualLayoutConstraint
,
42126 _swigt__p_wxBoxSizer
,
42127 _swigt__p_wxStaticBoxSizer
,
42128 _swigt__p_wxGridBagSizer
,
42129 _swigt__p_wxAcceleratorEntry
,
42130 _swigt__p_wxUpdateUIEvent
,
42133 _swigt__p_wxGridSizer
,
42134 _swigt__p_wxFlexGridSizer
,
42135 _swigt__p_wxInitDialogEvent
,
42136 _swigt__p_wxItemContainer
,
42137 _swigt__p_wxNcPaintEvent
,
42138 _swigt__p_wxPaintEvent
,
42139 _swigt__p_wxSysColourChangedEvent
,
42140 _swigt__p_wxMouseCaptureChangedEvent
,
42141 _swigt__p_wxDisplayChangedEvent
,
42142 _swigt__p_wxPaletteChangedEvent
,
42143 _swigt__p_wxControl
,
42145 _swigt__p_wxMenuBarBase
,
42146 _swigt__p_wxSetCursorEvent
,
42147 _swigt__p_wxFSFile
,
42149 _swigt__p_wxRegion
,
42150 _swigt__p_wxPoint2D
,
42154 _swigt__p_wxPySizer
,
42155 _swigt__p_wxVisualAttributes
,
42156 _swigt__p_wxNotifyEvent
,
42157 _swigt__p_wxPyEvent
,
42158 _swigt__p_wxPropagationDisabler
,
42159 _swigt__p_wxAppTraits
,
42160 _swigt__p_wxArrayString
,
42161 _swigt__p_wxShowEvent
,
42162 _swigt__p_wxToolTip
,
42163 _swigt__p_wxIconizeEvent
,
42164 _swigt__p_wxActivateEvent
,
42165 _swigt__p_wxMoveEvent
,
42166 _swigt__p_wxSizeEvent
,
42167 _swigt__p_wxMaximizeEvent
,
42168 _swigt__p_wxQueryNewPaletteEvent
,
42169 _swigt__p_wxWindowCreateEvent
,
42170 _swigt__p_wxIdleEvent
,
42171 _swigt__p_wxMenuItem
,
42172 _swigt__p_wxStaticBox
,
42174 _swigt__p_wxTIFFHandler
,
42175 _swigt__p_wxXPMHandler
,
42176 _swigt__p_wxPNMHandler
,
42177 _swigt__p_wxJPEGHandler
,
42178 _swigt__p_wxPCXHandler
,
42179 _swigt__p_wxGIFHandler
,
42180 _swigt__p_wxPNGHandler
,
42181 _swigt__p_wxANIHandler
,
42182 _swigt__p_wxMemoryFSHandler
,
42183 _swigt__p_wxEvtHandler
,
42184 _swigt__p_wxCURHandler
,
42185 _swigt__p_wxICOHandler
,
42186 _swigt__p_wxBMPHandler
,
42187 _swigt__p_wxImageHandler
,
42188 _swigt__p_wxFileSystemHandler
,
42189 _swigt__p_wxPyFileSystemHandler
,
42190 _swigt__p_wxInternetFSHandler
,
42191 _swigt__p_wxZipFSHandler
,
42193 _swigt__p_wxGBSpan
,
42194 _swigt__p_wxPropagateOnce
,
42195 _swigt__p_wxAcceleratorTable
,
42197 _swigt__p_wxGBPosition
,
42200 _swigt__p_wxScrollWinEvent
,
42201 _swigt__p_wxImageHistogram
,
42204 _swigt__p_wxCursor
,
42205 _swigt__p_wxObject
,
42206 _swigt__p_wxPyInputStream
,
42207 _swigt__p_wxOutputStream
,
42208 _swigt__p_wxInputStream
,
42209 _swigt__p_wxDateTime
,
42210 _swigt__p_wxKeyEvent
,
42211 _swigt__p_wxNavigationKeyEvent
,
42212 _swigt__p_wxWindowDestroyEvent
,
42213 _swigt__p_wxWindow
,
42214 _swigt__p_wxMenuBar
,
42215 _swigt__p_wxFileSystem
,
42216 _swigt__p_wxBitmap
,
42217 _swigt__p_wxMenuEvent
,
42218 _swigt__p_wxContextMenuEvent
,
42219 _swigt__p_unsigned_char
,
42220 _swigt__p_wxCloseEvent
,
42221 _swigt__p_wxEraseEvent
,
42222 _swigt__p_wxMouseEvent
,
42224 _swigt__p_wxCommandEvent
,
42225 _swigt__p_wxPyCommandEvent
,
42226 _swigt__p_wxPyDropTarget
,
42227 _swigt__p_wxQuantize
,
42228 _swigt__p_wxChildFocusEvent
,
42229 _swigt__p_wxFocusEvent
,
42230 _swigt__p_wxDropFilesEvent
,
42231 _swigt__p_wxControlWithItems
,
42232 _swigt__p_wxColour
,
42233 _swigt__p_wxValidator
,
42234 _swigt__p_wxPyValidator
,
42239 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
42241 static swig_const_info swig_const_table
[] = {
42242 {0, 0, 0, 0.0, 0, 0}};
42251 SWIGEXPORT(void) SWIG_init(void) {
42252 static PyObject
*SWIG_globals
= 0;
42253 static int typeinit
= 0;
42256 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
42257 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
42258 d
= PyModule_GetDict(m
);
42261 for (i
= 0; swig_types_initial
[i
]; i
++) {
42262 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
42266 SWIG_InstallConstants(d
,swig_const_table
);
42269 #ifndef wxPyUSE_EXPORT
42270 // Make our API structure a CObject so other modules can import it
42271 // from this module.
42272 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
42273 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
42277 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)wxNOT_FOUND
));
42278 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)wxVSCROLL
));
42279 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)wxHSCROLL
));
42280 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)wxCAPTION
));
42281 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)wxDOUBLE_BORDER
));
42282 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)wxSUNKEN_BORDER
));
42283 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)wxRAISED_BORDER
));
42284 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)wxBORDER
));
42285 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)wxSIMPLE_BORDER
));
42286 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)wxSTATIC_BORDER
));
42287 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)wxTRANSPARENT_WINDOW
));
42288 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)wxNO_BORDER
));
42289 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)wxTAB_TRAVERSAL
));
42290 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)wxWANTS_CHARS
));
42291 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)wxPOPUP_WINDOW
));
42292 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)wxCENTER_FRAME
));
42293 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)wxCENTRE_ON_SCREEN
));
42294 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)wxCENTER_ON_SCREEN
));
42295 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_From_int((int)wxED_CLIENT_MARGIN
));
42296 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_From_int((int)wxED_BUTTONS_BOTTOM
));
42297 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_From_int((int)wxED_BUTTONS_RIGHT
));
42298 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_From_int((int)wxED_STATIC_LINE
));
42299 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_From_int((int)wxEXT_DIALOG_STYLE
));
42300 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)wxCLIP_CHILDREN
));
42301 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)wxCLIP_SIBLINGS
));
42302 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)wxALWAYS_SHOW_SB
));
42303 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)wxRETAINED
));
42304 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)wxBACKINGSTORE
));
42305 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)wxCOLOURED
));
42306 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)wxFIXED_LENGTH
));
42307 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)wxLB_NEEDED_SB
));
42308 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)wxLB_ALWAYS_SB
));
42309 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)wxLB_SORT
));
42310 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)wxLB_SINGLE
));
42311 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)wxLB_MULTIPLE
));
42312 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)wxLB_EXTENDED
));
42313 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)wxLB_OWNERDRAW
));
42314 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)wxLB_HSCROLL
));
42315 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)wxPROCESS_ENTER
));
42316 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)wxPASSWORD
));
42317 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)wxCB_SIMPLE
));
42318 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)wxCB_DROPDOWN
));
42319 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)wxCB_SORT
));
42320 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)wxCB_READONLY
));
42321 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)wxRA_HORIZONTAL
));
42322 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)wxRA_VERTICAL
));
42323 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)wxRA_SPECIFY_ROWS
));
42324 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)wxRA_SPECIFY_COLS
));
42325 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)wxRB_GROUP
));
42326 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)wxRB_SINGLE
));
42327 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int((int)wxSL_HORIZONTAL
));
42328 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int((int)wxSL_VERTICAL
));
42329 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int((int)wxSL_AUTOTICKS
));
42330 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int((int)wxSL_LABELS
));
42331 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int((int)wxSL_LEFT
));
42332 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int((int)wxSL_TOP
));
42333 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int((int)wxSL_RIGHT
));
42334 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int((int)wxSL_BOTTOM
));
42335 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int((int)wxSL_BOTH
));
42336 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int((int)wxSL_SELRANGE
));
42337 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)wxSB_HORIZONTAL
));
42338 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)wxSB_VERTICAL
));
42339 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)wxST_SIZEGRIP
));
42340 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)wxST_NO_AUTORESIZE
));
42341 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)wxFLOOD_SURFACE
));
42342 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)wxFLOOD_BORDER
));
42343 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)wxODDEVEN_RULE
));
42344 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)wxWINDING_RULE
));
42345 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)wxTOOL_TOP
));
42346 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)wxTOOL_BOTTOM
));
42347 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)wxTOOL_LEFT
));
42348 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)wxTOOL_RIGHT
));
42349 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)wxOK
));
42350 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)wxYES_NO
));
42351 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)wxCANCEL
));
42352 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)wxYES
));
42353 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)wxNO
));
42354 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)wxNO_DEFAULT
));
42355 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)wxYES_DEFAULT
));
42356 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)wxICON_EXCLAMATION
));
42357 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)wxICON_HAND
));
42358 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)wxICON_QUESTION
));
42359 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)wxICON_INFORMATION
));
42360 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)wxICON_STOP
));
42361 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)wxICON_ASTERISK
));
42362 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)wxICON_MASK
));
42363 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)wxICON_WARNING
));
42364 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)wxICON_ERROR
));
42365 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)wxFORWARD
));
42366 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)wxBACKWARD
));
42367 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)wxRESET
));
42368 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)wxHELP
));
42369 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)wxMORE
));
42370 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)wxSETUP
));
42371 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)wxSIZE_AUTO_WIDTH
));
42372 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)wxSIZE_AUTO_HEIGHT
));
42373 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)wxSIZE_AUTO
));
42374 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)wxSIZE_USE_EXISTING
));
42375 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)wxSIZE_ALLOW_MINUS_ONE
));
42376 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)wxPORTRAIT
));
42377 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)wxLANDSCAPE
));
42378 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)wxPRINT_QUALITY_HIGH
));
42379 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)wxPRINT_QUALITY_MEDIUM
));
42380 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)wxPRINT_QUALITY_LOW
));
42381 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)wxPRINT_QUALITY_DRAFT
));
42382 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)wxID_ANY
));
42383 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)wxID_SEPARATOR
));
42384 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)wxID_LOWEST
));
42385 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)wxID_OPEN
));
42386 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)wxID_CLOSE
));
42387 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)wxID_NEW
));
42388 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)wxID_SAVE
));
42389 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)wxID_SAVEAS
));
42390 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)wxID_REVERT
));
42391 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)wxID_EXIT
));
42392 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)wxID_UNDO
));
42393 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)wxID_REDO
));
42394 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)wxID_HELP
));
42395 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)wxID_PRINT
));
42396 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)wxID_PRINT_SETUP
));
42397 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)wxID_PREVIEW
));
42398 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)wxID_ABOUT
));
42399 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)wxID_HELP_CONTENTS
));
42400 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)wxID_HELP_COMMANDS
));
42401 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)wxID_HELP_PROCEDURES
));
42402 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)wxID_HELP_CONTEXT
));
42403 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)wxID_CLOSE_ALL
));
42404 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)wxID_PREFERENCES
));
42405 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)wxID_CUT
));
42406 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)wxID_COPY
));
42407 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)wxID_PASTE
));
42408 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)wxID_CLEAR
));
42409 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)wxID_FIND
));
42410 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)wxID_DUPLICATE
));
42411 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)wxID_SELECTALL
));
42412 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)wxID_DELETE
));
42413 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)wxID_REPLACE
));
42414 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)wxID_REPLACE_ALL
));
42415 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)wxID_PROPERTIES
));
42416 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)wxID_VIEW_DETAILS
));
42417 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)wxID_VIEW_LARGEICONS
));
42418 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)wxID_VIEW_SMALLICONS
));
42419 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)wxID_VIEW_LIST
));
42420 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)wxID_VIEW_SORTDATE
));
42421 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)wxID_VIEW_SORTNAME
));
42422 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)wxID_VIEW_SORTSIZE
));
42423 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)wxID_VIEW_SORTTYPE
));
42424 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)wxID_FILE1
));
42425 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)wxID_FILE2
));
42426 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)wxID_FILE3
));
42427 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)wxID_FILE4
));
42428 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)wxID_FILE5
));
42429 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)wxID_FILE6
));
42430 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)wxID_FILE7
));
42431 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)wxID_FILE8
));
42432 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)wxID_FILE9
));
42433 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)wxID_OK
));
42434 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)wxID_CANCEL
));
42435 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)wxID_APPLY
));
42436 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)wxID_YES
));
42437 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)wxID_NO
));
42438 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)wxID_STATIC
));
42439 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)wxID_FORWARD
));
42440 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)wxID_BACKWARD
));
42441 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)wxID_DEFAULT
));
42442 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)wxID_MORE
));
42443 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)wxID_SETUP
));
42444 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)wxID_RESET
));
42445 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)wxID_CONTEXT_HELP
));
42446 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)wxID_YESTOALL
));
42447 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)wxID_NOTOALL
));
42448 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)wxID_ABORT
));
42449 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)wxID_RETRY
));
42450 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)wxID_IGNORE
));
42451 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)wxID_ADD
));
42452 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)wxID_REMOVE
));
42453 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)wxID_UP
));
42454 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)wxID_DOWN
));
42455 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)wxID_HOME
));
42456 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)wxID_REFRESH
));
42457 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)wxID_STOP
));
42458 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)wxID_INDEX
));
42459 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)wxID_BOLD
));
42460 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)wxID_ITALIC
));
42461 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)wxID_JUSTIFY_CENTER
));
42462 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)wxID_JUSTIFY_FILL
));
42463 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)wxID_JUSTIFY_RIGHT
));
42464 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)wxID_JUSTIFY_LEFT
));
42465 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)wxID_UNDERLINE
));
42466 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)wxID_INDENT
));
42467 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)wxID_UNINDENT
));
42468 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)wxID_ZOOM_100
));
42469 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)wxID_ZOOM_FIT
));
42470 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)wxID_ZOOM_IN
));
42471 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)wxID_ZOOM_OUT
));
42472 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)wxID_UNDELETE
));
42473 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)wxID_REVERT_TO_SAVED
));
42474 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)wxID_HIGHEST
));
42475 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)wxOPEN
));
42476 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)wxSAVE
));
42477 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)wxHIDE_READONLY
));
42478 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)wxOVERWRITE_PROMPT
));
42479 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)wxFILE_MUST_EXIST
));
42480 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)wxMULTIPLE
));
42481 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)wxCHANGE_DIR
));
42482 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)wxACCEL_ALT
));
42483 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)wxACCEL_CTRL
));
42484 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)wxACCEL_SHIFT
));
42485 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)wxACCEL_NORMAL
));
42486 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)wxPD_AUTO_HIDE
));
42487 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)wxPD_APP_MODAL
));
42488 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)wxPD_CAN_ABORT
));
42489 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)wxPD_ELAPSED_TIME
));
42490 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)wxPD_ESTIMATED_TIME
));
42491 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)wxPD_REMAINING_TIME
));
42492 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)wxDD_NEW_DIR_BUTTON
));
42493 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)wxDD_DEFAULT_STYLE
));
42494 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)wxMENU_TEAROFF
));
42495 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)wxMB_DOCKABLE
));
42496 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)wxNO_FULL_REPAINT_ON_RESIZE
));
42497 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)wxFULL_REPAINT_ON_RESIZE
));
42498 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)wxLI_HORIZONTAL
));
42499 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)wxLI_VERTICAL
));
42500 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)wxWS_EX_VALIDATE_RECURSIVELY
));
42501 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)wxWS_EX_BLOCK_EVENTS
));
42502 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)wxWS_EX_TRANSIENT
));
42503 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)wxWS_EX_THEMED_BACKGROUND
));
42504 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)wxWS_EX_PROCESS_IDLE
));
42505 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)wxWS_EX_PROCESS_UI_UPDATES
));
42506 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)wxMM_TEXT
));
42507 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)wxMM_LOMETRIC
));
42508 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)wxMM_HIMETRIC
));
42509 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)wxMM_LOENGLISH
));
42510 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)wxMM_HIENGLISH
));
42511 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)wxMM_TWIPS
));
42512 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)wxMM_ISOTROPIC
));
42513 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)wxMM_ANISOTROPIC
));
42514 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)wxMM_POINTS
));
42515 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)wxMM_METRIC
));
42516 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)wxCENTRE
));
42517 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)wxCENTER
));
42518 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)wxHORIZONTAL
));
42519 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)wxVERTICAL
));
42520 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)wxBOTH
));
42521 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)wxLEFT
));
42522 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)wxRIGHT
));
42523 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)wxUP
));
42524 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)wxDOWN
));
42525 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)wxTOP
));
42526 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)wxBOTTOM
));
42527 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)wxNORTH
));
42528 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)wxSOUTH
));
42529 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)wxWEST
));
42530 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)wxEAST
));
42531 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)wxALL
));
42532 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)wxALIGN_NOT
));
42533 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)wxALIGN_CENTER_HORIZONTAL
));
42534 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)wxALIGN_CENTRE_HORIZONTAL
));
42535 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)wxALIGN_LEFT
));
42536 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)wxALIGN_TOP
));
42537 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)wxALIGN_RIGHT
));
42538 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)wxALIGN_BOTTOM
));
42539 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)wxALIGN_CENTER_VERTICAL
));
42540 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)wxALIGN_CENTRE_VERTICAL
));
42541 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)wxALIGN_CENTER
));
42542 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)wxALIGN_CENTRE
));
42543 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)wxALIGN_MASK
));
42544 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)wxSTRETCH_NOT
));
42545 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)wxSHRINK
));
42546 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)wxGROW
));
42547 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)wxEXPAND
));
42548 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)wxSHAPED
));
42549 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)wxFIXED_MINSIZE
));
42550 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)wxTILE
));
42551 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)wxADJUST_MINSIZE
));
42552 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)wxBORDER_DEFAULT
));
42553 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)wxBORDER_NONE
));
42554 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)wxBORDER_STATIC
));
42555 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)wxBORDER_SIMPLE
));
42556 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)wxBORDER_RAISED
));
42557 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)wxBORDER_SUNKEN
));
42558 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)wxBORDER_DOUBLE
));
42559 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)wxBORDER_MASK
));
42560 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)wxBG_STYLE_SYSTEM
));
42561 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)wxBG_STYLE_COLOUR
));
42562 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)wxBG_STYLE_CUSTOM
));
42563 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)wxDEFAULT
));
42564 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)wxDECORATIVE
));
42565 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)wxROMAN
));
42566 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)wxSCRIPT
));
42567 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)wxSWISS
));
42568 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)wxMODERN
));
42569 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)wxTELETYPE
));
42570 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)wxVARIABLE
));
42571 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)wxFIXED
));
42572 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)wxNORMAL
));
42573 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)wxLIGHT
));
42574 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)wxBOLD
));
42575 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)wxITALIC
));
42576 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)wxSLANT
));
42577 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)wxSOLID
));
42578 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)wxDOT
));
42579 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)wxLONG_DASH
));
42580 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)wxSHORT_DASH
));
42581 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)wxDOT_DASH
));
42582 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)wxUSER_DASH
));
42583 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)wxTRANSPARENT
));
42584 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)wxSTIPPLE
));
42585 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)wxBDIAGONAL_HATCH
));
42586 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)wxCROSSDIAG_HATCH
));
42587 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)wxFDIAGONAL_HATCH
));
42588 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)wxCROSS_HATCH
));
42589 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)wxHORIZONTAL_HATCH
));
42590 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)wxVERTICAL_HATCH
));
42591 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)wxJOIN_BEVEL
));
42592 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)wxJOIN_MITER
));
42593 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)wxJOIN_ROUND
));
42594 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)wxCAP_ROUND
));
42595 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)wxCAP_PROJECTING
));
42596 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)wxCAP_BUTT
));
42597 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)wxCLEAR
));
42598 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)wxXOR
));
42599 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)wxINVERT
));
42600 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)wxOR_REVERSE
));
42601 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)wxAND_REVERSE
));
42602 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)wxCOPY
));
42603 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)wxAND
));
42604 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)wxAND_INVERT
));
42605 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)wxNO_OP
));
42606 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)wxNOR
));
42607 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)wxEQUIV
));
42608 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)wxSRC_INVERT
));
42609 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)wxOR_INVERT
));
42610 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)wxNAND
));
42611 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)wxOR
));
42612 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)wxSET
));
42613 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)WXK_BACK
));
42614 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)WXK_TAB
));
42615 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)WXK_RETURN
));
42616 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)WXK_ESCAPE
));
42617 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)WXK_SPACE
));
42618 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)WXK_DELETE
));
42619 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)WXK_START
));
42620 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)WXK_LBUTTON
));
42621 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)WXK_RBUTTON
));
42622 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)WXK_CANCEL
));
42623 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)WXK_MBUTTON
));
42624 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)WXK_CLEAR
));
42625 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)WXK_SHIFT
));
42626 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)WXK_ALT
));
42627 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)WXK_CONTROL
));
42628 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)WXK_MENU
));
42629 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)WXK_PAUSE
));
42630 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)WXK_CAPITAL
));
42631 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)WXK_PRIOR
));
42632 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)WXK_NEXT
));
42633 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)WXK_END
));
42634 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)WXK_HOME
));
42635 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)WXK_LEFT
));
42636 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)WXK_UP
));
42637 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)WXK_RIGHT
));
42638 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)WXK_DOWN
));
42639 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)WXK_SELECT
));
42640 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)WXK_PRINT
));
42641 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)WXK_EXECUTE
));
42642 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)WXK_SNAPSHOT
));
42643 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)WXK_INSERT
));
42644 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)WXK_HELP
));
42645 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)WXK_NUMPAD0
));
42646 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)WXK_NUMPAD1
));
42647 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)WXK_NUMPAD2
));
42648 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)WXK_NUMPAD3
));
42649 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)WXK_NUMPAD4
));
42650 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)WXK_NUMPAD5
));
42651 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)WXK_NUMPAD6
));
42652 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)WXK_NUMPAD7
));
42653 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)WXK_NUMPAD8
));
42654 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)WXK_NUMPAD9
));
42655 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)WXK_MULTIPLY
));
42656 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)WXK_ADD
));
42657 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)WXK_SEPARATOR
));
42658 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)WXK_SUBTRACT
));
42659 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)WXK_DECIMAL
));
42660 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)WXK_DIVIDE
));
42661 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)WXK_F1
));
42662 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)WXK_F2
));
42663 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)WXK_F3
));
42664 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)WXK_F4
));
42665 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)WXK_F5
));
42666 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)WXK_F6
));
42667 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)WXK_F7
));
42668 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)WXK_F8
));
42669 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)WXK_F9
));
42670 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)WXK_F10
));
42671 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)WXK_F11
));
42672 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)WXK_F12
));
42673 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)WXK_F13
));
42674 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)WXK_F14
));
42675 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)WXK_F15
));
42676 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)WXK_F16
));
42677 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)WXK_F17
));
42678 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)WXK_F18
));
42679 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)WXK_F19
));
42680 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)WXK_F20
));
42681 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)WXK_F21
));
42682 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)WXK_F22
));
42683 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)WXK_F23
));
42684 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)WXK_F24
));
42685 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)WXK_NUMLOCK
));
42686 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)WXK_SCROLL
));
42687 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)WXK_PAGEUP
));
42688 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)WXK_PAGEDOWN
));
42689 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)WXK_NUMPAD_SPACE
));
42690 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)WXK_NUMPAD_TAB
));
42691 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)WXK_NUMPAD_ENTER
));
42692 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)WXK_NUMPAD_F1
));
42693 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)WXK_NUMPAD_F2
));
42694 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)WXK_NUMPAD_F3
));
42695 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)WXK_NUMPAD_F4
));
42696 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)WXK_NUMPAD_HOME
));
42697 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)WXK_NUMPAD_LEFT
));
42698 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)WXK_NUMPAD_UP
));
42699 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)WXK_NUMPAD_RIGHT
));
42700 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)WXK_NUMPAD_DOWN
));
42701 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)WXK_NUMPAD_PRIOR
));
42702 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)WXK_NUMPAD_PAGEUP
));
42703 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)WXK_NUMPAD_NEXT
));
42704 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)WXK_NUMPAD_PAGEDOWN
));
42705 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)WXK_NUMPAD_END
));
42706 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)WXK_NUMPAD_BEGIN
));
42707 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)WXK_NUMPAD_INSERT
));
42708 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)WXK_NUMPAD_DELETE
));
42709 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)WXK_NUMPAD_EQUAL
));
42710 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)WXK_NUMPAD_MULTIPLY
));
42711 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)WXK_NUMPAD_ADD
));
42712 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)WXK_NUMPAD_SEPARATOR
));
42713 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)WXK_NUMPAD_SUBTRACT
));
42714 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)WXK_NUMPAD_DECIMAL
));
42715 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)WXK_NUMPAD_DIVIDE
));
42716 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)WXK_WINDOWS_LEFT
));
42717 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)WXK_WINDOWS_RIGHT
));
42718 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)WXK_WINDOWS_MENU
));
42719 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)wxPAPER_NONE
));
42720 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)wxPAPER_LETTER
));
42721 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)wxPAPER_LEGAL
));
42722 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)wxPAPER_A4
));
42723 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)wxPAPER_CSHEET
));
42724 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)wxPAPER_DSHEET
));
42725 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)wxPAPER_ESHEET
));
42726 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)wxPAPER_LETTERSMALL
));
42727 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)wxPAPER_TABLOID
));
42728 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)wxPAPER_LEDGER
));
42729 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)wxPAPER_STATEMENT
));
42730 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)wxPAPER_EXECUTIVE
));
42731 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)wxPAPER_A3
));
42732 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)wxPAPER_A4SMALL
));
42733 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)wxPAPER_A5
));
42734 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)wxPAPER_B4
));
42735 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)wxPAPER_B5
));
42736 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)wxPAPER_FOLIO
));
42737 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)wxPAPER_QUARTO
));
42738 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)wxPAPER_10X14
));
42739 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)wxPAPER_11X17
));
42740 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)wxPAPER_NOTE
));
42741 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)wxPAPER_ENV_9
));
42742 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)wxPAPER_ENV_10
));
42743 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)wxPAPER_ENV_11
));
42744 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)wxPAPER_ENV_12
));
42745 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)wxPAPER_ENV_14
));
42746 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)wxPAPER_ENV_DL
));
42747 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)wxPAPER_ENV_C5
));
42748 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)wxPAPER_ENV_C3
));
42749 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)wxPAPER_ENV_C4
));
42750 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)wxPAPER_ENV_C6
));
42751 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)wxPAPER_ENV_C65
));
42752 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)wxPAPER_ENV_B4
));
42753 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)wxPAPER_ENV_B5
));
42754 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)wxPAPER_ENV_B6
));
42755 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)wxPAPER_ENV_ITALY
));
42756 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)wxPAPER_ENV_MONARCH
));
42757 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)wxPAPER_ENV_PERSONAL
));
42758 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)wxPAPER_FANFOLD_US
));
42759 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)wxPAPER_FANFOLD_STD_GERMAN
));
42760 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)wxPAPER_FANFOLD_LGL_GERMAN
));
42761 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)wxPAPER_ISO_B4
));
42762 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)wxPAPER_JAPANESE_POSTCARD
));
42763 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)wxPAPER_9X11
));
42764 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)wxPAPER_10X11
));
42765 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)wxPAPER_15X11
));
42766 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)wxPAPER_ENV_INVITE
));
42767 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)wxPAPER_LETTER_EXTRA
));
42768 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)wxPAPER_LEGAL_EXTRA
));
42769 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)wxPAPER_TABLOID_EXTRA
));
42770 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)wxPAPER_A4_EXTRA
));
42771 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)wxPAPER_LETTER_TRANSVERSE
));
42772 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)wxPAPER_A4_TRANSVERSE
));
42773 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
42774 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)wxPAPER_A_PLUS
));
42775 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)wxPAPER_B_PLUS
));
42776 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)wxPAPER_LETTER_PLUS
));
42777 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)wxPAPER_A4_PLUS
));
42778 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)wxPAPER_A5_TRANSVERSE
));
42779 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)wxPAPER_B5_TRANSVERSE
));
42780 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)wxPAPER_A3_EXTRA
));
42781 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)wxPAPER_A5_EXTRA
));
42782 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)wxPAPER_B5_EXTRA
));
42783 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)wxPAPER_A2
));
42784 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)wxPAPER_A3_TRANSVERSE
));
42785 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
42786 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)wxDUPLEX_SIMPLEX
));
42787 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)wxDUPLEX_HORIZONTAL
));
42788 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)wxDUPLEX_VERTICAL
));
42789 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)wxITEM_SEPARATOR
));
42790 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)wxITEM_NORMAL
));
42791 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)wxITEM_CHECK
));
42792 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)wxITEM_RADIO
));
42793 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)wxITEM_MAX
));
42794 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)wxHT_NOWHERE
));
42795 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)wxHT_SCROLLBAR_FIRST
));
42796 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
42797 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
42798 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
42799 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
42800 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)wxHT_SCROLLBAR_THUMB
));
42801 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)wxHT_SCROLLBAR_BAR_1
));
42802 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)wxHT_SCROLLBAR_BAR_2
));
42803 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)wxHT_SCROLLBAR_LAST
));
42804 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)wxHT_WINDOW_OUTSIDE
));
42805 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)wxHT_WINDOW_INSIDE
));
42806 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)wxHT_WINDOW_VERT_SCROLLBAR
));
42807 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
42808 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)wxHT_WINDOW_CORNER
));
42809 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)wxHT_MAX
));
42810 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)wxMOD_NONE
));
42811 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)wxMOD_ALT
));
42812 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)wxMOD_CONTROL
));
42813 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)wxMOD_SHIFT
));
42814 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)wxMOD_WIN
));
42815 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)wxUPDATE_UI_NONE
));
42816 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)wxUPDATE_UI_RECURSE
));
42817 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)wxUPDATE_UI_FROMIDLE
));
42818 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
42819 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
42820 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)wxBITMAP_TYPE_INVALID
));
42821 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)wxBITMAP_TYPE_BMP
));
42822 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)wxBITMAP_TYPE_ICO
));
42823 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)wxBITMAP_TYPE_CUR
));
42824 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)wxBITMAP_TYPE_XBM
));
42825 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)wxBITMAP_TYPE_XBM_DATA
));
42826 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)wxBITMAP_TYPE_XPM
));
42827 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)wxBITMAP_TYPE_XPM_DATA
));
42828 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)wxBITMAP_TYPE_TIF
));
42829 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)wxBITMAP_TYPE_GIF
));
42830 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)wxBITMAP_TYPE_PNG
));
42831 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)wxBITMAP_TYPE_JPEG
));
42832 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)wxBITMAP_TYPE_PNM
));
42833 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)wxBITMAP_TYPE_PCX
));
42834 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)wxBITMAP_TYPE_PICT
));
42835 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)wxBITMAP_TYPE_ICON
));
42836 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)wxBITMAP_TYPE_ANI
));
42837 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)wxBITMAP_TYPE_IFF
));
42838 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)wxBITMAP_TYPE_MACCURSOR
));
42839 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)wxBITMAP_TYPE_ANY
));
42840 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)wxCURSOR_NONE
));
42841 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)wxCURSOR_ARROW
));
42842 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)wxCURSOR_RIGHT_ARROW
));
42843 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)wxCURSOR_BULLSEYE
));
42844 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)wxCURSOR_CHAR
));
42845 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)wxCURSOR_CROSS
));
42846 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)wxCURSOR_HAND
));
42847 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)wxCURSOR_IBEAM
));
42848 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)wxCURSOR_LEFT_BUTTON
));
42849 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)wxCURSOR_MAGNIFIER
));
42850 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)wxCURSOR_MIDDLE_BUTTON
));
42851 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)wxCURSOR_NO_ENTRY
));
42852 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)wxCURSOR_PAINT_BRUSH
));
42853 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)wxCURSOR_PENCIL
));
42854 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)wxCURSOR_POINT_LEFT
));
42855 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)wxCURSOR_POINT_RIGHT
));
42856 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)wxCURSOR_QUESTION_ARROW
));
42857 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)wxCURSOR_RIGHT_BUTTON
));
42858 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)wxCURSOR_SIZENESW
));
42859 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)wxCURSOR_SIZENS
));
42860 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)wxCURSOR_SIZENWSE
));
42861 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)wxCURSOR_SIZEWE
));
42862 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)wxCURSOR_SIZING
));
42863 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)wxCURSOR_SPRAYCAN
));
42864 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)wxCURSOR_WAIT
));
42865 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)wxCURSOR_WATCH
));
42866 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)wxCURSOR_BLANK
));
42867 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)wxCURSOR_DEFAULT
));
42868 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)wxCURSOR_COPY_ARROW
));
42869 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)wxCURSOR_ARROWWAIT
));
42870 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)wxCURSOR_MAX
));
42871 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
42872 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
42873 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)wxFromStart
));
42874 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)wxFromCurrent
));
42875 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)wxFromEnd
));
42877 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
42880 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
42882 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
42883 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
42884 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
42885 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
42886 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
42887 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
42888 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)wxIMAGE_RESOLUTION_INCHES
));
42889 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)wxIMAGE_RESOLUTION_CM
));
42890 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)wxBMP_24BPP
));
42891 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)wxBMP_8BPP
));
42892 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)wxBMP_8BPP_GREY
));
42893 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)wxBMP_8BPP_GRAY
));
42894 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)wxBMP_8BPP_RED
));
42895 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)wxBMP_8BPP_PALETTE
));
42896 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)wxBMP_4BPP
));
42897 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)wxBMP_1BPP
));
42898 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)wxBMP_1BPP_BW
));
42899 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
));
42900 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)wxQUANTIZE_FILL_DESTINATION_IMAGE
));
42901 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)wxEVENT_PROPAGATE_NONE
));
42902 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)wxEVENT_PROPAGATE_MAX
));
42903 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
42904 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
42905 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
42906 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
42907 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
42908 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
42909 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
42910 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
42911 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
42912 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
42913 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
42914 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
42915 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
42916 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
42917 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
42918 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
42919 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
42920 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
42921 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
42922 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
42923 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
42924 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
42925 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
42926 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
42927 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
42928 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
42929 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
42930 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
42931 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
42932 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
42933 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
42934 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
42935 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
42936 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
42937 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
42938 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
42939 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
42940 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
42941 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
42942 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
42943 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
42944 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
42945 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
42946 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
42947 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
42948 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
42949 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
42950 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
42951 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
42952 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
42953 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
42954 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
42955 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
42956 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
42957 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
42958 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
42959 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
42960 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
42961 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
42962 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
42963 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
42964 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
42965 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
42966 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
42967 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
42968 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
42969 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
42970 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
42971 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
42972 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
42973 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
42974 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
42975 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
42976 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
42977 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
42978 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
42979 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
42980 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
42981 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
42982 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
42983 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
42984 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
42985 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
42986 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
42987 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
42988 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
42989 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
42990 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
42991 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
42992 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
42993 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
42994 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
42995 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
42996 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
42997 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
42998 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
42999 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
43000 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
43001 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
43002 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
43003 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
43004 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
43005 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
43006 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
43007 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
43008 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
43009 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
43010 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
43011 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
43012 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
43013 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
43014 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
43015 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
43016 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
43017 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)wxMOUSE_BTN_ANY
));
43018 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)wxMOUSE_BTN_NONE
));
43019 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)wxMOUSE_BTN_LEFT
));
43020 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)wxMOUSE_BTN_MIDDLE
));
43021 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)wxMOUSE_BTN_RIGHT
));
43022 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)wxUPDATE_UI_PROCESS_ALL
));
43023 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
43024 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)wxNavigationKeyEvent::IsBackward
));
43025 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)wxNavigationKeyEvent::IsForward
));
43026 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)wxNavigationKeyEvent::WinChange
));
43027 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)wxIDLE_PROCESS_ALL
));
43028 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)wxIDLE_PROCESS_SPECIFIED
));
43029 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)wxPYAPP_ASSERT_SUPPRESS
));
43030 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)wxPYAPP_ASSERT_EXCEPTION
));
43031 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)wxPYAPP_ASSERT_DIALOG
));
43032 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)wxPYAPP_ASSERT_LOG
));
43033 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)wxPRINT_WINDOWS
));
43034 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)wxPRINT_POSTSCRIPT
));
43035 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
43036 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
43037 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)wxWINDOW_VARIANT_NORMAL
));
43038 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)wxWINDOW_VARIANT_SMALL
));
43039 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)wxWINDOW_VARIANT_MINI
));
43040 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)wxWINDOW_VARIANT_LARGE
));
43041 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)wxWINDOW_VARIANT_MAX
));
43042 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
43043 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
43044 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)wxFLEX_GROWMODE_NONE
));
43045 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)wxFLEX_GROWMODE_SPECIFIED
));
43046 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)wxFLEX_GROWMODE_ALL
));
43047 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
43048 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)wxLeft
));
43049 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)wxTop
));
43050 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)wxRight
));
43051 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)wxBottom
));
43052 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)wxWidth
));
43053 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)wxHeight
));
43054 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)wxCentre
));
43055 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)wxCenter
));
43056 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)wxCentreX
));
43057 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)wxCentreY
));
43058 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)wxUnconstrained
));
43059 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)wxAsIs
));
43060 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)wxPercentOf
));
43061 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)wxAbove
));
43062 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)wxBelow
));
43063 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)wxLeftOf
));
43064 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)wxRightOf
));
43065 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)wxSameAs
));
43066 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)wxAbsolute
));
43068 // Initialize threading, some globals and such
43072 // Although these are defined in __version__ they need to be here too so
43073 // that an assert can be done to ensure that the wxPython and the wxWindows
43075 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
43076 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
43077 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));