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
) {
869 if (!PyTuple_Check(target
)) {
871 target
= PyTuple_New(1);
872 PyTuple_SetItem(target
, 0, o2
);
875 PyTuple_SetItem(o3
, 0, o
);
878 target
= PySequence_Concat(o2
, o3
);
886 void wxPoint2D_Set(wxPoint2D
*self
,double x
,double y
){
890 PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
891 bool blocked
= wxPyBeginBlockThreads();
892 PyObject
* tup
= PyTuple_New(2);
893 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
894 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
895 wxPyEndBlockThreads(blocked
);
899 #include "wx/wxPython/pyistream.h"
901 wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
902 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
904 return new wxPyInputStream(wxis
);
909 SWIGSTATICINLINE(PyObject
*)
910 SWIG_From_char(char c
)
912 return PyString_FromStringAndSize(&c
,1);
916 SWIGSTATICINLINE(PyObject
* )
917 SWIG_From_unsigned_SS_long(unsigned long value
)
919 return (value
> LONG_MAX
) ?
920 PyLong_FromUnsignedLong(value
)
921 : PyInt_FromLong(swig_numeric_cast(value
,long));
925 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
927 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
)
929 static swig_type_info
* pchar_info
= 0;
931 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
932 if (SWIG_ConvertPtr(obj
, (void**)&vptr
, pchar_info
, 0) != -1) {
933 if (cptr
) *cptr
= vptr
;
934 if (psize
) *psize
= vptr
? (strlen(vptr
) + 1) : 0;
937 if (PyString_Check(obj
)) {
939 *cptr
= PyString_AS_STRING(obj
);
941 *psize
= PyString_GET_SIZE(obj
) + 1;
948 PyErr_SetString(PyExc_TypeError
, "a string is expected");
955 SWIG_AsCharArray(PyObject
*obj
, char *val
, size_t size
)
957 char* cptr
; size_t csize
;
958 if (SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
)) {
963 ie, assing the array using an extra '0' char.
965 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
968 if (csize
) memcpy(val
, cptr
, csize
);
969 if (csize
< size
) memset(val
+ csize
, 0, size
- csize
);
975 PyErr_Format(PyExc_TypeError
,
976 "a char array of maximum size %ld is expected",
983 SWIGSTATICINLINE(int)
984 SWIG_AsVal_char(PyObject
*obj
, char *val
)
986 const char* errmsg
= val
? "char" : 0;
988 if (SWIG_AsVal_long(obj
, &v
)) {
989 if (SWIG_CheckLongInRange(v
, CHAR_MIN
,CHAR_MAX
, errmsg
)) {
997 return SWIG_AsCharArray(obj
, val
, 1);
1002 SWIGSTATICINLINE(char)
1003 SWIG_As_char(PyObject
* obj
)
1006 if (!SWIG_AsVal_char(obj
, &v
)) {
1008 this is needed to make valgrind/purify happier. the other
1009 solution is throw an exception, but since this code should work
1012 memset((void*)&v
, 0, sizeof(char));
1018 SWIGSTATICINLINE(int)
1019 SWIG_Check_char(PyObject
* obj
)
1021 return SWIG_AsVal_char(obj
, (char*)0);
1024 void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
1025 // We use only strings for the streams, not unicode
1026 PyObject
* str
= PyObject_Str(obj
);
1028 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
1031 self
->Write(PyString_AS_STRING(str
),
1032 PyString_GET_SIZE(str
));
1036 #include "wx/wxPython/pyistream.h"
1039 class wxPyFileSystemHandler
: public wxFileSystemHandler
1042 wxPyFileSystemHandler() : wxFileSystemHandler() {}
1044 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
1045 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
1046 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
1047 DEC_PYCALLBACK_STRING__pure(FindNext
);
1049 wxString
GetProtocol(const wxString
& location
) {
1050 return wxFileSystemHandler::GetProtocol(location
);
1053 wxString
GetLeftLocation(const wxString
& location
) {
1054 return wxFileSystemHandler::GetLeftLocation(location
);
1057 wxString
GetAnchor(const wxString
& location
) {
1058 return wxFileSystemHandler::GetAnchor(location
);
1061 wxString
GetRightLocation(const wxString
& location
) {
1062 return wxFileSystemHandler::GetRightLocation(location
);
1065 wxString
GetMimeTypeFromExt(const wxString
& location
) {
1066 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
1073 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
1074 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
1075 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
1076 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
1079 SWIGSTATICINLINE(int)
1080 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1082 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
1083 if (obj
== Py_True
) {
1084 if (val
) *val
= true;
1087 if (obj
== Py_False
) {
1088 if (val
) *val
= false;
1092 if (SWIG_AsVal_int(obj
, &res
)) {
1093 if (val
) *val
= (bool)res
;
1097 PyErr_SetString(PyExc_TypeError
, "a bool is expected");
1103 SWIGSTATICINLINE(bool)
1104 SWIG_As_bool(PyObject
* obj
)
1107 if (!SWIG_AsVal_bool(obj
, &v
)) {
1109 this is needed to make valgrind/purify happier. the other
1110 solution is throw an exception, but since this code should work
1113 memset((void*)&v
, 0, sizeof(bool));
1119 SWIGSTATICINLINE(int)
1120 SWIG_Check_bool(PyObject
* obj
)
1122 return SWIG_AsVal_bool(obj
, (bool*)0);
1126 wxString
wxFileSystem_URLToFileName(const wxString
& url
) {
1127 wxFileName fname
= wxFileSystem::URLToFileName(url
);
1128 return fname
.GetFullPath();
1132 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
1135 wxMemoryFSHandler::AddFile(filename
, image
, type
);
1138 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
1139 const wxBitmap
& bitmap
,
1141 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
1144 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
1146 wxMemoryFSHandler::AddFile(filename
,
1147 // TODO: Verify data type
1148 (void*)PyString_AsString(data
),
1149 (size_t)PyString_Size(data
));
1153 #include "wx/wxPython/pyistream.h"
1156 // See my_fragments.i
1157 SWIGSTATICINLINE(int)
1158 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1161 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1162 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
1166 *val
= (unsigned long)v
;
1171 SWIGSTATICINLINE(int)
1172 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1173 unsigned long max_value
,
1176 if (value
> max_value
) {
1178 PyErr_Format(PyExc_OverflowError
,
1179 "value %ld is greater than '%s' minimum %ld",
1180 value
, errmsg
, max_value
);
1188 SWIGSTATICINLINE(int)
1189 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
1191 const char* errmsg
= val
? "unsigned char" : 0;
1193 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1194 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
1195 if (val
) *val
= swig_numeric_cast(v
, unsigned char);
1204 PyErr_SetString(PyExc_TypeError
, "an unsigned char is expected");
1210 SWIGSTATICINLINE(unsigned char)
1211 SWIG_As_unsigned_SS_char(PyObject
* obj
)
1214 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
1216 this is needed to make valgrind/purify happier. the other
1217 solution is throw an exception, but since this code should work
1220 memset((void*)&v
, 0, sizeof(unsigned char));
1226 SWIGSTATICINLINE(int)
1227 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
1229 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
1233 wxImage
*new_wxImage(int width
,int height
,bool clear
){
1234 if (width
> 0 && height
> 0)
1235 return new wxImage(width
, height
, clear
);
1239 wxImage
*new_wxImage(wxBitmap
const &bitmap
){
1240 return new wxImage(bitmap
.ConvertToImage());
1242 wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
1243 // Copy the source data so the wxImage can clean it up later
1244 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
1249 memcpy(copy
, data
, width
*height
*3);
1250 return new wxImage(width
, height
, copy
, False
);
1252 wxSize
wxImage_GetSize(wxImage
*self
){
1253 wxSize
size(self
->GetWidth(), self
->GetHeight());
1256 PyObject
*wxImage_GetData(wxImage
*self
){
1257 unsigned char* data
= self
->GetData();
1258 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1260 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
1263 void wxImage_SetData(wxImage
*self
,PyObject
*data
){
1264 unsigned char* dataPtr
;
1266 if (! PyString_Check(data
)) {
1267 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1271 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
1272 dataPtr
= (unsigned char*) malloc(len
);
1273 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1274 self
->SetData(dataPtr
);
1275 // wxImage takes ownership of dataPtr...
1277 PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
1278 unsigned char* data
= self
->GetData();
1279 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1281 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1284 void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
1285 unsigned char* buffer
;
1288 bool blocked
= wxPyBeginBlockThreads();
1289 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1292 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
1293 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1296 self
->SetData(buffer
);
1298 wxPyEndBlockThreads(blocked
);
1300 PyObject
*wxImage_GetAlphaData(wxImage
*self
){
1301 unsigned char* data
= self
->GetAlpha();
1305 int len
= self
->GetWidth() * self
->GetHeight();
1307 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
1311 void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
1312 unsigned char* dataPtr
;
1314 if (! PyString_Check(data
)) {
1315 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1319 size_t len
= self
->GetWidth() * self
->GetHeight();
1320 dataPtr
= (unsigned char*) malloc(len
);
1321 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1322 self
->SetAlpha(dataPtr
);
1323 // wxImage takes ownership of dataPtr...
1325 PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
1326 unsigned char* data
= self
->GetAlpha();
1327 int len
= self
->GetWidth() * self
->GetHeight();
1329 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1332 void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
1333 unsigned char* buffer
;
1336 bool blocked
= wxPyBeginBlockThreads();
1337 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1340 if (size
!= self
->GetWidth() * self
->GetHeight()) {
1341 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1344 self
->SetAlpha(buffer
);
1346 wxPyEndBlockThreads(blocked
);
1349 SWIGSTATICINLINE(unsigned long)
1350 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1353 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1355 this is needed to make valgrind/purify happier. the other
1356 solution is throw an exception, but since this code should work
1359 memset((void*)&v
, 0, sizeof(unsigned long));
1365 SWIGSTATICINLINE(int)
1366 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1368 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1371 wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
){
1372 wxBitmap
bitmap(*self
, depth
);
1375 wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
1376 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
1377 wxBitmap
bitmap( mono
, 1 );
1380 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
1381 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
1382 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
1383 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
1384 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
1386 #include <wx/quantize.h>
1388 bool Quantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
,int flags
){
1389 return wxQuantize::Quantize(src
, dest
,
1392 NULL
, // eightBitData
1395 void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
1396 if (PyCallable_Check(func
)) {
1397 self
->Connect(id
, lastId
, eventType
,
1398 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
1399 new wxPyCallback(func
));
1401 else if (func
== Py_None
) {
1402 self
->Disconnect(id
, lastId
, eventType
,
1403 (wxObjectEventFunction
)
1404 &wxPyCallback::EventThunker
);
1408 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
1411 bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
){
1412 return self
->Disconnect(id
, lastId
, eventType
,
1413 (wxObjectEventFunction
)
1414 &wxPyCallback::EventThunker
);
1416 void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
){
1417 if (_self
&& _self
!= Py_None
) {
1418 self
->SetClientObject(new wxPyOORClientData(_self
));
1421 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
1423 self
->SetClientObject(NULL
); // This will delete it too
1428 int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
1430 return self
->GetUnicodeKey();
1436 #if UINT_MAX < LONG_MAX
1437 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
1438 #define SWIG_From_unsigned_SS_int SWIG_From_long
1441 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
1442 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1447 #if UINT_MAX != ULONG_MAX
1448 SWIGSTATICINLINE(int)
1449 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1451 const char* errmsg
= val
? "unsigned int" : 0;
1453 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1454 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
1455 if (val
) *val
= swig_numeric_cast(v
, unsigned int);
1462 PyErr_SetString(PyExc_TypeError
, "an unsigned int is expected");
1467 SWIGSTATICINLINE(unsigned int)
1468 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1470 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
1475 SWIGSTATICINLINE(unsigned int)
1476 SWIG_As_unsigned_SS_int(PyObject
* obj
)
1479 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
1481 this is needed to make valgrind/purify happier. the other
1482 solution is throw an exception, but since this code should work
1485 memset((void*)&v
, 0, sizeof(unsigned int));
1491 SWIGSTATICINLINE(int)
1492 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
1494 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
1497 void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
1498 self
->m_size
= size
;
1500 void wxMoveEvent_SetPosition(wxMoveEvent
*self
,wxPoint pos
){
1503 PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
1504 int count
= self
->GetNumberOfFiles();
1505 wxString
* files
= self
->GetFiles();
1506 PyObject
* list
= PyList_New(count
);
1509 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
1513 for (int i
=0; i
<count
; i
++) {
1514 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
1520 wxPyApp
*new_wxPyApp(){
1521 wxPythonApp
= new wxPyApp();
1524 int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
1526 void wxApp_CleanUp() {
1531 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
1535 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1536 wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
1537 void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
1538 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1539 wxWindowList
& list
= self
->GetChildren();
1540 return wxPy_ConvertList(&list
);
1542 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1544 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
1549 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1556 long wxWindow_GetHandle(wxWindow
*self
){
1557 return wxPyGetWinHandle(self
);
1559 void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
1560 self
->AssociateHandle((WXWidget
)handle
);
1563 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1564 return wxWindow::FindWindowById(id
, parent
);
1567 wxWindow
* wxFindWindowByName( const wxString
& name
,
1568 const wxWindow
*parent
= NULL
) {
1569 return wxWindow::FindWindowByName(name
, parent
);
1572 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1573 const wxWindow
*parent
= NULL
) {
1574 return wxWindow::FindWindowByLabel(label
, parent
);
1579 #include <wx/msw/private.h> // to get wxGetWindowId
1583 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
1585 WXHWND hWnd
= (WXHWND
)_hWnd
;
1586 long id
= wxGetWindowId(hWnd
);
1587 wxWindow
* win
= new wxWindow
;
1588 parent
->AddChild(win
);
1589 win
->SetEventHandler(win
);
1592 win
->SubclassWin(hWnd
);
1593 win
->AdoptAttributesFromHWND();
1594 win
->SetupColours();
1597 wxPyRaiseNotImplemented();
1603 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1604 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1605 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1607 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1609 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1610 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1611 wxMenuItemList
& list
= self
->GetMenuItems();
1612 return wxPy_ConvertList(&list
);
1614 int MenuItem_GetDefaultMarginWidth(){ return 0; }
1615 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1616 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1618 wxPyClientData
* data
= new wxPyClientData(clientData
);
1619 return self
->Append(item
, data
);
1621 return self
->Append(item
);
1623 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1625 wxPyClientData
* data
= new wxPyClientData(clientData
);
1626 return self
->Insert(item
, pos
, data
);
1628 return self
->Insert(item
, pos
);
1630 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1631 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1633 Py_INCREF(data
->m_obj
);
1640 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1641 wxPyClientData
* data
= new wxPyClientData(clientData
);
1642 self
->SetClientObject(n
, data
);
1646 wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
){
1647 wxPyUserData
* data
= NULL
;
1649 bool blocked
= wxPyBeginBlockThreads();
1650 data
= new wxPyUserData(userData
);
1651 wxPyEndBlockThreads(blocked
);
1653 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
1655 wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
){
1656 wxPyUserData
* data
= NULL
;
1658 bool blocked
= wxPyBeginBlockThreads();
1659 data
= new wxPyUserData(userData
);
1660 wxPyEndBlockThreads(blocked
);
1662 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
1664 wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
){
1665 wxPyUserData
* data
= NULL
;
1667 bool blocked
= wxPyBeginBlockThreads();
1668 data
= new wxPyUserData(userData
);
1669 wxPyEndBlockThreads(blocked
);
1671 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
1675 SWIGSTATICINLINE(int)
1676 SWIG_CheckDoubleInRange(double value
, double min_value
,
1677 double max_value
, const char* errmsg
)
1679 if (value
< min_value
) {
1681 PyErr_Format(PyExc_OverflowError
,
1682 "value %g is less than %s minimum %g",
1683 value
, errmsg
, min_value
);
1686 } else if (value
> max_value
) {
1688 PyErr_Format(PyExc_OverflowError
,
1689 "value %g is greater than %s maximum %g",
1690 value
, errmsg
, max_value
);
1698 SWIGSTATICINLINE(int)
1699 SWIG_AsVal_float(PyObject
*obj
, float *val
)
1701 const char* errmsg
= val
? "float" : 0;
1703 if (SWIG_AsVal_double(obj
, &v
)) {
1704 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
1714 PyErr_SetString(PyExc_TypeError
, "a float is expected");
1720 SWIGSTATICINLINE(float)
1721 SWIG_As_float(PyObject
* obj
)
1724 if (!SWIG_AsVal_float(obj
, &v
)) {
1726 this is needed to make valgrind/purify happier. the other
1727 solution is throw an exception, but since this code should work
1730 memset((void*)&v
, 0, sizeof(float));
1736 SWIGSTATICINLINE(int)
1737 SWIG_Check_float(PyObject
* obj
)
1739 return SWIG_AsVal_float(obj
, (float*)0);
1742 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1743 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1745 Py_INCREF(data
->m_obj
);
1753 // Figure out the type of the sizer item
1755 struct wxPySizerItemInfo
{
1757 : window(NULL
), sizer(NULL
), gotSize(False
),
1758 size(wxDefaultSize
), gotPos(False
), pos(-1)
1769 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1771 wxPySizerItemInfo info
;
1773 wxSize
* sizePtr
= &size
;
1775 // Find out what the type of the item is
1777 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1782 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1786 // try wxSize or (w,h)
1787 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1788 info
.size
= *sizePtr
;
1789 info
.gotSize
= True
;
1793 if (checkIdx
&& PyInt_Check(item
)) {
1794 info
.pos
= PyInt_AsLong(item
);
1800 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1801 // no expected type, figure out what kind of error message to generate
1802 if ( !checkSize
&& !checkIdx
)
1803 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1804 else if ( checkSize
&& !checkIdx
)
1805 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1806 else if ( !checkSize
&& checkIdx
)
1807 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1809 // can this one happen?
1810 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1816 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1817 if (!self
->GetClientObject())
1818 self
->SetClientObject(new wxPyOORClientData(_self
));
1820 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1822 wxPyUserData
* data
= NULL
;
1823 bool blocked
= wxPyBeginBlockThreads();
1824 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1825 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1826 data
= new wxPyUserData(userData
);
1827 wxPyEndBlockThreads(blocked
);
1829 // Now call the real Add method if a valid item type was found
1831 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1832 else if ( info
.sizer
)
1833 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1834 else if (info
.gotSize
)
1835 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1836 proportion
, flag
, border
, data
);
1838 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1840 wxPyUserData
* data
= NULL
;
1841 bool blocked
= wxPyBeginBlockThreads();
1842 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1843 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1844 data
= new wxPyUserData(userData
);
1845 wxPyEndBlockThreads(blocked
);
1847 // Now call the real Insert method if a valid item type was found
1849 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1850 else if ( info
.sizer
)
1851 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1852 else if (info
.gotSize
)
1853 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1854 proportion
, flag
, border
, data
);
1856 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1858 wxPyUserData
* data
= NULL
;
1859 bool blocked
= wxPyBeginBlockThreads();
1860 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1861 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1862 data
= new wxPyUserData(userData
);
1863 wxPyEndBlockThreads(blocked
);
1865 // Now call the real Prepend method if a valid item type was found
1867 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1868 else if ( info
.sizer
)
1869 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1870 else if (info
.gotSize
)
1871 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1872 proportion
, flag
, border
, data
);
1874 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1875 bool blocked
= wxPyBeginBlockThreads();
1876 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1877 wxPyEndBlockThreads(blocked
);
1879 return self
->Remove(info
.window
);
1880 else if ( info
.sizer
)
1881 return self
->Remove(info
.sizer
);
1882 else if ( info
.gotPos
)
1883 return self
->Remove(info
.pos
);
1887 bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
1888 bool blocked
= wxPyBeginBlockThreads();
1889 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1890 wxPyEndBlockThreads(blocked
);
1892 return self
->Detach(info
.window
);
1893 else if ( info
.sizer
)
1894 return self
->Detach(info
.sizer
);
1895 else if ( info
.gotPos
)
1896 return self
->Detach(info
.pos
);
1900 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1901 bool blocked
= wxPyBeginBlockThreads();
1902 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1903 wxPyEndBlockThreads(blocked
);
1905 self
->SetItemMinSize(info
.window
, size
);
1906 else if ( info
.sizer
)
1907 self
->SetItemMinSize(info
.sizer
, size
);
1908 else if ( info
.gotPos
)
1909 self
->SetItemMinSize(info
.pos
, size
);
1911 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1912 wxSizerItemList
& list
= self
->GetChildren();
1913 return wxPy_ConvertList(&list
);
1915 bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
,bool recursive
){
1916 bool blocked
= wxPyBeginBlockThreads();
1917 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1918 wxPyEndBlockThreads(blocked
);
1920 return self
->Show(info
.window
, show
, recursive
);
1921 else if ( info
.sizer
)
1922 return self
->Show(info
.sizer
, show
, recursive
);
1923 else if ( info
.gotPos
)
1924 return self
->Show(info
.pos
, show
);
1926 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1927 bool blocked
= wxPyBeginBlockThreads();
1928 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1929 wxPyEndBlockThreads(blocked
);
1931 return self
->IsShown(info
.window
);
1932 else if ( info
.sizer
)
1933 return self
->IsShown(info
.sizer
);
1934 else if ( info
.gotPos
)
1935 return self
->IsShown(info
.pos
);
1941 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1942 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1943 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1948 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1950 if (source
== Py_None
) {
1951 **obj
= wxGBPosition(-1,-1);
1954 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1957 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1959 if (source
== Py_None
) {
1960 **obj
= wxGBSpan(-1,-1);
1963 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1967 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1971 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1972 bool blocked
= wxPyBeginBlockThreads();
1973 PyObject
* tup
= PyTuple_New(2);
1974 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1975 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1976 wxPyEndBlockThreads(blocked
);
1979 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1980 self
->SetRowspan(rowspan
);
1981 self
->SetColspan(colspan
);
1983 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1984 bool blocked
= wxPyBeginBlockThreads();
1985 PyObject
* tup
= PyTuple_New(2);
1986 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1987 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1988 wxPyEndBlockThreads(blocked
);
1991 wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1992 wxPyUserData
* data
= NULL
;
1994 bool blocked
= wxPyBeginBlockThreads();
1995 data
= new wxPyUserData(userData
);
1996 wxPyEndBlockThreads(blocked
);
1998 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
2000 wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2001 wxPyUserData
* data
= NULL
;
2003 bool blocked
= wxPyBeginBlockThreads();
2004 data
= new wxPyUserData(userData
);
2005 wxPyEndBlockThreads(blocked
);
2007 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
2009 wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2010 wxPyUserData
* data
= NULL
;
2012 bool blocked
= wxPyBeginBlockThreads();
2013 data
= new wxPyUserData(userData
);
2014 wxPyEndBlockThreads(blocked
);
2016 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
2018 wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
2020 self
->GetEndPos(row
, col
);
2021 return wxGBPosition(row
, col
);
2023 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2025 wxPyUserData
* data
= NULL
;
2026 bool blocked
= wxPyBeginBlockThreads();
2027 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
2028 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2029 data
= new wxPyUserData(userData
);
2030 wxPyEndBlockThreads(blocked
);
2032 // Now call the real Add method if a valid item type was found
2034 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
2035 else if ( info
.sizer
)
2036 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
2037 else if (info
.gotSize
)
2038 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
2039 pos
, span
, flag
, border
, data
);
2047 static int _wrap_EmptyString_set(PyObject
*) {
2048 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
2053 static PyObject
*_wrap_EmptyString_get() {
2058 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
2060 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
2067 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2068 PyObject
*resultobj
;
2069 wxObject
*arg1
= (wxObject
*) 0 ;
2071 PyObject
* obj0
= 0 ;
2073 (char *) "self", NULL
2076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
2077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
2078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2081 result
= wxObject_GetClassName(arg1
);
2083 wxPyEndAllowThreads(__tstate
);
2084 if (PyErr_Occurred()) SWIG_fail
;
2088 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2090 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2099 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2100 PyObject
*resultobj
;
2101 wxObject
*arg1
= (wxObject
*) 0 ;
2102 PyObject
* obj0
= 0 ;
2104 (char *) "self", NULL
2107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
2108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
2109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2112 wxObject_Destroy(arg1
);
2114 wxPyEndAllowThreads(__tstate
);
2115 if (PyErr_Occurred()) SWIG_fail
;
2117 Py_INCREF(Py_None
); resultobj
= Py_None
;
2124 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
2126 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2127 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
2129 return Py_BuildValue((char *)"");
2131 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2132 PyObject
*resultobj
;
2133 wxSize
*arg1
= (wxSize
*) 0 ;
2135 PyObject
* obj0
= 0 ;
2136 PyObject
* obj1
= 0 ;
2138 (char *) "self",(char *) "x", NULL
2141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2144 arg2
= (int)SWIG_As_int(obj1
);
2145 if (PyErr_Occurred()) SWIG_fail
;
2146 if (arg1
) (arg1
)->x
= arg2
;
2148 Py_INCREF(Py_None
); resultobj
= Py_None
;
2155 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2156 PyObject
*resultobj
;
2157 wxSize
*arg1
= (wxSize
*) 0 ;
2159 PyObject
* obj0
= 0 ;
2161 (char *) "self", NULL
2164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
2165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2167 result
= (int) ((arg1
)->x
);
2169 resultobj
= SWIG_From_int((int)result
);
2176 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2177 PyObject
*resultobj
;
2178 wxSize
*arg1
= (wxSize
*) 0 ;
2180 PyObject
* obj0
= 0 ;
2181 PyObject
* obj1
= 0 ;
2183 (char *) "self",(char *) "y", NULL
2186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2189 arg2
= (int)SWIG_As_int(obj1
);
2190 if (PyErr_Occurred()) SWIG_fail
;
2191 if (arg1
) (arg1
)->y
= arg2
;
2193 Py_INCREF(Py_None
); resultobj
= Py_None
;
2200 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2201 PyObject
*resultobj
;
2202 wxSize
*arg1
= (wxSize
*) 0 ;
2204 PyObject
* obj0
= 0 ;
2206 (char *) "self", NULL
2209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
2210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2212 result
= (int) ((arg1
)->y
);
2214 resultobj
= SWIG_From_int((int)result
);
2221 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2222 PyObject
*resultobj
;
2223 int arg1
= (int) 0 ;
2224 int arg2
= (int) 0 ;
2226 PyObject
* obj0
= 0 ;
2227 PyObject
* obj1
= 0 ;
2229 (char *) "w",(char *) "h", NULL
2232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
2234 arg1
= (int)SWIG_As_int(obj0
);
2235 if (PyErr_Occurred()) SWIG_fail
;
2238 arg2
= (int)SWIG_As_int(obj1
);
2239 if (PyErr_Occurred()) SWIG_fail
;
2242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2243 result
= (wxSize
*)new wxSize(arg1
,arg2
);
2245 wxPyEndAllowThreads(__tstate
);
2246 if (PyErr_Occurred()) SWIG_fail
;
2248 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
2255 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2256 PyObject
*resultobj
;
2257 wxSize
*arg1
= (wxSize
*) 0 ;
2258 PyObject
* obj0
= 0 ;
2260 (char *) "self", NULL
2263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
2264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2270 wxPyEndAllowThreads(__tstate
);
2271 if (PyErr_Occurred()) SWIG_fail
;
2273 Py_INCREF(Py_None
); resultobj
= Py_None
;
2280 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2281 PyObject
*resultobj
;
2282 wxSize
*arg1
= (wxSize
*) 0 ;
2286 PyObject
* obj0
= 0 ;
2287 PyObject
* obj1
= 0 ;
2289 (char *) "self",(char *) "sz", NULL
2292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2297 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2301 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
2303 wxPyEndAllowThreads(__tstate
);
2304 if (PyErr_Occurred()) SWIG_fail
;
2307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2315 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2316 PyObject
*resultobj
;
2317 wxSize
*arg1
= (wxSize
*) 0 ;
2321 PyObject
* obj0
= 0 ;
2322 PyObject
* obj1
= 0 ;
2324 (char *) "self",(char *) "sz", NULL
2327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2332 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2336 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2338 wxPyEndAllowThreads(__tstate
);
2339 if (PyErr_Occurred()) SWIG_fail
;
2342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2350 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2351 PyObject
*resultobj
;
2352 wxSize
*arg1
= (wxSize
*) 0 ;
2356 PyObject
* obj0
= 0 ;
2357 PyObject
* obj1
= 0 ;
2359 (char *) "self",(char *) "sz", NULL
2362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2367 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2371 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
2373 wxPyEndAllowThreads(__tstate
);
2374 if (PyErr_Occurred()) SWIG_fail
;
2378 resultptr
= new wxSize((wxSize
&) result
);
2379 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2387 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2388 PyObject
*resultobj
;
2389 wxSize
*arg1
= (wxSize
*) 0 ;
2393 PyObject
* obj0
= 0 ;
2394 PyObject
* obj1
= 0 ;
2396 (char *) "self",(char *) "sz", NULL
2399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2404 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2408 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2410 wxPyEndAllowThreads(__tstate
);
2411 if (PyErr_Occurred()) SWIG_fail
;
2415 resultptr
= new wxSize((wxSize
&) result
);
2416 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2424 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2425 PyObject
*resultobj
;
2426 wxSize
*arg1
= (wxSize
*) 0 ;
2429 PyObject
* obj0
= 0 ;
2430 PyObject
* obj1
= 0 ;
2432 (char *) "self",(char *) "sz", NULL
2435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2440 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2444 (arg1
)->IncTo((wxSize
const &)*arg2
);
2446 wxPyEndAllowThreads(__tstate
);
2447 if (PyErr_Occurred()) SWIG_fail
;
2449 Py_INCREF(Py_None
); resultobj
= Py_None
;
2456 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2457 PyObject
*resultobj
;
2458 wxSize
*arg1
= (wxSize
*) 0 ;
2461 PyObject
* obj0
= 0 ;
2462 PyObject
* obj1
= 0 ;
2464 (char *) "self",(char *) "sz", NULL
2467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2472 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2476 (arg1
)->DecTo((wxSize
const &)*arg2
);
2478 wxPyEndAllowThreads(__tstate
);
2479 if (PyErr_Occurred()) SWIG_fail
;
2481 Py_INCREF(Py_None
); resultobj
= Py_None
;
2488 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2489 PyObject
*resultobj
;
2490 wxSize
*arg1
= (wxSize
*) 0 ;
2493 PyObject
* obj0
= 0 ;
2494 PyObject
* obj1
= 0 ;
2495 PyObject
* obj2
= 0 ;
2497 (char *) "self",(char *) "w",(char *) "h", NULL
2500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2503 arg2
= (int)SWIG_As_int(obj1
);
2504 if (PyErr_Occurred()) SWIG_fail
;
2505 arg3
= (int)SWIG_As_int(obj2
);
2506 if (PyErr_Occurred()) SWIG_fail
;
2508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2509 (arg1
)->Set(arg2
,arg3
);
2511 wxPyEndAllowThreads(__tstate
);
2512 if (PyErr_Occurred()) SWIG_fail
;
2514 Py_INCREF(Py_None
); resultobj
= Py_None
;
2521 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2522 PyObject
*resultobj
;
2523 wxSize
*arg1
= (wxSize
*) 0 ;
2525 PyObject
* obj0
= 0 ;
2526 PyObject
* obj1
= 0 ;
2528 (char *) "self",(char *) "w", NULL
2531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2534 arg2
= (int)SWIG_As_int(obj1
);
2535 if (PyErr_Occurred()) SWIG_fail
;
2537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2538 (arg1
)->SetWidth(arg2
);
2540 wxPyEndAllowThreads(__tstate
);
2541 if (PyErr_Occurred()) SWIG_fail
;
2543 Py_INCREF(Py_None
); resultobj
= Py_None
;
2550 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2551 PyObject
*resultobj
;
2552 wxSize
*arg1
= (wxSize
*) 0 ;
2554 PyObject
* obj0
= 0 ;
2555 PyObject
* obj1
= 0 ;
2557 (char *) "self",(char *) "h", NULL
2560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2563 arg2
= (int)SWIG_As_int(obj1
);
2564 if (PyErr_Occurred()) SWIG_fail
;
2566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2567 (arg1
)->SetHeight(arg2
);
2569 wxPyEndAllowThreads(__tstate
);
2570 if (PyErr_Occurred()) SWIG_fail
;
2572 Py_INCREF(Py_None
); resultobj
= Py_None
;
2579 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2580 PyObject
*resultobj
;
2581 wxSize
*arg1
= (wxSize
*) 0 ;
2583 PyObject
* obj0
= 0 ;
2585 (char *) "self", NULL
2588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2593 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2595 wxPyEndAllowThreads(__tstate
);
2596 if (PyErr_Occurred()) SWIG_fail
;
2598 resultobj
= SWIG_From_int((int)result
);
2605 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2606 PyObject
*resultobj
;
2607 wxSize
*arg1
= (wxSize
*) 0 ;
2609 PyObject
* obj0
= 0 ;
2611 (char *) "self", NULL
2614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2619 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2621 wxPyEndAllowThreads(__tstate
);
2622 if (PyErr_Occurred()) SWIG_fail
;
2624 resultobj
= SWIG_From_int((int)result
);
2631 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2632 PyObject
*resultobj
;
2633 wxSize
*arg1
= (wxSize
*) 0 ;
2635 PyObject
* obj0
= 0 ;
2637 (char *) "self", NULL
2640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
2641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2645 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
2647 wxPyEndAllowThreads(__tstate
);
2648 if (PyErr_Occurred()) SWIG_fail
;
2651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2659 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2660 PyObject
*resultobj
;
2661 wxSize
*arg1
= (wxSize
*) 0 ;
2664 PyObject
* obj0
= 0 ;
2665 PyObject
* obj1
= 0 ;
2667 (char *) "self",(char *) "size", NULL
2670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
2671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2675 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2679 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
2681 wxPyEndAllowThreads(__tstate
);
2682 if (PyErr_Occurred()) SWIG_fail
;
2684 Py_INCREF(Py_None
); resultobj
= Py_None
;
2691 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2692 PyObject
*resultobj
;
2693 wxSize
*arg1
= (wxSize
*) 0 ;
2695 PyObject
* obj0
= 0 ;
2697 (char *) "self", NULL
2700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2705 result
= (PyObject
*)wxSize_Get(arg1
);
2707 wxPyEndAllowThreads(__tstate
);
2708 if (PyErr_Occurred()) SWIG_fail
;
2717 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
2719 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2720 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2722 return Py_BuildValue((char *)"");
2724 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2725 PyObject
*resultobj
;
2726 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2728 PyObject
* obj0
= 0 ;
2729 PyObject
* obj1
= 0 ;
2731 (char *) "self",(char *) "x", NULL
2734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2737 arg2
= (double)SWIG_As_double(obj1
);
2738 if (PyErr_Occurred()) SWIG_fail
;
2739 if (arg1
) (arg1
)->x
= arg2
;
2741 Py_INCREF(Py_None
); resultobj
= Py_None
;
2748 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2749 PyObject
*resultobj
;
2750 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2752 PyObject
* obj0
= 0 ;
2754 (char *) "self", NULL
2757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2760 result
= (double) ((arg1
)->x
);
2762 resultobj
= SWIG_From_double((double)result
);
2769 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2770 PyObject
*resultobj
;
2771 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2773 PyObject
* obj0
= 0 ;
2774 PyObject
* obj1
= 0 ;
2776 (char *) "self",(char *) "y", NULL
2779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2782 arg2
= (double)SWIG_As_double(obj1
);
2783 if (PyErr_Occurred()) SWIG_fail
;
2784 if (arg1
) (arg1
)->y
= arg2
;
2786 Py_INCREF(Py_None
); resultobj
= Py_None
;
2793 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2794 PyObject
*resultobj
;
2795 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2797 PyObject
* obj0
= 0 ;
2799 (char *) "self", NULL
2802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2805 result
= (double) ((arg1
)->y
);
2807 resultobj
= SWIG_From_double((double)result
);
2814 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2815 PyObject
*resultobj
;
2816 double arg1
= (double) 0.0 ;
2817 double arg2
= (double) 0.0 ;
2818 wxRealPoint
*result
;
2819 PyObject
* obj0
= 0 ;
2820 PyObject
* obj1
= 0 ;
2822 (char *) "x",(char *) "y", NULL
2825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2827 arg1
= (double)SWIG_As_double(obj0
);
2828 if (PyErr_Occurred()) SWIG_fail
;
2831 arg2
= (double)SWIG_As_double(obj1
);
2832 if (PyErr_Occurred()) SWIG_fail
;
2835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2836 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2838 wxPyEndAllowThreads(__tstate
);
2839 if (PyErr_Occurred()) SWIG_fail
;
2841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2848 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2849 PyObject
*resultobj
;
2850 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2851 PyObject
* obj0
= 0 ;
2853 (char *) "self", NULL
2856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2863 wxPyEndAllowThreads(__tstate
);
2864 if (PyErr_Occurred()) SWIG_fail
;
2866 Py_INCREF(Py_None
); resultobj
= Py_None
;
2873 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2874 PyObject
*resultobj
;
2875 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2876 wxRealPoint
*arg2
= 0 ;
2879 PyObject
* obj0
= 0 ;
2880 PyObject
* obj1
= 0 ;
2882 (char *) "self",(char *) "pt", NULL
2885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2890 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2894 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2896 wxPyEndAllowThreads(__tstate
);
2897 if (PyErr_Occurred()) SWIG_fail
;
2900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2908 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2909 PyObject
*resultobj
;
2910 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2911 wxRealPoint
*arg2
= 0 ;
2914 PyObject
* obj0
= 0 ;
2915 PyObject
* obj1
= 0 ;
2917 (char *) "self",(char *) "pt", NULL
2920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2925 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2929 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2931 wxPyEndAllowThreads(__tstate
);
2932 if (PyErr_Occurred()) SWIG_fail
;
2935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2943 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2944 PyObject
*resultobj
;
2945 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2946 wxRealPoint
*arg2
= 0 ;
2949 PyObject
* obj0
= 0 ;
2950 PyObject
* obj1
= 0 ;
2952 (char *) "self",(char *) "pt", NULL
2955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2960 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2964 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2966 wxPyEndAllowThreads(__tstate
);
2967 if (PyErr_Occurred()) SWIG_fail
;
2970 wxRealPoint
* resultptr
;
2971 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2972 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2980 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2981 PyObject
*resultobj
;
2982 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2983 wxRealPoint
*arg2
= 0 ;
2986 PyObject
* obj0
= 0 ;
2987 PyObject
* obj1
= 0 ;
2989 (char *) "self",(char *) "pt", NULL
2992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2997 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3001 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
3003 wxPyEndAllowThreads(__tstate
);
3004 if (PyErr_Occurred()) SWIG_fail
;
3007 wxRealPoint
* resultptr
;
3008 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
3009 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
3017 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3018 PyObject
*resultobj
;
3019 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3022 PyObject
* obj0
= 0 ;
3023 PyObject
* obj1
= 0 ;
3024 PyObject
* obj2
= 0 ;
3026 (char *) "self",(char *) "x",(char *) "y", NULL
3029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3032 arg2
= (double)SWIG_As_double(obj1
);
3033 if (PyErr_Occurred()) SWIG_fail
;
3034 arg3
= (double)SWIG_As_double(obj2
);
3035 if (PyErr_Occurred()) SWIG_fail
;
3037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3038 wxRealPoint_Set(arg1
,arg2
,arg3
);
3040 wxPyEndAllowThreads(__tstate
);
3041 if (PyErr_Occurred()) SWIG_fail
;
3043 Py_INCREF(Py_None
); resultobj
= Py_None
;
3050 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3051 PyObject
*resultobj
;
3052 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3054 PyObject
* obj0
= 0 ;
3056 (char *) "self", NULL
3059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
3060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3064 result
= (PyObject
*)wxRealPoint_Get(arg1
);
3066 wxPyEndAllowThreads(__tstate
);
3067 if (PyErr_Occurred()) SWIG_fail
;
3076 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
3078 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3079 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
3081 return Py_BuildValue((char *)"");
3083 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3084 PyObject
*resultobj
;
3085 wxPoint
*arg1
= (wxPoint
*) 0 ;
3087 PyObject
* obj0
= 0 ;
3088 PyObject
* obj1
= 0 ;
3090 (char *) "self",(char *) "x", NULL
3093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3096 arg2
= (int)SWIG_As_int(obj1
);
3097 if (PyErr_Occurred()) SWIG_fail
;
3098 if (arg1
) (arg1
)->x
= arg2
;
3100 Py_INCREF(Py_None
); resultobj
= Py_None
;
3107 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3108 PyObject
*resultobj
;
3109 wxPoint
*arg1
= (wxPoint
*) 0 ;
3111 PyObject
* obj0
= 0 ;
3113 (char *) "self", NULL
3116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
3117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3119 result
= (int) ((arg1
)->x
);
3121 resultobj
= SWIG_From_int((int)result
);
3128 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3129 PyObject
*resultobj
;
3130 wxPoint
*arg1
= (wxPoint
*) 0 ;
3132 PyObject
* obj0
= 0 ;
3133 PyObject
* obj1
= 0 ;
3135 (char *) "self",(char *) "y", NULL
3138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3141 arg2
= (int)SWIG_As_int(obj1
);
3142 if (PyErr_Occurred()) SWIG_fail
;
3143 if (arg1
) (arg1
)->y
= arg2
;
3145 Py_INCREF(Py_None
); resultobj
= Py_None
;
3152 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3153 PyObject
*resultobj
;
3154 wxPoint
*arg1
= (wxPoint
*) 0 ;
3156 PyObject
* obj0
= 0 ;
3158 (char *) "self", NULL
3161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
3162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3164 result
= (int) ((arg1
)->y
);
3166 resultobj
= SWIG_From_int((int)result
);
3173 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3174 PyObject
*resultobj
;
3175 int arg1
= (int) 0 ;
3176 int arg2
= (int) 0 ;
3178 PyObject
* obj0
= 0 ;
3179 PyObject
* obj1
= 0 ;
3181 (char *) "x",(char *) "y", NULL
3184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
3186 arg1
= (int)SWIG_As_int(obj0
);
3187 if (PyErr_Occurred()) SWIG_fail
;
3190 arg2
= (int)SWIG_As_int(obj1
);
3191 if (PyErr_Occurred()) SWIG_fail
;
3194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3195 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
3197 wxPyEndAllowThreads(__tstate
);
3198 if (PyErr_Occurred()) SWIG_fail
;
3200 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3207 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3208 PyObject
*resultobj
;
3209 wxPoint
*arg1
= (wxPoint
*) 0 ;
3210 PyObject
* obj0
= 0 ;
3212 (char *) "self", NULL
3215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
3216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3222 wxPyEndAllowThreads(__tstate
);
3223 if (PyErr_Occurred()) SWIG_fail
;
3225 Py_INCREF(Py_None
); resultobj
= Py_None
;
3232 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3233 PyObject
*resultobj
;
3234 wxPoint
*arg1
= (wxPoint
*) 0 ;
3238 PyObject
* obj0
= 0 ;
3239 PyObject
* obj1
= 0 ;
3241 (char *) "self",(char *) "pt", NULL
3244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3249 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3253 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
3255 wxPyEndAllowThreads(__tstate
);
3256 if (PyErr_Occurred()) SWIG_fail
;
3259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3267 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3268 PyObject
*resultobj
;
3269 wxPoint
*arg1
= (wxPoint
*) 0 ;
3273 PyObject
* obj0
= 0 ;
3274 PyObject
* obj1
= 0 ;
3276 (char *) "self",(char *) "pt", NULL
3279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3284 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3288 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
3290 wxPyEndAllowThreads(__tstate
);
3291 if (PyErr_Occurred()) SWIG_fail
;
3294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3302 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3303 PyObject
*resultobj
;
3304 wxPoint
*arg1
= (wxPoint
*) 0 ;
3308 PyObject
* obj0
= 0 ;
3309 PyObject
* obj1
= 0 ;
3311 (char *) "self",(char *) "pt", NULL
3314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3319 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3323 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
3325 wxPyEndAllowThreads(__tstate
);
3326 if (PyErr_Occurred()) SWIG_fail
;
3329 wxPoint
* resultptr
;
3330 resultptr
= new wxPoint((wxPoint
&) result
);
3331 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3339 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3340 PyObject
*resultobj
;
3341 wxPoint
*arg1
= (wxPoint
*) 0 ;
3345 PyObject
* obj0
= 0 ;
3346 PyObject
* obj1
= 0 ;
3348 (char *) "self",(char *) "pt", NULL
3351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3356 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3360 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
3362 wxPyEndAllowThreads(__tstate
);
3363 if (PyErr_Occurred()) SWIG_fail
;
3366 wxPoint
* resultptr
;
3367 resultptr
= new wxPoint((wxPoint
&) result
);
3368 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3376 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3377 PyObject
*resultobj
;
3378 wxPoint
*arg1
= (wxPoint
*) 0 ;
3382 PyObject
* obj0
= 0 ;
3383 PyObject
* obj1
= 0 ;
3385 (char *) "self",(char *) "pt", NULL
3388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3390 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
3393 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3398 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
3399 result
= (wxPoint
*) &_result_ref
;
3402 wxPyEndAllowThreads(__tstate
);
3403 if (PyErr_Occurred()) SWIG_fail
;
3405 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3412 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3413 PyObject
*resultobj
;
3414 wxPoint
*arg1
= (wxPoint
*) 0 ;
3418 PyObject
* obj0
= 0 ;
3419 PyObject
* obj1
= 0 ;
3421 (char *) "self",(char *) "pt", NULL
3424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3426 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
3429 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3434 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3435 result
= (wxPoint
*) &_result_ref
;
3438 wxPyEndAllowThreads(__tstate
);
3439 if (PyErr_Occurred()) SWIG_fail
;
3441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3448 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3449 PyObject
*resultobj
;
3450 wxPoint
*arg1
= (wxPoint
*) 0 ;
3453 PyObject
* obj0
= 0 ;
3454 PyObject
* obj1
= 0 ;
3455 PyObject
* obj2
= 0 ;
3457 (char *) "self",(char *) "x",(char *) "y", NULL
3460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3463 arg2
= (long)SWIG_As_long(obj1
);
3464 if (PyErr_Occurred()) SWIG_fail
;
3465 arg3
= (long)SWIG_As_long(obj2
);
3466 if (PyErr_Occurred()) SWIG_fail
;
3468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3469 wxPoint_Set(arg1
,arg2
,arg3
);
3471 wxPyEndAllowThreads(__tstate
);
3472 if (PyErr_Occurred()) SWIG_fail
;
3474 Py_INCREF(Py_None
); resultobj
= Py_None
;
3481 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3482 PyObject
*resultobj
;
3483 wxPoint
*arg1
= (wxPoint
*) 0 ;
3485 PyObject
* obj0
= 0 ;
3487 (char *) "self", NULL
3490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3495 result
= (PyObject
*)wxPoint_Get(arg1
);
3497 wxPyEndAllowThreads(__tstate
);
3498 if (PyErr_Occurred()) SWIG_fail
;
3507 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
3509 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3510 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3512 return Py_BuildValue((char *)"");
3514 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3515 PyObject
*resultobj
;
3516 int arg1
= (int) 0 ;
3517 int arg2
= (int) 0 ;
3518 int arg3
= (int) 0 ;
3519 int arg4
= (int) 0 ;
3521 PyObject
* obj0
= 0 ;
3522 PyObject
* obj1
= 0 ;
3523 PyObject
* obj2
= 0 ;
3524 PyObject
* obj3
= 0 ;
3526 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3531 arg1
= (int)SWIG_As_int(obj0
);
3532 if (PyErr_Occurred()) SWIG_fail
;
3535 arg2
= (int)SWIG_As_int(obj1
);
3536 if (PyErr_Occurred()) SWIG_fail
;
3539 arg3
= (int)SWIG_As_int(obj2
);
3540 if (PyErr_Occurred()) SWIG_fail
;
3543 arg4
= (int)SWIG_As_int(obj3
);
3544 if (PyErr_Occurred()) SWIG_fail
;
3547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3548 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3550 wxPyEndAllowThreads(__tstate
);
3551 if (PyErr_Occurred()) SWIG_fail
;
3553 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3560 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3561 PyObject
*resultobj
;
3567 PyObject
* obj0
= 0 ;
3568 PyObject
* obj1
= 0 ;
3570 (char *) "topLeft",(char *) "bottomRight", NULL
3573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3576 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3580 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3584 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
3586 wxPyEndAllowThreads(__tstate
);
3587 if (PyErr_Occurred()) SWIG_fail
;
3589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3596 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3597 PyObject
*resultobj
;
3603 PyObject
* obj0
= 0 ;
3604 PyObject
* obj1
= 0 ;
3606 (char *) "pos",(char *) "size", NULL
3609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3612 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3616 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3620 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3622 wxPyEndAllowThreads(__tstate
);
3623 if (PyErr_Occurred()) SWIG_fail
;
3625 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3632 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3633 PyObject
*resultobj
;
3634 wxRect
*arg1
= (wxRect
*) 0 ;
3635 PyObject
* obj0
= 0 ;
3637 (char *) "self", NULL
3640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3647 wxPyEndAllowThreads(__tstate
);
3648 if (PyErr_Occurred()) SWIG_fail
;
3650 Py_INCREF(Py_None
); resultobj
= Py_None
;
3657 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3658 PyObject
*resultobj
;
3659 wxRect
*arg1
= (wxRect
*) 0 ;
3661 PyObject
* obj0
= 0 ;
3663 (char *) "self", NULL
3666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3671 result
= (int)((wxRect
const *)arg1
)->GetX();
3673 wxPyEndAllowThreads(__tstate
);
3674 if (PyErr_Occurred()) SWIG_fail
;
3676 resultobj
= SWIG_From_int((int)result
);
3683 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3684 PyObject
*resultobj
;
3685 wxRect
*arg1
= (wxRect
*) 0 ;
3687 PyObject
* obj0
= 0 ;
3688 PyObject
* obj1
= 0 ;
3690 (char *) "self",(char *) "x", NULL
3693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3696 arg2
= (int)SWIG_As_int(obj1
);
3697 if (PyErr_Occurred()) SWIG_fail
;
3699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3702 wxPyEndAllowThreads(__tstate
);
3703 if (PyErr_Occurred()) SWIG_fail
;
3705 Py_INCREF(Py_None
); resultobj
= Py_None
;
3712 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3713 PyObject
*resultobj
;
3714 wxRect
*arg1
= (wxRect
*) 0 ;
3716 PyObject
* obj0
= 0 ;
3718 (char *) "self", NULL
3721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3726 result
= (int)(arg1
)->GetY();
3728 wxPyEndAllowThreads(__tstate
);
3729 if (PyErr_Occurred()) SWIG_fail
;
3731 resultobj
= SWIG_From_int((int)result
);
3738 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3739 PyObject
*resultobj
;
3740 wxRect
*arg1
= (wxRect
*) 0 ;
3742 PyObject
* obj0
= 0 ;
3743 PyObject
* obj1
= 0 ;
3745 (char *) "self",(char *) "y", NULL
3748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3751 arg2
= (int)SWIG_As_int(obj1
);
3752 if (PyErr_Occurred()) SWIG_fail
;
3754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3757 wxPyEndAllowThreads(__tstate
);
3758 if (PyErr_Occurred()) SWIG_fail
;
3760 Py_INCREF(Py_None
); resultobj
= Py_None
;
3767 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3768 PyObject
*resultobj
;
3769 wxRect
*arg1
= (wxRect
*) 0 ;
3771 PyObject
* obj0
= 0 ;
3773 (char *) "self", NULL
3776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3781 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3783 wxPyEndAllowThreads(__tstate
);
3784 if (PyErr_Occurred()) SWIG_fail
;
3786 resultobj
= SWIG_From_int((int)result
);
3793 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3794 PyObject
*resultobj
;
3795 wxRect
*arg1
= (wxRect
*) 0 ;
3797 PyObject
* obj0
= 0 ;
3798 PyObject
* obj1
= 0 ;
3800 (char *) "self",(char *) "w", NULL
3803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3806 arg2
= (int)SWIG_As_int(obj1
);
3807 if (PyErr_Occurred()) SWIG_fail
;
3809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3810 (arg1
)->SetWidth(arg2
);
3812 wxPyEndAllowThreads(__tstate
);
3813 if (PyErr_Occurred()) SWIG_fail
;
3815 Py_INCREF(Py_None
); resultobj
= Py_None
;
3822 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3823 PyObject
*resultobj
;
3824 wxRect
*arg1
= (wxRect
*) 0 ;
3826 PyObject
* obj0
= 0 ;
3828 (char *) "self", NULL
3831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3836 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3838 wxPyEndAllowThreads(__tstate
);
3839 if (PyErr_Occurred()) SWIG_fail
;
3841 resultobj
= SWIG_From_int((int)result
);
3848 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3849 PyObject
*resultobj
;
3850 wxRect
*arg1
= (wxRect
*) 0 ;
3852 PyObject
* obj0
= 0 ;
3853 PyObject
* obj1
= 0 ;
3855 (char *) "self",(char *) "h", NULL
3858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3861 arg2
= (int)SWIG_As_int(obj1
);
3862 if (PyErr_Occurred()) SWIG_fail
;
3864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3865 (arg1
)->SetHeight(arg2
);
3867 wxPyEndAllowThreads(__tstate
);
3868 if (PyErr_Occurred()) SWIG_fail
;
3870 Py_INCREF(Py_None
); resultobj
= Py_None
;
3877 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3878 PyObject
*resultobj
;
3879 wxRect
*arg1
= (wxRect
*) 0 ;
3881 PyObject
* obj0
= 0 ;
3883 (char *) "self", NULL
3886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3891 result
= ((wxRect
const *)arg1
)->GetPosition();
3893 wxPyEndAllowThreads(__tstate
);
3894 if (PyErr_Occurred()) SWIG_fail
;
3897 wxPoint
* resultptr
;
3898 resultptr
= new wxPoint((wxPoint
&) result
);
3899 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3907 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3908 PyObject
*resultobj
;
3909 wxRect
*arg1
= (wxRect
*) 0 ;
3912 PyObject
* obj0
= 0 ;
3913 PyObject
* obj1
= 0 ;
3915 (char *) "self",(char *) "p", NULL
3918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3923 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3927 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3929 wxPyEndAllowThreads(__tstate
);
3930 if (PyErr_Occurred()) SWIG_fail
;
3932 Py_INCREF(Py_None
); resultobj
= Py_None
;
3939 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3940 PyObject
*resultobj
;
3941 wxRect
*arg1
= (wxRect
*) 0 ;
3943 PyObject
* obj0
= 0 ;
3945 (char *) "self", NULL
3948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3953 result
= ((wxRect
const *)arg1
)->GetSize();
3955 wxPyEndAllowThreads(__tstate
);
3956 if (PyErr_Occurred()) SWIG_fail
;
3960 resultptr
= new wxSize((wxSize
&) result
);
3961 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3969 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3970 PyObject
*resultobj
;
3971 wxRect
*arg1
= (wxRect
*) 0 ;
3974 PyObject
* obj0
= 0 ;
3975 PyObject
* obj1
= 0 ;
3977 (char *) "self",(char *) "s", NULL
3980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3985 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3989 (arg1
)->SetSize((wxSize
const &)*arg2
);
3991 wxPyEndAllowThreads(__tstate
);
3992 if (PyErr_Occurred()) SWIG_fail
;
3994 Py_INCREF(Py_None
); resultobj
= Py_None
;
4001 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4002 PyObject
*resultobj
;
4003 wxRect
*arg1
= (wxRect
*) 0 ;
4005 PyObject
* obj0
= 0 ;
4007 (char *) "self", NULL
4010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
4011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4015 result
= ((wxRect
const *)arg1
)->GetTopLeft();
4017 wxPyEndAllowThreads(__tstate
);
4018 if (PyErr_Occurred()) SWIG_fail
;
4021 wxPoint
* resultptr
;
4022 resultptr
= new wxPoint((wxPoint
&) result
);
4023 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4031 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4032 PyObject
*resultobj
;
4033 wxRect
*arg1
= (wxRect
*) 0 ;
4036 PyObject
* obj0
= 0 ;
4037 PyObject
* obj1
= 0 ;
4039 (char *) "self",(char *) "p", NULL
4042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
4043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4047 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4051 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
4053 wxPyEndAllowThreads(__tstate
);
4054 if (PyErr_Occurred()) SWIG_fail
;
4056 Py_INCREF(Py_None
); resultobj
= Py_None
;
4063 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4064 PyObject
*resultobj
;
4065 wxRect
*arg1
= (wxRect
*) 0 ;
4067 PyObject
* obj0
= 0 ;
4069 (char *) "self", NULL
4072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
4073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4077 result
= ((wxRect
const *)arg1
)->GetBottomRight();
4079 wxPyEndAllowThreads(__tstate
);
4080 if (PyErr_Occurred()) SWIG_fail
;
4083 wxPoint
* resultptr
;
4084 resultptr
= new wxPoint((wxPoint
&) result
);
4085 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4093 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4094 PyObject
*resultobj
;
4095 wxRect
*arg1
= (wxRect
*) 0 ;
4098 PyObject
* obj0
= 0 ;
4099 PyObject
* obj1
= 0 ;
4101 (char *) "self",(char *) "p", NULL
4104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4109 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4113 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
4115 wxPyEndAllowThreads(__tstate
);
4116 if (PyErr_Occurred()) SWIG_fail
;
4118 Py_INCREF(Py_None
); resultobj
= Py_None
;
4125 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4126 PyObject
*resultobj
;
4127 wxRect
*arg1
= (wxRect
*) 0 ;
4129 PyObject
* obj0
= 0 ;
4131 (char *) "self", NULL
4134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
4135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4139 result
= (int)((wxRect
const *)arg1
)->GetLeft();
4141 wxPyEndAllowThreads(__tstate
);
4142 if (PyErr_Occurred()) SWIG_fail
;
4144 resultobj
= SWIG_From_int((int)result
);
4151 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4152 PyObject
*resultobj
;
4153 wxRect
*arg1
= (wxRect
*) 0 ;
4155 PyObject
* obj0
= 0 ;
4157 (char *) "self", NULL
4160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
4161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4165 result
= (int)((wxRect
const *)arg1
)->GetTop();
4167 wxPyEndAllowThreads(__tstate
);
4168 if (PyErr_Occurred()) SWIG_fail
;
4170 resultobj
= SWIG_From_int((int)result
);
4177 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4178 PyObject
*resultobj
;
4179 wxRect
*arg1
= (wxRect
*) 0 ;
4181 PyObject
* obj0
= 0 ;
4183 (char *) "self", NULL
4186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
4187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4191 result
= (int)((wxRect
const *)arg1
)->GetBottom();
4193 wxPyEndAllowThreads(__tstate
);
4194 if (PyErr_Occurred()) SWIG_fail
;
4196 resultobj
= SWIG_From_int((int)result
);
4203 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4204 PyObject
*resultobj
;
4205 wxRect
*arg1
= (wxRect
*) 0 ;
4207 PyObject
* obj0
= 0 ;
4209 (char *) "self", NULL
4212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
4213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4217 result
= (int)((wxRect
const *)arg1
)->GetRight();
4219 wxPyEndAllowThreads(__tstate
);
4220 if (PyErr_Occurred()) SWIG_fail
;
4222 resultobj
= SWIG_From_int((int)result
);
4229 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4230 PyObject
*resultobj
;
4231 wxRect
*arg1
= (wxRect
*) 0 ;
4233 PyObject
* obj0
= 0 ;
4234 PyObject
* obj1
= 0 ;
4236 (char *) "self",(char *) "left", NULL
4239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
4240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4242 arg2
= (int)SWIG_As_int(obj1
);
4243 if (PyErr_Occurred()) SWIG_fail
;
4245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4246 (arg1
)->SetLeft(arg2
);
4248 wxPyEndAllowThreads(__tstate
);
4249 if (PyErr_Occurred()) SWIG_fail
;
4251 Py_INCREF(Py_None
); resultobj
= Py_None
;
4258 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4259 PyObject
*resultobj
;
4260 wxRect
*arg1
= (wxRect
*) 0 ;
4262 PyObject
* obj0
= 0 ;
4263 PyObject
* obj1
= 0 ;
4265 (char *) "self",(char *) "right", NULL
4268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4271 arg2
= (int)SWIG_As_int(obj1
);
4272 if (PyErr_Occurred()) SWIG_fail
;
4274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4275 (arg1
)->SetRight(arg2
);
4277 wxPyEndAllowThreads(__tstate
);
4278 if (PyErr_Occurred()) SWIG_fail
;
4280 Py_INCREF(Py_None
); resultobj
= Py_None
;
4287 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4288 PyObject
*resultobj
;
4289 wxRect
*arg1
= (wxRect
*) 0 ;
4291 PyObject
* obj0
= 0 ;
4292 PyObject
* obj1
= 0 ;
4294 (char *) "self",(char *) "top", NULL
4297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
4298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4300 arg2
= (int)SWIG_As_int(obj1
);
4301 if (PyErr_Occurred()) SWIG_fail
;
4303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4304 (arg1
)->SetTop(arg2
);
4306 wxPyEndAllowThreads(__tstate
);
4307 if (PyErr_Occurred()) SWIG_fail
;
4309 Py_INCREF(Py_None
); resultobj
= Py_None
;
4316 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4317 PyObject
*resultobj
;
4318 wxRect
*arg1
= (wxRect
*) 0 ;
4320 PyObject
* obj0
= 0 ;
4321 PyObject
* obj1
= 0 ;
4323 (char *) "self",(char *) "bottom", NULL
4326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
4327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4329 arg2
= (int)SWIG_As_int(obj1
);
4330 if (PyErr_Occurred()) SWIG_fail
;
4332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4333 (arg1
)->SetBottom(arg2
);
4335 wxPyEndAllowThreads(__tstate
);
4336 if (PyErr_Occurred()) SWIG_fail
;
4338 Py_INCREF(Py_None
); resultobj
= Py_None
;
4345 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4346 PyObject
*resultobj
;
4347 wxRect
*arg1
= (wxRect
*) 0 ;
4351 PyObject
* obj0
= 0 ;
4352 PyObject
* obj1
= 0 ;
4353 PyObject
* obj2
= 0 ;
4355 (char *) "self",(char *) "dx",(char *) "dy", NULL
4358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4361 arg2
= (int)SWIG_As_int(obj1
);
4362 if (PyErr_Occurred()) SWIG_fail
;
4363 arg3
= (int)SWIG_As_int(obj2
);
4364 if (PyErr_Occurred()) SWIG_fail
;
4366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4368 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
4369 result
= (wxRect
*) &_result_ref
;
4372 wxPyEndAllowThreads(__tstate
);
4373 if (PyErr_Occurred()) SWIG_fail
;
4375 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4382 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4383 PyObject
*resultobj
;
4384 wxRect
*arg1
= (wxRect
*) 0 ;
4388 PyObject
* obj0
= 0 ;
4389 PyObject
* obj1
= 0 ;
4390 PyObject
* obj2
= 0 ;
4392 (char *) "self",(char *) "dx",(char *) "dy", NULL
4395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4398 arg2
= (int)SWIG_As_int(obj1
);
4399 if (PyErr_Occurred()) SWIG_fail
;
4400 arg3
= (int)SWIG_As_int(obj2
);
4401 if (PyErr_Occurred()) SWIG_fail
;
4403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4405 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4406 result
= (wxRect
*) &_result_ref
;
4409 wxPyEndAllowThreads(__tstate
);
4410 if (PyErr_Occurred()) SWIG_fail
;
4412 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4419 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4420 PyObject
*resultobj
;
4421 wxRect
*arg1
= (wxRect
*) 0 ;
4424 PyObject
* obj0
= 0 ;
4425 PyObject
* obj1
= 0 ;
4426 PyObject
* obj2
= 0 ;
4428 (char *) "self",(char *) "dx",(char *) "dy", NULL
4431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4434 arg2
= (int)SWIG_As_int(obj1
);
4435 if (PyErr_Occurred()) SWIG_fail
;
4436 arg3
= (int)SWIG_As_int(obj2
);
4437 if (PyErr_Occurred()) SWIG_fail
;
4439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4440 (arg1
)->Offset(arg2
,arg3
);
4442 wxPyEndAllowThreads(__tstate
);
4443 if (PyErr_Occurred()) SWIG_fail
;
4445 Py_INCREF(Py_None
); resultobj
= Py_None
;
4452 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4453 PyObject
*resultobj
;
4454 wxRect
*arg1
= (wxRect
*) 0 ;
4457 PyObject
* obj0
= 0 ;
4458 PyObject
* obj1
= 0 ;
4460 (char *) "self",(char *) "pt", NULL
4463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4468 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4472 (arg1
)->Offset((wxPoint
const &)*arg2
);
4474 wxPyEndAllowThreads(__tstate
);
4475 if (PyErr_Occurred()) SWIG_fail
;
4477 Py_INCREF(Py_None
); resultobj
= Py_None
;
4484 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4485 PyObject
*resultobj
;
4486 wxRect
*arg1
= (wxRect
*) 0 ;
4490 PyObject
* obj0
= 0 ;
4491 PyObject
* obj1
= 0 ;
4493 (char *) "self",(char *) "rect", NULL
4496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
4497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4501 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4506 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
4507 result
= (wxRect
*) &_result_ref
;
4510 wxPyEndAllowThreads(__tstate
);
4511 if (PyErr_Occurred()) SWIG_fail
;
4513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4520 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4521 PyObject
*resultobj
;
4522 wxRect
*arg1
= (wxRect
*) 0 ;
4526 PyObject
* obj0
= 0 ;
4527 PyObject
* obj1
= 0 ;
4529 (char *) "self",(char *) "rect", NULL
4532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4537 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4541 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4543 wxPyEndAllowThreads(__tstate
);
4544 if (PyErr_Occurred()) SWIG_fail
;
4548 resultptr
= new wxRect((wxRect
&) result
);
4549 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4557 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4558 PyObject
*resultobj
;
4559 wxRect
*arg1
= (wxRect
*) 0 ;
4563 PyObject
* obj0
= 0 ;
4564 PyObject
* obj1
= 0 ;
4566 (char *) "self",(char *) "rect", NULL
4569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4571 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
4574 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4579 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4580 result
= (wxRect
*) &_result_ref
;
4583 wxPyEndAllowThreads(__tstate
);
4584 if (PyErr_Occurred()) SWIG_fail
;
4586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4593 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4594 PyObject
*resultobj
;
4595 wxRect
*arg1
= (wxRect
*) 0 ;
4599 PyObject
* obj0
= 0 ;
4600 PyObject
* obj1
= 0 ;
4602 (char *) "self",(char *) "rect", NULL
4605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4610 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4614 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4616 wxPyEndAllowThreads(__tstate
);
4617 if (PyErr_Occurred()) SWIG_fail
;
4620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4628 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4629 PyObject
*resultobj
;
4630 wxRect
*arg1
= (wxRect
*) 0 ;
4634 PyObject
* obj0
= 0 ;
4635 PyObject
* obj1
= 0 ;
4637 (char *) "self",(char *) "rect", NULL
4640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4645 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4649 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4651 wxPyEndAllowThreads(__tstate
);
4652 if (PyErr_Occurred()) SWIG_fail
;
4655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4663 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4664 PyObject
*resultobj
;
4665 wxRect
*arg1
= (wxRect
*) 0 ;
4669 PyObject
* obj0
= 0 ;
4670 PyObject
* obj1
= 0 ;
4671 PyObject
* obj2
= 0 ;
4673 (char *) "self",(char *) "x",(char *) "y", NULL
4676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4679 arg2
= (int)SWIG_As_int(obj1
);
4680 if (PyErr_Occurred()) SWIG_fail
;
4681 arg3
= (int)SWIG_As_int(obj2
);
4682 if (PyErr_Occurred()) SWIG_fail
;
4684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4685 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4687 wxPyEndAllowThreads(__tstate
);
4688 if (PyErr_Occurred()) SWIG_fail
;
4691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4699 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4700 PyObject
*resultobj
;
4701 wxRect
*arg1
= (wxRect
*) 0 ;
4705 PyObject
* obj0
= 0 ;
4706 PyObject
* obj1
= 0 ;
4708 (char *) "self",(char *) "pt", NULL
4711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4716 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4720 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4722 wxPyEndAllowThreads(__tstate
);
4723 if (PyErr_Occurred()) SWIG_fail
;
4726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4734 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4735 PyObject
*resultobj
;
4736 wxRect
*arg1
= (wxRect
*) 0 ;
4740 PyObject
* obj0
= 0 ;
4741 PyObject
* obj1
= 0 ;
4743 (char *) "self",(char *) "rect", NULL
4746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4751 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4755 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4757 wxPyEndAllowThreads(__tstate
);
4758 if (PyErr_Occurred()) SWIG_fail
;
4761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4769 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4770 PyObject
*resultobj
;
4771 wxRect
*arg1
= (wxRect
*) 0 ;
4773 PyObject
* obj0
= 0 ;
4774 PyObject
* obj1
= 0 ;
4776 (char *) "self",(char *) "x", NULL
4779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4782 arg2
= (int)SWIG_As_int(obj1
);
4783 if (PyErr_Occurred()) SWIG_fail
;
4784 if (arg1
) (arg1
)->x
= arg2
;
4786 Py_INCREF(Py_None
); resultobj
= Py_None
;
4793 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4794 PyObject
*resultobj
;
4795 wxRect
*arg1
= (wxRect
*) 0 ;
4797 PyObject
* obj0
= 0 ;
4799 (char *) "self", NULL
4802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4805 result
= (int) ((arg1
)->x
);
4807 resultobj
= SWIG_From_int((int)result
);
4814 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4815 PyObject
*resultobj
;
4816 wxRect
*arg1
= (wxRect
*) 0 ;
4818 PyObject
* obj0
= 0 ;
4819 PyObject
* obj1
= 0 ;
4821 (char *) "self",(char *) "y", NULL
4824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4827 arg2
= (int)SWIG_As_int(obj1
);
4828 if (PyErr_Occurred()) SWIG_fail
;
4829 if (arg1
) (arg1
)->y
= arg2
;
4831 Py_INCREF(Py_None
); resultobj
= Py_None
;
4838 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4839 PyObject
*resultobj
;
4840 wxRect
*arg1
= (wxRect
*) 0 ;
4842 PyObject
* obj0
= 0 ;
4844 (char *) "self", NULL
4847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4850 result
= (int) ((arg1
)->y
);
4852 resultobj
= SWIG_From_int((int)result
);
4859 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4860 PyObject
*resultobj
;
4861 wxRect
*arg1
= (wxRect
*) 0 ;
4863 PyObject
* obj0
= 0 ;
4864 PyObject
* obj1
= 0 ;
4866 (char *) "self",(char *) "width", NULL
4869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4872 arg2
= (int)SWIG_As_int(obj1
);
4873 if (PyErr_Occurred()) SWIG_fail
;
4874 if (arg1
) (arg1
)->width
= arg2
;
4876 Py_INCREF(Py_None
); resultobj
= Py_None
;
4883 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4884 PyObject
*resultobj
;
4885 wxRect
*arg1
= (wxRect
*) 0 ;
4887 PyObject
* obj0
= 0 ;
4889 (char *) "self", NULL
4892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4895 result
= (int) ((arg1
)->width
);
4897 resultobj
= SWIG_From_int((int)result
);
4904 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4905 PyObject
*resultobj
;
4906 wxRect
*arg1
= (wxRect
*) 0 ;
4908 PyObject
* obj0
= 0 ;
4909 PyObject
* obj1
= 0 ;
4911 (char *) "self",(char *) "height", NULL
4914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4917 arg2
= (int)SWIG_As_int(obj1
);
4918 if (PyErr_Occurred()) SWIG_fail
;
4919 if (arg1
) (arg1
)->height
= arg2
;
4921 Py_INCREF(Py_None
); resultobj
= Py_None
;
4928 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4929 PyObject
*resultobj
;
4930 wxRect
*arg1
= (wxRect
*) 0 ;
4932 PyObject
* obj0
= 0 ;
4934 (char *) "self", NULL
4937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
4938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4940 result
= (int) ((arg1
)->height
);
4942 resultobj
= SWIG_From_int((int)result
);
4949 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4950 PyObject
*resultobj
;
4951 wxRect
*arg1
= (wxRect
*) 0 ;
4952 int arg2
= (int) 0 ;
4953 int arg3
= (int) 0 ;
4954 int arg4
= (int) 0 ;
4955 int arg5
= (int) 0 ;
4956 PyObject
* obj0
= 0 ;
4957 PyObject
* obj1
= 0 ;
4958 PyObject
* obj2
= 0 ;
4959 PyObject
* obj3
= 0 ;
4960 PyObject
* obj4
= 0 ;
4962 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4969 arg2
= (int)SWIG_As_int(obj1
);
4970 if (PyErr_Occurred()) SWIG_fail
;
4973 arg3
= (int)SWIG_As_int(obj2
);
4974 if (PyErr_Occurred()) SWIG_fail
;
4977 arg4
= (int)SWIG_As_int(obj3
);
4978 if (PyErr_Occurred()) SWIG_fail
;
4981 arg5
= (int)SWIG_As_int(obj4
);
4982 if (PyErr_Occurred()) SWIG_fail
;
4985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4986 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
4988 wxPyEndAllowThreads(__tstate
);
4989 if (PyErr_Occurred()) SWIG_fail
;
4991 Py_INCREF(Py_None
); resultobj
= Py_None
;
4998 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4999 PyObject
*resultobj
;
5000 wxRect
*arg1
= (wxRect
*) 0 ;
5002 PyObject
* obj0
= 0 ;
5004 (char *) "self", NULL
5007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
5008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5012 result
= (PyObject
*)wxRect_Get(arg1
);
5014 wxPyEndAllowThreads(__tstate
);
5015 if (PyErr_Occurred()) SWIG_fail
;
5024 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
5026 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5027 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
5029 return Py_BuildValue((char *)"");
5031 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5032 PyObject
*resultobj
;
5033 wxRect
*arg1
= (wxRect
*) 0 ;
5034 wxRect
*arg2
= (wxRect
*) 0 ;
5036 PyObject
* obj0
= 0 ;
5037 PyObject
* obj1
= 0 ;
5039 (char *) "r1",(char *) "r2", NULL
5042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5045 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
5046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5048 if (!wxPyCheckForApp()) SWIG_fail
;
5049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5050 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
5052 wxPyEndAllowThreads(__tstate
);
5053 if (PyErr_Occurred()) SWIG_fail
;
5062 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5063 PyObject
*resultobj
;
5064 double arg1
= (double) 0.0 ;
5065 double arg2
= (double) 0.0 ;
5067 PyObject
* obj0
= 0 ;
5068 PyObject
* obj1
= 0 ;
5070 (char *) "x",(char *) "y", NULL
5073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
5075 arg1
= (double)SWIG_As_double(obj0
);
5076 if (PyErr_Occurred()) SWIG_fail
;
5079 arg2
= (double)SWIG_As_double(obj1
);
5080 if (PyErr_Occurred()) SWIG_fail
;
5083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5084 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
5086 wxPyEndAllowThreads(__tstate
);
5087 if (PyErr_Occurred()) SWIG_fail
;
5089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5096 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5097 PyObject
*resultobj
;
5098 wxPoint2D
*arg1
= 0 ;
5101 PyObject
* obj0
= 0 ;
5106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
5109 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
5112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5113 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
5115 wxPyEndAllowThreads(__tstate
);
5116 if (PyErr_Occurred()) SWIG_fail
;
5118 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5125 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5126 PyObject
*resultobj
;
5130 PyObject
* obj0
= 0 ;
5135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
5138 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5142 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
5144 wxPyEndAllowThreads(__tstate
);
5145 if (PyErr_Occurred()) SWIG_fail
;
5147 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5154 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5155 PyObject
*resultobj
;
5156 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5157 int *arg2
= (int *) 0 ;
5158 int *arg3
= (int *) 0 ;
5163 PyObject
* obj0
= 0 ;
5165 (char *) "self", NULL
5168 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5169 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
5171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5175 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
5177 wxPyEndAllowThreads(__tstate
);
5178 if (PyErr_Occurred()) SWIG_fail
;
5180 Py_INCREF(Py_None
); resultobj
= Py_None
;
5181 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5182 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5183 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5184 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5191 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5192 PyObject
*resultobj
;
5193 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5194 int *arg2
= (int *) 0 ;
5195 int *arg3
= (int *) 0 ;
5200 PyObject
* obj0
= 0 ;
5202 (char *) "self", NULL
5205 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5206 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
5208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5212 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
5214 wxPyEndAllowThreads(__tstate
);
5215 if (PyErr_Occurred()) SWIG_fail
;
5217 Py_INCREF(Py_None
); resultobj
= Py_None
;
5218 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5219 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5220 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5221 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5228 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5229 PyObject
*resultobj
;
5230 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5232 PyObject
* obj0
= 0 ;
5234 (char *) "self", NULL
5237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
5238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5242 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
5244 wxPyEndAllowThreads(__tstate
);
5245 if (PyErr_Occurred()) SWIG_fail
;
5247 resultobj
= SWIG_From_double((double)result
);
5254 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5255 PyObject
*resultobj
;
5256 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5258 PyObject
* obj0
= 0 ;
5260 (char *) "self", NULL
5263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
5264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5268 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
5270 wxPyEndAllowThreads(__tstate
);
5271 if (PyErr_Occurred()) SWIG_fail
;
5273 resultobj
= SWIG_From_double((double)result
);
5280 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5281 PyObject
*resultobj
;
5282 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5284 PyObject
* obj0
= 0 ;
5285 PyObject
* obj1
= 0 ;
5287 (char *) "self",(char *) "length", NULL
5290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
5291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5293 arg2
= (double)SWIG_As_double(obj1
);
5294 if (PyErr_Occurred()) SWIG_fail
;
5296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5297 (arg1
)->SetVectorLength(arg2
);
5299 wxPyEndAllowThreads(__tstate
);
5300 if (PyErr_Occurred()) SWIG_fail
;
5302 Py_INCREF(Py_None
); resultobj
= Py_None
;
5309 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5310 PyObject
*resultobj
;
5311 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5313 PyObject
* obj0
= 0 ;
5314 PyObject
* obj1
= 0 ;
5316 (char *) "self",(char *) "degrees", NULL
5319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
5320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5322 arg2
= (double)SWIG_As_double(obj1
);
5323 if (PyErr_Occurred()) SWIG_fail
;
5325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5326 (arg1
)->SetVectorAngle(arg2
);
5328 wxPyEndAllowThreads(__tstate
);
5329 if (PyErr_Occurred()) SWIG_fail
;
5331 Py_INCREF(Py_None
); resultobj
= Py_None
;
5338 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5339 PyObject
*resultobj
;
5340 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5341 wxPoint2D
*arg2
= 0 ;
5344 PyObject
* obj0
= 0 ;
5345 PyObject
* obj1
= 0 ;
5347 (char *) "self",(char *) "pt", NULL
5350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
5351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5355 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5359 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
5361 wxPyEndAllowThreads(__tstate
);
5362 if (PyErr_Occurred()) SWIG_fail
;
5364 resultobj
= SWIG_From_double((double)result
);
5371 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5372 PyObject
*resultobj
;
5373 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5374 wxPoint2D
*arg2
= 0 ;
5377 PyObject
* obj0
= 0 ;
5378 PyObject
* obj1
= 0 ;
5380 (char *) "self",(char *) "pt", NULL
5383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
5384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5388 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5392 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5394 wxPyEndAllowThreads(__tstate
);
5395 if (PyErr_Occurred()) SWIG_fail
;
5397 resultobj
= SWIG_From_double((double)result
);
5404 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5405 PyObject
*resultobj
;
5406 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5407 wxPoint2D
*arg2
= 0 ;
5410 PyObject
* obj0
= 0 ;
5411 PyObject
* obj1
= 0 ;
5413 (char *) "self",(char *) "vec", NULL
5416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5421 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5425 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5427 wxPyEndAllowThreads(__tstate
);
5428 if (PyErr_Occurred()) SWIG_fail
;
5430 resultobj
= SWIG_From_double((double)result
);
5437 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5438 PyObject
*resultobj
;
5439 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5440 wxPoint2D
*arg2
= 0 ;
5443 PyObject
* obj0
= 0 ;
5444 PyObject
* obj1
= 0 ;
5446 (char *) "self",(char *) "vec", NULL
5449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5454 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5458 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5460 wxPyEndAllowThreads(__tstate
);
5461 if (PyErr_Occurred()) SWIG_fail
;
5463 resultobj
= SWIG_From_double((double)result
);
5470 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5471 PyObject
*resultobj
;
5472 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5474 PyObject
* obj0
= 0 ;
5476 (char *) "self", NULL
5479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5484 result
= (arg1
)->operator -();
5486 wxPyEndAllowThreads(__tstate
);
5487 if (PyErr_Occurred()) SWIG_fail
;
5490 wxPoint2D
* resultptr
;
5491 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5492 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5500 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5501 PyObject
*resultobj
;
5502 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5503 wxPoint2D
*arg2
= 0 ;
5506 PyObject
* obj0
= 0 ;
5507 PyObject
* obj1
= 0 ;
5509 (char *) "self",(char *) "pt", NULL
5512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5514 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5517 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5522 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
5523 result
= (wxPoint2D
*) &_result_ref
;
5526 wxPyEndAllowThreads(__tstate
);
5527 if (PyErr_Occurred()) SWIG_fail
;
5529 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5536 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5537 PyObject
*resultobj
;
5538 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5539 wxPoint2D
*arg2
= 0 ;
5542 PyObject
* obj0
= 0 ;
5543 PyObject
* obj1
= 0 ;
5545 (char *) "self",(char *) "pt", NULL
5548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
5549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5550 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5553 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5558 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
5559 result
= (wxPoint2D
*) &_result_ref
;
5562 wxPyEndAllowThreads(__tstate
);
5563 if (PyErr_Occurred()) SWIG_fail
;
5565 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5572 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5573 PyObject
*resultobj
;
5574 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5575 wxPoint2D
*arg2
= 0 ;
5578 PyObject
* obj0
= 0 ;
5579 PyObject
* obj1
= 0 ;
5581 (char *) "self",(char *) "pt", NULL
5584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
5585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5586 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5589 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5594 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
5595 result
= (wxPoint2D
*) &_result_ref
;
5598 wxPyEndAllowThreads(__tstate
);
5599 if (PyErr_Occurred()) SWIG_fail
;
5601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5608 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5609 PyObject
*resultobj
;
5610 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5611 wxPoint2D
*arg2
= 0 ;
5614 PyObject
* obj0
= 0 ;
5615 PyObject
* obj1
= 0 ;
5617 (char *) "self",(char *) "pt", NULL
5620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5622 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5625 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5630 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5631 result
= (wxPoint2D
*) &_result_ref
;
5634 wxPyEndAllowThreads(__tstate
);
5635 if (PyErr_Occurred()) SWIG_fail
;
5637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5644 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5645 PyObject
*resultobj
;
5646 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5647 wxPoint2D
*arg2
= 0 ;
5650 PyObject
* obj0
= 0 ;
5651 PyObject
* obj1
= 0 ;
5653 (char *) "self",(char *) "pt", NULL
5656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5661 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5665 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5667 wxPyEndAllowThreads(__tstate
);
5668 if (PyErr_Occurred()) SWIG_fail
;
5671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5679 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5680 PyObject
*resultobj
;
5681 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5682 wxPoint2D
*arg2
= 0 ;
5685 PyObject
* obj0
= 0 ;
5686 PyObject
* obj1
= 0 ;
5688 (char *) "self",(char *) "pt", NULL
5691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5696 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5700 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5702 wxPyEndAllowThreads(__tstate
);
5703 if (PyErr_Occurred()) SWIG_fail
;
5706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5714 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5715 PyObject
*resultobj
;
5716 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5718 PyObject
* obj0
= 0 ;
5719 PyObject
* obj1
= 0 ;
5721 (char *) "self",(char *) "m_x", NULL
5724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5727 arg2
= (double)SWIG_As_double(obj1
);
5728 if (PyErr_Occurred()) SWIG_fail
;
5729 if (arg1
) (arg1
)->m_x
= arg2
;
5731 Py_INCREF(Py_None
); resultobj
= Py_None
;
5738 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5739 PyObject
*resultobj
;
5740 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5742 PyObject
* obj0
= 0 ;
5744 (char *) "self", NULL
5747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5750 result
= (double) ((arg1
)->m_x
);
5752 resultobj
= SWIG_From_double((double)result
);
5759 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5760 PyObject
*resultobj
;
5761 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5763 PyObject
* obj0
= 0 ;
5764 PyObject
* obj1
= 0 ;
5766 (char *) "self",(char *) "m_y", NULL
5769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5772 arg2
= (double)SWIG_As_double(obj1
);
5773 if (PyErr_Occurred()) SWIG_fail
;
5774 if (arg1
) (arg1
)->m_y
= arg2
;
5776 Py_INCREF(Py_None
); resultobj
= Py_None
;
5783 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5784 PyObject
*resultobj
;
5785 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5787 PyObject
* obj0
= 0 ;
5789 (char *) "self", NULL
5792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5795 result
= (double) ((arg1
)->m_y
);
5797 resultobj
= SWIG_From_double((double)result
);
5804 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5805 PyObject
*resultobj
;
5806 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5807 double arg2
= (double) 0 ;
5808 double arg3
= (double) 0 ;
5809 PyObject
* obj0
= 0 ;
5810 PyObject
* obj1
= 0 ;
5811 PyObject
* obj2
= 0 ;
5813 (char *) "self",(char *) "x",(char *) "y", NULL
5816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5820 arg2
= (double)SWIG_As_double(obj1
);
5821 if (PyErr_Occurred()) SWIG_fail
;
5824 arg3
= (double)SWIG_As_double(obj2
);
5825 if (PyErr_Occurred()) SWIG_fail
;
5828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5829 wxPoint2D_Set(arg1
,arg2
,arg3
);
5831 wxPyEndAllowThreads(__tstate
);
5832 if (PyErr_Occurred()) SWIG_fail
;
5834 Py_INCREF(Py_None
); resultobj
= Py_None
;
5841 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5842 PyObject
*resultobj
;
5843 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5845 PyObject
* obj0
= 0 ;
5847 (char *) "self", NULL
5850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5855 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5857 wxPyEndAllowThreads(__tstate
);
5858 if (PyErr_Occurred()) SWIG_fail
;
5867 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
5869 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5870 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5872 return Py_BuildValue((char *)"");
5874 static int _wrap_DefaultPosition_set(PyObject
*) {
5875 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5880 static PyObject
*_wrap_DefaultPosition_get() {
5883 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
5888 static int _wrap_DefaultSize_set(PyObject
*) {
5889 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5894 static PyObject
*_wrap_DefaultSize_get() {
5897 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
5902 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5903 PyObject
*resultobj
;
5904 PyObject
*arg1
= (PyObject
*) 0 ;
5905 wxPyInputStream
*result
;
5906 PyObject
* obj0
= 0 ;
5911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5915 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5917 wxPyEndAllowThreads(__tstate
);
5918 if (PyErr_Occurred()) SWIG_fail
;
5920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
5927 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5928 PyObject
*resultobj
;
5929 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5930 PyObject
* obj0
= 0 ;
5932 (char *) "self", NULL
5935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
5936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5942 wxPyEndAllowThreads(__tstate
);
5943 if (PyErr_Occurred()) SWIG_fail
;
5945 Py_INCREF(Py_None
); resultobj
= Py_None
;
5952 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5953 PyObject
*resultobj
;
5954 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5955 PyObject
* obj0
= 0 ;
5957 (char *) "self", NULL
5960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
5961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5967 wxPyEndAllowThreads(__tstate
);
5968 if (PyErr_Occurred()) SWIG_fail
;
5970 Py_INCREF(Py_None
); resultobj
= Py_None
;
5977 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5978 PyObject
*resultobj
;
5979 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5981 PyObject
* obj0
= 0 ;
5983 (char *) "self", NULL
5986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
5987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5991 result
= (bool)(arg1
)->eof();
5993 wxPyEndAllowThreads(__tstate
);
5994 if (PyErr_Occurred()) SWIG_fail
;
5997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6005 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6006 PyObject
*resultobj
;
6007 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6008 int arg2
= (int) -1 ;
6010 PyObject
* obj0
= 0 ;
6011 PyObject
* obj1
= 0 ;
6013 (char *) "self",(char *) "size", NULL
6016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
6017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6020 arg2
= (int)SWIG_As_int(obj1
);
6021 if (PyErr_Occurred()) SWIG_fail
;
6024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6025 result
= (PyObject
*)(arg1
)->read(arg2
);
6027 wxPyEndAllowThreads(__tstate
);
6028 if (PyErr_Occurred()) SWIG_fail
;
6037 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6038 PyObject
*resultobj
;
6039 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6040 int arg2
= (int) -1 ;
6042 PyObject
* obj0
= 0 ;
6043 PyObject
* obj1
= 0 ;
6045 (char *) "self",(char *) "size", NULL
6048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
6049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6052 arg2
= (int)SWIG_As_int(obj1
);
6053 if (PyErr_Occurred()) SWIG_fail
;
6056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6057 result
= (PyObject
*)(arg1
)->readline(arg2
);
6059 wxPyEndAllowThreads(__tstate
);
6060 if (PyErr_Occurred()) SWIG_fail
;
6069 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6070 PyObject
*resultobj
;
6071 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6072 int arg2
= (int) -1 ;
6074 PyObject
* obj0
= 0 ;
6075 PyObject
* obj1
= 0 ;
6077 (char *) "self",(char *) "sizehint", NULL
6080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
6081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6084 arg2
= (int)SWIG_As_int(obj1
);
6085 if (PyErr_Occurred()) SWIG_fail
;
6088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6089 result
= (PyObject
*)(arg1
)->readlines(arg2
);
6091 wxPyEndAllowThreads(__tstate
);
6092 if (PyErr_Occurred()) SWIG_fail
;
6101 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6102 PyObject
*resultobj
;
6103 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6105 int arg3
= (int) 0 ;
6106 PyObject
* obj0
= 0 ;
6107 PyObject
* obj1
= 0 ;
6108 PyObject
* obj2
= 0 ;
6110 (char *) "self",(char *) "offset",(char *) "whence", NULL
6113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6116 arg2
= (int)SWIG_As_int(obj1
);
6117 if (PyErr_Occurred()) SWIG_fail
;
6119 arg3
= (int)SWIG_As_int(obj2
);
6120 if (PyErr_Occurred()) SWIG_fail
;
6123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6124 (arg1
)->seek(arg2
,arg3
);
6126 wxPyEndAllowThreads(__tstate
);
6127 if (PyErr_Occurred()) SWIG_fail
;
6129 Py_INCREF(Py_None
); resultobj
= Py_None
;
6136 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6137 PyObject
*resultobj
;
6138 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6140 PyObject
* obj0
= 0 ;
6142 (char *) "self", NULL
6145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
6146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6150 result
= (int)(arg1
)->tell();
6152 wxPyEndAllowThreads(__tstate
);
6153 if (PyErr_Occurred()) SWIG_fail
;
6155 resultobj
= SWIG_From_int((int)result
);
6162 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6163 PyObject
*resultobj
;
6164 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6166 PyObject
* obj0
= 0 ;
6168 (char *) "self", NULL
6171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
6172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6176 result
= (char)(arg1
)->Peek();
6178 wxPyEndAllowThreads(__tstate
);
6179 if (PyErr_Occurred()) SWIG_fail
;
6181 resultobj
= SWIG_From_char((char)result
);
6188 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6189 PyObject
*resultobj
;
6190 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6192 PyObject
* obj0
= 0 ;
6194 (char *) "self", NULL
6197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
6198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6202 result
= (char)(arg1
)->GetC();
6204 wxPyEndAllowThreads(__tstate
);
6205 if (PyErr_Occurred()) SWIG_fail
;
6207 resultobj
= SWIG_From_char((char)result
);
6214 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6215 PyObject
*resultobj
;
6216 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6218 PyObject
* obj0
= 0 ;
6220 (char *) "self", NULL
6223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
6224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6228 result
= (size_t)(arg1
)->LastRead();
6230 wxPyEndAllowThreads(__tstate
);
6231 if (PyErr_Occurred()) SWIG_fail
;
6233 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
6240 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6241 PyObject
*resultobj
;
6242 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6244 PyObject
* obj0
= 0 ;
6246 (char *) "self", NULL
6249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
6250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6254 result
= (bool)(arg1
)->CanRead();
6256 wxPyEndAllowThreads(__tstate
);
6257 if (PyErr_Occurred()) SWIG_fail
;
6260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6268 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6269 PyObject
*resultobj
;
6270 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6272 PyObject
* obj0
= 0 ;
6274 (char *) "self", NULL
6277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
6278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6282 result
= (bool)(arg1
)->Eof();
6284 wxPyEndAllowThreads(__tstate
);
6285 if (PyErr_Occurred()) SWIG_fail
;
6288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6296 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6297 PyObject
*resultobj
;
6298 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6301 PyObject
* obj0
= 0 ;
6302 PyObject
* obj1
= 0 ;
6304 (char *) "self",(char *) "c", NULL
6307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
6308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6310 arg2
= (char)SWIG_As_char(obj1
);
6311 if (PyErr_Occurred()) SWIG_fail
;
6313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6314 result
= (bool)(arg1
)->Ungetch(arg2
);
6316 wxPyEndAllowThreads(__tstate
);
6317 if (PyErr_Occurred()) SWIG_fail
;
6320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6328 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6329 PyObject
*resultobj
;
6330 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6332 int arg3
= (int) wxFromStart
;
6334 PyObject
* obj0
= 0 ;
6335 PyObject
* obj1
= 0 ;
6336 PyObject
* obj2
= 0 ;
6338 (char *) "self",(char *) "pos",(char *) "mode", NULL
6341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6344 arg2
= (long)SWIG_As_long(obj1
);
6345 if (PyErr_Occurred()) SWIG_fail
;
6347 arg3
= (int)SWIG_As_int(obj2
);
6348 if (PyErr_Occurred()) SWIG_fail
;
6351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6352 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
6354 wxPyEndAllowThreads(__tstate
);
6355 if (PyErr_Occurred()) SWIG_fail
;
6357 resultobj
= SWIG_From_long((long)result
);
6364 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6365 PyObject
*resultobj
;
6366 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6368 PyObject
* obj0
= 0 ;
6370 (char *) "self", NULL
6373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
6374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6378 result
= (long)(arg1
)->TellI();
6380 wxPyEndAllowThreads(__tstate
);
6381 if (PyErr_Occurred()) SWIG_fail
;
6383 resultobj
= SWIG_From_long((long)result
);
6390 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
6392 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6393 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
6395 return Py_BuildValue((char *)"");
6397 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6398 PyObject
*resultobj
;
6399 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
6400 PyObject
*arg2
= (PyObject
*) 0 ;
6401 PyObject
* obj0
= 0 ;
6402 PyObject
* obj1
= 0 ;
6404 (char *) "self",(char *) "obj", NULL
6407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6413 wxOutputStream_write(arg1
,arg2
);
6415 wxPyEndAllowThreads(__tstate
);
6416 if (PyErr_Occurred()) SWIG_fail
;
6418 Py_INCREF(Py_None
); resultobj
= Py_None
;
6425 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
6427 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6428 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6430 return Py_BuildValue((char *)"");
6432 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6433 PyObject
*resultobj
;
6434 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6435 wxString
*arg2
= 0 ;
6436 wxString
*arg3
= 0 ;
6437 wxString
*arg4
= 0 ;
6440 wxPyInputStream
*temp1
;
6442 bool temp2
= False
;
6443 bool temp3
= False
;
6444 bool temp4
= False
;
6446 PyObject
* obj0
= 0 ;
6447 PyObject
* obj1
= 0 ;
6448 PyObject
* obj2
= 0 ;
6449 PyObject
* obj3
= 0 ;
6450 PyObject
* obj4
= 0 ;
6452 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6457 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6458 arg1
= temp1
->m_wxis
;
6461 PyErr_Clear(); // clear the failure of the wxPyConvert above
6462 arg1
= wxPyCBInputStream_create(obj0
, False
);
6464 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6471 arg2
= wxString_in_helper(obj1
);
6472 if (arg2
== NULL
) SWIG_fail
;
6476 arg3
= wxString_in_helper(obj2
);
6477 if (arg3
== NULL
) SWIG_fail
;
6481 arg4
= wxString_in_helper(obj3
);
6482 if (arg4
== NULL
) SWIG_fail
;
6485 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6486 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6490 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6492 wxPyEndAllowThreads(__tstate
);
6493 if (PyErr_Occurred()) SWIG_fail
;
6496 resultobj
= wxPyMake_wxObject(result
, 1);
6536 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6537 PyObject
*resultobj
;
6538 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6539 PyObject
* obj0
= 0 ;
6541 (char *) "self", NULL
6544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
6545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6551 wxPyEndAllowThreads(__tstate
);
6552 if (PyErr_Occurred()) SWIG_fail
;
6554 Py_INCREF(Py_None
); resultobj
= Py_None
;
6561 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6562 PyObject
*resultobj
;
6563 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6564 wxInputStream
*result
;
6565 PyObject
* obj0
= 0 ;
6567 (char *) "self", NULL
6570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
6571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6575 result
= (wxInputStream
*)(arg1
)->GetStream();
6577 wxPyEndAllowThreads(__tstate
);
6578 if (PyErr_Occurred()) SWIG_fail
;
6581 wxPyInputStream
* _ptr
= NULL
;
6584 _ptr
= new wxPyInputStream(result
);
6586 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
6594 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6595 PyObject
*resultobj
;
6596 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6598 PyObject
* obj0
= 0 ;
6600 (char *) "self", NULL
6603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6609 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6610 result
= (wxString
*) &_result_ref
;
6613 wxPyEndAllowThreads(__tstate
);
6614 if (PyErr_Occurred()) SWIG_fail
;
6618 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6620 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6629 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6630 PyObject
*resultobj
;
6631 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6633 PyObject
* obj0
= 0 ;
6635 (char *) "self", NULL
6638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6644 wxString
const &_result_ref
= (arg1
)->GetLocation();
6645 result
= (wxString
*) &_result_ref
;
6648 wxPyEndAllowThreads(__tstate
);
6649 if (PyErr_Occurred()) SWIG_fail
;
6653 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6655 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6664 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6665 PyObject
*resultobj
;
6666 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6668 PyObject
* obj0
= 0 ;
6670 (char *) "self", NULL
6673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6679 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6680 result
= (wxString
*) &_result_ref
;
6683 wxPyEndAllowThreads(__tstate
);
6684 if (PyErr_Occurred()) SWIG_fail
;
6688 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6690 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6699 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6700 PyObject
*resultobj
;
6701 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6703 PyObject
* obj0
= 0 ;
6705 (char *) "self", NULL
6708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6713 result
= (arg1
)->GetModificationTime();
6715 wxPyEndAllowThreads(__tstate
);
6716 if (PyErr_Occurred()) SWIG_fail
;
6719 wxDateTime
* resultptr
;
6720 resultptr
= new wxDateTime((wxDateTime
&) result
);
6721 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6729 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
6731 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6732 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6734 return Py_BuildValue((char *)"");
6736 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
6738 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6739 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6741 return Py_BuildValue((char *)"");
6743 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6744 PyObject
*resultobj
;
6745 wxPyFileSystemHandler
*result
;
6750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6753 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6755 wxPyEndAllowThreads(__tstate
);
6756 if (PyErr_Occurred()) SWIG_fail
;
6758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6765 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6766 PyObject
*resultobj
;
6767 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6768 PyObject
*arg2
= (PyObject
*) 0 ;
6769 PyObject
*arg3
= (PyObject
*) 0 ;
6770 PyObject
* obj0
= 0 ;
6771 PyObject
* obj1
= 0 ;
6772 PyObject
* obj2
= 0 ;
6774 (char *) "self",(char *) "self",(char *) "_class", NULL
6777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6784 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6786 wxPyEndAllowThreads(__tstate
);
6787 if (PyErr_Occurred()) SWIG_fail
;
6789 Py_INCREF(Py_None
); resultobj
= Py_None
;
6796 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6797 PyObject
*resultobj
;
6798 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6799 wxString
*arg2
= 0 ;
6801 bool temp2
= False
;
6802 PyObject
* obj0
= 0 ;
6803 PyObject
* obj1
= 0 ;
6805 (char *) "self",(char *) "location", NULL
6808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6812 arg2
= wxString_in_helper(obj1
);
6813 if (arg2
== NULL
) SWIG_fail
;
6817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6818 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6820 wxPyEndAllowThreads(__tstate
);
6821 if (PyErr_Occurred()) SWIG_fail
;
6824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6840 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6841 PyObject
*resultobj
;
6842 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6843 wxFileSystem
*arg2
= 0 ;
6844 wxString
*arg3
= 0 ;
6846 bool temp3
= False
;
6847 PyObject
* obj0
= 0 ;
6848 PyObject
* obj1
= 0 ;
6849 PyObject
* obj2
= 0 ;
6851 (char *) "self",(char *) "fs",(char *) "location", NULL
6854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6857 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
6858 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6861 PyErr_SetString(PyExc_TypeError
,"null reference");
6865 arg3
= wxString_in_helper(obj2
);
6866 if (arg3
== NULL
) SWIG_fail
;
6870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6871 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6873 wxPyEndAllowThreads(__tstate
);
6874 if (PyErr_Occurred()) SWIG_fail
;
6877 resultobj
= wxPyMake_wxObject(result
, 1);
6893 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6894 PyObject
*resultobj
;
6895 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6896 wxString
*arg2
= 0 ;
6897 int arg3
= (int) 0 ;
6899 bool temp2
= False
;
6900 PyObject
* obj0
= 0 ;
6901 PyObject
* obj1
= 0 ;
6902 PyObject
* obj2
= 0 ;
6904 (char *) "self",(char *) "spec",(char *) "flags", NULL
6907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6911 arg2
= wxString_in_helper(obj1
);
6912 if (arg2
== NULL
) SWIG_fail
;
6916 arg3
= (int)SWIG_As_int(obj2
);
6917 if (PyErr_Occurred()) SWIG_fail
;
6920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6921 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6923 wxPyEndAllowThreads(__tstate
);
6924 if (PyErr_Occurred()) SWIG_fail
;
6928 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6930 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6947 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6948 PyObject
*resultobj
;
6949 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6951 PyObject
* obj0
= 0 ;
6953 (char *) "self", NULL
6956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6961 result
= (arg1
)->FindNext();
6963 wxPyEndAllowThreads(__tstate
);
6964 if (PyErr_Occurred()) SWIG_fail
;
6968 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6970 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6979 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6980 PyObject
*resultobj
;
6981 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6982 wxString
*arg2
= 0 ;
6984 bool temp2
= False
;
6985 PyObject
* obj0
= 0 ;
6986 PyObject
* obj1
= 0 ;
6988 (char *) "self",(char *) "location", NULL
6991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
6992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6995 arg2
= wxString_in_helper(obj1
);
6996 if (arg2
== NULL
) SWIG_fail
;
7000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7001 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
7003 wxPyEndAllowThreads(__tstate
);
7004 if (PyErr_Occurred()) SWIG_fail
;
7008 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7010 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7027 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7028 PyObject
*resultobj
;
7029 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7030 wxString
*arg2
= 0 ;
7032 bool temp2
= False
;
7033 PyObject
* obj0
= 0 ;
7034 PyObject
* obj1
= 0 ;
7036 (char *) "self",(char *) "location", NULL
7039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
7040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7043 arg2
= wxString_in_helper(obj1
);
7044 if (arg2
== NULL
) SWIG_fail
;
7048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7049 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
7051 wxPyEndAllowThreads(__tstate
);
7052 if (PyErr_Occurred()) SWIG_fail
;
7056 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7058 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7075 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7076 PyObject
*resultobj
;
7077 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7078 wxString
*arg2
= 0 ;
7080 bool temp2
= False
;
7081 PyObject
* obj0
= 0 ;
7082 PyObject
* obj1
= 0 ;
7084 (char *) "self",(char *) "location", NULL
7087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
7088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7091 arg2
= wxString_in_helper(obj1
);
7092 if (arg2
== NULL
) SWIG_fail
;
7096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7097 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
7099 wxPyEndAllowThreads(__tstate
);
7100 if (PyErr_Occurred()) SWIG_fail
;
7104 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7106 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7123 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7124 PyObject
*resultobj
;
7125 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7126 wxString
*arg2
= 0 ;
7128 bool temp2
= False
;
7129 PyObject
* obj0
= 0 ;
7130 PyObject
* obj1
= 0 ;
7132 (char *) "self",(char *) "location", NULL
7135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
7136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7139 arg2
= wxString_in_helper(obj1
);
7140 if (arg2
== NULL
) SWIG_fail
;
7144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7145 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
7147 wxPyEndAllowThreads(__tstate
);
7148 if (PyErr_Occurred()) SWIG_fail
;
7152 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7154 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7171 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7172 PyObject
*resultobj
;
7173 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7174 wxString
*arg2
= 0 ;
7176 bool temp2
= False
;
7177 PyObject
* obj0
= 0 ;
7178 PyObject
* obj1
= 0 ;
7180 (char *) "self",(char *) "location", NULL
7183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
7184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7187 arg2
= wxString_in_helper(obj1
);
7188 if (arg2
== NULL
) SWIG_fail
;
7192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7193 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
7195 wxPyEndAllowThreads(__tstate
);
7196 if (PyErr_Occurred()) SWIG_fail
;
7200 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7202 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7219 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
7221 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7222 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
7224 return Py_BuildValue((char *)"");
7226 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7227 PyObject
*resultobj
;
7228 wxFileSystem
*result
;
7233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
7235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7236 result
= (wxFileSystem
*)new wxFileSystem();
7238 wxPyEndAllowThreads(__tstate
);
7239 if (PyErr_Occurred()) SWIG_fail
;
7242 resultobj
= wxPyMake_wxObject(result
, 1);
7250 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7251 PyObject
*resultobj
;
7252 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7253 PyObject
* obj0
= 0 ;
7255 (char *) "self", NULL
7258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
7259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7265 wxPyEndAllowThreads(__tstate
);
7266 if (PyErr_Occurred()) SWIG_fail
;
7268 Py_INCREF(Py_None
); resultobj
= Py_None
;
7275 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7276 PyObject
*resultobj
;
7277 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7278 wxString
*arg2
= 0 ;
7279 bool arg3
= (bool) False
;
7280 bool temp2
= False
;
7281 PyObject
* obj0
= 0 ;
7282 PyObject
* obj1
= 0 ;
7283 PyObject
* obj2
= 0 ;
7285 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7292 arg2
= wxString_in_helper(obj1
);
7293 if (arg2
== NULL
) SWIG_fail
;
7297 arg3
= (bool)SWIG_As_bool(obj2
);
7298 if (PyErr_Occurred()) SWIG_fail
;
7301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7302 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
7304 wxPyEndAllowThreads(__tstate
);
7305 if (PyErr_Occurred()) SWIG_fail
;
7307 Py_INCREF(Py_None
); resultobj
= Py_None
;
7322 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7323 PyObject
*resultobj
;
7324 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7326 PyObject
* obj0
= 0 ;
7328 (char *) "self", NULL
7331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
7332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7336 result
= (arg1
)->GetPath();
7338 wxPyEndAllowThreads(__tstate
);
7339 if (PyErr_Occurred()) SWIG_fail
;
7343 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7345 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7354 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7355 PyObject
*resultobj
;
7356 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7357 wxString
*arg2
= 0 ;
7359 bool temp2
= False
;
7360 PyObject
* obj0
= 0 ;
7361 PyObject
* obj1
= 0 ;
7363 (char *) "self",(char *) "location", NULL
7366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7370 arg2
= wxString_in_helper(obj1
);
7371 if (arg2
== NULL
) SWIG_fail
;
7375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7376 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
7378 wxPyEndAllowThreads(__tstate
);
7379 if (PyErr_Occurred()) SWIG_fail
;
7382 resultobj
= wxPyMake_wxObject(result
, 1);
7398 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7399 PyObject
*resultobj
;
7400 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7401 wxString
*arg2
= 0 ;
7402 int arg3
= (int) 0 ;
7404 bool temp2
= False
;
7405 PyObject
* obj0
= 0 ;
7406 PyObject
* obj1
= 0 ;
7407 PyObject
* obj2
= 0 ;
7409 (char *) "self",(char *) "spec",(char *) "flags", NULL
7412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7416 arg2
= wxString_in_helper(obj1
);
7417 if (arg2
== NULL
) SWIG_fail
;
7421 arg3
= (int)SWIG_As_int(obj2
);
7422 if (PyErr_Occurred()) SWIG_fail
;
7425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7426 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7428 wxPyEndAllowThreads(__tstate
);
7429 if (PyErr_Occurred()) SWIG_fail
;
7433 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7435 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7452 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7453 PyObject
*resultobj
;
7454 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7456 PyObject
* obj0
= 0 ;
7458 (char *) "self", NULL
7461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7466 result
= (arg1
)->FindNext();
7468 wxPyEndAllowThreads(__tstate
);
7469 if (PyErr_Occurred()) SWIG_fail
;
7473 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7475 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7484 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7485 PyObject
*resultobj
;
7486 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7487 PyObject
* obj0
= 0 ;
7489 (char *) "handler", NULL
7492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7497 wxFileSystem::AddHandler(arg1
);
7499 wxPyEndAllowThreads(__tstate
);
7500 if (PyErr_Occurred()) SWIG_fail
;
7502 Py_INCREF(Py_None
); resultobj
= Py_None
;
7509 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7510 PyObject
*resultobj
;
7515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7518 wxFileSystem::CleanUpHandlers();
7520 wxPyEndAllowThreads(__tstate
);
7521 if (PyErr_Occurred()) SWIG_fail
;
7523 Py_INCREF(Py_None
); resultobj
= Py_None
;
7530 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7531 PyObject
*resultobj
;
7532 wxString
*arg1
= 0 ;
7534 bool temp1
= False
;
7535 PyObject
* obj0
= 0 ;
7537 (char *) "filename", NULL
7540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7542 arg1
= wxString_in_helper(obj0
);
7543 if (arg1
== NULL
) SWIG_fail
;
7547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7548 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
7550 wxPyEndAllowThreads(__tstate
);
7551 if (PyErr_Occurred()) SWIG_fail
;
7555 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7557 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7574 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
7576 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7577 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7579 return Py_BuildValue((char *)"");
7581 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7582 PyObject
*resultobj
;
7583 wxString
*arg1
= 0 ;
7585 bool temp1
= False
;
7586 PyObject
* obj0
= 0 ;
7588 (char *) "url", NULL
7591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7593 arg1
= wxString_in_helper(obj0
);
7594 if (arg1
== NULL
) SWIG_fail
;
7598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7599 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
7601 wxPyEndAllowThreads(__tstate
);
7602 if (PyErr_Occurred()) SWIG_fail
;
7606 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7608 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7625 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7626 PyObject
*resultobj
;
7627 wxInternetFSHandler
*result
;
7632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7635 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7637 wxPyEndAllowThreads(__tstate
);
7638 if (PyErr_Occurred()) SWIG_fail
;
7640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7647 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7648 PyObject
*resultobj
;
7649 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7650 wxString
*arg2
= 0 ;
7652 bool temp2
= False
;
7653 PyObject
* obj0
= 0 ;
7654 PyObject
* obj1
= 0 ;
7656 (char *) "self",(char *) "location", NULL
7659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7663 arg2
= wxString_in_helper(obj1
);
7664 if (arg2
== NULL
) SWIG_fail
;
7668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7669 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7671 wxPyEndAllowThreads(__tstate
);
7672 if (PyErr_Occurred()) SWIG_fail
;
7675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7691 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7692 PyObject
*resultobj
;
7693 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7694 wxFileSystem
*arg2
= 0 ;
7695 wxString
*arg3
= 0 ;
7697 bool temp3
= False
;
7698 PyObject
* obj0
= 0 ;
7699 PyObject
* obj1
= 0 ;
7700 PyObject
* obj2
= 0 ;
7702 (char *) "self",(char *) "fs",(char *) "location", NULL
7705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7708 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7709 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7712 PyErr_SetString(PyExc_TypeError
,"null reference");
7716 arg3
= wxString_in_helper(obj2
);
7717 if (arg3
== NULL
) SWIG_fail
;
7721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7722 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7724 wxPyEndAllowThreads(__tstate
);
7725 if (PyErr_Occurred()) SWIG_fail
;
7728 resultobj
= wxPyMake_wxObject(result
, 1);
7744 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
7746 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7747 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7749 return Py_BuildValue((char *)"");
7751 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7752 PyObject
*resultobj
;
7753 wxZipFSHandler
*result
;
7758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7761 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7763 wxPyEndAllowThreads(__tstate
);
7764 if (PyErr_Occurred()) SWIG_fail
;
7766 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7773 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7774 PyObject
*resultobj
;
7775 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7776 wxString
*arg2
= 0 ;
7778 bool temp2
= False
;
7779 PyObject
* obj0
= 0 ;
7780 PyObject
* obj1
= 0 ;
7782 (char *) "self",(char *) "location", NULL
7785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7789 arg2
= wxString_in_helper(obj1
);
7790 if (arg2
== NULL
) SWIG_fail
;
7794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7795 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7797 wxPyEndAllowThreads(__tstate
);
7798 if (PyErr_Occurred()) SWIG_fail
;
7801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7817 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7818 PyObject
*resultobj
;
7819 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7820 wxFileSystem
*arg2
= 0 ;
7821 wxString
*arg3
= 0 ;
7823 bool temp3
= False
;
7824 PyObject
* obj0
= 0 ;
7825 PyObject
* obj1
= 0 ;
7826 PyObject
* obj2
= 0 ;
7828 (char *) "self",(char *) "fs",(char *) "location", NULL
7831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7834 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7835 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7838 PyErr_SetString(PyExc_TypeError
,"null reference");
7842 arg3
= wxString_in_helper(obj2
);
7843 if (arg3
== NULL
) SWIG_fail
;
7847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7848 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7850 wxPyEndAllowThreads(__tstate
);
7851 if (PyErr_Occurred()) SWIG_fail
;
7854 resultobj
= wxPyMake_wxObject(result
, 1);
7870 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7871 PyObject
*resultobj
;
7872 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7873 wxString
*arg2
= 0 ;
7874 int arg3
= (int) 0 ;
7876 bool temp2
= False
;
7877 PyObject
* obj0
= 0 ;
7878 PyObject
* obj1
= 0 ;
7879 PyObject
* obj2
= 0 ;
7881 (char *) "self",(char *) "spec",(char *) "flags", NULL
7884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7888 arg2
= wxString_in_helper(obj1
);
7889 if (arg2
== NULL
) SWIG_fail
;
7893 arg3
= (int)SWIG_As_int(obj2
);
7894 if (PyErr_Occurred()) SWIG_fail
;
7897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7898 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7900 wxPyEndAllowThreads(__tstate
);
7901 if (PyErr_Occurred()) SWIG_fail
;
7905 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7907 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7924 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7925 PyObject
*resultobj
;
7926 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7928 PyObject
* obj0
= 0 ;
7930 (char *) "self", NULL
7933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7938 result
= (arg1
)->FindNext();
7940 wxPyEndAllowThreads(__tstate
);
7941 if (PyErr_Occurred()) SWIG_fail
;
7945 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7947 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7956 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
7958 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7959 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
7961 return Py_BuildValue((char *)"");
7963 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7964 PyObject
*resultobj
;
7965 wxString
*arg1
= 0 ;
7968 bool temp1
= False
;
7969 PyObject
* obj0
= 0 ;
7970 PyObject
* obj1
= 0 ;
7971 PyObject
* obj2
= 0 ;
7973 (char *) "filename",(char *) "image",(char *) "type", NULL
7976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7978 arg1
= wxString_in_helper(obj0
);
7979 if (arg1
== NULL
) SWIG_fail
;
7982 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
7983 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7986 PyErr_SetString(PyExc_TypeError
,"null reference");
7989 arg3
= (long)SWIG_As_long(obj2
);
7990 if (PyErr_Occurred()) SWIG_fail
;
7992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7993 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
7995 wxPyEndAllowThreads(__tstate
);
7996 if (PyErr_Occurred()) SWIG_fail
;
7998 Py_INCREF(Py_None
); resultobj
= Py_None
;
8013 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8014 PyObject
*resultobj
;
8015 wxString
*arg1
= 0 ;
8016 wxBitmap
*arg2
= 0 ;
8018 bool temp1
= False
;
8019 PyObject
* obj0
= 0 ;
8020 PyObject
* obj1
= 0 ;
8021 PyObject
* obj2
= 0 ;
8023 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
8026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8028 arg1
= wxString_in_helper(obj0
);
8029 if (arg1
== NULL
) SWIG_fail
;
8032 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
8033 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8036 PyErr_SetString(PyExc_TypeError
,"null reference");
8039 arg3
= (long)SWIG_As_long(obj2
);
8040 if (PyErr_Occurred()) SWIG_fail
;
8042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8043 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
8045 wxPyEndAllowThreads(__tstate
);
8046 if (PyErr_Occurred()) SWIG_fail
;
8048 Py_INCREF(Py_None
); resultobj
= Py_None
;
8063 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8064 PyObject
*resultobj
;
8065 wxString
*arg1
= 0 ;
8066 PyObject
*arg2
= (PyObject
*) 0 ;
8067 bool temp1
= False
;
8068 PyObject
* obj0
= 0 ;
8069 PyObject
* obj1
= 0 ;
8071 (char *) "filename",(char *) "data", NULL
8074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
8076 arg1
= wxString_in_helper(obj0
);
8077 if (arg1
== NULL
) SWIG_fail
;
8082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8083 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
8085 wxPyEndAllowThreads(__tstate
);
8086 if (PyErr_Occurred()) SWIG_fail
;
8088 Py_INCREF(Py_None
); resultobj
= Py_None
;
8103 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8104 PyObject
*resultobj
;
8105 wxMemoryFSHandler
*result
;
8110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
8112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8113 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
8115 wxPyEndAllowThreads(__tstate
);
8116 if (PyErr_Occurred()) SWIG_fail
;
8118 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
8125 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8126 PyObject
*resultobj
;
8127 wxString
*arg1
= 0 ;
8128 bool temp1
= False
;
8129 PyObject
* obj0
= 0 ;
8131 (char *) "filename", NULL
8134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
8136 arg1
= wxString_in_helper(obj0
);
8137 if (arg1
== NULL
) SWIG_fail
;
8141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8142 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
8144 wxPyEndAllowThreads(__tstate
);
8145 if (PyErr_Occurred()) SWIG_fail
;
8147 Py_INCREF(Py_None
); resultobj
= Py_None
;
8162 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8163 PyObject
*resultobj
;
8164 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8165 wxString
*arg2
= 0 ;
8167 bool temp2
= False
;
8168 PyObject
* obj0
= 0 ;
8169 PyObject
* obj1
= 0 ;
8171 (char *) "self",(char *) "location", NULL
8174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8178 arg2
= wxString_in_helper(obj1
);
8179 if (arg2
== NULL
) SWIG_fail
;
8183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8184 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8186 wxPyEndAllowThreads(__tstate
);
8187 if (PyErr_Occurred()) SWIG_fail
;
8190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8206 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8207 PyObject
*resultobj
;
8208 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8209 wxFileSystem
*arg2
= 0 ;
8210 wxString
*arg3
= 0 ;
8212 bool temp3
= False
;
8213 PyObject
* obj0
= 0 ;
8214 PyObject
* obj1
= 0 ;
8215 PyObject
* obj2
= 0 ;
8217 (char *) "self",(char *) "fs",(char *) "location", NULL
8220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8223 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
8224 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8227 PyErr_SetString(PyExc_TypeError
,"null reference");
8231 arg3
= wxString_in_helper(obj2
);
8232 if (arg3
== NULL
) SWIG_fail
;
8236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8237 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8239 wxPyEndAllowThreads(__tstate
);
8240 if (PyErr_Occurred()) SWIG_fail
;
8243 resultobj
= wxPyMake_wxObject(result
, 1);
8259 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8260 PyObject
*resultobj
;
8261 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8262 wxString
*arg2
= 0 ;
8263 int arg3
= (int) 0 ;
8265 bool temp2
= False
;
8266 PyObject
* obj0
= 0 ;
8267 PyObject
* obj1
= 0 ;
8268 PyObject
* obj2
= 0 ;
8270 (char *) "self",(char *) "spec",(char *) "flags", NULL
8273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8277 arg2
= wxString_in_helper(obj1
);
8278 if (arg2
== NULL
) SWIG_fail
;
8282 arg3
= (int)SWIG_As_int(obj2
);
8283 if (PyErr_Occurred()) SWIG_fail
;
8286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8287 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8289 wxPyEndAllowThreads(__tstate
);
8290 if (PyErr_Occurred()) SWIG_fail
;
8294 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8296 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8313 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8314 PyObject
*resultobj
;
8315 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8317 PyObject
* obj0
= 0 ;
8319 (char *) "self", NULL
8322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8327 result
= (arg1
)->FindNext();
8329 wxPyEndAllowThreads(__tstate
);
8330 if (PyErr_Occurred()) SWIG_fail
;
8334 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8336 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8345 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
8347 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8348 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
8350 return Py_BuildValue((char *)"");
8352 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8353 PyObject
*resultobj
;
8354 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8356 PyObject
* obj0
= 0 ;
8358 (char *) "self", NULL
8361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
8362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8366 result
= (arg1
)->GetName();
8368 wxPyEndAllowThreads(__tstate
);
8369 if (PyErr_Occurred()) SWIG_fail
;
8373 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8375 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8384 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8385 PyObject
*resultobj
;
8386 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8388 PyObject
* obj0
= 0 ;
8390 (char *) "self", NULL
8393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
8394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8398 result
= (arg1
)->GetExtension();
8400 wxPyEndAllowThreads(__tstate
);
8401 if (PyErr_Occurred()) SWIG_fail
;
8405 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8407 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8416 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8417 PyObject
*resultobj
;
8418 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8420 PyObject
* obj0
= 0 ;
8422 (char *) "self", NULL
8425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8430 result
= (long)(arg1
)->GetType();
8432 wxPyEndAllowThreads(__tstate
);
8433 if (PyErr_Occurred()) SWIG_fail
;
8435 resultobj
= SWIG_From_long((long)result
);
8442 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8443 PyObject
*resultobj
;
8444 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8446 PyObject
* obj0
= 0 ;
8448 (char *) "self", NULL
8451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8456 result
= (arg1
)->GetMimeType();
8458 wxPyEndAllowThreads(__tstate
);
8459 if (PyErr_Occurred()) SWIG_fail
;
8463 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8465 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8474 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8475 PyObject
*resultobj
;
8476 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8477 wxString
*arg2
= 0 ;
8479 bool temp2
= False
;
8480 PyObject
* obj0
= 0 ;
8481 PyObject
* obj1
= 0 ;
8483 (char *) "self",(char *) "name", NULL
8486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8490 arg2
= wxString_in_helper(obj1
);
8491 if (arg2
== NULL
) SWIG_fail
;
8495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8496 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8498 wxPyEndAllowThreads(__tstate
);
8499 if (PyErr_Occurred()) SWIG_fail
;
8502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8518 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8519 PyObject
*resultobj
;
8520 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8521 wxString
*arg2
= 0 ;
8522 bool temp2
= False
;
8523 PyObject
* obj0
= 0 ;
8524 PyObject
* obj1
= 0 ;
8526 (char *) "self",(char *) "name", NULL
8529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8533 arg2
= wxString_in_helper(obj1
);
8534 if (arg2
== NULL
) SWIG_fail
;
8538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8539 (arg1
)->SetName((wxString
const &)*arg2
);
8541 wxPyEndAllowThreads(__tstate
);
8542 if (PyErr_Occurred()) SWIG_fail
;
8544 Py_INCREF(Py_None
); resultobj
= Py_None
;
8559 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8560 PyObject
*resultobj
;
8561 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8562 wxString
*arg2
= 0 ;
8563 bool temp2
= False
;
8564 PyObject
* obj0
= 0 ;
8565 PyObject
* obj1
= 0 ;
8567 (char *) "self",(char *) "extension", NULL
8570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8574 arg2
= wxString_in_helper(obj1
);
8575 if (arg2
== NULL
) SWIG_fail
;
8579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8580 (arg1
)->SetExtension((wxString
const &)*arg2
);
8582 wxPyEndAllowThreads(__tstate
);
8583 if (PyErr_Occurred()) SWIG_fail
;
8585 Py_INCREF(Py_None
); resultobj
= Py_None
;
8600 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8601 PyObject
*resultobj
;
8602 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8604 PyObject
* obj0
= 0 ;
8605 PyObject
* obj1
= 0 ;
8607 (char *) "self",(char *) "type", NULL
8610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8613 arg2
= (long)SWIG_As_long(obj1
);
8614 if (PyErr_Occurred()) SWIG_fail
;
8616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8617 (arg1
)->SetType(arg2
);
8619 wxPyEndAllowThreads(__tstate
);
8620 if (PyErr_Occurred()) SWIG_fail
;
8622 Py_INCREF(Py_None
); resultobj
= Py_None
;
8629 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8630 PyObject
*resultobj
;
8631 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8632 wxString
*arg2
= 0 ;
8633 bool temp2
= False
;
8634 PyObject
* obj0
= 0 ;
8635 PyObject
* obj1
= 0 ;
8637 (char *) "self",(char *) "mimetype", NULL
8640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8644 arg2
= wxString_in_helper(obj1
);
8645 if (arg2
== NULL
) SWIG_fail
;
8649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8650 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8652 wxPyEndAllowThreads(__tstate
);
8653 if (PyErr_Occurred()) SWIG_fail
;
8655 Py_INCREF(Py_None
); resultobj
= Py_None
;
8670 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
8672 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8673 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8675 return Py_BuildValue((char *)"");
8677 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8678 PyObject
*resultobj
;
8679 wxImageHistogram
*result
;
8684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8687 result
= (wxImageHistogram
*)new wxImageHistogram();
8689 wxPyEndAllowThreads(__tstate
);
8690 if (PyErr_Occurred()) SWIG_fail
;
8692 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8699 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8700 PyObject
*resultobj
;
8701 unsigned char arg1
;
8702 unsigned char arg2
;
8703 unsigned char arg3
;
8704 unsigned long result
;
8705 PyObject
* obj0
= 0 ;
8706 PyObject
* obj1
= 0 ;
8707 PyObject
* obj2
= 0 ;
8709 (char *) "r",(char *) "g",(char *) "b", NULL
8712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8713 arg1
= (unsigned char)SWIG_As_unsigned_SS_char(obj0
);
8714 if (PyErr_Occurred()) SWIG_fail
;
8715 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
8716 if (PyErr_Occurred()) SWIG_fail
;
8717 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
8718 if (PyErr_Occurred()) SWIG_fail
;
8720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8721 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8723 wxPyEndAllowThreads(__tstate
);
8724 if (PyErr_Occurred()) SWIG_fail
;
8726 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
8733 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8734 PyObject
*resultobj
;
8735 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8736 unsigned char *arg2
= (unsigned char *) 0 ;
8737 unsigned char *arg3
= (unsigned char *) 0 ;
8738 unsigned char *arg4
= (unsigned char *) 0 ;
8739 unsigned char arg5
= (unsigned char) 1 ;
8740 unsigned char arg6
= (unsigned char) 0 ;
8741 unsigned char arg7
= (unsigned char) 0 ;
8743 unsigned char temp2
;
8745 unsigned char temp3
;
8747 unsigned char temp4
;
8749 PyObject
* obj0
= 0 ;
8750 PyObject
* obj1
= 0 ;
8751 PyObject
* obj2
= 0 ;
8752 PyObject
* obj3
= 0 ;
8754 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8757 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
8758 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
8759 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
8760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8764 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
8765 if (PyErr_Occurred()) SWIG_fail
;
8768 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
8769 if (PyErr_Occurred()) SWIG_fail
;
8772 arg7
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
8773 if (PyErr_Occurred()) SWIG_fail
;
8776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8777 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8779 wxPyEndAllowThreads(__tstate
);
8780 if (PyErr_Occurred()) SWIG_fail
;
8783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8785 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
8786 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
8787 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
8788 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
8789 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
8790 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
8797 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
8799 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8800 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8802 return Py_BuildValue((char *)"");
8804 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8805 PyObject
*resultobj
;
8806 wxString
*arg1
= 0 ;
8807 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8808 int arg3
= (int) -1 ;
8810 bool temp1
= False
;
8811 PyObject
* obj0
= 0 ;
8812 PyObject
* obj1
= 0 ;
8813 PyObject
* obj2
= 0 ;
8815 (char *) "name",(char *) "type",(char *) "index", NULL
8818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8820 arg1
= wxString_in_helper(obj0
);
8821 if (arg1
== NULL
) SWIG_fail
;
8825 arg2
= (long)SWIG_As_long(obj1
);
8826 if (PyErr_Occurred()) SWIG_fail
;
8829 arg3
= (int)SWIG_As_int(obj2
);
8830 if (PyErr_Occurred()) SWIG_fail
;
8833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8834 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8836 wxPyEndAllowThreads(__tstate
);
8837 if (PyErr_Occurred()) SWIG_fail
;
8839 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8854 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8855 PyObject
*resultobj
;
8856 wxImage
*arg1
= (wxImage
*) 0 ;
8857 PyObject
* obj0
= 0 ;
8859 (char *) "self", NULL
8862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8869 wxPyEndAllowThreads(__tstate
);
8870 if (PyErr_Occurred()) SWIG_fail
;
8872 Py_INCREF(Py_None
); resultobj
= Py_None
;
8879 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8880 PyObject
*resultobj
;
8881 wxString
*arg1
= 0 ;
8882 wxString
*arg2
= 0 ;
8883 int arg3
= (int) -1 ;
8885 bool temp1
= False
;
8886 bool temp2
= False
;
8887 PyObject
* obj0
= 0 ;
8888 PyObject
* obj1
= 0 ;
8889 PyObject
* obj2
= 0 ;
8891 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8896 arg1
= wxString_in_helper(obj0
);
8897 if (arg1
== NULL
) SWIG_fail
;
8901 arg2
= wxString_in_helper(obj1
);
8902 if (arg2
== NULL
) SWIG_fail
;
8906 arg3
= (int)SWIG_As_int(obj2
);
8907 if (PyErr_Occurred()) SWIG_fail
;
8910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8911 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8913 wxPyEndAllowThreads(__tstate
);
8914 if (PyErr_Occurred()) SWIG_fail
;
8916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8939 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8940 PyObject
*resultobj
;
8941 wxInputStream
*arg1
= 0 ;
8942 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8943 int arg3
= (int) -1 ;
8945 wxPyInputStream
*temp1
;
8947 PyObject
* obj0
= 0 ;
8948 PyObject
* obj1
= 0 ;
8949 PyObject
* obj2
= 0 ;
8951 (char *) "stream",(char *) "type",(char *) "index", NULL
8954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8956 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8957 arg1
= temp1
->m_wxis
;
8960 PyErr_Clear(); // clear the failure of the wxPyConvert above
8961 arg1
= wxPyCBInputStream_create(obj0
, False
);
8963 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8970 arg2
= (long)SWIG_As_long(obj1
);
8971 if (PyErr_Occurred()) SWIG_fail
;
8974 arg3
= (int)SWIG_As_int(obj2
);
8975 if (PyErr_Occurred()) SWIG_fail
;
8978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8979 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
8981 wxPyEndAllowThreads(__tstate
);
8982 if (PyErr_Occurred()) SWIG_fail
;
8984 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8999 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9000 PyObject
*resultobj
;
9001 wxInputStream
*arg1
= 0 ;
9002 wxString
*arg2
= 0 ;
9003 int arg3
= (int) -1 ;
9005 wxPyInputStream
*temp1
;
9007 bool temp2
= False
;
9008 PyObject
* obj0
= 0 ;
9009 PyObject
* obj1
= 0 ;
9010 PyObject
* obj2
= 0 ;
9012 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
9015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9017 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9018 arg1
= temp1
->m_wxis
;
9021 PyErr_Clear(); // clear the failure of the wxPyConvert above
9022 arg1
= wxPyCBInputStream_create(obj0
, False
);
9024 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9031 arg2
= wxString_in_helper(obj1
);
9032 if (arg2
== NULL
) SWIG_fail
;
9036 arg3
= (int)SWIG_As_int(obj2
);
9037 if (PyErr_Occurred()) SWIG_fail
;
9040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9041 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
9043 wxPyEndAllowThreads(__tstate
);
9044 if (PyErr_Occurred()) SWIG_fail
;
9046 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9069 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9070 PyObject
*resultobj
;
9071 int arg1
= (int) 0 ;
9072 int arg2
= (int) 0 ;
9073 bool arg3
= (bool) True
;
9075 PyObject
* obj0
= 0 ;
9076 PyObject
* obj1
= 0 ;
9077 PyObject
* obj2
= 0 ;
9079 (char *) "width",(char *) "height",(char *) "clear", NULL
9082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9084 arg1
= (int)SWIG_As_int(obj0
);
9085 if (PyErr_Occurred()) SWIG_fail
;
9088 arg2
= (int)SWIG_As_int(obj1
);
9089 if (PyErr_Occurred()) SWIG_fail
;
9092 arg3
= (bool)SWIG_As_bool(obj2
);
9093 if (PyErr_Occurred()) SWIG_fail
;
9096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9097 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
9099 wxPyEndAllowThreads(__tstate
);
9100 if (PyErr_Occurred()) SWIG_fail
;
9102 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9109 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9110 PyObject
*resultobj
;
9111 wxBitmap
*arg1
= 0 ;
9113 PyObject
* obj0
= 0 ;
9115 (char *) "bitmap", NULL
9118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
9119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
9120 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9123 PyErr_SetString(PyExc_TypeError
,"null reference");
9127 if (!wxPyCheckForApp()) SWIG_fail
;
9128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9129 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
9131 wxPyEndAllowThreads(__tstate
);
9132 if (PyErr_Occurred()) SWIG_fail
;
9134 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9141 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9142 PyObject
*resultobj
;
9145 unsigned char *arg3
= (unsigned char *) 0 ;
9147 PyObject
* obj0
= 0 ;
9148 PyObject
* obj1
= 0 ;
9149 PyObject
* obj2
= 0 ;
9151 (char *) "width",(char *) "height",(char *) "data", NULL
9154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9155 arg1
= (int)SWIG_As_int(obj0
);
9156 if (PyErr_Occurred()) SWIG_fail
;
9157 arg2
= (int)SWIG_As_int(obj1
);
9158 if (PyErr_Occurred()) SWIG_fail
;
9159 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
9160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9163 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
9165 wxPyEndAllowThreads(__tstate
);
9166 if (PyErr_Occurred()) SWIG_fail
;
9168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9175 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9176 PyObject
*resultobj
;
9177 wxImage
*arg1
= (wxImage
*) 0 ;
9180 PyObject
* obj0
= 0 ;
9181 PyObject
* obj1
= 0 ;
9182 PyObject
* obj2
= 0 ;
9184 (char *) "self",(char *) "width",(char *) "height", NULL
9187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9190 arg2
= (int)SWIG_As_int(obj1
);
9191 if (PyErr_Occurred()) SWIG_fail
;
9192 arg3
= (int)SWIG_As_int(obj2
);
9193 if (PyErr_Occurred()) SWIG_fail
;
9195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9196 (arg1
)->Create(arg2
,arg3
);
9198 wxPyEndAllowThreads(__tstate
);
9199 if (PyErr_Occurred()) SWIG_fail
;
9201 Py_INCREF(Py_None
); resultobj
= Py_None
;
9208 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9209 PyObject
*resultobj
;
9210 wxImage
*arg1
= (wxImage
*) 0 ;
9211 PyObject
* obj0
= 0 ;
9213 (char *) "self", NULL
9216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
9217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9223 wxPyEndAllowThreads(__tstate
);
9224 if (PyErr_Occurred()) SWIG_fail
;
9226 Py_INCREF(Py_None
); resultobj
= Py_None
;
9233 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9234 PyObject
*resultobj
;
9235 wxImage
*arg1
= (wxImage
*) 0 ;
9238 SwigValueWrapper
< wxImage
> result
;
9239 PyObject
* obj0
= 0 ;
9240 PyObject
* obj1
= 0 ;
9241 PyObject
* obj2
= 0 ;
9243 (char *) "self",(char *) "width",(char *) "height", NULL
9246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9249 arg2
= (int)SWIG_As_int(obj1
);
9250 if (PyErr_Occurred()) SWIG_fail
;
9251 arg3
= (int)SWIG_As_int(obj2
);
9252 if (PyErr_Occurred()) SWIG_fail
;
9254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9255 result
= (arg1
)->Scale(arg2
,arg3
);
9257 wxPyEndAllowThreads(__tstate
);
9258 if (PyErr_Occurred()) SWIG_fail
;
9261 wxImage
* resultptr
;
9262 resultptr
= new wxImage((wxImage
&) result
);
9263 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9271 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9272 PyObject
*resultobj
;
9273 wxImage
*arg1
= (wxImage
*) 0 ;
9276 SwigValueWrapper
< wxImage
> result
;
9277 PyObject
* obj0
= 0 ;
9278 PyObject
* obj1
= 0 ;
9279 PyObject
* obj2
= 0 ;
9281 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9287 arg2
= (int)SWIG_As_int(obj1
);
9288 if (PyErr_Occurred()) SWIG_fail
;
9289 arg3
= (int)SWIG_As_int(obj2
);
9290 if (PyErr_Occurred()) SWIG_fail
;
9292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9293 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
9295 wxPyEndAllowThreads(__tstate
);
9296 if (PyErr_Occurred()) SWIG_fail
;
9299 wxImage
* resultptr
;
9300 resultptr
= new wxImage((wxImage
&) result
);
9301 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9309 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9310 PyObject
*resultobj
;
9311 wxImage
*arg1
= (wxImage
*) 0 ;
9315 PyObject
* obj0
= 0 ;
9316 PyObject
* obj1
= 0 ;
9317 PyObject
* obj2
= 0 ;
9319 (char *) "self",(char *) "width",(char *) "height", NULL
9322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9325 arg2
= (int)SWIG_As_int(obj1
);
9326 if (PyErr_Occurred()) SWIG_fail
;
9327 arg3
= (int)SWIG_As_int(obj2
);
9328 if (PyErr_Occurred()) SWIG_fail
;
9330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9332 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
9333 result
= (wxImage
*) &_result_ref
;
9336 wxPyEndAllowThreads(__tstate
);
9337 if (PyErr_Occurred()) SWIG_fail
;
9339 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
9346 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9347 PyObject
*resultobj
;
9348 wxImage
*arg1
= (wxImage
*) 0 ;
9351 unsigned char arg4
;
9352 unsigned char arg5
;
9353 unsigned char arg6
;
9354 PyObject
* obj0
= 0 ;
9355 PyObject
* obj1
= 0 ;
9356 PyObject
* obj2
= 0 ;
9357 PyObject
* obj3
= 0 ;
9358 PyObject
* obj4
= 0 ;
9359 PyObject
* obj5
= 0 ;
9361 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9367 arg2
= (int)SWIG_As_int(obj1
);
9368 if (PyErr_Occurred()) SWIG_fail
;
9369 arg3
= (int)SWIG_As_int(obj2
);
9370 if (PyErr_Occurred()) SWIG_fail
;
9371 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
9372 if (PyErr_Occurred()) SWIG_fail
;
9373 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj4
);
9374 if (PyErr_Occurred()) SWIG_fail
;
9375 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj5
);
9376 if (PyErr_Occurred()) SWIG_fail
;
9378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9379 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
9381 wxPyEndAllowThreads(__tstate
);
9382 if (PyErr_Occurred()) SWIG_fail
;
9384 Py_INCREF(Py_None
); resultobj
= Py_None
;
9391 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9392 PyObject
*resultobj
;
9393 wxImage
*arg1
= (wxImage
*) 0 ;
9396 unsigned char result
;
9397 PyObject
* obj0
= 0 ;
9398 PyObject
* obj1
= 0 ;
9399 PyObject
* obj2
= 0 ;
9401 (char *) "self",(char *) "x",(char *) "y", NULL
9404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9407 arg2
= (int)SWIG_As_int(obj1
);
9408 if (PyErr_Occurred()) SWIG_fail
;
9409 arg3
= (int)SWIG_As_int(obj2
);
9410 if (PyErr_Occurred()) SWIG_fail
;
9412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9413 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
9415 wxPyEndAllowThreads(__tstate
);
9416 if (PyErr_Occurred()) SWIG_fail
;
9418 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9425 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9426 PyObject
*resultobj
;
9427 wxImage
*arg1
= (wxImage
*) 0 ;
9430 unsigned char result
;
9431 PyObject
* obj0
= 0 ;
9432 PyObject
* obj1
= 0 ;
9433 PyObject
* obj2
= 0 ;
9435 (char *) "self",(char *) "x",(char *) "y", NULL
9438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9441 arg2
= (int)SWIG_As_int(obj1
);
9442 if (PyErr_Occurred()) SWIG_fail
;
9443 arg3
= (int)SWIG_As_int(obj2
);
9444 if (PyErr_Occurred()) SWIG_fail
;
9446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9447 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
9449 wxPyEndAllowThreads(__tstate
);
9450 if (PyErr_Occurred()) SWIG_fail
;
9452 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9459 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9460 PyObject
*resultobj
;
9461 wxImage
*arg1
= (wxImage
*) 0 ;
9464 unsigned char result
;
9465 PyObject
* obj0
= 0 ;
9466 PyObject
* obj1
= 0 ;
9467 PyObject
* obj2
= 0 ;
9469 (char *) "self",(char *) "x",(char *) "y", NULL
9472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9475 arg2
= (int)SWIG_As_int(obj1
);
9476 if (PyErr_Occurred()) SWIG_fail
;
9477 arg3
= (int)SWIG_As_int(obj2
);
9478 if (PyErr_Occurred()) SWIG_fail
;
9480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9481 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
9483 wxPyEndAllowThreads(__tstate
);
9484 if (PyErr_Occurred()) SWIG_fail
;
9486 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9493 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9494 PyObject
*resultobj
;
9495 wxImage
*arg1
= (wxImage
*) 0 ;
9498 unsigned char arg4
;
9499 PyObject
* obj0
= 0 ;
9500 PyObject
* obj1
= 0 ;
9501 PyObject
* obj2
= 0 ;
9502 PyObject
* obj3
= 0 ;
9504 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9510 arg2
= (int)SWIG_As_int(obj1
);
9511 if (PyErr_Occurred()) SWIG_fail
;
9512 arg3
= (int)SWIG_As_int(obj2
);
9513 if (PyErr_Occurred()) SWIG_fail
;
9514 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
9515 if (PyErr_Occurred()) SWIG_fail
;
9517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9518 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
9520 wxPyEndAllowThreads(__tstate
);
9521 if (PyErr_Occurred()) SWIG_fail
;
9523 Py_INCREF(Py_None
); resultobj
= Py_None
;
9530 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9531 PyObject
*resultobj
;
9532 wxImage
*arg1
= (wxImage
*) 0 ;
9535 unsigned char result
;
9536 PyObject
* obj0
= 0 ;
9537 PyObject
* obj1
= 0 ;
9538 PyObject
* obj2
= 0 ;
9540 (char *) "self",(char *) "x",(char *) "y", NULL
9543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9546 arg2
= (int)SWIG_As_int(obj1
);
9547 if (PyErr_Occurred()) SWIG_fail
;
9548 arg3
= (int)SWIG_As_int(obj2
);
9549 if (PyErr_Occurred()) SWIG_fail
;
9551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9552 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
9554 wxPyEndAllowThreads(__tstate
);
9555 if (PyErr_Occurred()) SWIG_fail
;
9557 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9564 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9565 PyObject
*resultobj
;
9566 wxImage
*arg1
= (wxImage
*) 0 ;
9568 PyObject
* obj0
= 0 ;
9570 (char *) "self", NULL
9573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
9574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9578 result
= (bool)(arg1
)->HasAlpha();
9580 wxPyEndAllowThreads(__tstate
);
9581 if (PyErr_Occurred()) SWIG_fail
;
9584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9592 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9593 PyObject
*resultobj
;
9594 wxImage
*arg1
= (wxImage
*) 0 ;
9595 byte
*arg2
= (byte
*) 0 ;
9596 byte
*arg3
= (byte
*) 0 ;
9597 byte
*arg4
= (byte
*) 0 ;
9598 byte arg5
= (byte
) 0 ;
9599 byte arg6
= (byte
) 0 ;
9600 byte arg7
= (byte
) 0 ;
9608 PyObject
* obj0
= 0 ;
9609 PyObject
* obj1
= 0 ;
9610 PyObject
* obj2
= 0 ;
9611 PyObject
* obj3
= 0 ;
9613 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9616 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
9617 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9618 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
9619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9623 arg5
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
9624 if (PyErr_Occurred()) SWIG_fail
;
9627 arg6
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
9628 if (PyErr_Occurred()) SWIG_fail
;
9631 arg7
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
9632 if (PyErr_Occurred()) SWIG_fail
;
9635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9636 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9638 wxPyEndAllowThreads(__tstate
);
9639 if (PyErr_Occurred()) SWIG_fail
;
9642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9644 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
9645 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_byte
, 0)));
9646 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9647 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_byte
, 0)));
9648 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
9649 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_byte
, 0)));
9656 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9657 PyObject
*resultobj
;
9658 wxImage
*arg1
= (wxImage
*) 0 ;
9659 byte arg2
= (byte
) 128 ;
9661 PyObject
* obj0
= 0 ;
9662 PyObject
* obj1
= 0 ;
9664 (char *) "self",(char *) "threshold", NULL
9667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
9668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9671 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
9672 if (PyErr_Occurred()) SWIG_fail
;
9675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9676 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
9678 wxPyEndAllowThreads(__tstate
);
9679 if (PyErr_Occurred()) SWIG_fail
;
9682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9690 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9691 PyObject
*resultobj
;
9692 wxImage
*arg1
= (wxImage
*) 0 ;
9698 PyObject
* obj0
= 0 ;
9699 PyObject
* obj1
= 0 ;
9700 PyObject
* obj2
= 0 ;
9701 PyObject
* obj3
= 0 ;
9702 PyObject
* obj4
= 0 ;
9704 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9710 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9711 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9714 PyErr_SetString(PyExc_TypeError
,"null reference");
9717 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
9718 if (PyErr_Occurred()) SWIG_fail
;
9719 arg4
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
9720 if (PyErr_Occurred()) SWIG_fail
;
9721 arg5
= (byte
)SWIG_As_unsigned_SS_char(obj4
);
9722 if (PyErr_Occurred()) SWIG_fail
;
9724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9725 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9727 wxPyEndAllowThreads(__tstate
);
9728 if (PyErr_Occurred()) SWIG_fail
;
9731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9739 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9740 PyObject
*resultobj
;
9741 wxString
*arg1
= 0 ;
9743 bool temp1
= False
;
9744 PyObject
* obj0
= 0 ;
9746 (char *) "name", NULL
9749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9751 arg1
= wxString_in_helper(obj0
);
9752 if (arg1
== NULL
) SWIG_fail
;
9756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9757 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9759 wxPyEndAllowThreads(__tstate
);
9760 if (PyErr_Occurred()) SWIG_fail
;
9763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9779 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9780 PyObject
*resultobj
;
9781 wxString
*arg1
= 0 ;
9782 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9784 bool temp1
= False
;
9785 PyObject
* obj0
= 0 ;
9786 PyObject
* obj1
= 0 ;
9788 (char *) "name",(char *) "type", NULL
9791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9793 arg1
= wxString_in_helper(obj0
);
9794 if (arg1
== NULL
) SWIG_fail
;
9798 arg2
= (long)SWIG_As_long(obj1
);
9799 if (PyErr_Occurred()) SWIG_fail
;
9802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9803 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9805 wxPyEndAllowThreads(__tstate
);
9806 if (PyErr_Occurred()) SWIG_fail
;
9808 resultobj
= SWIG_From_int((int)result
);
9823 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9824 PyObject
*resultobj
;
9825 wxImage
*arg1
= (wxImage
*) 0 ;
9826 wxString
*arg2
= 0 ;
9827 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9828 int arg4
= (int) -1 ;
9830 bool temp2
= False
;
9831 PyObject
* obj0
= 0 ;
9832 PyObject
* obj1
= 0 ;
9833 PyObject
* obj2
= 0 ;
9834 PyObject
* obj3
= 0 ;
9836 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9843 arg2
= wxString_in_helper(obj1
);
9844 if (arg2
== NULL
) SWIG_fail
;
9848 arg3
= (long)SWIG_As_long(obj2
);
9849 if (PyErr_Occurred()) SWIG_fail
;
9852 arg4
= (int)SWIG_As_int(obj3
);
9853 if (PyErr_Occurred()) SWIG_fail
;
9856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9857 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
9859 wxPyEndAllowThreads(__tstate
);
9860 if (PyErr_Occurred()) SWIG_fail
;
9863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9879 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9880 PyObject
*resultobj
;
9881 wxImage
*arg1
= (wxImage
*) 0 ;
9882 wxString
*arg2
= 0 ;
9883 wxString
*arg3
= 0 ;
9884 int arg4
= (int) -1 ;
9886 bool temp2
= False
;
9887 bool temp3
= False
;
9888 PyObject
* obj0
= 0 ;
9889 PyObject
* obj1
= 0 ;
9890 PyObject
* obj2
= 0 ;
9891 PyObject
* obj3
= 0 ;
9893 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9900 arg2
= wxString_in_helper(obj1
);
9901 if (arg2
== NULL
) SWIG_fail
;
9905 arg3
= wxString_in_helper(obj2
);
9906 if (arg3
== NULL
) SWIG_fail
;
9910 arg4
= (int)SWIG_As_int(obj3
);
9911 if (PyErr_Occurred()) SWIG_fail
;
9914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9915 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9917 wxPyEndAllowThreads(__tstate
);
9918 if (PyErr_Occurred()) SWIG_fail
;
9921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9945 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9946 PyObject
*resultobj
;
9947 wxImage
*arg1
= (wxImage
*) 0 ;
9948 wxString
*arg2
= 0 ;
9951 bool temp2
= False
;
9952 PyObject
* obj0
= 0 ;
9953 PyObject
* obj1
= 0 ;
9954 PyObject
* obj2
= 0 ;
9956 (char *) "self",(char *) "name",(char *) "type", NULL
9959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9963 arg2
= wxString_in_helper(obj1
);
9964 if (arg2
== NULL
) SWIG_fail
;
9967 arg3
= (int)SWIG_As_int(obj2
);
9968 if (PyErr_Occurred()) SWIG_fail
;
9970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9971 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
9973 wxPyEndAllowThreads(__tstate
);
9974 if (PyErr_Occurred()) SWIG_fail
;
9977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9993 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9994 PyObject
*resultobj
;
9995 wxImage
*arg1
= (wxImage
*) 0 ;
9996 wxString
*arg2
= 0 ;
9997 wxString
*arg3
= 0 ;
9999 bool temp2
= False
;
10000 bool temp3
= False
;
10001 PyObject
* obj0
= 0 ;
10002 PyObject
* obj1
= 0 ;
10003 PyObject
* obj2
= 0 ;
10004 char *kwnames
[] = {
10005 (char *) "self",(char *) "name",(char *) "mimetype", NULL
10008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10012 arg2
= wxString_in_helper(obj1
);
10013 if (arg2
== NULL
) SWIG_fail
;
10017 arg3
= wxString_in_helper(obj2
);
10018 if (arg3
== NULL
) SWIG_fail
;
10022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10023 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10025 wxPyEndAllowThreads(__tstate
);
10026 if (PyErr_Occurred()) SWIG_fail
;
10029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10053 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10054 PyObject
*resultobj
;
10055 wxInputStream
*arg1
= 0 ;
10057 wxPyInputStream
*temp1
;
10059 PyObject
* obj0
= 0 ;
10060 char *kwnames
[] = {
10061 (char *) "stream", NULL
10064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
10066 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10067 arg1
= temp1
->m_wxis
;
10070 PyErr_Clear(); // clear the failure of the wxPyConvert above
10071 arg1
= wxPyCBInputStream_create(obj0
, False
);
10072 if (arg1
== NULL
) {
10073 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10081 result
= (bool)wxImage::CanRead(*arg1
);
10083 wxPyEndAllowThreads(__tstate
);
10084 if (PyErr_Occurred()) SWIG_fail
;
10087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10103 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10104 PyObject
*resultobj
;
10105 wxImage
*arg1
= (wxImage
*) 0 ;
10106 wxInputStream
*arg2
= 0 ;
10107 long arg3
= (long) wxBITMAP_TYPE_ANY
;
10108 int arg4
= (int) -1 ;
10110 wxPyInputStream
*temp2
;
10112 PyObject
* obj0
= 0 ;
10113 PyObject
* obj1
= 0 ;
10114 PyObject
* obj2
= 0 ;
10115 PyObject
* obj3
= 0 ;
10116 char *kwnames
[] = {
10117 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
10120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10124 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
10125 arg2
= temp2
->m_wxis
;
10128 PyErr_Clear(); // clear the failure of the wxPyConvert above
10129 arg2
= wxPyCBInputStream_create(obj1
, False
);
10130 if (arg2
== NULL
) {
10131 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10138 arg3
= (long)SWIG_As_long(obj2
);
10139 if (PyErr_Occurred()) SWIG_fail
;
10142 arg4
= (int)SWIG_As_int(obj3
);
10143 if (PyErr_Occurred()) SWIG_fail
;
10146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10147 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
10149 wxPyEndAllowThreads(__tstate
);
10150 if (PyErr_Occurred()) SWIG_fail
;
10153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10169 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10170 PyObject
*resultobj
;
10171 wxImage
*arg1
= (wxImage
*) 0 ;
10172 wxInputStream
*arg2
= 0 ;
10173 wxString
*arg3
= 0 ;
10174 int arg4
= (int) -1 ;
10176 wxPyInputStream
*temp2
;
10178 bool temp3
= False
;
10179 PyObject
* obj0
= 0 ;
10180 PyObject
* obj1
= 0 ;
10181 PyObject
* obj2
= 0 ;
10182 PyObject
* obj3
= 0 ;
10183 char *kwnames
[] = {
10184 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
10187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10191 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
10192 arg2
= temp2
->m_wxis
;
10195 PyErr_Clear(); // clear the failure of the wxPyConvert above
10196 arg2
= wxPyCBInputStream_create(obj1
, False
);
10197 if (arg2
== NULL
) {
10198 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10205 arg3
= wxString_in_helper(obj2
);
10206 if (arg3
== NULL
) SWIG_fail
;
10210 arg4
= (int)SWIG_As_int(obj3
);
10211 if (PyErr_Occurred()) SWIG_fail
;
10214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10215 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
10217 wxPyEndAllowThreads(__tstate
);
10218 if (PyErr_Occurred()) SWIG_fail
;
10221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10245 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10246 PyObject
*resultobj
;
10247 wxImage
*arg1
= (wxImage
*) 0 ;
10249 PyObject
* obj0
= 0 ;
10250 char *kwnames
[] = {
10251 (char *) "self", NULL
10254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
10255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10259 result
= (bool)(arg1
)->Ok();
10261 wxPyEndAllowThreads(__tstate
);
10262 if (PyErr_Occurred()) SWIG_fail
;
10265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10273 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10274 PyObject
*resultobj
;
10275 wxImage
*arg1
= (wxImage
*) 0 ;
10277 PyObject
* obj0
= 0 ;
10278 char *kwnames
[] = {
10279 (char *) "self", NULL
10282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
10283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10287 result
= (int)(arg1
)->GetWidth();
10289 wxPyEndAllowThreads(__tstate
);
10290 if (PyErr_Occurred()) SWIG_fail
;
10292 resultobj
= SWIG_From_int((int)result
);
10299 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10300 PyObject
*resultobj
;
10301 wxImage
*arg1
= (wxImage
*) 0 ;
10303 PyObject
* obj0
= 0 ;
10304 char *kwnames
[] = {
10305 (char *) "self", NULL
10308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
10309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10313 result
= (int)(arg1
)->GetHeight();
10315 wxPyEndAllowThreads(__tstate
);
10316 if (PyErr_Occurred()) SWIG_fail
;
10318 resultobj
= SWIG_From_int((int)result
);
10325 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10326 PyObject
*resultobj
;
10327 wxImage
*arg1
= (wxImage
*) 0 ;
10329 PyObject
* obj0
= 0 ;
10330 char *kwnames
[] = {
10331 (char *) "self", NULL
10334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
10335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10339 result
= wxImage_GetSize(arg1
);
10341 wxPyEndAllowThreads(__tstate
);
10342 if (PyErr_Occurred()) SWIG_fail
;
10345 wxSize
* resultptr
;
10346 resultptr
= new wxSize((wxSize
&) result
);
10347 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10355 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10356 PyObject
*resultobj
;
10357 wxImage
*arg1
= (wxImage
*) 0 ;
10359 SwigValueWrapper
< wxImage
> result
;
10361 PyObject
* obj0
= 0 ;
10362 PyObject
* obj1
= 0 ;
10363 char *kwnames
[] = {
10364 (char *) "self",(char *) "rect", NULL
10367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
10368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10372 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10376 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
10378 wxPyEndAllowThreads(__tstate
);
10379 if (PyErr_Occurred()) SWIG_fail
;
10382 wxImage
* resultptr
;
10383 resultptr
= new wxImage((wxImage
&) result
);
10384 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10392 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10393 PyObject
*resultobj
;
10394 wxImage
*arg1
= (wxImage
*) 0 ;
10395 SwigValueWrapper
< wxImage
> result
;
10396 PyObject
* obj0
= 0 ;
10397 char *kwnames
[] = {
10398 (char *) "self", NULL
10401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
10402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10406 result
= (arg1
)->Copy();
10408 wxPyEndAllowThreads(__tstate
);
10409 if (PyErr_Occurred()) SWIG_fail
;
10412 wxImage
* resultptr
;
10413 resultptr
= new wxImage((wxImage
&) result
);
10414 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10422 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10423 PyObject
*resultobj
;
10424 wxImage
*arg1
= (wxImage
*) 0 ;
10425 wxImage
*arg2
= 0 ;
10428 PyObject
* obj0
= 0 ;
10429 PyObject
* obj1
= 0 ;
10430 PyObject
* obj2
= 0 ;
10431 PyObject
* obj3
= 0 ;
10432 char *kwnames
[] = {
10433 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10439 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
10440 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10442 if (arg2
== NULL
) {
10443 PyErr_SetString(PyExc_TypeError
,"null reference");
10446 arg3
= (int)SWIG_As_int(obj2
);
10447 if (PyErr_Occurred()) SWIG_fail
;
10448 arg4
= (int)SWIG_As_int(obj3
);
10449 if (PyErr_Occurred()) SWIG_fail
;
10451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10452 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
10454 wxPyEndAllowThreads(__tstate
);
10455 if (PyErr_Occurred()) SWIG_fail
;
10457 Py_INCREF(Py_None
); resultobj
= Py_None
;
10464 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10465 PyObject
*resultobj
;
10466 wxImage
*arg1
= (wxImage
*) 0 ;
10468 PyObject
* obj0
= 0 ;
10469 char *kwnames
[] = {
10470 (char *) "self", NULL
10473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
10474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10478 result
= (PyObject
*)wxImage_GetData(arg1
);
10480 wxPyEndAllowThreads(__tstate
);
10481 if (PyErr_Occurred()) SWIG_fail
;
10483 resultobj
= result
;
10490 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10491 PyObject
*resultobj
;
10492 wxImage
*arg1
= (wxImage
*) 0 ;
10493 PyObject
*arg2
= (PyObject
*) 0 ;
10494 PyObject
* obj0
= 0 ;
10495 PyObject
* obj1
= 0 ;
10496 char *kwnames
[] = {
10497 (char *) "self",(char *) "data", NULL
10500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10506 wxImage_SetData(arg1
,arg2
);
10508 wxPyEndAllowThreads(__tstate
);
10509 if (PyErr_Occurred()) SWIG_fail
;
10511 Py_INCREF(Py_None
); resultobj
= Py_None
;
10518 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10519 PyObject
*resultobj
;
10520 wxImage
*arg1
= (wxImage
*) 0 ;
10522 PyObject
* obj0
= 0 ;
10523 char *kwnames
[] = {
10524 (char *) "self", NULL
10527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10532 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10534 wxPyEndAllowThreads(__tstate
);
10535 if (PyErr_Occurred()) SWIG_fail
;
10537 resultobj
= result
;
10544 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10545 PyObject
*resultobj
;
10546 wxImage
*arg1
= (wxImage
*) 0 ;
10547 PyObject
*arg2
= (PyObject
*) 0 ;
10548 PyObject
* obj0
= 0 ;
10549 PyObject
* obj1
= 0 ;
10550 char *kwnames
[] = {
10551 (char *) "self",(char *) "data", NULL
10554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10560 wxImage_SetDataBuffer(arg1
,arg2
);
10562 wxPyEndAllowThreads(__tstate
);
10563 if (PyErr_Occurred()) SWIG_fail
;
10565 Py_INCREF(Py_None
); resultobj
= Py_None
;
10572 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10573 PyObject
*resultobj
;
10574 wxImage
*arg1
= (wxImage
*) 0 ;
10576 PyObject
* obj0
= 0 ;
10577 char *kwnames
[] = {
10578 (char *) "self", NULL
10581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10586 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10588 wxPyEndAllowThreads(__tstate
);
10589 if (PyErr_Occurred()) SWIG_fail
;
10591 resultobj
= result
;
10598 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10599 PyObject
*resultobj
;
10600 wxImage
*arg1
= (wxImage
*) 0 ;
10601 PyObject
*arg2
= (PyObject
*) 0 ;
10602 PyObject
* obj0
= 0 ;
10603 PyObject
* obj1
= 0 ;
10604 char *kwnames
[] = {
10605 (char *) "self",(char *) "data", NULL
10608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10614 wxImage_SetAlphaData(arg1
,arg2
);
10616 wxPyEndAllowThreads(__tstate
);
10617 if (PyErr_Occurred()) SWIG_fail
;
10619 Py_INCREF(Py_None
); resultobj
= Py_None
;
10626 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10627 PyObject
*resultobj
;
10628 wxImage
*arg1
= (wxImage
*) 0 ;
10630 PyObject
* obj0
= 0 ;
10631 char *kwnames
[] = {
10632 (char *) "self", NULL
10635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
10636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10640 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10642 wxPyEndAllowThreads(__tstate
);
10643 if (PyErr_Occurred()) SWIG_fail
;
10645 resultobj
= result
;
10652 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10653 PyObject
*resultobj
;
10654 wxImage
*arg1
= (wxImage
*) 0 ;
10655 PyObject
*arg2
= (PyObject
*) 0 ;
10656 PyObject
* obj0
= 0 ;
10657 PyObject
* obj1
= 0 ;
10658 char *kwnames
[] = {
10659 (char *) "self",(char *) "data", NULL
10662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10668 wxImage_SetAlphaBuffer(arg1
,arg2
);
10670 wxPyEndAllowThreads(__tstate
);
10671 if (PyErr_Occurred()) SWIG_fail
;
10673 Py_INCREF(Py_None
); resultobj
= Py_None
;
10680 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10681 PyObject
*resultobj
;
10682 wxImage
*arg1
= (wxImage
*) 0 ;
10683 unsigned char arg2
;
10684 unsigned char arg3
;
10685 unsigned char arg4
;
10686 PyObject
* obj0
= 0 ;
10687 PyObject
* obj1
= 0 ;
10688 PyObject
* obj2
= 0 ;
10689 PyObject
* obj3
= 0 ;
10690 char *kwnames
[] = {
10691 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10697 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
10698 if (PyErr_Occurred()) SWIG_fail
;
10699 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
10700 if (PyErr_Occurred()) SWIG_fail
;
10701 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
10702 if (PyErr_Occurred()) SWIG_fail
;
10704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10705 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10707 wxPyEndAllowThreads(__tstate
);
10708 if (PyErr_Occurred()) SWIG_fail
;
10710 Py_INCREF(Py_None
); resultobj
= Py_None
;
10717 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10718 PyObject
*resultobj
;
10719 wxImage
*arg1
= (wxImage
*) 0 ;
10720 unsigned char result
;
10721 PyObject
* obj0
= 0 ;
10722 char *kwnames
[] = {
10723 (char *) "self", NULL
10726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10731 result
= (unsigned char)(arg1
)->GetMaskRed();
10733 wxPyEndAllowThreads(__tstate
);
10734 if (PyErr_Occurred()) SWIG_fail
;
10736 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
10743 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10744 PyObject
*resultobj
;
10745 wxImage
*arg1
= (wxImage
*) 0 ;
10746 unsigned char result
;
10747 PyObject
* obj0
= 0 ;
10748 char *kwnames
[] = {
10749 (char *) "self", NULL
10752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10757 result
= (unsigned char)(arg1
)->GetMaskGreen();
10759 wxPyEndAllowThreads(__tstate
);
10760 if (PyErr_Occurred()) SWIG_fail
;
10762 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
10769 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10770 PyObject
*resultobj
;
10771 wxImage
*arg1
= (wxImage
*) 0 ;
10772 unsigned char result
;
10773 PyObject
* obj0
= 0 ;
10774 char *kwnames
[] = {
10775 (char *) "self", NULL
10778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10783 result
= (unsigned char)(arg1
)->GetMaskBlue();
10785 wxPyEndAllowThreads(__tstate
);
10786 if (PyErr_Occurred()) SWIG_fail
;
10788 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
10795 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10796 PyObject
*resultobj
;
10797 wxImage
*arg1
= (wxImage
*) 0 ;
10798 bool arg2
= (bool) True
;
10799 PyObject
* obj0
= 0 ;
10800 PyObject
* obj1
= 0 ;
10801 char *kwnames
[] = {
10802 (char *) "self",(char *) "mask", NULL
10805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10809 arg2
= (bool)SWIG_As_bool(obj1
);
10810 if (PyErr_Occurred()) SWIG_fail
;
10813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10814 (arg1
)->SetMask(arg2
);
10816 wxPyEndAllowThreads(__tstate
);
10817 if (PyErr_Occurred()) SWIG_fail
;
10819 Py_INCREF(Py_None
); resultobj
= Py_None
;
10826 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10827 PyObject
*resultobj
;
10828 wxImage
*arg1
= (wxImage
*) 0 ;
10830 PyObject
* obj0
= 0 ;
10831 char *kwnames
[] = {
10832 (char *) "self", NULL
10835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10840 result
= (bool)(arg1
)->HasMask();
10842 wxPyEndAllowThreads(__tstate
);
10843 if (PyErr_Occurred()) SWIG_fail
;
10846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10854 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10855 PyObject
*resultobj
;
10856 wxImage
*arg1
= (wxImage
*) 0 ;
10858 wxPoint
*arg3
= 0 ;
10859 bool arg4
= (bool) True
;
10860 wxPoint
*arg5
= (wxPoint
*) NULL
;
10861 SwigValueWrapper
< wxImage
> result
;
10863 PyObject
* obj0
= 0 ;
10864 PyObject
* obj1
= 0 ;
10865 PyObject
* obj2
= 0 ;
10866 PyObject
* obj3
= 0 ;
10867 PyObject
* obj4
= 0 ;
10868 char *kwnames
[] = {
10869 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10875 arg2
= (double)SWIG_As_double(obj1
);
10876 if (PyErr_Occurred()) SWIG_fail
;
10879 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10882 arg4
= (bool)SWIG_As_bool(obj3
);
10883 if (PyErr_Occurred()) SWIG_fail
;
10886 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
10887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10891 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
10893 wxPyEndAllowThreads(__tstate
);
10894 if (PyErr_Occurred()) SWIG_fail
;
10897 wxImage
* resultptr
;
10898 resultptr
= new wxImage((wxImage
&) result
);
10899 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10907 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10908 PyObject
*resultobj
;
10909 wxImage
*arg1
= (wxImage
*) 0 ;
10910 bool arg2
= (bool) True
;
10911 SwigValueWrapper
< wxImage
> result
;
10912 PyObject
* obj0
= 0 ;
10913 PyObject
* obj1
= 0 ;
10914 char *kwnames
[] = {
10915 (char *) "self",(char *) "clockwise", NULL
10918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
10919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10922 arg2
= (bool)SWIG_As_bool(obj1
);
10923 if (PyErr_Occurred()) SWIG_fail
;
10926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10927 result
= (arg1
)->Rotate90(arg2
);
10929 wxPyEndAllowThreads(__tstate
);
10930 if (PyErr_Occurred()) SWIG_fail
;
10933 wxImage
* resultptr
;
10934 resultptr
= new wxImage((wxImage
&) result
);
10935 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10943 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10944 PyObject
*resultobj
;
10945 wxImage
*arg1
= (wxImage
*) 0 ;
10946 bool arg2
= (bool) True
;
10947 SwigValueWrapper
< wxImage
> result
;
10948 PyObject
* obj0
= 0 ;
10949 PyObject
* obj1
= 0 ;
10950 char *kwnames
[] = {
10951 (char *) "self",(char *) "horizontally", NULL
10954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
10955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10958 arg2
= (bool)SWIG_As_bool(obj1
);
10959 if (PyErr_Occurred()) SWIG_fail
;
10962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10963 result
= (arg1
)->Mirror(arg2
);
10965 wxPyEndAllowThreads(__tstate
);
10966 if (PyErr_Occurred()) SWIG_fail
;
10969 wxImage
* resultptr
;
10970 resultptr
= new wxImage((wxImage
&) result
);
10971 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10979 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10980 PyObject
*resultobj
;
10981 wxImage
*arg1
= (wxImage
*) 0 ;
10982 unsigned char arg2
;
10983 unsigned char arg3
;
10984 unsigned char arg4
;
10985 unsigned char arg5
;
10986 unsigned char arg6
;
10987 unsigned char arg7
;
10988 PyObject
* obj0
= 0 ;
10989 PyObject
* obj1
= 0 ;
10990 PyObject
* obj2
= 0 ;
10991 PyObject
* obj3
= 0 ;
10992 PyObject
* obj4
= 0 ;
10993 PyObject
* obj5
= 0 ;
10994 PyObject
* obj6
= 0 ;
10995 char *kwnames
[] = {
10996 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11002 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11003 if (PyErr_Occurred()) SWIG_fail
;
11004 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11005 if (PyErr_Occurred()) SWIG_fail
;
11006 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11007 if (PyErr_Occurred()) SWIG_fail
;
11008 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj4
);
11009 if (PyErr_Occurred()) SWIG_fail
;
11010 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj5
);
11011 if (PyErr_Occurred()) SWIG_fail
;
11012 arg7
= (unsigned char)SWIG_As_unsigned_SS_char(obj6
);
11013 if (PyErr_Occurred()) SWIG_fail
;
11015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11016 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11018 wxPyEndAllowThreads(__tstate
);
11019 if (PyErr_Occurred()) SWIG_fail
;
11021 Py_INCREF(Py_None
); resultobj
= Py_None
;
11028 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11029 PyObject
*resultobj
;
11030 wxImage
*arg1
= (wxImage
*) 0 ;
11031 unsigned char arg2
;
11032 unsigned char arg3
;
11033 unsigned char arg4
;
11034 SwigValueWrapper
< wxImage
> result
;
11035 PyObject
* obj0
= 0 ;
11036 PyObject
* obj1
= 0 ;
11037 PyObject
* obj2
= 0 ;
11038 PyObject
* obj3
= 0 ;
11039 char *kwnames
[] = {
11040 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11046 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11047 if (PyErr_Occurred()) SWIG_fail
;
11048 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11049 if (PyErr_Occurred()) SWIG_fail
;
11050 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11051 if (PyErr_Occurred()) SWIG_fail
;
11053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11054 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
11056 wxPyEndAllowThreads(__tstate
);
11057 if (PyErr_Occurred()) SWIG_fail
;
11060 wxImage
* resultptr
;
11061 resultptr
= new wxImage((wxImage
&) result
);
11062 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11070 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11071 PyObject
*resultobj
;
11072 wxImage
*arg1
= (wxImage
*) 0 ;
11073 wxString
*arg2
= 0 ;
11074 wxString
*arg3
= 0 ;
11075 bool temp2
= False
;
11076 bool temp3
= False
;
11077 PyObject
* obj0
= 0 ;
11078 PyObject
* obj1
= 0 ;
11079 PyObject
* obj2
= 0 ;
11080 char *kwnames
[] = {
11081 (char *) "self",(char *) "name",(char *) "value", NULL
11084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11088 arg2
= wxString_in_helper(obj1
);
11089 if (arg2
== NULL
) SWIG_fail
;
11093 arg3
= wxString_in_helper(obj2
);
11094 if (arg3
== NULL
) SWIG_fail
;
11098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11099 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
11101 wxPyEndAllowThreads(__tstate
);
11102 if (PyErr_Occurred()) SWIG_fail
;
11104 Py_INCREF(Py_None
); resultobj
= Py_None
;
11127 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11128 PyObject
*resultobj
;
11129 wxImage
*arg1
= (wxImage
*) 0 ;
11130 wxString
*arg2
= 0 ;
11132 bool temp2
= False
;
11133 PyObject
* obj0
= 0 ;
11134 PyObject
* obj1
= 0 ;
11135 PyObject
* obj2
= 0 ;
11136 char *kwnames
[] = {
11137 (char *) "self",(char *) "name",(char *) "value", NULL
11140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11144 arg2
= wxString_in_helper(obj1
);
11145 if (arg2
== NULL
) SWIG_fail
;
11148 arg3
= (int)SWIG_As_int(obj2
);
11149 if (PyErr_Occurred()) SWIG_fail
;
11151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11152 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
11154 wxPyEndAllowThreads(__tstate
);
11155 if (PyErr_Occurred()) SWIG_fail
;
11157 Py_INCREF(Py_None
); resultobj
= Py_None
;
11172 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11173 PyObject
*resultobj
;
11174 wxImage
*arg1
= (wxImage
*) 0 ;
11175 wxString
*arg2
= 0 ;
11177 bool temp2
= False
;
11178 PyObject
* obj0
= 0 ;
11179 PyObject
* obj1
= 0 ;
11180 char *kwnames
[] = {
11181 (char *) "self",(char *) "name", NULL
11184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
11185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11188 arg2
= wxString_in_helper(obj1
);
11189 if (arg2
== NULL
) SWIG_fail
;
11193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11194 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
11196 wxPyEndAllowThreads(__tstate
);
11197 if (PyErr_Occurred()) SWIG_fail
;
11201 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11203 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11220 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11221 PyObject
*resultobj
;
11222 wxImage
*arg1
= (wxImage
*) 0 ;
11223 wxString
*arg2
= 0 ;
11225 bool temp2
= False
;
11226 PyObject
* obj0
= 0 ;
11227 PyObject
* obj1
= 0 ;
11228 char *kwnames
[] = {
11229 (char *) "self",(char *) "name", NULL
11232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
11233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11236 arg2
= wxString_in_helper(obj1
);
11237 if (arg2
== NULL
) SWIG_fail
;
11241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11242 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
11244 wxPyEndAllowThreads(__tstate
);
11245 if (PyErr_Occurred()) SWIG_fail
;
11247 resultobj
= SWIG_From_int((int)result
);
11262 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11263 PyObject
*resultobj
;
11264 wxImage
*arg1
= (wxImage
*) 0 ;
11265 wxString
*arg2
= 0 ;
11267 bool temp2
= False
;
11268 PyObject
* obj0
= 0 ;
11269 PyObject
* obj1
= 0 ;
11270 char *kwnames
[] = {
11271 (char *) "self",(char *) "name", NULL
11274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
11275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11278 arg2
= wxString_in_helper(obj1
);
11279 if (arg2
== NULL
) SWIG_fail
;
11283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11284 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
11286 wxPyEndAllowThreads(__tstate
);
11287 if (PyErr_Occurred()) SWIG_fail
;
11290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11306 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11307 PyObject
*resultobj
;
11308 wxImage
*arg1
= (wxImage
*) 0 ;
11309 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
11310 unsigned long result
;
11311 PyObject
* obj0
= 0 ;
11312 PyObject
* obj1
= 0 ;
11313 char *kwnames
[] = {
11314 (char *) "self",(char *) "stopafter", NULL
11317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
11318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11321 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
11322 if (PyErr_Occurred()) SWIG_fail
;
11325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11326 result
= (unsigned long)(arg1
)->CountColours(arg2
);
11328 wxPyEndAllowThreads(__tstate
);
11329 if (PyErr_Occurred()) SWIG_fail
;
11331 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
11338 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11339 PyObject
*resultobj
;
11340 wxImage
*arg1
= (wxImage
*) 0 ;
11341 wxImageHistogram
*arg2
= 0 ;
11342 unsigned long result
;
11343 PyObject
* obj0
= 0 ;
11344 PyObject
* obj1
= 0 ;
11345 char *kwnames
[] = {
11346 (char *) "self",(char *) "h", NULL
11349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
11350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11352 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
11353 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11355 if (arg2
== NULL
) {
11356 PyErr_SetString(PyExc_TypeError
,"null reference");
11360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11361 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
11363 wxPyEndAllowThreads(__tstate
);
11364 if (PyErr_Occurred()) SWIG_fail
;
11366 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
11373 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11374 PyObject
*resultobj
;
11375 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11376 PyObject
* obj0
= 0 ;
11377 char *kwnames
[] = {
11378 (char *) "handler", NULL
11381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
11382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11386 wxImage::AddHandler(arg1
);
11388 wxPyEndAllowThreads(__tstate
);
11389 if (PyErr_Occurred()) SWIG_fail
;
11391 Py_INCREF(Py_None
); resultobj
= Py_None
;
11398 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11399 PyObject
*resultobj
;
11400 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11401 PyObject
* obj0
= 0 ;
11402 char *kwnames
[] = {
11403 (char *) "handler", NULL
11406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
11407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11411 wxImage::InsertHandler(arg1
);
11413 wxPyEndAllowThreads(__tstate
);
11414 if (PyErr_Occurred()) SWIG_fail
;
11416 Py_INCREF(Py_None
); resultobj
= Py_None
;
11423 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11424 PyObject
*resultobj
;
11425 wxString
*arg1
= 0 ;
11427 bool temp1
= False
;
11428 PyObject
* obj0
= 0 ;
11429 char *kwnames
[] = {
11430 (char *) "name", NULL
11433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
11435 arg1
= wxString_in_helper(obj0
);
11436 if (arg1
== NULL
) SWIG_fail
;
11440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11441 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
11443 wxPyEndAllowThreads(__tstate
);
11444 if (PyErr_Occurred()) SWIG_fail
;
11447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11463 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11464 PyObject
*resultobj
;
11466 char *kwnames
[] = {
11470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
11472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11473 result
= wxImage::GetImageExtWildcard();
11475 wxPyEndAllowThreads(__tstate
);
11476 if (PyErr_Occurred()) SWIG_fail
;
11480 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11482 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11491 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11492 PyObject
*resultobj
;
11493 wxImage
*arg1
= (wxImage
*) 0 ;
11494 int arg2
= (int) -1 ;
11496 PyObject
* obj0
= 0 ;
11497 PyObject
* obj1
= 0 ;
11498 char *kwnames
[] = {
11499 (char *) "self",(char *) "depth", NULL
11502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
11503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11506 arg2
= (int)SWIG_As_int(obj1
);
11507 if (PyErr_Occurred()) SWIG_fail
;
11510 if (!wxPyCheckForApp()) SWIG_fail
;
11511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11512 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
11514 wxPyEndAllowThreads(__tstate
);
11515 if (PyErr_Occurred()) SWIG_fail
;
11518 wxBitmap
* resultptr
;
11519 resultptr
= new wxBitmap((wxBitmap
&) result
);
11520 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11528 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11529 PyObject
*resultobj
;
11530 wxImage
*arg1
= (wxImage
*) 0 ;
11531 unsigned char arg2
;
11532 unsigned char arg3
;
11533 unsigned char arg4
;
11535 PyObject
* obj0
= 0 ;
11536 PyObject
* obj1
= 0 ;
11537 PyObject
* obj2
= 0 ;
11538 PyObject
* obj3
= 0 ;
11539 char *kwnames
[] = {
11540 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11546 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11547 if (PyErr_Occurred()) SWIG_fail
;
11548 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11549 if (PyErr_Occurred()) SWIG_fail
;
11550 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11551 if (PyErr_Occurred()) SWIG_fail
;
11553 if (!wxPyCheckForApp()) SWIG_fail
;
11554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11555 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11557 wxPyEndAllowThreads(__tstate
);
11558 if (PyErr_Occurred()) SWIG_fail
;
11561 wxBitmap
* resultptr
;
11562 resultptr
= new wxBitmap((wxBitmap
&) result
);
11563 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11571 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
11573 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11574 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11576 return Py_BuildValue((char *)"");
11578 static int _wrap_NullImage_set(PyObject
*) {
11579 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11584 static PyObject
*_wrap_NullImage_get() {
11587 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11592 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
11593 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11598 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11603 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11605 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11612 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
11613 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11618 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11623 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11625 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11632 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
11633 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11638 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11643 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11645 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11652 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
11653 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11658 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11663 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11665 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11672 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
11673 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11678 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11683 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11685 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11692 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11693 PyObject
*resultobj
;
11694 wxBMPHandler
*result
;
11695 char *kwnames
[] = {
11699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11702 result
= (wxBMPHandler
*)new wxBMPHandler();
11704 wxPyEndAllowThreads(__tstate
);
11705 if (PyErr_Occurred()) SWIG_fail
;
11707 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11714 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
11716 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11717 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11719 return Py_BuildValue((char *)"");
11721 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11722 PyObject
*resultobj
;
11723 wxICOHandler
*result
;
11724 char *kwnames
[] = {
11728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11731 result
= (wxICOHandler
*)new wxICOHandler();
11733 wxPyEndAllowThreads(__tstate
);
11734 if (PyErr_Occurred()) SWIG_fail
;
11736 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11743 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
11745 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11746 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11748 return Py_BuildValue((char *)"");
11750 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11751 PyObject
*resultobj
;
11752 wxCURHandler
*result
;
11753 char *kwnames
[] = {
11757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11760 result
= (wxCURHandler
*)new wxCURHandler();
11762 wxPyEndAllowThreads(__tstate
);
11763 if (PyErr_Occurred()) SWIG_fail
;
11765 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11772 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
11774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11775 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11777 return Py_BuildValue((char *)"");
11779 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11780 PyObject
*resultobj
;
11781 wxANIHandler
*result
;
11782 char *kwnames
[] = {
11786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11789 result
= (wxANIHandler
*)new wxANIHandler();
11791 wxPyEndAllowThreads(__tstate
);
11792 if (PyErr_Occurred()) SWIG_fail
;
11794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
11801 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
11803 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11804 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11806 return Py_BuildValue((char *)"");
11808 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11809 PyObject
*resultobj
;
11810 wxPNGHandler
*result
;
11811 char *kwnames
[] = {
11815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11818 result
= (wxPNGHandler
*)new wxPNGHandler();
11820 wxPyEndAllowThreads(__tstate
);
11821 if (PyErr_Occurred()) SWIG_fail
;
11823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
11830 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
11832 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11833 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11835 return Py_BuildValue((char *)"");
11837 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11838 PyObject
*resultobj
;
11839 wxGIFHandler
*result
;
11840 char *kwnames
[] = {
11844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11847 result
= (wxGIFHandler
*)new wxGIFHandler();
11849 wxPyEndAllowThreads(__tstate
);
11850 if (PyErr_Occurred()) SWIG_fail
;
11852 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
11859 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
11861 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11862 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11864 return Py_BuildValue((char *)"");
11866 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11867 PyObject
*resultobj
;
11868 wxPCXHandler
*result
;
11869 char *kwnames
[] = {
11873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11876 result
= (wxPCXHandler
*)new wxPCXHandler();
11878 wxPyEndAllowThreads(__tstate
);
11879 if (PyErr_Occurred()) SWIG_fail
;
11881 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
11888 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
11890 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11891 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11893 return Py_BuildValue((char *)"");
11895 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11896 PyObject
*resultobj
;
11897 wxJPEGHandler
*result
;
11898 char *kwnames
[] = {
11902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11905 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11907 wxPyEndAllowThreads(__tstate
);
11908 if (PyErr_Occurred()) SWIG_fail
;
11910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
11917 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
11919 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11920 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11922 return Py_BuildValue((char *)"");
11924 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11925 PyObject
*resultobj
;
11926 wxPNMHandler
*result
;
11927 char *kwnames
[] = {
11931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11934 result
= (wxPNMHandler
*)new wxPNMHandler();
11936 wxPyEndAllowThreads(__tstate
);
11937 if (PyErr_Occurred()) SWIG_fail
;
11939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
11946 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
11948 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11949 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11951 return Py_BuildValue((char *)"");
11953 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11954 PyObject
*resultobj
;
11955 wxXPMHandler
*result
;
11956 char *kwnames
[] = {
11960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11963 result
= (wxXPMHandler
*)new wxXPMHandler();
11965 wxPyEndAllowThreads(__tstate
);
11966 if (PyErr_Occurred()) SWIG_fail
;
11968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
11975 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
11977 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11978 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
11980 return Py_BuildValue((char *)"");
11982 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11983 PyObject
*resultobj
;
11984 wxTIFFHandler
*result
;
11985 char *kwnames
[] = {
11989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
11991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11992 result
= (wxTIFFHandler
*)new wxTIFFHandler();
11994 wxPyEndAllowThreads(__tstate
);
11995 if (PyErr_Occurred()) SWIG_fail
;
11997 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
12004 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
12006 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12007 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
12009 return Py_BuildValue((char *)"");
12011 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12012 PyObject
*resultobj
;
12013 wxImage
*arg1
= 0 ;
12014 wxImage
*arg2
= 0 ;
12015 int arg3
= (int) 236 ;
12016 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
12018 PyObject
* obj0
= 0 ;
12019 PyObject
* obj1
= 0 ;
12020 PyObject
* obj2
= 0 ;
12021 PyObject
* obj3
= 0 ;
12022 char *kwnames
[] = {
12023 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
12026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
12028 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12030 if (arg1
== NULL
) {
12031 PyErr_SetString(PyExc_TypeError
,"null reference");
12034 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
12035 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12037 if (arg2
== NULL
) {
12038 PyErr_SetString(PyExc_TypeError
,"null reference");
12042 arg3
= (int)SWIG_As_int(obj2
);
12043 if (PyErr_Occurred()) SWIG_fail
;
12046 arg4
= (int)SWIG_As_int(obj3
);
12047 if (PyErr_Occurred()) SWIG_fail
;
12050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12051 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
12053 wxPyEndAllowThreads(__tstate
);
12054 if (PyErr_Occurred()) SWIG_fail
;
12057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12065 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
12067 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12068 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
12070 return Py_BuildValue((char *)"");
12072 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12073 PyObject
*resultobj
;
12074 wxEvtHandler
*result
;
12075 char *kwnames
[] = {
12079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
12081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12082 result
= (wxEvtHandler
*)new wxEvtHandler();
12084 wxPyEndAllowThreads(__tstate
);
12085 if (PyErr_Occurred()) SWIG_fail
;
12087 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
12094 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12095 PyObject
*resultobj
;
12096 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12097 wxEvtHandler
*result
;
12098 PyObject
* obj0
= 0 ;
12099 char *kwnames
[] = {
12100 (char *) "self", NULL
12103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
12104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12108 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
12110 wxPyEndAllowThreads(__tstate
);
12111 if (PyErr_Occurred()) SWIG_fail
;
12114 resultobj
= wxPyMake_wxObject(result
, 0);
12122 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12123 PyObject
*resultobj
;
12124 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12125 wxEvtHandler
*result
;
12126 PyObject
* obj0
= 0 ;
12127 char *kwnames
[] = {
12128 (char *) "self", NULL
12131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
12132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12136 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
12138 wxPyEndAllowThreads(__tstate
);
12139 if (PyErr_Occurred()) SWIG_fail
;
12142 resultobj
= wxPyMake_wxObject(result
, 0);
12150 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12151 PyObject
*resultobj
;
12152 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12153 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
12154 PyObject
* obj0
= 0 ;
12155 PyObject
* obj1
= 0 ;
12156 char *kwnames
[] = {
12157 (char *) "self",(char *) "handler", NULL
12160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
12161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12163 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
12164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12167 (arg1
)->SetNextHandler(arg2
);
12169 wxPyEndAllowThreads(__tstate
);
12170 if (PyErr_Occurred()) SWIG_fail
;
12172 Py_INCREF(Py_None
); resultobj
= Py_None
;
12179 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12180 PyObject
*resultobj
;
12181 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12182 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
12183 PyObject
* obj0
= 0 ;
12184 PyObject
* obj1
= 0 ;
12185 char *kwnames
[] = {
12186 (char *) "self",(char *) "handler", NULL
12189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
12190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12192 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
12193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12196 (arg1
)->SetPreviousHandler(arg2
);
12198 wxPyEndAllowThreads(__tstate
);
12199 if (PyErr_Occurred()) SWIG_fail
;
12201 Py_INCREF(Py_None
); resultobj
= Py_None
;
12208 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12209 PyObject
*resultobj
;
12210 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12212 PyObject
* obj0
= 0 ;
12213 char *kwnames
[] = {
12214 (char *) "self", NULL
12217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
12218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12222 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
12224 wxPyEndAllowThreads(__tstate
);
12225 if (PyErr_Occurred()) SWIG_fail
;
12228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12236 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12237 PyObject
*resultobj
;
12238 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12240 PyObject
* obj0
= 0 ;
12241 PyObject
* obj1
= 0 ;
12242 char *kwnames
[] = {
12243 (char *) "self",(char *) "enabled", NULL
12246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
12247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12249 arg2
= (bool)SWIG_As_bool(obj1
);
12250 if (PyErr_Occurred()) SWIG_fail
;
12252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12253 (arg1
)->SetEvtHandlerEnabled(arg2
);
12255 wxPyEndAllowThreads(__tstate
);
12256 if (PyErr_Occurred()) SWIG_fail
;
12258 Py_INCREF(Py_None
); resultobj
= Py_None
;
12265 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12266 PyObject
*resultobj
;
12267 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12268 wxEvent
*arg2
= 0 ;
12270 PyObject
* obj0
= 0 ;
12271 PyObject
* obj1
= 0 ;
12272 char *kwnames
[] = {
12273 (char *) "self",(char *) "event", NULL
12276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12279 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12280 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12282 if (arg2
== NULL
) {
12283 PyErr_SetString(PyExc_TypeError
,"null reference");
12287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12288 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
12290 wxPyEndAllowThreads(__tstate
);
12291 if (PyErr_Occurred()) SWIG_fail
;
12294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12302 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12303 PyObject
*resultobj
;
12304 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12305 wxEvent
*arg2
= 0 ;
12306 PyObject
* obj0
= 0 ;
12307 PyObject
* obj1
= 0 ;
12308 char *kwnames
[] = {
12309 (char *) "self",(char *) "event", NULL
12312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12315 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12316 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12318 if (arg2
== NULL
) {
12319 PyErr_SetString(PyExc_TypeError
,"null reference");
12323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12324 (arg1
)->AddPendingEvent(*arg2
);
12326 wxPyEndAllowThreads(__tstate
);
12327 if (PyErr_Occurred()) SWIG_fail
;
12329 Py_INCREF(Py_None
); resultobj
= Py_None
;
12336 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12337 PyObject
*resultobj
;
12338 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12339 PyObject
* obj0
= 0 ;
12340 char *kwnames
[] = {
12341 (char *) "self", NULL
12344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
12345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12349 (arg1
)->ProcessPendingEvents();
12351 wxPyEndAllowThreads(__tstate
);
12352 if (PyErr_Occurred()) SWIG_fail
;
12354 Py_INCREF(Py_None
); resultobj
= Py_None
;
12361 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12362 PyObject
*resultobj
;
12363 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12367 PyObject
*arg5
= (PyObject
*) 0 ;
12368 PyObject
* obj0
= 0 ;
12369 PyObject
* obj1
= 0 ;
12370 PyObject
* obj2
= 0 ;
12371 PyObject
* obj3
= 0 ;
12372 PyObject
* obj4
= 0 ;
12373 char *kwnames
[] = {
12374 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12380 arg2
= (int)SWIG_As_int(obj1
);
12381 if (PyErr_Occurred()) SWIG_fail
;
12382 arg3
= (int)SWIG_As_int(obj2
);
12383 if (PyErr_Occurred()) SWIG_fail
;
12384 arg4
= (int)SWIG_As_int(obj3
);
12385 if (PyErr_Occurred()) SWIG_fail
;
12388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12389 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
12391 wxPyEndAllowThreads(__tstate
);
12392 if (PyErr_Occurred()) SWIG_fail
;
12394 Py_INCREF(Py_None
); resultobj
= Py_None
;
12401 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12402 PyObject
*resultobj
;
12403 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12405 int arg3
= (int) -1 ;
12406 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
12408 PyObject
* obj0
= 0 ;
12409 PyObject
* obj1
= 0 ;
12410 PyObject
* obj2
= 0 ;
12411 PyObject
* obj3
= 0 ;
12412 char *kwnames
[] = {
12413 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12419 arg2
= (int)SWIG_As_int(obj1
);
12420 if (PyErr_Occurred()) SWIG_fail
;
12422 arg3
= (int)SWIG_As_int(obj2
);
12423 if (PyErr_Occurred()) SWIG_fail
;
12426 arg4
= (wxEventType
)SWIG_As_int(obj3
);
12427 if (PyErr_Occurred()) SWIG_fail
;
12430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12431 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
12433 wxPyEndAllowThreads(__tstate
);
12434 if (PyErr_Occurred()) SWIG_fail
;
12437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12445 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12446 PyObject
*resultobj
;
12447 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12448 PyObject
*arg2
= (PyObject
*) 0 ;
12449 PyObject
* obj0
= 0 ;
12450 PyObject
* obj1
= 0 ;
12451 char *kwnames
[] = {
12452 (char *) "self",(char *) "_self", NULL
12455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
12456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12461 wxEvtHandler__setOORInfo(arg1
,arg2
);
12463 wxPyEndAllowThreads(__tstate
);
12464 if (PyErr_Occurred()) SWIG_fail
;
12466 Py_INCREF(Py_None
); resultobj
= Py_None
;
12473 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
12475 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12476 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12478 return Py_BuildValue((char *)"");
12480 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12481 PyObject
*resultobj
;
12482 wxEventType result
;
12483 char *kwnames
[] = {
12487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12490 result
= (wxEventType
)wxNewEventType();
12492 wxPyEndAllowThreads(__tstate
);
12493 if (PyErr_Occurred()) SWIG_fail
;
12495 resultobj
= SWIG_From_int((int)result
);
12502 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12503 PyObject
*resultobj
;
12504 wxEvent
*arg1
= (wxEvent
*) 0 ;
12505 PyObject
* obj0
= 0 ;
12506 char *kwnames
[] = {
12507 (char *) "self", NULL
12510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
12511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12517 wxPyEndAllowThreads(__tstate
);
12518 if (PyErr_Occurred()) SWIG_fail
;
12520 Py_INCREF(Py_None
); resultobj
= Py_None
;
12527 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12528 PyObject
*resultobj
;
12529 wxEvent
*arg1
= (wxEvent
*) 0 ;
12531 PyObject
* obj0
= 0 ;
12532 PyObject
* obj1
= 0 ;
12533 char *kwnames
[] = {
12534 (char *) "self",(char *) "typ", NULL
12537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12540 arg2
= (wxEventType
)SWIG_As_int(obj1
);
12541 if (PyErr_Occurred()) SWIG_fail
;
12543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12544 (arg1
)->SetEventType(arg2
);
12546 wxPyEndAllowThreads(__tstate
);
12547 if (PyErr_Occurred()) SWIG_fail
;
12549 Py_INCREF(Py_None
); resultobj
= Py_None
;
12556 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12557 PyObject
*resultobj
;
12558 wxEvent
*arg1
= (wxEvent
*) 0 ;
12559 wxEventType result
;
12560 PyObject
* obj0
= 0 ;
12561 char *kwnames
[] = {
12562 (char *) "self", NULL
12565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12570 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12572 wxPyEndAllowThreads(__tstate
);
12573 if (PyErr_Occurred()) SWIG_fail
;
12575 resultobj
= SWIG_From_int((int)result
);
12582 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12583 PyObject
*resultobj
;
12584 wxEvent
*arg1
= (wxEvent
*) 0 ;
12586 PyObject
* obj0
= 0 ;
12587 char *kwnames
[] = {
12588 (char *) "self", NULL
12591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12596 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12598 wxPyEndAllowThreads(__tstate
);
12599 if (PyErr_Occurred()) SWIG_fail
;
12602 resultobj
= wxPyMake_wxObject(result
, 0);
12610 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12611 PyObject
*resultobj
;
12612 wxEvent
*arg1
= (wxEvent
*) 0 ;
12613 wxObject
*arg2
= (wxObject
*) 0 ;
12614 PyObject
* obj0
= 0 ;
12615 PyObject
* obj1
= 0 ;
12616 char *kwnames
[] = {
12617 (char *) "self",(char *) "obj", NULL
12620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12623 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12627 (arg1
)->SetEventObject(arg2
);
12629 wxPyEndAllowThreads(__tstate
);
12630 if (PyErr_Occurred()) SWIG_fail
;
12632 Py_INCREF(Py_None
); resultobj
= Py_None
;
12639 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12640 PyObject
*resultobj
;
12641 wxEvent
*arg1
= (wxEvent
*) 0 ;
12643 PyObject
* obj0
= 0 ;
12644 char *kwnames
[] = {
12645 (char *) "self", NULL
12648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12653 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12655 wxPyEndAllowThreads(__tstate
);
12656 if (PyErr_Occurred()) SWIG_fail
;
12658 resultobj
= SWIG_From_long((long)result
);
12665 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12666 PyObject
*resultobj
;
12667 wxEvent
*arg1
= (wxEvent
*) 0 ;
12668 long arg2
= (long) 0 ;
12669 PyObject
* obj0
= 0 ;
12670 PyObject
* obj1
= 0 ;
12671 char *kwnames
[] = {
12672 (char *) "self",(char *) "ts", NULL
12675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12679 arg2
= (long)SWIG_As_long(obj1
);
12680 if (PyErr_Occurred()) SWIG_fail
;
12683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12684 (arg1
)->SetTimestamp(arg2
);
12686 wxPyEndAllowThreads(__tstate
);
12687 if (PyErr_Occurred()) SWIG_fail
;
12689 Py_INCREF(Py_None
); resultobj
= Py_None
;
12696 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12697 PyObject
*resultobj
;
12698 wxEvent
*arg1
= (wxEvent
*) 0 ;
12700 PyObject
* obj0
= 0 ;
12701 char *kwnames
[] = {
12702 (char *) "self", NULL
12705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12710 result
= (int)((wxEvent
const *)arg1
)->GetId();
12712 wxPyEndAllowThreads(__tstate
);
12713 if (PyErr_Occurred()) SWIG_fail
;
12715 resultobj
= SWIG_From_int((int)result
);
12722 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12723 PyObject
*resultobj
;
12724 wxEvent
*arg1
= (wxEvent
*) 0 ;
12726 PyObject
* obj0
= 0 ;
12727 PyObject
* obj1
= 0 ;
12728 char *kwnames
[] = {
12729 (char *) "self",(char *) "Id", NULL
12732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12735 arg2
= (int)SWIG_As_int(obj1
);
12736 if (PyErr_Occurred()) SWIG_fail
;
12738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12739 (arg1
)->SetId(arg2
);
12741 wxPyEndAllowThreads(__tstate
);
12742 if (PyErr_Occurred()) SWIG_fail
;
12744 Py_INCREF(Py_None
); resultobj
= Py_None
;
12751 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12752 PyObject
*resultobj
;
12753 wxEvent
*arg1
= (wxEvent
*) 0 ;
12755 PyObject
* obj0
= 0 ;
12756 char *kwnames
[] = {
12757 (char *) "self", NULL
12760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12765 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12767 wxPyEndAllowThreads(__tstate
);
12768 if (PyErr_Occurred()) SWIG_fail
;
12771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12779 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12780 PyObject
*resultobj
;
12781 wxEvent
*arg1
= (wxEvent
*) 0 ;
12782 bool arg2
= (bool) True
;
12783 PyObject
* obj0
= 0 ;
12784 PyObject
* obj1
= 0 ;
12785 char *kwnames
[] = {
12786 (char *) "self",(char *) "skip", NULL
12789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12793 arg2
= (bool)SWIG_As_bool(obj1
);
12794 if (PyErr_Occurred()) SWIG_fail
;
12797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12798 (arg1
)->Skip(arg2
);
12800 wxPyEndAllowThreads(__tstate
);
12801 if (PyErr_Occurred()) SWIG_fail
;
12803 Py_INCREF(Py_None
); resultobj
= Py_None
;
12810 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12811 PyObject
*resultobj
;
12812 wxEvent
*arg1
= (wxEvent
*) 0 ;
12814 PyObject
* obj0
= 0 ;
12815 char *kwnames
[] = {
12816 (char *) "self", NULL
12819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12824 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12826 wxPyEndAllowThreads(__tstate
);
12827 if (PyErr_Occurred()) SWIG_fail
;
12830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12838 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12839 PyObject
*resultobj
;
12840 wxEvent
*arg1
= (wxEvent
*) 0 ;
12842 PyObject
* obj0
= 0 ;
12843 char *kwnames
[] = {
12844 (char *) "self", NULL
12847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12852 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12854 wxPyEndAllowThreads(__tstate
);
12855 if (PyErr_Occurred()) SWIG_fail
;
12858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12866 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12867 PyObject
*resultobj
;
12868 wxEvent
*arg1
= (wxEvent
*) 0 ;
12870 PyObject
* obj0
= 0 ;
12871 char *kwnames
[] = {
12872 (char *) "self", NULL
12875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12880 result
= (int)(arg1
)->StopPropagation();
12882 wxPyEndAllowThreads(__tstate
);
12883 if (PyErr_Occurred()) SWIG_fail
;
12885 resultobj
= SWIG_From_int((int)result
);
12892 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12893 PyObject
*resultobj
;
12894 wxEvent
*arg1
= (wxEvent
*) 0 ;
12896 PyObject
* obj0
= 0 ;
12897 PyObject
* obj1
= 0 ;
12898 char *kwnames
[] = {
12899 (char *) "self",(char *) "propagationLevel", NULL
12902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12905 arg2
= (int)SWIG_As_int(obj1
);
12906 if (PyErr_Occurred()) SWIG_fail
;
12908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12909 (arg1
)->ResumePropagation(arg2
);
12911 wxPyEndAllowThreads(__tstate
);
12912 if (PyErr_Occurred()) SWIG_fail
;
12914 Py_INCREF(Py_None
); resultobj
= Py_None
;
12921 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12922 PyObject
*resultobj
;
12923 wxEvent
*arg1
= (wxEvent
*) 0 ;
12925 PyObject
* obj0
= 0 ;
12926 char *kwnames
[] = {
12927 (char *) "self", NULL
12930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12935 result
= (wxEvent
*)(arg1
)->Clone();
12937 wxPyEndAllowThreads(__tstate
);
12938 if (PyErr_Occurred()) SWIG_fail
;
12940 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12947 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
12949 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12950 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12952 return Py_BuildValue((char *)"");
12954 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12955 PyObject
*resultobj
;
12956 wxEvent
*arg1
= 0 ;
12957 wxPropagationDisabler
*result
;
12958 PyObject
* obj0
= 0 ;
12959 char *kwnames
[] = {
12960 (char *) "event", NULL
12963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12965 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12967 if (arg1
== NULL
) {
12968 PyErr_SetString(PyExc_TypeError
,"null reference");
12972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12973 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
12975 wxPyEndAllowThreads(__tstate
);
12976 if (PyErr_Occurred()) SWIG_fail
;
12978 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
12985 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12986 PyObject
*resultobj
;
12987 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
12988 PyObject
* obj0
= 0 ;
12989 char *kwnames
[] = {
12990 (char *) "self", NULL
12993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
12995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13000 wxPyEndAllowThreads(__tstate
);
13001 if (PyErr_Occurred()) SWIG_fail
;
13003 Py_INCREF(Py_None
); resultobj
= Py_None
;
13010 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
13012 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13013 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
13015 return Py_BuildValue((char *)"");
13017 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13018 PyObject
*resultobj
;
13019 wxEvent
*arg1
= 0 ;
13020 wxPropagateOnce
*result
;
13021 PyObject
* obj0
= 0 ;
13022 char *kwnames
[] = {
13023 (char *) "event", NULL
13026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
13027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13028 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13030 if (arg1
== NULL
) {
13031 PyErr_SetString(PyExc_TypeError
,"null reference");
13035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13036 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
13038 wxPyEndAllowThreads(__tstate
);
13039 if (PyErr_Occurred()) SWIG_fail
;
13041 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
13048 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13049 PyObject
*resultobj
;
13050 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
13051 PyObject
* obj0
= 0 ;
13052 char *kwnames
[] = {
13053 (char *) "self", NULL
13056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
13057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
13058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13063 wxPyEndAllowThreads(__tstate
);
13064 if (PyErr_Occurred()) SWIG_fail
;
13066 Py_INCREF(Py_None
); resultobj
= Py_None
;
13073 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
13075 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13076 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
13078 return Py_BuildValue((char *)"");
13080 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13081 PyObject
*resultobj
;
13082 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13083 int arg2
= (int) 0 ;
13084 wxCommandEvent
*result
;
13085 PyObject
* obj0
= 0 ;
13086 PyObject
* obj1
= 0 ;
13087 char *kwnames
[] = {
13088 (char *) "commandType",(char *) "winid", NULL
13091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13093 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13094 if (PyErr_Occurred()) SWIG_fail
;
13097 arg2
= (int)SWIG_As_int(obj1
);
13098 if (PyErr_Occurred()) SWIG_fail
;
13101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13102 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
13104 wxPyEndAllowThreads(__tstate
);
13105 if (PyErr_Occurred()) SWIG_fail
;
13107 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
13114 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13115 PyObject
*resultobj
;
13116 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13118 PyObject
* obj0
= 0 ;
13119 char *kwnames
[] = {
13120 (char *) "self", NULL
13123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
13124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13128 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
13130 wxPyEndAllowThreads(__tstate
);
13131 if (PyErr_Occurred()) SWIG_fail
;
13133 resultobj
= SWIG_From_int((int)result
);
13140 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13141 PyObject
*resultobj
;
13142 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13143 wxString
*arg2
= 0 ;
13144 bool temp2
= False
;
13145 PyObject
* obj0
= 0 ;
13146 PyObject
* obj1
= 0 ;
13147 char *kwnames
[] = {
13148 (char *) "self",(char *) "s", NULL
13151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
13152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13155 arg2
= wxString_in_helper(obj1
);
13156 if (arg2
== NULL
) SWIG_fail
;
13160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13161 (arg1
)->SetString((wxString
const &)*arg2
);
13163 wxPyEndAllowThreads(__tstate
);
13164 if (PyErr_Occurred()) SWIG_fail
;
13166 Py_INCREF(Py_None
); resultobj
= Py_None
;
13181 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13182 PyObject
*resultobj
;
13183 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13185 PyObject
* obj0
= 0 ;
13186 char *kwnames
[] = {
13187 (char *) "self", NULL
13190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
13191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13195 result
= ((wxCommandEvent
const *)arg1
)->GetString();
13197 wxPyEndAllowThreads(__tstate
);
13198 if (PyErr_Occurred()) SWIG_fail
;
13202 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13204 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13213 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13214 PyObject
*resultobj
;
13215 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13217 PyObject
* obj0
= 0 ;
13218 char *kwnames
[] = {
13219 (char *) "self", NULL
13222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
13223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13227 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
13229 wxPyEndAllowThreads(__tstate
);
13230 if (PyErr_Occurred()) SWIG_fail
;
13233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13241 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13242 PyObject
*resultobj
;
13243 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13245 PyObject
* obj0
= 0 ;
13246 char *kwnames
[] = {
13247 (char *) "self", NULL
13250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
13251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13255 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
13257 wxPyEndAllowThreads(__tstate
);
13258 if (PyErr_Occurred()) SWIG_fail
;
13261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13269 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13270 PyObject
*resultobj
;
13271 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13273 PyObject
* obj0
= 0 ;
13274 PyObject
* obj1
= 0 ;
13275 char *kwnames
[] = {
13276 (char *) "self",(char *) "extraLong", NULL
13279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
13280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13282 arg2
= (long)SWIG_As_long(obj1
);
13283 if (PyErr_Occurred()) SWIG_fail
;
13285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13286 (arg1
)->SetExtraLong(arg2
);
13288 wxPyEndAllowThreads(__tstate
);
13289 if (PyErr_Occurred()) SWIG_fail
;
13291 Py_INCREF(Py_None
); resultobj
= Py_None
;
13298 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13299 PyObject
*resultobj
;
13300 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13302 PyObject
* obj0
= 0 ;
13303 char *kwnames
[] = {
13304 (char *) "self", NULL
13307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
13308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13312 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
13314 wxPyEndAllowThreads(__tstate
);
13315 if (PyErr_Occurred()) SWIG_fail
;
13317 resultobj
= SWIG_From_long((long)result
);
13324 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13325 PyObject
*resultobj
;
13326 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13328 PyObject
* obj0
= 0 ;
13329 PyObject
* obj1
= 0 ;
13330 char *kwnames
[] = {
13331 (char *) "self",(char *) "i", NULL
13334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13337 arg2
= (int)SWIG_As_int(obj1
);
13338 if (PyErr_Occurred()) SWIG_fail
;
13340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13341 (arg1
)->SetInt(arg2
);
13343 wxPyEndAllowThreads(__tstate
);
13344 if (PyErr_Occurred()) SWIG_fail
;
13346 Py_INCREF(Py_None
); resultobj
= Py_None
;
13353 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13354 PyObject
*resultobj
;
13355 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13357 PyObject
* obj0
= 0 ;
13358 char *kwnames
[] = {
13359 (char *) "self", NULL
13362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
13363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13367 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
13369 wxPyEndAllowThreads(__tstate
);
13370 if (PyErr_Occurred()) SWIG_fail
;
13372 resultobj
= SWIG_From_long((long)result
);
13379 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13380 PyObject
*resultobj
;
13381 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13383 PyObject
* obj0
= 0 ;
13384 char *kwnames
[] = {
13385 (char *) "self", NULL
13388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
13389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13393 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
13395 wxPyEndAllowThreads(__tstate
);
13396 if (PyErr_Occurred()) SWIG_fail
;
13398 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13405 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
13407 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13408 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
13410 return Py_BuildValue((char *)"");
13412 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13413 PyObject
*resultobj
;
13414 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13415 int arg2
= (int) 0 ;
13416 wxNotifyEvent
*result
;
13417 PyObject
* obj0
= 0 ;
13418 PyObject
* obj1
= 0 ;
13419 char *kwnames
[] = {
13420 (char *) "commandType",(char *) "winid", NULL
13423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13425 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13426 if (PyErr_Occurred()) SWIG_fail
;
13429 arg2
= (int)SWIG_As_int(obj1
);
13430 if (PyErr_Occurred()) SWIG_fail
;
13433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13434 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
13436 wxPyEndAllowThreads(__tstate
);
13437 if (PyErr_Occurred()) SWIG_fail
;
13439 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
13446 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13447 PyObject
*resultobj
;
13448 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13449 PyObject
* obj0
= 0 ;
13450 char *kwnames
[] = {
13451 (char *) "self", NULL
13454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
13455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13461 wxPyEndAllowThreads(__tstate
);
13462 if (PyErr_Occurred()) SWIG_fail
;
13464 Py_INCREF(Py_None
); resultobj
= Py_None
;
13471 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13472 PyObject
*resultobj
;
13473 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13474 PyObject
* obj0
= 0 ;
13475 char *kwnames
[] = {
13476 (char *) "self", NULL
13479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13486 wxPyEndAllowThreads(__tstate
);
13487 if (PyErr_Occurred()) SWIG_fail
;
13489 Py_INCREF(Py_None
); resultobj
= Py_None
;
13496 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13497 PyObject
*resultobj
;
13498 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13500 PyObject
* obj0
= 0 ;
13501 char *kwnames
[] = {
13502 (char *) "self", NULL
13505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13510 result
= (bool)(arg1
)->IsAllowed();
13512 wxPyEndAllowThreads(__tstate
);
13513 if (PyErr_Occurred()) SWIG_fail
;
13516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13524 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
13526 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13527 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13529 return Py_BuildValue((char *)"");
13531 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13532 PyObject
*resultobj
;
13533 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13534 int arg2
= (int) 0 ;
13535 int arg3
= (int) 0 ;
13536 int arg4
= (int) 0 ;
13537 wxScrollEvent
*result
;
13538 PyObject
* obj0
= 0 ;
13539 PyObject
* obj1
= 0 ;
13540 PyObject
* obj2
= 0 ;
13541 PyObject
* obj3
= 0 ;
13542 char *kwnames
[] = {
13543 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13548 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13549 if (PyErr_Occurred()) SWIG_fail
;
13552 arg2
= (int)SWIG_As_int(obj1
);
13553 if (PyErr_Occurred()) SWIG_fail
;
13556 arg3
= (int)SWIG_As_int(obj2
);
13557 if (PyErr_Occurred()) SWIG_fail
;
13560 arg4
= (int)SWIG_As_int(obj3
);
13561 if (PyErr_Occurred()) SWIG_fail
;
13564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13565 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13567 wxPyEndAllowThreads(__tstate
);
13568 if (PyErr_Occurred()) SWIG_fail
;
13570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13577 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13578 PyObject
*resultobj
;
13579 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13581 PyObject
* obj0
= 0 ;
13582 char *kwnames
[] = {
13583 (char *) "self", NULL
13586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13591 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13593 wxPyEndAllowThreads(__tstate
);
13594 if (PyErr_Occurred()) SWIG_fail
;
13596 resultobj
= SWIG_From_int((int)result
);
13603 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13604 PyObject
*resultobj
;
13605 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13607 PyObject
* obj0
= 0 ;
13608 char *kwnames
[] = {
13609 (char *) "self", NULL
13612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13617 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13619 wxPyEndAllowThreads(__tstate
);
13620 if (PyErr_Occurred()) SWIG_fail
;
13622 resultobj
= SWIG_From_int((int)result
);
13629 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13630 PyObject
*resultobj
;
13631 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13633 PyObject
* obj0
= 0 ;
13634 PyObject
* obj1
= 0 ;
13635 char *kwnames
[] = {
13636 (char *) "self",(char *) "orient", NULL
13639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13642 arg2
= (int)SWIG_As_int(obj1
);
13643 if (PyErr_Occurred()) SWIG_fail
;
13645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13646 (arg1
)->SetOrientation(arg2
);
13648 wxPyEndAllowThreads(__tstate
);
13649 if (PyErr_Occurred()) SWIG_fail
;
13651 Py_INCREF(Py_None
); resultobj
= Py_None
;
13658 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13659 PyObject
*resultobj
;
13660 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13662 PyObject
* obj0
= 0 ;
13663 PyObject
* obj1
= 0 ;
13664 char *kwnames
[] = {
13665 (char *) "self",(char *) "pos", NULL
13668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13671 arg2
= (int)SWIG_As_int(obj1
);
13672 if (PyErr_Occurred()) SWIG_fail
;
13674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13675 (arg1
)->SetPosition(arg2
);
13677 wxPyEndAllowThreads(__tstate
);
13678 if (PyErr_Occurred()) SWIG_fail
;
13680 Py_INCREF(Py_None
); resultobj
= Py_None
;
13687 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
13689 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13690 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13692 return Py_BuildValue((char *)"");
13694 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13695 PyObject
*resultobj
;
13696 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13697 int arg2
= (int) 0 ;
13698 int arg3
= (int) 0 ;
13699 wxScrollWinEvent
*result
;
13700 PyObject
* obj0
= 0 ;
13701 PyObject
* obj1
= 0 ;
13702 PyObject
* obj2
= 0 ;
13703 char *kwnames
[] = {
13704 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13709 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13710 if (PyErr_Occurred()) SWIG_fail
;
13713 arg2
= (int)SWIG_As_int(obj1
);
13714 if (PyErr_Occurred()) SWIG_fail
;
13717 arg3
= (int)SWIG_As_int(obj2
);
13718 if (PyErr_Occurred()) SWIG_fail
;
13721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13722 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13724 wxPyEndAllowThreads(__tstate
);
13725 if (PyErr_Occurred()) SWIG_fail
;
13727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13734 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13735 PyObject
*resultobj
;
13736 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13738 PyObject
* obj0
= 0 ;
13739 char *kwnames
[] = {
13740 (char *) "self", NULL
13743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13748 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13750 wxPyEndAllowThreads(__tstate
);
13751 if (PyErr_Occurred()) SWIG_fail
;
13753 resultobj
= SWIG_From_int((int)result
);
13760 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13761 PyObject
*resultobj
;
13762 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13764 PyObject
* obj0
= 0 ;
13765 char *kwnames
[] = {
13766 (char *) "self", NULL
13769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13774 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13776 wxPyEndAllowThreads(__tstate
);
13777 if (PyErr_Occurred()) SWIG_fail
;
13779 resultobj
= SWIG_From_int((int)result
);
13786 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13787 PyObject
*resultobj
;
13788 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13790 PyObject
* obj0
= 0 ;
13791 PyObject
* obj1
= 0 ;
13792 char *kwnames
[] = {
13793 (char *) "self",(char *) "orient", NULL
13796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13799 arg2
= (int)SWIG_As_int(obj1
);
13800 if (PyErr_Occurred()) SWIG_fail
;
13802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13803 (arg1
)->SetOrientation(arg2
);
13805 wxPyEndAllowThreads(__tstate
);
13806 if (PyErr_Occurred()) SWIG_fail
;
13808 Py_INCREF(Py_None
); resultobj
= Py_None
;
13815 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13816 PyObject
*resultobj
;
13817 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13819 PyObject
* obj0
= 0 ;
13820 PyObject
* obj1
= 0 ;
13821 char *kwnames
[] = {
13822 (char *) "self",(char *) "pos", NULL
13825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13828 arg2
= (int)SWIG_As_int(obj1
);
13829 if (PyErr_Occurred()) SWIG_fail
;
13831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13832 (arg1
)->SetPosition(arg2
);
13834 wxPyEndAllowThreads(__tstate
);
13835 if (PyErr_Occurred()) SWIG_fail
;
13837 Py_INCREF(Py_None
); resultobj
= Py_None
;
13844 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
13846 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13847 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13849 return Py_BuildValue((char *)"");
13851 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13852 PyObject
*resultobj
;
13853 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13854 wxMouseEvent
*result
;
13855 PyObject
* obj0
= 0 ;
13856 char *kwnames
[] = {
13857 (char *) "mouseType", NULL
13860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13862 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13863 if (PyErr_Occurred()) SWIG_fail
;
13866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13867 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13869 wxPyEndAllowThreads(__tstate
);
13870 if (PyErr_Occurred()) SWIG_fail
;
13873 resultobj
= wxPyMake_wxObject(result
, 1);
13881 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13882 PyObject
*resultobj
;
13883 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13885 PyObject
* obj0
= 0 ;
13886 char *kwnames
[] = {
13887 (char *) "self", NULL
13890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13895 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13897 wxPyEndAllowThreads(__tstate
);
13898 if (PyErr_Occurred()) SWIG_fail
;
13901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13909 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13910 PyObject
*resultobj
;
13911 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13912 int arg2
= (int) wxMOUSE_BTN_ANY
;
13914 PyObject
* obj0
= 0 ;
13915 PyObject
* obj1
= 0 ;
13916 char *kwnames
[] = {
13917 (char *) "self",(char *) "but", NULL
13920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13924 arg2
= (int)SWIG_As_int(obj1
);
13925 if (PyErr_Occurred()) SWIG_fail
;
13928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13929 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
13931 wxPyEndAllowThreads(__tstate
);
13932 if (PyErr_Occurred()) SWIG_fail
;
13935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13943 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13944 PyObject
*resultobj
;
13945 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13946 int arg2
= (int) wxMOUSE_BTN_ANY
;
13948 PyObject
* obj0
= 0 ;
13949 PyObject
* obj1
= 0 ;
13950 char *kwnames
[] = {
13951 (char *) "self",(char *) "but", NULL
13954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
13955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13958 arg2
= (int)SWIG_As_int(obj1
);
13959 if (PyErr_Occurred()) SWIG_fail
;
13962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13963 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
13965 wxPyEndAllowThreads(__tstate
);
13966 if (PyErr_Occurred()) SWIG_fail
;
13969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13977 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13978 PyObject
*resultobj
;
13979 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13980 int arg2
= (int) wxMOUSE_BTN_ANY
;
13982 PyObject
* obj0
= 0 ;
13983 PyObject
* obj1
= 0 ;
13984 char *kwnames
[] = {
13985 (char *) "self",(char *) "but", NULL
13988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13992 arg2
= (int)SWIG_As_int(obj1
);
13993 if (PyErr_Occurred()) SWIG_fail
;
13996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13997 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
13999 wxPyEndAllowThreads(__tstate
);
14000 if (PyErr_Occurred()) SWIG_fail
;
14003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14011 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14012 PyObject
*resultobj
;
14013 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14016 PyObject
* obj0
= 0 ;
14017 PyObject
* obj1
= 0 ;
14018 char *kwnames
[] = {
14019 (char *) "self",(char *) "but", NULL
14022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
14023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14025 arg2
= (int)SWIG_As_int(obj1
);
14026 if (PyErr_Occurred()) SWIG_fail
;
14028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14029 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
14031 wxPyEndAllowThreads(__tstate
);
14032 if (PyErr_Occurred()) SWIG_fail
;
14035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14043 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14044 PyObject
*resultobj
;
14045 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14048 PyObject
* obj0
= 0 ;
14049 PyObject
* obj1
= 0 ;
14050 char *kwnames
[] = {
14051 (char *) "self",(char *) "but", NULL
14054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
14055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14057 arg2
= (int)SWIG_As_int(obj1
);
14058 if (PyErr_Occurred()) SWIG_fail
;
14060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14061 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
14063 wxPyEndAllowThreads(__tstate
);
14064 if (PyErr_Occurred()) SWIG_fail
;
14067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14075 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14076 PyObject
*resultobj
;
14077 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14079 PyObject
* obj0
= 0 ;
14080 char *kwnames
[] = {
14081 (char *) "self", NULL
14084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
14085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14089 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
14091 wxPyEndAllowThreads(__tstate
);
14092 if (PyErr_Occurred()) SWIG_fail
;
14094 resultobj
= SWIG_From_int((int)result
);
14101 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14102 PyObject
*resultobj
;
14103 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14105 PyObject
* obj0
= 0 ;
14106 char *kwnames
[] = {
14107 (char *) "self", NULL
14110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
14111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14115 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
14117 wxPyEndAllowThreads(__tstate
);
14118 if (PyErr_Occurred()) SWIG_fail
;
14121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14129 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14130 PyObject
*resultobj
;
14131 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14133 PyObject
* obj0
= 0 ;
14134 char *kwnames
[] = {
14135 (char *) "self", NULL
14138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
14139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14143 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
14145 wxPyEndAllowThreads(__tstate
);
14146 if (PyErr_Occurred()) SWIG_fail
;
14149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14157 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14158 PyObject
*resultobj
;
14159 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14161 PyObject
* obj0
= 0 ;
14162 char *kwnames
[] = {
14163 (char *) "self", NULL
14166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
14167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14171 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
14173 wxPyEndAllowThreads(__tstate
);
14174 if (PyErr_Occurred()) SWIG_fail
;
14177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14185 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14186 PyObject
*resultobj
;
14187 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14189 PyObject
* obj0
= 0 ;
14190 char *kwnames
[] = {
14191 (char *) "self", NULL
14194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
14195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14199 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
14201 wxPyEndAllowThreads(__tstate
);
14202 if (PyErr_Occurred()) SWIG_fail
;
14205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14213 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14214 PyObject
*resultobj
;
14215 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14217 PyObject
* obj0
= 0 ;
14218 char *kwnames
[] = {
14219 (char *) "self", NULL
14222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
14223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14227 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
14229 wxPyEndAllowThreads(__tstate
);
14230 if (PyErr_Occurred()) SWIG_fail
;
14233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14241 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14242 PyObject
*resultobj
;
14243 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14245 PyObject
* obj0
= 0 ;
14246 char *kwnames
[] = {
14247 (char *) "self", NULL
14250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
14251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14255 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
14257 wxPyEndAllowThreads(__tstate
);
14258 if (PyErr_Occurred()) SWIG_fail
;
14261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14269 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14270 PyObject
*resultobj
;
14271 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14273 PyObject
* obj0
= 0 ;
14274 char *kwnames
[] = {
14275 (char *) "self", NULL
14278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
14279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14283 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
14285 wxPyEndAllowThreads(__tstate
);
14286 if (PyErr_Occurred()) SWIG_fail
;
14289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14297 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14298 PyObject
*resultobj
;
14299 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14301 PyObject
* obj0
= 0 ;
14302 char *kwnames
[] = {
14303 (char *) "self", NULL
14306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
14307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14311 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
14313 wxPyEndAllowThreads(__tstate
);
14314 if (PyErr_Occurred()) SWIG_fail
;
14317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14325 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14326 PyObject
*resultobj
;
14327 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14329 PyObject
* obj0
= 0 ;
14330 char *kwnames
[] = {
14331 (char *) "self", NULL
14334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
14335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14339 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
14341 wxPyEndAllowThreads(__tstate
);
14342 if (PyErr_Occurred()) SWIG_fail
;
14345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14353 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14354 PyObject
*resultobj
;
14355 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14357 PyObject
* obj0
= 0 ;
14358 char *kwnames
[] = {
14359 (char *) "self", NULL
14362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
14363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14367 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
14369 wxPyEndAllowThreads(__tstate
);
14370 if (PyErr_Occurred()) SWIG_fail
;
14373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14381 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14382 PyObject
*resultobj
;
14383 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14385 PyObject
* obj0
= 0 ;
14386 char *kwnames
[] = {
14387 (char *) "self", NULL
14390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
14391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14395 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
14397 wxPyEndAllowThreads(__tstate
);
14398 if (PyErr_Occurred()) SWIG_fail
;
14401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14409 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14410 PyObject
*resultobj
;
14411 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14413 PyObject
* obj0
= 0 ;
14414 char *kwnames
[] = {
14415 (char *) "self", NULL
14418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
14419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14423 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
14425 wxPyEndAllowThreads(__tstate
);
14426 if (PyErr_Occurred()) SWIG_fail
;
14429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14437 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14438 PyObject
*resultobj
;
14439 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14441 PyObject
* obj0
= 0 ;
14442 char *kwnames
[] = {
14443 (char *) "self", NULL
14446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
14447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14451 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
14453 wxPyEndAllowThreads(__tstate
);
14454 if (PyErr_Occurred()) SWIG_fail
;
14457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14465 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14466 PyObject
*resultobj
;
14467 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14469 PyObject
* obj0
= 0 ;
14470 char *kwnames
[] = {
14471 (char *) "self", NULL
14474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
14475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14479 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
14481 wxPyEndAllowThreads(__tstate
);
14482 if (PyErr_Occurred()) SWIG_fail
;
14485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14493 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14494 PyObject
*resultobj
;
14495 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14497 PyObject
* obj0
= 0 ;
14498 char *kwnames
[] = {
14499 (char *) "self", NULL
14502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14507 result
= (bool)(arg1
)->LeftIsDown();
14509 wxPyEndAllowThreads(__tstate
);
14510 if (PyErr_Occurred()) SWIG_fail
;
14513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14521 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14522 PyObject
*resultobj
;
14523 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14525 PyObject
* obj0
= 0 ;
14526 char *kwnames
[] = {
14527 (char *) "self", NULL
14530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14535 result
= (bool)(arg1
)->MiddleIsDown();
14537 wxPyEndAllowThreads(__tstate
);
14538 if (PyErr_Occurred()) SWIG_fail
;
14541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14549 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14550 PyObject
*resultobj
;
14551 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14553 PyObject
* obj0
= 0 ;
14554 char *kwnames
[] = {
14555 (char *) "self", NULL
14558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14563 result
= (bool)(arg1
)->RightIsDown();
14565 wxPyEndAllowThreads(__tstate
);
14566 if (PyErr_Occurred()) SWIG_fail
;
14569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14577 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14578 PyObject
*resultobj
;
14579 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14581 PyObject
* obj0
= 0 ;
14582 char *kwnames
[] = {
14583 (char *) "self", NULL
14586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14591 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14593 wxPyEndAllowThreads(__tstate
);
14594 if (PyErr_Occurred()) SWIG_fail
;
14597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14605 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14606 PyObject
*resultobj
;
14607 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14609 PyObject
* obj0
= 0 ;
14610 char *kwnames
[] = {
14611 (char *) "self", NULL
14614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14619 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14621 wxPyEndAllowThreads(__tstate
);
14622 if (PyErr_Occurred()) SWIG_fail
;
14625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14633 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14634 PyObject
*resultobj
;
14635 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14637 PyObject
* obj0
= 0 ;
14638 char *kwnames
[] = {
14639 (char *) "self", NULL
14642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14647 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14649 wxPyEndAllowThreads(__tstate
);
14650 if (PyErr_Occurred()) SWIG_fail
;
14653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14661 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14662 PyObject
*resultobj
;
14663 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14665 PyObject
* obj0
= 0 ;
14666 char *kwnames
[] = {
14667 (char *) "self", NULL
14670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14675 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14677 wxPyEndAllowThreads(__tstate
);
14678 if (PyErr_Occurred()) SWIG_fail
;
14681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14689 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14690 PyObject
*resultobj
;
14691 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14693 PyObject
* obj0
= 0 ;
14694 char *kwnames
[] = {
14695 (char *) "self", NULL
14698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14703 result
= (arg1
)->GetPosition();
14705 wxPyEndAllowThreads(__tstate
);
14706 if (PyErr_Occurred()) SWIG_fail
;
14709 wxPoint
* resultptr
;
14710 resultptr
= new wxPoint((wxPoint
&) result
);
14711 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14719 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14720 PyObject
*resultobj
;
14721 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14722 long *arg2
= (long *) 0 ;
14723 long *arg3
= (long *) 0 ;
14728 PyObject
* obj0
= 0 ;
14729 char *kwnames
[] = {
14730 (char *) "self", NULL
14733 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14734 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14740 (arg1
)->GetPosition(arg2
,arg3
);
14742 wxPyEndAllowThreads(__tstate
);
14743 if (PyErr_Occurred()) SWIG_fail
;
14745 Py_INCREF(Py_None
); resultobj
= Py_None
;
14746 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14747 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
14748 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14749 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
14756 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14757 PyObject
*resultobj
;
14758 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14761 PyObject
* obj0
= 0 ;
14762 PyObject
* obj1
= 0 ;
14763 char *kwnames
[] = {
14764 (char *) "self",(char *) "dc", NULL
14767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14770 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14771 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14773 if (arg2
== NULL
) {
14774 PyErr_SetString(PyExc_TypeError
,"null reference");
14778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14779 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14781 wxPyEndAllowThreads(__tstate
);
14782 if (PyErr_Occurred()) SWIG_fail
;
14785 wxPoint
* resultptr
;
14786 resultptr
= new wxPoint((wxPoint
&) result
);
14787 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14795 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14796 PyObject
*resultobj
;
14797 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14799 PyObject
* obj0
= 0 ;
14800 char *kwnames
[] = {
14801 (char *) "self", NULL
14804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
14805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14809 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
14811 wxPyEndAllowThreads(__tstate
);
14812 if (PyErr_Occurred()) SWIG_fail
;
14814 resultobj
= SWIG_From_int((int)result
);
14821 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14822 PyObject
*resultobj
;
14823 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14825 PyObject
* obj0
= 0 ;
14826 char *kwnames
[] = {
14827 (char *) "self", NULL
14830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
14831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14835 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
14837 wxPyEndAllowThreads(__tstate
);
14838 if (PyErr_Occurred()) SWIG_fail
;
14840 resultobj
= SWIG_From_int((int)result
);
14847 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14848 PyObject
*resultobj
;
14849 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14851 PyObject
* obj0
= 0 ;
14852 char *kwnames
[] = {
14853 (char *) "self", NULL
14856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
14857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14861 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
14863 wxPyEndAllowThreads(__tstate
);
14864 if (PyErr_Occurred()) SWIG_fail
;
14866 resultobj
= SWIG_From_int((int)result
);
14873 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14874 PyObject
*resultobj
;
14875 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14877 PyObject
* obj0
= 0 ;
14878 char *kwnames
[] = {
14879 (char *) "self", NULL
14882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
14883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14887 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
14889 wxPyEndAllowThreads(__tstate
);
14890 if (PyErr_Occurred()) SWIG_fail
;
14892 resultobj
= SWIG_From_int((int)result
);
14899 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14900 PyObject
*resultobj
;
14901 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14903 PyObject
* obj0
= 0 ;
14904 char *kwnames
[] = {
14905 (char *) "self", NULL
14908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14913 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14915 wxPyEndAllowThreads(__tstate
);
14916 if (PyErr_Occurred()) SWIG_fail
;
14918 resultobj
= SWIG_From_int((int)result
);
14925 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14926 PyObject
*resultobj
;
14927 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14929 PyObject
* obj0
= 0 ;
14930 char *kwnames
[] = {
14931 (char *) "self", NULL
14934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14939 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14941 wxPyEndAllowThreads(__tstate
);
14942 if (PyErr_Occurred()) SWIG_fail
;
14945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14953 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14954 PyObject
*resultobj
;
14955 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14957 PyObject
* obj0
= 0 ;
14958 PyObject
* obj1
= 0 ;
14959 char *kwnames
[] = {
14960 (char *) "self",(char *) "m_x", NULL
14963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14966 arg2
= (int)SWIG_As_int(obj1
);
14967 if (PyErr_Occurred()) SWIG_fail
;
14968 if (arg1
) (arg1
)->m_x
= arg2
;
14970 Py_INCREF(Py_None
); resultobj
= Py_None
;
14977 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14978 PyObject
*resultobj
;
14979 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14981 PyObject
* obj0
= 0 ;
14982 char *kwnames
[] = {
14983 (char *) "self", NULL
14986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14989 result
= (int) ((arg1
)->m_x
);
14991 resultobj
= SWIG_From_int((int)result
);
14998 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14999 PyObject
*resultobj
;
15000 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15002 PyObject
* obj0
= 0 ;
15003 PyObject
* obj1
= 0 ;
15004 char *kwnames
[] = {
15005 (char *) "self",(char *) "m_y", NULL
15008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15011 arg2
= (int)SWIG_As_int(obj1
);
15012 if (PyErr_Occurred()) SWIG_fail
;
15013 if (arg1
) (arg1
)->m_y
= arg2
;
15015 Py_INCREF(Py_None
); resultobj
= Py_None
;
15022 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15023 PyObject
*resultobj
;
15024 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15026 PyObject
* obj0
= 0 ;
15027 char *kwnames
[] = {
15028 (char *) "self", NULL
15031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15034 result
= (int) ((arg1
)->m_y
);
15036 resultobj
= SWIG_From_int((int)result
);
15043 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15044 PyObject
*resultobj
;
15045 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15047 PyObject
* obj0
= 0 ;
15048 PyObject
* obj1
= 0 ;
15049 char *kwnames
[] = {
15050 (char *) "self",(char *) "m_leftDown", NULL
15053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15056 arg2
= (bool)SWIG_As_bool(obj1
);
15057 if (PyErr_Occurred()) SWIG_fail
;
15058 if (arg1
) (arg1
)->m_leftDown
= arg2
;
15060 Py_INCREF(Py_None
); resultobj
= Py_None
;
15067 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15068 PyObject
*resultobj
;
15069 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15071 PyObject
* obj0
= 0 ;
15072 char *kwnames
[] = {
15073 (char *) "self", NULL
15076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
15077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15079 result
= (bool) ((arg1
)->m_leftDown
);
15082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15090 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15091 PyObject
*resultobj
;
15092 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15094 PyObject
* obj0
= 0 ;
15095 PyObject
* obj1
= 0 ;
15096 char *kwnames
[] = {
15097 (char *) "self",(char *) "m_middleDown", NULL
15100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15103 arg2
= (bool)SWIG_As_bool(obj1
);
15104 if (PyErr_Occurred()) SWIG_fail
;
15105 if (arg1
) (arg1
)->m_middleDown
= arg2
;
15107 Py_INCREF(Py_None
); resultobj
= Py_None
;
15114 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15115 PyObject
*resultobj
;
15116 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15118 PyObject
* obj0
= 0 ;
15119 char *kwnames
[] = {
15120 (char *) "self", NULL
15123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
15124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15126 result
= (bool) ((arg1
)->m_middleDown
);
15129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15137 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15138 PyObject
*resultobj
;
15139 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15141 PyObject
* obj0
= 0 ;
15142 PyObject
* obj1
= 0 ;
15143 char *kwnames
[] = {
15144 (char *) "self",(char *) "m_rightDown", NULL
15147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15150 arg2
= (bool)SWIG_As_bool(obj1
);
15151 if (PyErr_Occurred()) SWIG_fail
;
15152 if (arg1
) (arg1
)->m_rightDown
= arg2
;
15154 Py_INCREF(Py_None
); resultobj
= Py_None
;
15161 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15162 PyObject
*resultobj
;
15163 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15165 PyObject
* obj0
= 0 ;
15166 char *kwnames
[] = {
15167 (char *) "self", NULL
15170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
15171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15173 result
= (bool) ((arg1
)->m_rightDown
);
15176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15184 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15185 PyObject
*resultobj
;
15186 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15188 PyObject
* obj0
= 0 ;
15189 PyObject
* obj1
= 0 ;
15190 char *kwnames
[] = {
15191 (char *) "self",(char *) "m_controlDown", NULL
15194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15197 arg2
= (bool)SWIG_As_bool(obj1
);
15198 if (PyErr_Occurred()) SWIG_fail
;
15199 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15201 Py_INCREF(Py_None
); resultobj
= Py_None
;
15208 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15209 PyObject
*resultobj
;
15210 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15212 PyObject
* obj0
= 0 ;
15213 char *kwnames
[] = {
15214 (char *) "self", NULL
15217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15220 result
= (bool) ((arg1
)->m_controlDown
);
15223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15231 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15232 PyObject
*resultobj
;
15233 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15235 PyObject
* obj0
= 0 ;
15236 PyObject
* obj1
= 0 ;
15237 char *kwnames
[] = {
15238 (char *) "self",(char *) "m_shiftDown", NULL
15241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15244 arg2
= (bool)SWIG_As_bool(obj1
);
15245 if (PyErr_Occurred()) SWIG_fail
;
15246 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15248 Py_INCREF(Py_None
); resultobj
= Py_None
;
15255 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15256 PyObject
*resultobj
;
15257 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15259 PyObject
* obj0
= 0 ;
15260 char *kwnames
[] = {
15261 (char *) "self", NULL
15264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
15265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15267 result
= (bool) ((arg1
)->m_shiftDown
);
15270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15278 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15279 PyObject
*resultobj
;
15280 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15282 PyObject
* obj0
= 0 ;
15283 PyObject
* obj1
= 0 ;
15284 char *kwnames
[] = {
15285 (char *) "self",(char *) "m_altDown", NULL
15288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15291 arg2
= (bool)SWIG_As_bool(obj1
);
15292 if (PyErr_Occurred()) SWIG_fail
;
15293 if (arg1
) (arg1
)->m_altDown
= arg2
;
15295 Py_INCREF(Py_None
); resultobj
= Py_None
;
15302 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15303 PyObject
*resultobj
;
15304 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15306 PyObject
* obj0
= 0 ;
15307 char *kwnames
[] = {
15308 (char *) "self", NULL
15311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15314 result
= (bool) ((arg1
)->m_altDown
);
15317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15325 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15326 PyObject
*resultobj
;
15327 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15329 PyObject
* obj0
= 0 ;
15330 PyObject
* obj1
= 0 ;
15331 char *kwnames
[] = {
15332 (char *) "self",(char *) "m_metaDown", NULL
15335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15338 arg2
= (bool)SWIG_As_bool(obj1
);
15339 if (PyErr_Occurred()) SWIG_fail
;
15340 if (arg1
) (arg1
)->m_metaDown
= arg2
;
15342 Py_INCREF(Py_None
); resultobj
= Py_None
;
15349 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15350 PyObject
*resultobj
;
15351 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15353 PyObject
* obj0
= 0 ;
15354 char *kwnames
[] = {
15355 (char *) "self", NULL
15358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
15359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15361 result
= (bool) ((arg1
)->m_metaDown
);
15364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15372 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15373 PyObject
*resultobj
;
15374 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15376 PyObject
* obj0
= 0 ;
15377 PyObject
* obj1
= 0 ;
15378 char *kwnames
[] = {
15379 (char *) "self",(char *) "m_wheelRotation", NULL
15382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15385 arg2
= (int)SWIG_As_int(obj1
);
15386 if (PyErr_Occurred()) SWIG_fail
;
15387 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
15389 Py_INCREF(Py_None
); resultobj
= Py_None
;
15396 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15397 PyObject
*resultobj
;
15398 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15400 PyObject
* obj0
= 0 ;
15401 char *kwnames
[] = {
15402 (char *) "self", NULL
15405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
15406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15408 result
= (int) ((arg1
)->m_wheelRotation
);
15410 resultobj
= SWIG_From_int((int)result
);
15417 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15418 PyObject
*resultobj
;
15419 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15421 PyObject
* obj0
= 0 ;
15422 PyObject
* obj1
= 0 ;
15423 char *kwnames
[] = {
15424 (char *) "self",(char *) "m_wheelDelta", NULL
15427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15430 arg2
= (int)SWIG_As_int(obj1
);
15431 if (PyErr_Occurred()) SWIG_fail
;
15432 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
15434 Py_INCREF(Py_None
); resultobj
= Py_None
;
15441 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15442 PyObject
*resultobj
;
15443 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15445 PyObject
* obj0
= 0 ;
15446 char *kwnames
[] = {
15447 (char *) "self", NULL
15450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
15451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15453 result
= (int) ((arg1
)->m_wheelDelta
);
15455 resultobj
= SWIG_From_int((int)result
);
15462 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15463 PyObject
*resultobj
;
15464 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15466 PyObject
* obj0
= 0 ;
15467 PyObject
* obj1
= 0 ;
15468 char *kwnames
[] = {
15469 (char *) "self",(char *) "m_linesPerAction", NULL
15472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15475 arg2
= (int)SWIG_As_int(obj1
);
15476 if (PyErr_Occurred()) SWIG_fail
;
15477 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
15479 Py_INCREF(Py_None
); resultobj
= Py_None
;
15486 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15487 PyObject
*resultobj
;
15488 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15490 PyObject
* obj0
= 0 ;
15491 char *kwnames
[] = {
15492 (char *) "self", NULL
15495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15498 result
= (int) ((arg1
)->m_linesPerAction
);
15500 resultobj
= SWIG_From_int((int)result
);
15507 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
15509 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15510 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15512 return Py_BuildValue((char *)"");
15514 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15515 PyObject
*resultobj
;
15516 int arg1
= (int) 0 ;
15517 int arg2
= (int) 0 ;
15518 wxSetCursorEvent
*result
;
15519 PyObject
* obj0
= 0 ;
15520 PyObject
* obj1
= 0 ;
15521 char *kwnames
[] = {
15522 (char *) "x",(char *) "y", NULL
15525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15527 arg1
= (int)SWIG_As_int(obj0
);
15528 if (PyErr_Occurred()) SWIG_fail
;
15531 arg2
= (int)SWIG_As_int(obj1
);
15532 if (PyErr_Occurred()) SWIG_fail
;
15535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15536 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15538 wxPyEndAllowThreads(__tstate
);
15539 if (PyErr_Occurred()) SWIG_fail
;
15541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15548 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15549 PyObject
*resultobj
;
15550 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15552 PyObject
* obj0
= 0 ;
15553 char *kwnames
[] = {
15554 (char *) "self", NULL
15557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15562 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15564 wxPyEndAllowThreads(__tstate
);
15565 if (PyErr_Occurred()) SWIG_fail
;
15567 resultobj
= SWIG_From_int((int)result
);
15574 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15575 PyObject
*resultobj
;
15576 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15578 PyObject
* obj0
= 0 ;
15579 char *kwnames
[] = {
15580 (char *) "self", NULL
15583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15588 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15590 wxPyEndAllowThreads(__tstate
);
15591 if (PyErr_Occurred()) SWIG_fail
;
15593 resultobj
= SWIG_From_int((int)result
);
15600 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15601 PyObject
*resultobj
;
15602 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15603 wxCursor
*arg2
= 0 ;
15604 PyObject
* obj0
= 0 ;
15605 PyObject
* obj1
= 0 ;
15606 char *kwnames
[] = {
15607 (char *) "self",(char *) "cursor", NULL
15610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15613 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15614 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15616 if (arg2
== NULL
) {
15617 PyErr_SetString(PyExc_TypeError
,"null reference");
15621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15622 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15624 wxPyEndAllowThreads(__tstate
);
15625 if (PyErr_Occurred()) SWIG_fail
;
15627 Py_INCREF(Py_None
); resultobj
= Py_None
;
15634 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15635 PyObject
*resultobj
;
15636 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15638 PyObject
* obj0
= 0 ;
15639 char *kwnames
[] = {
15640 (char *) "self", NULL
15643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15649 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15650 result
= (wxCursor
*) &_result_ref
;
15653 wxPyEndAllowThreads(__tstate
);
15654 if (PyErr_Occurred()) SWIG_fail
;
15657 wxCursor
* resultptr
= new wxCursor(*result
);
15658 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15666 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15667 PyObject
*resultobj
;
15668 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15670 PyObject
* obj0
= 0 ;
15671 char *kwnames
[] = {
15672 (char *) "self", NULL
15675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15680 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15682 wxPyEndAllowThreads(__tstate
);
15683 if (PyErr_Occurred()) SWIG_fail
;
15686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15694 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
15696 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15697 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15699 return Py_BuildValue((char *)"");
15701 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15702 PyObject
*resultobj
;
15703 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15704 wxKeyEvent
*result
;
15705 PyObject
* obj0
= 0 ;
15706 char *kwnames
[] = {
15707 (char *) "keyType", NULL
15710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15712 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15713 if (PyErr_Occurred()) SWIG_fail
;
15716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15717 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15719 wxPyEndAllowThreads(__tstate
);
15720 if (PyErr_Occurred()) SWIG_fail
;
15722 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15729 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15730 PyObject
*resultobj
;
15731 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15733 PyObject
* obj0
= 0 ;
15734 char *kwnames
[] = {
15735 (char *) "self", NULL
15738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15743 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15745 wxPyEndAllowThreads(__tstate
);
15746 if (PyErr_Occurred()) SWIG_fail
;
15749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15757 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15758 PyObject
*resultobj
;
15759 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15761 PyObject
* obj0
= 0 ;
15762 char *kwnames
[] = {
15763 (char *) "self", NULL
15766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15771 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15773 wxPyEndAllowThreads(__tstate
);
15774 if (PyErr_Occurred()) SWIG_fail
;
15777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15785 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15786 PyObject
*resultobj
;
15787 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15789 PyObject
* obj0
= 0 ;
15790 char *kwnames
[] = {
15791 (char *) "self", NULL
15794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15799 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
15801 wxPyEndAllowThreads(__tstate
);
15802 if (PyErr_Occurred()) SWIG_fail
;
15805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15813 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15814 PyObject
*resultobj
;
15815 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15817 PyObject
* obj0
= 0 ;
15818 char *kwnames
[] = {
15819 (char *) "self", NULL
15822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15827 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
15829 wxPyEndAllowThreads(__tstate
);
15830 if (PyErr_Occurred()) SWIG_fail
;
15833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15841 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15842 PyObject
*resultobj
;
15843 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15845 PyObject
* obj0
= 0 ;
15846 char *kwnames
[] = {
15847 (char *) "self", NULL
15850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
15851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15855 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
15857 wxPyEndAllowThreads(__tstate
);
15858 if (PyErr_Occurred()) SWIG_fail
;
15861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15869 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15870 PyObject
*resultobj
;
15871 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15873 PyObject
* obj0
= 0 ;
15874 char *kwnames
[] = {
15875 (char *) "self", NULL
15878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
15879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15883 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
15885 wxPyEndAllowThreads(__tstate
);
15886 if (PyErr_Occurred()) SWIG_fail
;
15889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15897 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15898 PyObject
*resultobj
;
15899 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15901 PyObject
* obj0
= 0 ;
15902 char *kwnames
[] = {
15903 (char *) "self", NULL
15906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
15907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15911 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
15913 wxPyEndAllowThreads(__tstate
);
15914 if (PyErr_Occurred()) SWIG_fail
;
15916 resultobj
= SWIG_From_int((int)result
);
15923 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15924 PyObject
*resultobj
;
15925 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15927 PyObject
* obj0
= 0 ;
15928 char *kwnames
[] = {
15929 (char *) "self", NULL
15932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
15933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15937 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
15939 wxPyEndAllowThreads(__tstate
);
15940 if (PyErr_Occurred()) SWIG_fail
;
15942 resultobj
= SWIG_From_int((int)result
);
15949 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15950 PyObject
*resultobj
;
15951 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15952 unsigned int result
;
15953 PyObject
* obj0
= 0 ;
15954 char *kwnames
[] = {
15955 (char *) "self", NULL
15958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
15959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15963 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
15965 wxPyEndAllowThreads(__tstate
);
15966 if (PyErr_Occurred()) SWIG_fail
;
15968 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
15975 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15976 PyObject
*resultobj
;
15977 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15978 unsigned int result
;
15979 PyObject
* obj0
= 0 ;
15980 char *kwnames
[] = {
15981 (char *) "self", NULL
15984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
15985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15989 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
15991 wxPyEndAllowThreads(__tstate
);
15992 if (PyErr_Occurred()) SWIG_fail
;
15994 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16001 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16002 PyObject
*resultobj
;
16003 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16005 PyObject
* obj0
= 0 ;
16006 char *kwnames
[] = {
16007 (char *) "self", NULL
16010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16015 result
= (arg1
)->GetPosition();
16017 wxPyEndAllowThreads(__tstate
);
16018 if (PyErr_Occurred()) SWIG_fail
;
16021 wxPoint
* resultptr
;
16022 resultptr
= new wxPoint((wxPoint
&) result
);
16023 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16031 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16032 PyObject
*resultobj
;
16033 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16034 long *arg2
= (long *) 0 ;
16035 long *arg3
= (long *) 0 ;
16040 PyObject
* obj0
= 0 ;
16041 char *kwnames
[] = {
16042 (char *) "self", NULL
16045 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16046 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
16048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16052 (arg1
)->GetPosition(arg2
,arg3
);
16054 wxPyEndAllowThreads(__tstate
);
16055 if (PyErr_Occurred()) SWIG_fail
;
16057 Py_INCREF(Py_None
); resultobj
= Py_None
;
16058 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16059 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
16060 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16061 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
16068 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16069 PyObject
*resultobj
;
16070 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16072 PyObject
* obj0
= 0 ;
16073 char *kwnames
[] = {
16074 (char *) "self", NULL
16077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
16078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16082 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
16084 wxPyEndAllowThreads(__tstate
);
16085 if (PyErr_Occurred()) SWIG_fail
;
16087 resultobj
= SWIG_From_int((int)result
);
16094 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16095 PyObject
*resultobj
;
16096 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16098 PyObject
* obj0
= 0 ;
16099 char *kwnames
[] = {
16100 (char *) "self", NULL
16103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
16104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16108 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
16110 wxPyEndAllowThreads(__tstate
);
16111 if (PyErr_Occurred()) SWIG_fail
;
16113 resultobj
= SWIG_From_int((int)result
);
16120 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16121 PyObject
*resultobj
;
16122 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16124 PyObject
* obj0
= 0 ;
16125 PyObject
* obj1
= 0 ;
16126 char *kwnames
[] = {
16127 (char *) "self",(char *) "m_x", NULL
16130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16133 arg2
= (int)SWIG_As_int(obj1
);
16134 if (PyErr_Occurred()) SWIG_fail
;
16135 if (arg1
) (arg1
)->m_x
= arg2
;
16137 Py_INCREF(Py_None
); resultobj
= Py_None
;
16144 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16145 PyObject
*resultobj
;
16146 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16148 PyObject
* obj0
= 0 ;
16149 char *kwnames
[] = {
16150 (char *) "self", NULL
16153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
16154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16156 result
= (int) ((arg1
)->m_x
);
16158 resultobj
= SWIG_From_int((int)result
);
16165 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16166 PyObject
*resultobj
;
16167 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16169 PyObject
* obj0
= 0 ;
16170 PyObject
* obj1
= 0 ;
16171 char *kwnames
[] = {
16172 (char *) "self",(char *) "m_y", NULL
16175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16178 arg2
= (int)SWIG_As_int(obj1
);
16179 if (PyErr_Occurred()) SWIG_fail
;
16180 if (arg1
) (arg1
)->m_y
= arg2
;
16182 Py_INCREF(Py_None
); resultobj
= Py_None
;
16189 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16190 PyObject
*resultobj
;
16191 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16193 PyObject
* obj0
= 0 ;
16194 char *kwnames
[] = {
16195 (char *) "self", NULL
16198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
16199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16201 result
= (int) ((arg1
)->m_y
);
16203 resultobj
= SWIG_From_int((int)result
);
16210 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16211 PyObject
*resultobj
;
16212 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16214 PyObject
* obj0
= 0 ;
16215 PyObject
* obj1
= 0 ;
16216 char *kwnames
[] = {
16217 (char *) "self",(char *) "m_keyCode", NULL
16220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16223 arg2
= (long)SWIG_As_long(obj1
);
16224 if (PyErr_Occurred()) SWIG_fail
;
16225 if (arg1
) (arg1
)->m_keyCode
= arg2
;
16227 Py_INCREF(Py_None
); resultobj
= Py_None
;
16234 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16235 PyObject
*resultobj
;
16236 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16238 PyObject
* obj0
= 0 ;
16239 char *kwnames
[] = {
16240 (char *) "self", NULL
16243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
16244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16246 result
= (long) ((arg1
)->m_keyCode
);
16248 resultobj
= SWIG_From_long((long)result
);
16255 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16256 PyObject
*resultobj
;
16257 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16259 PyObject
* obj0
= 0 ;
16260 PyObject
* obj1
= 0 ;
16261 char *kwnames
[] = {
16262 (char *) "self",(char *) "m_controlDown", NULL
16265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16268 arg2
= (bool)SWIG_As_bool(obj1
);
16269 if (PyErr_Occurred()) SWIG_fail
;
16270 if (arg1
) (arg1
)->m_controlDown
= arg2
;
16272 Py_INCREF(Py_None
); resultobj
= Py_None
;
16279 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16280 PyObject
*resultobj
;
16281 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16283 PyObject
* obj0
= 0 ;
16284 char *kwnames
[] = {
16285 (char *) "self", NULL
16288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
16289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16291 result
= (bool) ((arg1
)->m_controlDown
);
16294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16302 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16303 PyObject
*resultobj
;
16304 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16306 PyObject
* obj0
= 0 ;
16307 PyObject
* obj1
= 0 ;
16308 char *kwnames
[] = {
16309 (char *) "self",(char *) "m_shiftDown", NULL
16312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16315 arg2
= (bool)SWIG_As_bool(obj1
);
16316 if (PyErr_Occurred()) SWIG_fail
;
16317 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
16319 Py_INCREF(Py_None
); resultobj
= Py_None
;
16326 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16327 PyObject
*resultobj
;
16328 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16330 PyObject
* obj0
= 0 ;
16331 char *kwnames
[] = {
16332 (char *) "self", NULL
16335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
16336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16338 result
= (bool) ((arg1
)->m_shiftDown
);
16341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16349 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16350 PyObject
*resultobj
;
16351 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16353 PyObject
* obj0
= 0 ;
16354 PyObject
* obj1
= 0 ;
16355 char *kwnames
[] = {
16356 (char *) "self",(char *) "m_altDown", NULL
16359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16362 arg2
= (bool)SWIG_As_bool(obj1
);
16363 if (PyErr_Occurred()) SWIG_fail
;
16364 if (arg1
) (arg1
)->m_altDown
= arg2
;
16366 Py_INCREF(Py_None
); resultobj
= Py_None
;
16373 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16374 PyObject
*resultobj
;
16375 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16377 PyObject
* obj0
= 0 ;
16378 char *kwnames
[] = {
16379 (char *) "self", NULL
16382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
16383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16385 result
= (bool) ((arg1
)->m_altDown
);
16388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16396 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16397 PyObject
*resultobj
;
16398 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16400 PyObject
* obj0
= 0 ;
16401 PyObject
* obj1
= 0 ;
16402 char *kwnames
[] = {
16403 (char *) "self",(char *) "m_metaDown", NULL
16406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16409 arg2
= (bool)SWIG_As_bool(obj1
);
16410 if (PyErr_Occurred()) SWIG_fail
;
16411 if (arg1
) (arg1
)->m_metaDown
= arg2
;
16413 Py_INCREF(Py_None
); resultobj
= Py_None
;
16420 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16421 PyObject
*resultobj
;
16422 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16424 PyObject
* obj0
= 0 ;
16425 char *kwnames
[] = {
16426 (char *) "self", NULL
16429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
16430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16432 result
= (bool) ((arg1
)->m_metaDown
);
16435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16443 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16444 PyObject
*resultobj
;
16445 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16447 PyObject
* obj0
= 0 ;
16448 PyObject
* obj1
= 0 ;
16449 char *kwnames
[] = {
16450 (char *) "self",(char *) "m_scanCode", NULL
16453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16456 arg2
= (bool)SWIG_As_bool(obj1
);
16457 if (PyErr_Occurred()) SWIG_fail
;
16458 if (arg1
) (arg1
)->m_scanCode
= arg2
;
16460 Py_INCREF(Py_None
); resultobj
= Py_None
;
16467 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16468 PyObject
*resultobj
;
16469 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16471 PyObject
* obj0
= 0 ;
16472 char *kwnames
[] = {
16473 (char *) "self", NULL
16476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
16477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16479 result
= (bool) ((arg1
)->m_scanCode
);
16482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16490 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16491 PyObject
*resultobj
;
16492 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16493 unsigned int arg2
;
16494 PyObject
* obj0
= 0 ;
16495 PyObject
* obj1
= 0 ;
16496 char *kwnames
[] = {
16497 (char *) "self",(char *) "m_rawCode", NULL
16500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16503 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
16504 if (PyErr_Occurred()) SWIG_fail
;
16505 if (arg1
) (arg1
)->m_rawCode
= arg2
;
16507 Py_INCREF(Py_None
); resultobj
= Py_None
;
16514 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16515 PyObject
*resultobj
;
16516 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16517 unsigned int result
;
16518 PyObject
* obj0
= 0 ;
16519 char *kwnames
[] = {
16520 (char *) "self", NULL
16523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16526 result
= (unsigned int) ((arg1
)->m_rawCode
);
16528 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16535 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16536 PyObject
*resultobj
;
16537 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16538 unsigned int arg2
;
16539 PyObject
* obj0
= 0 ;
16540 PyObject
* obj1
= 0 ;
16541 char *kwnames
[] = {
16542 (char *) "self",(char *) "m_rawFlags", NULL
16545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16548 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
16549 if (PyErr_Occurred()) SWIG_fail
;
16550 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16552 Py_INCREF(Py_None
); resultobj
= Py_None
;
16559 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16560 PyObject
*resultobj
;
16561 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16562 unsigned int result
;
16563 PyObject
* obj0
= 0 ;
16564 char *kwnames
[] = {
16565 (char *) "self", NULL
16568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16571 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16573 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16580 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
16582 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16583 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16585 return Py_BuildValue((char *)"");
16587 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16588 PyObject
*resultobj
;
16589 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16590 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16591 int arg2
= (int) 0 ;
16592 wxSizeEvent
*result
;
16594 PyObject
* obj0
= 0 ;
16595 PyObject
* obj1
= 0 ;
16596 char *kwnames
[] = {
16597 (char *) "sz",(char *) "winid", NULL
16600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16604 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16608 arg2
= (int)SWIG_As_int(obj1
);
16609 if (PyErr_Occurred()) SWIG_fail
;
16612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16613 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16615 wxPyEndAllowThreads(__tstate
);
16616 if (PyErr_Occurred()) SWIG_fail
;
16618 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16625 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16626 PyObject
*resultobj
;
16627 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16629 PyObject
* obj0
= 0 ;
16630 char *kwnames
[] = {
16631 (char *) "self", NULL
16634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16639 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16641 wxPyEndAllowThreads(__tstate
);
16642 if (PyErr_Occurred()) SWIG_fail
;
16645 wxSize
* resultptr
;
16646 resultptr
= new wxSize((wxSize
&) result
);
16647 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16655 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16656 PyObject
*resultobj
;
16657 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16659 PyObject
* obj0
= 0 ;
16660 char *kwnames
[] = {
16661 (char *) "self", NULL
16664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16669 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16671 wxPyEndAllowThreads(__tstate
);
16672 if (PyErr_Occurred()) SWIG_fail
;
16675 wxRect
* resultptr
;
16676 resultptr
= new wxRect((wxRect
&) result
);
16677 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16685 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16686 PyObject
*resultobj
;
16687 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16690 PyObject
* obj0
= 0 ;
16691 PyObject
* obj1
= 0 ;
16692 char *kwnames
[] = {
16693 (char *) "self",(char *) "rect", NULL
16696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16699 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16700 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16704 (arg1
)->SetRect(arg2
);
16706 wxPyEndAllowThreads(__tstate
);
16707 if (PyErr_Occurred()) SWIG_fail
;
16709 Py_INCREF(Py_None
); resultobj
= Py_None
;
16716 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16717 PyObject
*resultobj
;
16718 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16721 PyObject
* obj0
= 0 ;
16722 PyObject
* obj1
= 0 ;
16723 char *kwnames
[] = {
16724 (char *) "self",(char *) "size", NULL
16727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16730 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16731 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16735 wxSizeEvent_SetSize(arg1
,arg2
);
16737 wxPyEndAllowThreads(__tstate
);
16738 if (PyErr_Occurred()) SWIG_fail
;
16740 Py_INCREF(Py_None
); resultobj
= Py_None
;
16747 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16748 PyObject
*resultobj
;
16749 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16750 wxSize
*arg2
= (wxSize
*) 0 ;
16751 PyObject
* obj0
= 0 ;
16752 PyObject
* obj1
= 0 ;
16753 char *kwnames
[] = {
16754 (char *) "self",(char *) "m_size", NULL
16757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16760 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16762 if (arg1
) (arg1
)->m_size
= *arg2
;
16764 Py_INCREF(Py_None
); resultobj
= Py_None
;
16771 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16772 PyObject
*resultobj
;
16773 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16775 PyObject
* obj0
= 0 ;
16776 char *kwnames
[] = {
16777 (char *) "self", NULL
16780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
16781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16783 result
= (wxSize
*)& ((arg1
)->m_size
);
16785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16792 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16793 PyObject
*resultobj
;
16794 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16795 wxRect
*arg2
= (wxRect
*) 0 ;
16796 PyObject
* obj0
= 0 ;
16797 PyObject
* obj1
= 0 ;
16798 char *kwnames
[] = {
16799 (char *) "self",(char *) "m_rect", NULL
16802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16805 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16807 if (arg1
) (arg1
)->m_rect
= *arg2
;
16809 Py_INCREF(Py_None
); resultobj
= Py_None
;
16816 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16817 PyObject
*resultobj
;
16818 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16820 PyObject
* obj0
= 0 ;
16821 char *kwnames
[] = {
16822 (char *) "self", NULL
16825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16828 result
= (wxRect
*)& ((arg1
)->m_rect
);
16830 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16837 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
16839 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16840 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
16842 return Py_BuildValue((char *)"");
16844 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16845 PyObject
*resultobj
;
16846 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
16847 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
16848 int arg2
= (int) 0 ;
16849 wxMoveEvent
*result
;
16851 PyObject
* obj0
= 0 ;
16852 PyObject
* obj1
= 0 ;
16853 char *kwnames
[] = {
16854 (char *) "pos",(char *) "winid", NULL
16857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16861 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
16865 arg2
= (int)SWIG_As_int(obj1
);
16866 if (PyErr_Occurred()) SWIG_fail
;
16869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16870 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
16872 wxPyEndAllowThreads(__tstate
);
16873 if (PyErr_Occurred()) SWIG_fail
;
16875 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
16882 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16883 PyObject
*resultobj
;
16884 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16886 PyObject
* obj0
= 0 ;
16887 char *kwnames
[] = {
16888 (char *) "self", NULL
16891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16896 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
16898 wxPyEndAllowThreads(__tstate
);
16899 if (PyErr_Occurred()) SWIG_fail
;
16902 wxPoint
* resultptr
;
16903 resultptr
= new wxPoint((wxPoint
&) result
);
16904 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16912 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16913 PyObject
*resultobj
;
16914 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16916 PyObject
* obj0
= 0 ;
16917 char *kwnames
[] = {
16918 (char *) "self", NULL
16921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16926 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
16928 wxPyEndAllowThreads(__tstate
);
16929 if (PyErr_Occurred()) SWIG_fail
;
16932 wxRect
* resultptr
;
16933 resultptr
= new wxRect((wxRect
&) result
);
16934 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16942 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16943 PyObject
*resultobj
;
16944 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16947 PyObject
* obj0
= 0 ;
16948 PyObject
* obj1
= 0 ;
16949 char *kwnames
[] = {
16950 (char *) "self",(char *) "rect", NULL
16953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16956 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16957 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16961 (arg1
)->SetRect(arg2
);
16963 wxPyEndAllowThreads(__tstate
);
16964 if (PyErr_Occurred()) SWIG_fail
;
16966 Py_INCREF(Py_None
); resultobj
= Py_None
;
16973 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16974 PyObject
*resultobj
;
16975 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16978 PyObject
* obj0
= 0 ;
16979 PyObject
* obj1
= 0 ;
16980 char *kwnames
[] = {
16981 (char *) "self",(char *) "pos", NULL
16984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16987 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
16988 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16992 wxMoveEvent_SetPosition(arg1
,arg2
);
16994 wxPyEndAllowThreads(__tstate
);
16995 if (PyErr_Occurred()) SWIG_fail
;
16997 Py_INCREF(Py_None
); resultobj
= Py_None
;
17004 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17005 PyObject
*resultobj
;
17006 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17007 wxPoint
*arg2
= (wxPoint
*) 0 ;
17008 PyObject
* obj0
= 0 ;
17009 PyObject
* obj1
= 0 ;
17010 char *kwnames
[] = {
17011 (char *) "self",(char *) "m_pos", NULL
17014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17017 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
17018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17019 if (arg1
) (arg1
)->m_pos
= *arg2
;
17021 Py_INCREF(Py_None
); resultobj
= Py_None
;
17028 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17029 PyObject
*resultobj
;
17030 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17032 PyObject
* obj0
= 0 ;
17033 char *kwnames
[] = {
17034 (char *) "self", NULL
17037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
17038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17040 result
= (wxPoint
*)& ((arg1
)->m_pos
);
17042 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
17049 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17050 PyObject
*resultobj
;
17051 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17052 wxRect
*arg2
= (wxRect
*) 0 ;
17053 PyObject
* obj0
= 0 ;
17054 PyObject
* obj1
= 0 ;
17055 char *kwnames
[] = {
17056 (char *) "self",(char *) "m_rect", NULL
17059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17062 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
17063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17064 if (arg1
) (arg1
)->m_rect
= *arg2
;
17066 Py_INCREF(Py_None
); resultobj
= Py_None
;
17073 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17074 PyObject
*resultobj
;
17075 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17077 PyObject
* obj0
= 0 ;
17078 char *kwnames
[] = {
17079 (char *) "self", NULL
17082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
17083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17085 result
= (wxRect
*)& ((arg1
)->m_rect
);
17087 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
17094 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
17096 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17097 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
17099 return Py_BuildValue((char *)"");
17101 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17102 PyObject
*resultobj
;
17103 int arg1
= (int) 0 ;
17104 wxPaintEvent
*result
;
17105 PyObject
* obj0
= 0 ;
17106 char *kwnames
[] = {
17107 (char *) "Id", NULL
17110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
17112 arg1
= (int)SWIG_As_int(obj0
);
17113 if (PyErr_Occurred()) SWIG_fail
;
17116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17117 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
17119 wxPyEndAllowThreads(__tstate
);
17120 if (PyErr_Occurred()) SWIG_fail
;
17122 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
17129 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
17131 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17132 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
17134 return Py_BuildValue((char *)"");
17136 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17137 PyObject
*resultobj
;
17138 int arg1
= (int) 0 ;
17139 wxNcPaintEvent
*result
;
17140 PyObject
* obj0
= 0 ;
17141 char *kwnames
[] = {
17142 (char *) "winid", NULL
17145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
17147 arg1
= (int)SWIG_As_int(obj0
);
17148 if (PyErr_Occurred()) SWIG_fail
;
17151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17152 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
17154 wxPyEndAllowThreads(__tstate
);
17155 if (PyErr_Occurred()) SWIG_fail
;
17157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
17164 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
17166 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17167 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
17169 return Py_BuildValue((char *)"");
17171 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17172 PyObject
*resultobj
;
17173 int arg1
= (int) 0 ;
17174 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
17175 wxEraseEvent
*result
;
17176 PyObject
* obj0
= 0 ;
17177 PyObject
* obj1
= 0 ;
17178 char *kwnames
[] = {
17179 (char *) "Id",(char *) "dc", NULL
17182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17184 arg1
= (int)SWIG_As_int(obj0
);
17185 if (PyErr_Occurred()) SWIG_fail
;
17188 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17193 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
17195 wxPyEndAllowThreads(__tstate
);
17196 if (PyErr_Occurred()) SWIG_fail
;
17198 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
17205 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17206 PyObject
*resultobj
;
17207 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
17209 PyObject
* obj0
= 0 ;
17210 char *kwnames
[] = {
17211 (char *) "self", NULL
17214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
17215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
17216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17219 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
17221 wxPyEndAllowThreads(__tstate
);
17222 if (PyErr_Occurred()) SWIG_fail
;
17225 resultobj
= wxPyMake_wxObject(result
, 0);
17233 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
17235 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17236 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
17238 return Py_BuildValue((char *)"");
17240 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17241 PyObject
*resultobj
;
17242 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17243 int arg2
= (int) 0 ;
17244 wxFocusEvent
*result
;
17245 PyObject
* obj0
= 0 ;
17246 PyObject
* obj1
= 0 ;
17247 char *kwnames
[] = {
17248 (char *) "type",(char *) "winid", NULL
17251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17253 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17254 if (PyErr_Occurred()) SWIG_fail
;
17257 arg2
= (int)SWIG_As_int(obj1
);
17258 if (PyErr_Occurred()) SWIG_fail
;
17261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17262 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
17264 wxPyEndAllowThreads(__tstate
);
17265 if (PyErr_Occurred()) SWIG_fail
;
17267 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
17274 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17275 PyObject
*resultobj
;
17276 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17278 PyObject
* obj0
= 0 ;
17279 char *kwnames
[] = {
17280 (char *) "self", NULL
17283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17288 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
17290 wxPyEndAllowThreads(__tstate
);
17291 if (PyErr_Occurred()) SWIG_fail
;
17294 resultobj
= wxPyMake_wxObject(result
, 0);
17302 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17303 PyObject
*resultobj
;
17304 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17305 wxWindow
*arg2
= (wxWindow
*) 0 ;
17306 PyObject
* obj0
= 0 ;
17307 PyObject
* obj1
= 0 ;
17308 char *kwnames
[] = {
17309 (char *) "self",(char *) "win", NULL
17312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17315 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17319 (arg1
)->SetWindow(arg2
);
17321 wxPyEndAllowThreads(__tstate
);
17322 if (PyErr_Occurred()) SWIG_fail
;
17324 Py_INCREF(Py_None
); resultobj
= Py_None
;
17331 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
17333 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17334 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
17336 return Py_BuildValue((char *)"");
17338 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17339 PyObject
*resultobj
;
17340 wxWindow
*arg1
= (wxWindow
*) NULL
;
17341 wxChildFocusEvent
*result
;
17342 PyObject
* obj0
= 0 ;
17343 char *kwnames
[] = {
17344 (char *) "win", NULL
17347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
17349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17354 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
17356 wxPyEndAllowThreads(__tstate
);
17357 if (PyErr_Occurred()) SWIG_fail
;
17359 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
17366 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17367 PyObject
*resultobj
;
17368 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
17370 PyObject
* obj0
= 0 ;
17371 char *kwnames
[] = {
17372 (char *) "self", NULL
17375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
17377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17380 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
17382 wxPyEndAllowThreads(__tstate
);
17383 if (PyErr_Occurred()) SWIG_fail
;
17386 resultobj
= wxPyMake_wxObject(result
, 0);
17394 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
17396 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17397 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
17399 return Py_BuildValue((char *)"");
17401 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17402 PyObject
*resultobj
;
17403 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17404 bool arg2
= (bool) True
;
17405 int arg3
= (int) 0 ;
17406 wxActivateEvent
*result
;
17407 PyObject
* obj0
= 0 ;
17408 PyObject
* obj1
= 0 ;
17409 PyObject
* obj2
= 0 ;
17410 char *kwnames
[] = {
17411 (char *) "type",(char *) "active",(char *) "Id", NULL
17414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17416 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17417 if (PyErr_Occurred()) SWIG_fail
;
17420 arg2
= (bool)SWIG_As_bool(obj1
);
17421 if (PyErr_Occurred()) SWIG_fail
;
17424 arg3
= (int)SWIG_As_int(obj2
);
17425 if (PyErr_Occurred()) SWIG_fail
;
17428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17429 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
17431 wxPyEndAllowThreads(__tstate
);
17432 if (PyErr_Occurred()) SWIG_fail
;
17434 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
17441 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17442 PyObject
*resultobj
;
17443 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
17445 PyObject
* obj0
= 0 ;
17446 char *kwnames
[] = {
17447 (char *) "self", NULL
17450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
17451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
17452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17455 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
17457 wxPyEndAllowThreads(__tstate
);
17458 if (PyErr_Occurred()) SWIG_fail
;
17461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17469 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
17471 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17472 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
17474 return Py_BuildValue((char *)"");
17476 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17477 PyObject
*resultobj
;
17478 int arg1
= (int) 0 ;
17479 wxInitDialogEvent
*result
;
17480 PyObject
* obj0
= 0 ;
17481 char *kwnames
[] = {
17482 (char *) "Id", NULL
17485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
17487 arg1
= (int)SWIG_As_int(obj0
);
17488 if (PyErr_Occurred()) SWIG_fail
;
17491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17492 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
17494 wxPyEndAllowThreads(__tstate
);
17495 if (PyErr_Occurred()) SWIG_fail
;
17497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
17504 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
17506 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17507 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
17509 return Py_BuildValue((char *)"");
17511 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17512 PyObject
*resultobj
;
17513 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17514 int arg2
= (int) 0 ;
17515 wxMenu
*arg3
= (wxMenu
*) NULL
;
17516 wxMenuEvent
*result
;
17517 PyObject
* obj0
= 0 ;
17518 PyObject
* obj1
= 0 ;
17519 PyObject
* obj2
= 0 ;
17520 char *kwnames
[] = {
17521 (char *) "type",(char *) "winid",(char *) "menu", NULL
17524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17526 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17527 if (PyErr_Occurred()) SWIG_fail
;
17530 arg2
= (int)SWIG_As_int(obj1
);
17531 if (PyErr_Occurred()) SWIG_fail
;
17534 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17539 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17541 wxPyEndAllowThreads(__tstate
);
17542 if (PyErr_Occurred()) SWIG_fail
;
17544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17551 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17552 PyObject
*resultobj
;
17553 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17555 PyObject
* obj0
= 0 ;
17556 char *kwnames
[] = {
17557 (char *) "self", NULL
17560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17565 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17567 wxPyEndAllowThreads(__tstate
);
17568 if (PyErr_Occurred()) SWIG_fail
;
17570 resultobj
= SWIG_From_int((int)result
);
17577 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17578 PyObject
*resultobj
;
17579 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17581 PyObject
* obj0
= 0 ;
17582 char *kwnames
[] = {
17583 (char *) "self", NULL
17586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
17587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17591 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17593 wxPyEndAllowThreads(__tstate
);
17594 if (PyErr_Occurred()) SWIG_fail
;
17597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17605 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17606 PyObject
*resultobj
;
17607 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17609 PyObject
* obj0
= 0 ;
17610 char *kwnames
[] = {
17611 (char *) "self", NULL
17614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17619 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17621 wxPyEndAllowThreads(__tstate
);
17622 if (PyErr_Occurred()) SWIG_fail
;
17625 resultobj
= wxPyMake_wxObject(result
, 0);
17633 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
17635 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17636 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17638 return Py_BuildValue((char *)"");
17640 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17641 PyObject
*resultobj
;
17642 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17643 int arg2
= (int) 0 ;
17644 wxCloseEvent
*result
;
17645 PyObject
* obj0
= 0 ;
17646 PyObject
* obj1
= 0 ;
17647 char *kwnames
[] = {
17648 (char *) "type",(char *) "winid", NULL
17651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17653 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17654 if (PyErr_Occurred()) SWIG_fail
;
17657 arg2
= (int)SWIG_As_int(obj1
);
17658 if (PyErr_Occurred()) SWIG_fail
;
17661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17662 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17664 wxPyEndAllowThreads(__tstate
);
17665 if (PyErr_Occurred()) SWIG_fail
;
17667 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17674 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17675 PyObject
*resultobj
;
17676 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17678 PyObject
* obj0
= 0 ;
17679 PyObject
* obj1
= 0 ;
17680 char *kwnames
[] = {
17681 (char *) "self",(char *) "logOff", NULL
17684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17687 arg2
= (bool)SWIG_As_bool(obj1
);
17688 if (PyErr_Occurred()) SWIG_fail
;
17690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17691 (arg1
)->SetLoggingOff(arg2
);
17693 wxPyEndAllowThreads(__tstate
);
17694 if (PyErr_Occurred()) SWIG_fail
;
17696 Py_INCREF(Py_None
); resultobj
= Py_None
;
17703 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17704 PyObject
*resultobj
;
17705 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17707 PyObject
* obj0
= 0 ;
17708 char *kwnames
[] = {
17709 (char *) "self", NULL
17712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17717 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17719 wxPyEndAllowThreads(__tstate
);
17720 if (PyErr_Occurred()) SWIG_fail
;
17723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17731 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17732 PyObject
*resultobj
;
17733 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17734 bool arg2
= (bool) True
;
17735 PyObject
* obj0
= 0 ;
17736 PyObject
* obj1
= 0 ;
17737 char *kwnames
[] = {
17738 (char *) "self",(char *) "veto", NULL
17741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17745 arg2
= (bool)SWIG_As_bool(obj1
);
17746 if (PyErr_Occurred()) SWIG_fail
;
17749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17750 (arg1
)->Veto(arg2
);
17752 wxPyEndAllowThreads(__tstate
);
17753 if (PyErr_Occurred()) SWIG_fail
;
17755 Py_INCREF(Py_None
); resultobj
= Py_None
;
17762 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17763 PyObject
*resultobj
;
17764 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17766 PyObject
* obj0
= 0 ;
17767 PyObject
* obj1
= 0 ;
17768 char *kwnames
[] = {
17769 (char *) "self",(char *) "canVeto", NULL
17772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
17773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17775 arg2
= (bool)SWIG_As_bool(obj1
);
17776 if (PyErr_Occurred()) SWIG_fail
;
17778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17779 (arg1
)->SetCanVeto(arg2
);
17781 wxPyEndAllowThreads(__tstate
);
17782 if (PyErr_Occurred()) SWIG_fail
;
17784 Py_INCREF(Py_None
); resultobj
= Py_None
;
17791 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17792 PyObject
*resultobj
;
17793 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17795 PyObject
* obj0
= 0 ;
17796 char *kwnames
[] = {
17797 (char *) "self", NULL
17800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
17801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17805 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
17807 wxPyEndAllowThreads(__tstate
);
17808 if (PyErr_Occurred()) SWIG_fail
;
17811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17819 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17820 PyObject
*resultobj
;
17821 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17823 PyObject
* obj0
= 0 ;
17824 char *kwnames
[] = {
17825 (char *) "self", NULL
17828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
17829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17833 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
17835 wxPyEndAllowThreads(__tstate
);
17836 if (PyErr_Occurred()) SWIG_fail
;
17839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17847 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
17849 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17850 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
17852 return Py_BuildValue((char *)"");
17854 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17855 PyObject
*resultobj
;
17856 int arg1
= (int) 0 ;
17857 bool arg2
= (bool) False
;
17858 wxShowEvent
*result
;
17859 PyObject
* obj0
= 0 ;
17860 PyObject
* obj1
= 0 ;
17861 char *kwnames
[] = {
17862 (char *) "winid",(char *) "show", NULL
17865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17867 arg1
= (int)SWIG_As_int(obj0
);
17868 if (PyErr_Occurred()) SWIG_fail
;
17871 arg2
= (bool)SWIG_As_bool(obj1
);
17872 if (PyErr_Occurred()) SWIG_fail
;
17875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17876 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
17878 wxPyEndAllowThreads(__tstate
);
17879 if (PyErr_Occurred()) SWIG_fail
;
17881 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
17888 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17889 PyObject
*resultobj
;
17890 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17892 PyObject
* obj0
= 0 ;
17893 PyObject
* obj1
= 0 ;
17894 char *kwnames
[] = {
17895 (char *) "self",(char *) "show", NULL
17898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
17899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17901 arg2
= (bool)SWIG_As_bool(obj1
);
17902 if (PyErr_Occurred()) SWIG_fail
;
17904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17905 (arg1
)->SetShow(arg2
);
17907 wxPyEndAllowThreads(__tstate
);
17908 if (PyErr_Occurred()) SWIG_fail
;
17910 Py_INCREF(Py_None
); resultobj
= Py_None
;
17917 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17918 PyObject
*resultobj
;
17919 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17921 PyObject
* obj0
= 0 ;
17922 char *kwnames
[] = {
17923 (char *) "self", NULL
17926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
17927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17931 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
17933 wxPyEndAllowThreads(__tstate
);
17934 if (PyErr_Occurred()) SWIG_fail
;
17937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17945 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
17947 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17948 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
17950 return Py_BuildValue((char *)"");
17952 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17953 PyObject
*resultobj
;
17954 int arg1
= (int) 0 ;
17955 bool arg2
= (bool) True
;
17956 wxIconizeEvent
*result
;
17957 PyObject
* obj0
= 0 ;
17958 PyObject
* obj1
= 0 ;
17959 char *kwnames
[] = {
17960 (char *) "id",(char *) "iconized", NULL
17963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17965 arg1
= (int)SWIG_As_int(obj0
);
17966 if (PyErr_Occurred()) SWIG_fail
;
17969 arg2
= (bool)SWIG_As_bool(obj1
);
17970 if (PyErr_Occurred()) SWIG_fail
;
17973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17974 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
17976 wxPyEndAllowThreads(__tstate
);
17977 if (PyErr_Occurred()) SWIG_fail
;
17979 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
17986 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17987 PyObject
*resultobj
;
17988 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
17990 PyObject
* obj0
= 0 ;
17991 char *kwnames
[] = {
17992 (char *) "self", NULL
17995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
17996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
17997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18000 result
= (bool)(arg1
)->Iconized();
18002 wxPyEndAllowThreads(__tstate
);
18003 if (PyErr_Occurred()) SWIG_fail
;
18006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18014 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
18016 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18017 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
18019 return Py_BuildValue((char *)"");
18021 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18022 PyObject
*resultobj
;
18023 int arg1
= (int) 0 ;
18024 wxMaximizeEvent
*result
;
18025 PyObject
* obj0
= 0 ;
18026 char *kwnames
[] = {
18027 (char *) "id", NULL
18030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
18032 arg1
= (int)SWIG_As_int(obj0
);
18033 if (PyErr_Occurred()) SWIG_fail
;
18036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18037 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
18039 wxPyEndAllowThreads(__tstate
);
18040 if (PyErr_Occurred()) SWIG_fail
;
18042 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
18049 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
18051 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18052 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
18054 return Py_BuildValue((char *)"");
18056 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18057 PyObject
*resultobj
;
18058 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18060 PyObject
* obj0
= 0 ;
18061 char *kwnames
[] = {
18062 (char *) "self", NULL
18065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18070 result
= (arg1
)->GetPosition();
18072 wxPyEndAllowThreads(__tstate
);
18073 if (PyErr_Occurred()) SWIG_fail
;
18076 wxPoint
* resultptr
;
18077 resultptr
= new wxPoint((wxPoint
&) result
);
18078 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18086 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18087 PyObject
*resultobj
;
18088 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18090 PyObject
* obj0
= 0 ;
18091 char *kwnames
[] = {
18092 (char *) "self", NULL
18095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
18096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18100 result
= (int)(arg1
)->GetNumberOfFiles();
18102 wxPyEndAllowThreads(__tstate
);
18103 if (PyErr_Occurred()) SWIG_fail
;
18105 resultobj
= SWIG_From_int((int)result
);
18112 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18113 PyObject
*resultobj
;
18114 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18116 PyObject
* obj0
= 0 ;
18117 char *kwnames
[] = {
18118 (char *) "self", NULL
18121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
18122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18126 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
18128 wxPyEndAllowThreads(__tstate
);
18129 if (PyErr_Occurred()) SWIG_fail
;
18131 resultobj
= result
;
18138 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
18140 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18141 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
18143 return Py_BuildValue((char *)"");
18145 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18146 PyObject
*resultobj
;
18147 int arg1
= (int) 0 ;
18148 wxUpdateUIEvent
*result
;
18149 PyObject
* obj0
= 0 ;
18150 char *kwnames
[] = {
18151 (char *) "commandId", NULL
18154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
18156 arg1
= (int)SWIG_As_int(obj0
);
18157 if (PyErr_Occurred()) SWIG_fail
;
18160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18161 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
18163 wxPyEndAllowThreads(__tstate
);
18164 if (PyErr_Occurred()) SWIG_fail
;
18166 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
18173 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18174 PyObject
*resultobj
;
18175 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18177 PyObject
* obj0
= 0 ;
18178 char *kwnames
[] = {
18179 (char *) "self", NULL
18182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
18183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18187 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
18189 wxPyEndAllowThreads(__tstate
);
18190 if (PyErr_Occurred()) SWIG_fail
;
18193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18201 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18202 PyObject
*resultobj
;
18203 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18205 PyObject
* obj0
= 0 ;
18206 char *kwnames
[] = {
18207 (char *) "self", NULL
18210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
18211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18215 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
18217 wxPyEndAllowThreads(__tstate
);
18218 if (PyErr_Occurred()) SWIG_fail
;
18221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18229 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18230 PyObject
*resultobj
;
18231 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18233 PyObject
* obj0
= 0 ;
18234 char *kwnames
[] = {
18235 (char *) "self", NULL
18238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
18239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18243 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
18245 wxPyEndAllowThreads(__tstate
);
18246 if (PyErr_Occurred()) SWIG_fail
;
18250 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18252 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18261 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18262 PyObject
*resultobj
;
18263 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18265 PyObject
* obj0
= 0 ;
18266 char *kwnames
[] = {
18267 (char *) "self", NULL
18270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
18271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18275 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
18277 wxPyEndAllowThreads(__tstate
);
18278 if (PyErr_Occurred()) SWIG_fail
;
18281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18289 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18290 PyObject
*resultobj
;
18291 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18293 PyObject
* obj0
= 0 ;
18294 char *kwnames
[] = {
18295 (char *) "self", NULL
18298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
18299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18303 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
18305 wxPyEndAllowThreads(__tstate
);
18306 if (PyErr_Occurred()) SWIG_fail
;
18309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18317 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18318 PyObject
*resultobj
;
18319 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18321 PyObject
* obj0
= 0 ;
18322 char *kwnames
[] = {
18323 (char *) "self", NULL
18326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
18327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18331 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
18333 wxPyEndAllowThreads(__tstate
);
18334 if (PyErr_Occurred()) SWIG_fail
;
18337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18345 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18346 PyObject
*resultobj
;
18347 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18349 PyObject
* obj0
= 0 ;
18350 PyObject
* obj1
= 0 ;
18351 char *kwnames
[] = {
18352 (char *) "self",(char *) "check", NULL
18355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
18356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18358 arg2
= (bool)SWIG_As_bool(obj1
);
18359 if (PyErr_Occurred()) SWIG_fail
;
18361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18362 (arg1
)->Check(arg2
);
18364 wxPyEndAllowThreads(__tstate
);
18365 if (PyErr_Occurred()) SWIG_fail
;
18367 Py_INCREF(Py_None
); resultobj
= Py_None
;
18374 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18375 PyObject
*resultobj
;
18376 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18378 PyObject
* obj0
= 0 ;
18379 PyObject
* obj1
= 0 ;
18380 char *kwnames
[] = {
18381 (char *) "self",(char *) "enable", NULL
18384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18387 arg2
= (bool)SWIG_As_bool(obj1
);
18388 if (PyErr_Occurred()) SWIG_fail
;
18390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18391 (arg1
)->Enable(arg2
);
18393 wxPyEndAllowThreads(__tstate
);
18394 if (PyErr_Occurred()) SWIG_fail
;
18396 Py_INCREF(Py_None
); resultobj
= Py_None
;
18403 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18404 PyObject
*resultobj
;
18405 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18406 wxString
*arg2
= 0 ;
18407 bool temp2
= False
;
18408 PyObject
* obj0
= 0 ;
18409 PyObject
* obj1
= 0 ;
18410 char *kwnames
[] = {
18411 (char *) "self",(char *) "text", NULL
18414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18418 arg2
= wxString_in_helper(obj1
);
18419 if (arg2
== NULL
) SWIG_fail
;
18423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18424 (arg1
)->SetText((wxString
const &)*arg2
);
18426 wxPyEndAllowThreads(__tstate
);
18427 if (PyErr_Occurred()) SWIG_fail
;
18429 Py_INCREF(Py_None
); resultobj
= Py_None
;
18444 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18445 PyObject
*resultobj
;
18447 PyObject
* obj0
= 0 ;
18448 char *kwnames
[] = {
18449 (char *) "updateInterval", NULL
18452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
18453 arg1
= (long)SWIG_As_long(obj0
);
18454 if (PyErr_Occurred()) SWIG_fail
;
18456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18457 wxUpdateUIEvent::SetUpdateInterval(arg1
);
18459 wxPyEndAllowThreads(__tstate
);
18460 if (PyErr_Occurred()) SWIG_fail
;
18462 Py_INCREF(Py_None
); resultobj
= Py_None
;
18469 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18470 PyObject
*resultobj
;
18472 char *kwnames
[] = {
18476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
18478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18479 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
18481 wxPyEndAllowThreads(__tstate
);
18482 if (PyErr_Occurred()) SWIG_fail
;
18484 resultobj
= SWIG_From_long((long)result
);
18491 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18492 PyObject
*resultobj
;
18493 wxWindow
*arg1
= (wxWindow
*) 0 ;
18495 PyObject
* obj0
= 0 ;
18496 char *kwnames
[] = {
18497 (char *) "win", NULL
18500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
18501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18505 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
18507 wxPyEndAllowThreads(__tstate
);
18508 if (PyErr_Occurred()) SWIG_fail
;
18511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18519 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18520 PyObject
*resultobj
;
18521 char *kwnames
[] = {
18525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18528 wxUpdateUIEvent::ResetUpdateTime();
18530 wxPyEndAllowThreads(__tstate
);
18531 if (PyErr_Occurred()) SWIG_fail
;
18533 Py_INCREF(Py_None
); resultobj
= Py_None
;
18540 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18541 PyObject
*resultobj
;
18543 PyObject
* obj0
= 0 ;
18544 char *kwnames
[] = {
18545 (char *) "mode", NULL
18548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18549 arg1
= (int)SWIG_As_int(obj0
);
18550 if (PyErr_Occurred()) SWIG_fail
;
18552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18553 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18555 wxPyEndAllowThreads(__tstate
);
18556 if (PyErr_Occurred()) SWIG_fail
;
18558 Py_INCREF(Py_None
); resultobj
= Py_None
;
18565 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18566 PyObject
*resultobj
;
18568 char *kwnames
[] = {
18572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18575 result
= (int)wxUpdateUIEvent::GetMode();
18577 wxPyEndAllowThreads(__tstate
);
18578 if (PyErr_Occurred()) SWIG_fail
;
18580 resultobj
= SWIG_From_int((int)result
);
18587 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
18589 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18590 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18592 return Py_BuildValue((char *)"");
18594 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18595 PyObject
*resultobj
;
18596 wxSysColourChangedEvent
*result
;
18597 char *kwnames
[] = {
18601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18604 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18606 wxPyEndAllowThreads(__tstate
);
18607 if (PyErr_Occurred()) SWIG_fail
;
18609 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18616 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18618 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18619 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18621 return Py_BuildValue((char *)"");
18623 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18624 PyObject
*resultobj
;
18625 int arg1
= (int) 0 ;
18626 wxWindow
*arg2
= (wxWindow
*) NULL
;
18627 wxMouseCaptureChangedEvent
*result
;
18628 PyObject
* obj0
= 0 ;
18629 PyObject
* obj1
= 0 ;
18630 char *kwnames
[] = {
18631 (char *) "winid",(char *) "gainedCapture", NULL
18634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18636 arg1
= (int)SWIG_As_int(obj0
);
18637 if (PyErr_Occurred()) SWIG_fail
;
18640 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18645 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18647 wxPyEndAllowThreads(__tstate
);
18648 if (PyErr_Occurred()) SWIG_fail
;
18650 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18657 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18658 PyObject
*resultobj
;
18659 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18661 PyObject
* obj0
= 0 ;
18662 char *kwnames
[] = {
18663 (char *) "self", NULL
18666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18671 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18673 wxPyEndAllowThreads(__tstate
);
18674 if (PyErr_Occurred()) SWIG_fail
;
18677 resultobj
= wxPyMake_wxObject(result
, 0);
18685 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18687 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18688 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18690 return Py_BuildValue((char *)"");
18692 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18693 PyObject
*resultobj
;
18694 wxDisplayChangedEvent
*result
;
18695 char *kwnames
[] = {
18699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18702 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18704 wxPyEndAllowThreads(__tstate
);
18705 if (PyErr_Occurred()) SWIG_fail
;
18707 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18714 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18716 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18717 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
18719 return Py_BuildValue((char *)"");
18721 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18722 PyObject
*resultobj
;
18723 int arg1
= (int) 0 ;
18724 wxPaletteChangedEvent
*result
;
18725 PyObject
* obj0
= 0 ;
18726 char *kwnames
[] = {
18727 (char *) "id", NULL
18730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
18732 arg1
= (int)SWIG_As_int(obj0
);
18733 if (PyErr_Occurred()) SWIG_fail
;
18736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18737 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
18739 wxPyEndAllowThreads(__tstate
);
18740 if (PyErr_Occurred()) SWIG_fail
;
18742 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18749 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18750 PyObject
*resultobj
;
18751 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18752 wxWindow
*arg2
= (wxWindow
*) 0 ;
18753 PyObject
* obj0
= 0 ;
18754 PyObject
* obj1
= 0 ;
18755 char *kwnames
[] = {
18756 (char *) "self",(char *) "win", NULL
18759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18762 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18766 (arg1
)->SetChangedWindow(arg2
);
18768 wxPyEndAllowThreads(__tstate
);
18769 if (PyErr_Occurred()) SWIG_fail
;
18771 Py_INCREF(Py_None
); resultobj
= Py_None
;
18778 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18779 PyObject
*resultobj
;
18780 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18782 PyObject
* obj0
= 0 ;
18783 char *kwnames
[] = {
18784 (char *) "self", NULL
18787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18792 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18794 wxPyEndAllowThreads(__tstate
);
18795 if (PyErr_Occurred()) SWIG_fail
;
18798 resultobj
= wxPyMake_wxObject(result
, 0);
18806 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18808 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18809 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
18811 return Py_BuildValue((char *)"");
18813 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18814 PyObject
*resultobj
;
18815 int arg1
= (int) 0 ;
18816 wxQueryNewPaletteEvent
*result
;
18817 PyObject
* obj0
= 0 ;
18818 char *kwnames
[] = {
18819 (char *) "winid", NULL
18822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
18824 arg1
= (int)SWIG_As_int(obj0
);
18825 if (PyErr_Occurred()) SWIG_fail
;
18828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18829 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
18831 wxPyEndAllowThreads(__tstate
);
18832 if (PyErr_Occurred()) SWIG_fail
;
18834 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
18841 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18842 PyObject
*resultobj
;
18843 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18845 PyObject
* obj0
= 0 ;
18846 PyObject
* obj1
= 0 ;
18847 char *kwnames
[] = {
18848 (char *) "self",(char *) "realized", NULL
18851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
18852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18854 arg2
= (bool)SWIG_As_bool(obj1
);
18855 if (PyErr_Occurred()) SWIG_fail
;
18857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18858 (arg1
)->SetPaletteRealized(arg2
);
18860 wxPyEndAllowThreads(__tstate
);
18861 if (PyErr_Occurred()) SWIG_fail
;
18863 Py_INCREF(Py_None
); resultobj
= Py_None
;
18870 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18871 PyObject
*resultobj
;
18872 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18874 PyObject
* obj0
= 0 ;
18875 char *kwnames
[] = {
18876 (char *) "self", NULL
18879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
18880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18884 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
18886 wxPyEndAllowThreads(__tstate
);
18887 if (PyErr_Occurred()) SWIG_fail
;
18890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18898 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
18900 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18901 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
18903 return Py_BuildValue((char *)"");
18905 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18906 PyObject
*resultobj
;
18907 wxNavigationKeyEvent
*result
;
18908 char *kwnames
[] = {
18912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
18914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18915 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
18917 wxPyEndAllowThreads(__tstate
);
18918 if (PyErr_Occurred()) SWIG_fail
;
18920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
18927 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18928 PyObject
*resultobj
;
18929 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18931 PyObject
* obj0
= 0 ;
18932 char *kwnames
[] = {
18933 (char *) "self", NULL
18936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
18937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18941 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
18943 wxPyEndAllowThreads(__tstate
);
18944 if (PyErr_Occurred()) SWIG_fail
;
18947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18955 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18956 PyObject
*resultobj
;
18957 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18959 PyObject
* obj0
= 0 ;
18960 PyObject
* obj1
= 0 ;
18961 char *kwnames
[] = {
18962 (char *) "self",(char *) "forward", NULL
18965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
18966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18968 arg2
= (bool)SWIG_As_bool(obj1
);
18969 if (PyErr_Occurred()) SWIG_fail
;
18971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18972 (arg1
)->SetDirection(arg2
);
18974 wxPyEndAllowThreads(__tstate
);
18975 if (PyErr_Occurred()) SWIG_fail
;
18977 Py_INCREF(Py_None
); resultobj
= Py_None
;
18984 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18985 PyObject
*resultobj
;
18986 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18988 PyObject
* obj0
= 0 ;
18989 char *kwnames
[] = {
18990 (char *) "self", NULL
18993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
18994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18998 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
19000 wxPyEndAllowThreads(__tstate
);
19001 if (PyErr_Occurred()) SWIG_fail
;
19004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19012 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19013 PyObject
*resultobj
;
19014 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19016 PyObject
* obj0
= 0 ;
19017 PyObject
* obj1
= 0 ;
19018 char *kwnames
[] = {
19019 (char *) "self",(char *) "ischange", NULL
19022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
19023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19025 arg2
= (bool)SWIG_As_bool(obj1
);
19026 if (PyErr_Occurred()) SWIG_fail
;
19028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19029 (arg1
)->SetWindowChange(arg2
);
19031 wxPyEndAllowThreads(__tstate
);
19032 if (PyErr_Occurred()) SWIG_fail
;
19034 Py_INCREF(Py_None
); resultobj
= Py_None
;
19041 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19042 PyObject
*resultobj
;
19043 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19045 PyObject
* obj0
= 0 ;
19046 PyObject
* obj1
= 0 ;
19047 char *kwnames
[] = {
19048 (char *) "self",(char *) "flags", NULL
19051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
19052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19054 arg2
= (long)SWIG_As_long(obj1
);
19055 if (PyErr_Occurred()) SWIG_fail
;
19057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19058 (arg1
)->SetFlags(arg2
);
19060 wxPyEndAllowThreads(__tstate
);
19061 if (PyErr_Occurred()) SWIG_fail
;
19063 Py_INCREF(Py_None
); resultobj
= Py_None
;
19070 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19071 PyObject
*resultobj
;
19072 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19074 PyObject
* obj0
= 0 ;
19075 char *kwnames
[] = {
19076 (char *) "self", NULL
19079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
19080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19084 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
19086 wxPyEndAllowThreads(__tstate
);
19087 if (PyErr_Occurred()) SWIG_fail
;
19090 resultobj
= wxPyMake_wxObject(result
, 0);
19098 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19099 PyObject
*resultobj
;
19100 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19101 wxWindow
*arg2
= (wxWindow
*) 0 ;
19102 PyObject
* obj0
= 0 ;
19103 PyObject
* obj1
= 0 ;
19104 char *kwnames
[] = {
19105 (char *) "self",(char *) "win", NULL
19108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
19109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19111 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19115 (arg1
)->SetCurrentFocus(arg2
);
19117 wxPyEndAllowThreads(__tstate
);
19118 if (PyErr_Occurred()) SWIG_fail
;
19120 Py_INCREF(Py_None
); resultobj
= Py_None
;
19127 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
19129 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19130 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
19132 return Py_BuildValue((char *)"");
19134 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19135 PyObject
*resultobj
;
19136 wxWindow
*arg1
= (wxWindow
*) NULL
;
19137 wxWindowCreateEvent
*result
;
19138 PyObject
* obj0
= 0 ;
19139 char *kwnames
[] = {
19140 (char *) "win", NULL
19143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
19145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19150 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
19152 wxPyEndAllowThreads(__tstate
);
19153 if (PyErr_Occurred()) SWIG_fail
;
19155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
19162 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19163 PyObject
*resultobj
;
19164 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
19166 PyObject
* obj0
= 0 ;
19167 char *kwnames
[] = {
19168 (char *) "self", NULL
19171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
19173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19176 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
19178 wxPyEndAllowThreads(__tstate
);
19179 if (PyErr_Occurred()) SWIG_fail
;
19182 resultobj
= wxPyMake_wxObject(result
, 0);
19190 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
19192 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19193 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
19195 return Py_BuildValue((char *)"");
19197 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19198 PyObject
*resultobj
;
19199 wxWindow
*arg1
= (wxWindow
*) NULL
;
19200 wxWindowDestroyEvent
*result
;
19201 PyObject
* obj0
= 0 ;
19202 char *kwnames
[] = {
19203 (char *) "win", NULL
19206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
19208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19213 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
19215 wxPyEndAllowThreads(__tstate
);
19216 if (PyErr_Occurred()) SWIG_fail
;
19218 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
19225 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19226 PyObject
*resultobj
;
19227 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
19229 PyObject
* obj0
= 0 ;
19230 char *kwnames
[] = {
19231 (char *) "self", NULL
19234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
19236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19239 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
19241 wxPyEndAllowThreads(__tstate
);
19242 if (PyErr_Occurred()) SWIG_fail
;
19245 resultobj
= wxPyMake_wxObject(result
, 0);
19253 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
19255 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19256 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
19258 return Py_BuildValue((char *)"");
19260 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19261 PyObject
*resultobj
;
19262 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19263 int arg2
= (int) 0 ;
19264 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19265 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19266 wxContextMenuEvent
*result
;
19268 PyObject
* obj0
= 0 ;
19269 PyObject
* obj1
= 0 ;
19270 PyObject
* obj2
= 0 ;
19271 char *kwnames
[] = {
19272 (char *) "type",(char *) "winid",(char *) "pt", NULL
19275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19277 arg1
= (wxEventType
)SWIG_As_int(obj0
);
19278 if (PyErr_Occurred()) SWIG_fail
;
19281 arg2
= (int)SWIG_As_int(obj1
);
19282 if (PyErr_Occurred()) SWIG_fail
;
19287 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19292 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
19294 wxPyEndAllowThreads(__tstate
);
19295 if (PyErr_Occurred()) SWIG_fail
;
19297 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
19304 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19305 PyObject
*resultobj
;
19306 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19308 PyObject
* obj0
= 0 ;
19309 char *kwnames
[] = {
19310 (char *) "self", NULL
19313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19319 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
19320 result
= (wxPoint
*) &_result_ref
;
19323 wxPyEndAllowThreads(__tstate
);
19324 if (PyErr_Occurred()) SWIG_fail
;
19326 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19333 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19334 PyObject
*resultobj
;
19335 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19336 wxPoint
*arg2
= 0 ;
19338 PyObject
* obj0
= 0 ;
19339 PyObject
* obj1
= 0 ;
19340 char *kwnames
[] = {
19341 (char *) "self",(char *) "pos", NULL
19344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19349 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19353 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19355 wxPyEndAllowThreads(__tstate
);
19356 if (PyErr_Occurred()) SWIG_fail
;
19358 Py_INCREF(Py_None
); resultobj
= Py_None
;
19365 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
19367 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19368 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
19370 return Py_BuildValue((char *)"");
19372 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19373 PyObject
*resultobj
;
19374 wxIdleEvent
*result
;
19375 char *kwnames
[] = {
19379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
19381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19382 result
= (wxIdleEvent
*)new wxIdleEvent();
19384 wxPyEndAllowThreads(__tstate
);
19385 if (PyErr_Occurred()) SWIG_fail
;
19387 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
19394 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19395 PyObject
*resultobj
;
19396 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19397 bool arg2
= (bool) True
;
19398 PyObject
* obj0
= 0 ;
19399 PyObject
* obj1
= 0 ;
19400 char *kwnames
[] = {
19401 (char *) "self",(char *) "needMore", NULL
19404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
19405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19408 arg2
= (bool)SWIG_As_bool(obj1
);
19409 if (PyErr_Occurred()) SWIG_fail
;
19412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19413 (arg1
)->RequestMore(arg2
);
19415 wxPyEndAllowThreads(__tstate
);
19416 if (PyErr_Occurred()) SWIG_fail
;
19418 Py_INCREF(Py_None
); resultobj
= Py_None
;
19425 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19426 PyObject
*resultobj
;
19427 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19429 PyObject
* obj0
= 0 ;
19430 char *kwnames
[] = {
19431 (char *) "self", NULL
19434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
19435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19439 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
19441 wxPyEndAllowThreads(__tstate
);
19442 if (PyErr_Occurred()) SWIG_fail
;
19445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19453 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19454 PyObject
*resultobj
;
19456 PyObject
* obj0
= 0 ;
19457 char *kwnames
[] = {
19458 (char *) "mode", NULL
19461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
19462 arg1
= (int)SWIG_As_int(obj0
);
19463 if (PyErr_Occurred()) SWIG_fail
;
19465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19466 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
19468 wxPyEndAllowThreads(__tstate
);
19469 if (PyErr_Occurred()) SWIG_fail
;
19471 Py_INCREF(Py_None
); resultobj
= Py_None
;
19478 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19479 PyObject
*resultobj
;
19481 char *kwnames
[] = {
19485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
19487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19488 result
= (int)wxIdleEvent::GetMode();
19490 wxPyEndAllowThreads(__tstate
);
19491 if (PyErr_Occurred()) SWIG_fail
;
19493 resultobj
= SWIG_From_int((int)result
);
19500 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19501 PyObject
*resultobj
;
19502 wxWindow
*arg1
= (wxWindow
*) 0 ;
19504 PyObject
* obj0
= 0 ;
19505 char *kwnames
[] = {
19506 (char *) "win", NULL
19509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
19510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19514 result
= (bool)wxIdleEvent::CanSend(arg1
);
19516 wxPyEndAllowThreads(__tstate
);
19517 if (PyErr_Occurred()) SWIG_fail
;
19520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19528 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
19530 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19531 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
19533 return Py_BuildValue((char *)"");
19535 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19536 PyObject
*resultobj
;
19537 int arg1
= (int) 0 ;
19538 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
19540 PyObject
* obj0
= 0 ;
19541 PyObject
* obj1
= 0 ;
19542 char *kwnames
[] = {
19543 (char *) "winid",(char *) "commandType", NULL
19546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19548 arg1
= (int)SWIG_As_int(obj0
);
19549 if (PyErr_Occurred()) SWIG_fail
;
19552 arg2
= (wxEventType
)SWIG_As_int(obj1
);
19553 if (PyErr_Occurred()) SWIG_fail
;
19556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19557 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19559 wxPyEndAllowThreads(__tstate
);
19560 if (PyErr_Occurred()) SWIG_fail
;
19562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19569 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19570 PyObject
*resultobj
;
19571 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19572 PyObject
* obj0
= 0 ;
19573 char *kwnames
[] = {
19574 (char *) "self", NULL
19577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19584 wxPyEndAllowThreads(__tstate
);
19585 if (PyErr_Occurred()) SWIG_fail
;
19587 Py_INCREF(Py_None
); resultobj
= Py_None
;
19594 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19595 PyObject
*resultobj
;
19596 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19597 PyObject
*arg2
= (PyObject
*) 0 ;
19598 PyObject
* obj0
= 0 ;
19599 PyObject
* obj1
= 0 ;
19600 char *kwnames
[] = {
19601 (char *) "self",(char *) "self", NULL
19604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19610 (arg1
)->SetSelf(arg2
);
19612 wxPyEndAllowThreads(__tstate
);
19613 if (PyErr_Occurred()) SWIG_fail
;
19615 Py_INCREF(Py_None
); resultobj
= Py_None
;
19622 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19623 PyObject
*resultobj
;
19624 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19626 PyObject
* obj0
= 0 ;
19627 char *kwnames
[] = {
19628 (char *) "self", NULL
19631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19636 result
= (PyObject
*)(arg1
)->GetSelf();
19638 wxPyEndAllowThreads(__tstate
);
19639 if (PyErr_Occurred()) SWIG_fail
;
19641 resultobj
= result
;
19648 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
19650 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19651 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19653 return Py_BuildValue((char *)"");
19655 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19656 PyObject
*resultobj
;
19657 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19658 int arg2
= (int) 0 ;
19659 wxPyCommandEvent
*result
;
19660 PyObject
* obj0
= 0 ;
19661 PyObject
* obj1
= 0 ;
19662 char *kwnames
[] = {
19663 (char *) "commandType",(char *) "id", NULL
19666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19668 arg1
= (wxEventType
)SWIG_As_int(obj0
);
19669 if (PyErr_Occurred()) SWIG_fail
;
19672 arg2
= (int)SWIG_As_int(obj1
);
19673 if (PyErr_Occurred()) SWIG_fail
;
19676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19677 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19679 wxPyEndAllowThreads(__tstate
);
19680 if (PyErr_Occurred()) SWIG_fail
;
19682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19689 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19690 PyObject
*resultobj
;
19691 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19692 PyObject
* obj0
= 0 ;
19693 char *kwnames
[] = {
19694 (char *) "self", NULL
19697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19704 wxPyEndAllowThreads(__tstate
);
19705 if (PyErr_Occurred()) SWIG_fail
;
19707 Py_INCREF(Py_None
); resultobj
= Py_None
;
19714 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19715 PyObject
*resultobj
;
19716 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19717 PyObject
*arg2
= (PyObject
*) 0 ;
19718 PyObject
* obj0
= 0 ;
19719 PyObject
* obj1
= 0 ;
19720 char *kwnames
[] = {
19721 (char *) "self",(char *) "self", NULL
19724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19730 (arg1
)->SetSelf(arg2
);
19732 wxPyEndAllowThreads(__tstate
);
19733 if (PyErr_Occurred()) SWIG_fail
;
19735 Py_INCREF(Py_None
); resultobj
= Py_None
;
19742 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19743 PyObject
*resultobj
;
19744 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19746 PyObject
* obj0
= 0 ;
19747 char *kwnames
[] = {
19748 (char *) "self", NULL
19751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19756 result
= (PyObject
*)(arg1
)->GetSelf();
19758 wxPyEndAllowThreads(__tstate
);
19759 if (PyErr_Occurred()) SWIG_fail
;
19761 resultobj
= result
;
19768 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
19770 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19771 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
19773 return Py_BuildValue((char *)"");
19775 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19776 PyObject
*resultobj
;
19778 char *kwnames
[] = {
19782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19785 result
= (wxPyApp
*)new_wxPyApp();
19787 wxPyEndAllowThreads(__tstate
);
19788 if (PyErr_Occurred()) SWIG_fail
;
19790 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
19797 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19798 PyObject
*resultobj
;
19799 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19800 PyObject
* obj0
= 0 ;
19801 char *kwnames
[] = {
19802 (char *) "self", NULL
19805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
19806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19812 wxPyEndAllowThreads(__tstate
);
19813 if (PyErr_Occurred()) SWIG_fail
;
19815 Py_INCREF(Py_None
); resultobj
= Py_None
;
19822 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19823 PyObject
*resultobj
;
19824 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19825 PyObject
*arg2
= (PyObject
*) 0 ;
19826 PyObject
*arg3
= (PyObject
*) 0 ;
19827 PyObject
* obj0
= 0 ;
19828 PyObject
* obj1
= 0 ;
19829 PyObject
* obj2
= 0 ;
19830 char *kwnames
[] = {
19831 (char *) "self",(char *) "self",(char *) "_class", NULL
19834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19841 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19843 wxPyEndAllowThreads(__tstate
);
19844 if (PyErr_Occurred()) SWIG_fail
;
19846 Py_INCREF(Py_None
); resultobj
= Py_None
;
19853 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19854 PyObject
*resultobj
;
19855 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19857 PyObject
* obj0
= 0 ;
19858 char *kwnames
[] = {
19859 (char *) "self", NULL
19862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
19863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19867 result
= ((wxPyApp
const *)arg1
)->GetAppName();
19869 wxPyEndAllowThreads(__tstate
);
19870 if (PyErr_Occurred()) SWIG_fail
;
19874 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19876 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19885 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19886 PyObject
*resultobj
;
19887 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19888 wxString
*arg2
= 0 ;
19889 bool temp2
= False
;
19890 PyObject
* obj0
= 0 ;
19891 PyObject
* obj1
= 0 ;
19892 char *kwnames
[] = {
19893 (char *) "self",(char *) "name", NULL
19896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19900 arg2
= wxString_in_helper(obj1
);
19901 if (arg2
== NULL
) SWIG_fail
;
19905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19906 (arg1
)->SetAppName((wxString
const &)*arg2
);
19908 wxPyEndAllowThreads(__tstate
);
19909 if (PyErr_Occurred()) SWIG_fail
;
19911 Py_INCREF(Py_None
); resultobj
= Py_None
;
19926 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19927 PyObject
*resultobj
;
19928 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19930 PyObject
* obj0
= 0 ;
19931 char *kwnames
[] = {
19932 (char *) "self", NULL
19935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
19936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19940 result
= ((wxPyApp
const *)arg1
)->GetClassName();
19942 wxPyEndAllowThreads(__tstate
);
19943 if (PyErr_Occurred()) SWIG_fail
;
19947 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19949 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19958 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19959 PyObject
*resultobj
;
19960 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19961 wxString
*arg2
= 0 ;
19962 bool temp2
= False
;
19963 PyObject
* obj0
= 0 ;
19964 PyObject
* obj1
= 0 ;
19965 char *kwnames
[] = {
19966 (char *) "self",(char *) "name", NULL
19969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
19970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19973 arg2
= wxString_in_helper(obj1
);
19974 if (arg2
== NULL
) SWIG_fail
;
19978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19979 (arg1
)->SetClassName((wxString
const &)*arg2
);
19981 wxPyEndAllowThreads(__tstate
);
19982 if (PyErr_Occurred()) SWIG_fail
;
19984 Py_INCREF(Py_None
); resultobj
= Py_None
;
19999 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20000 PyObject
*resultobj
;
20001 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20003 PyObject
* obj0
= 0 ;
20004 char *kwnames
[] = {
20005 (char *) "self", NULL
20008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
20009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20014 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
20015 result
= (wxString
*) &_result_ref
;
20018 wxPyEndAllowThreads(__tstate
);
20019 if (PyErr_Occurred()) SWIG_fail
;
20023 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20025 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20034 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20035 PyObject
*resultobj
;
20036 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20037 wxString
*arg2
= 0 ;
20038 bool temp2
= False
;
20039 PyObject
* obj0
= 0 ;
20040 PyObject
* obj1
= 0 ;
20041 char *kwnames
[] = {
20042 (char *) "self",(char *) "name", NULL
20045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
20046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20049 arg2
= wxString_in_helper(obj1
);
20050 if (arg2
== NULL
) SWIG_fail
;
20054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20055 (arg1
)->SetVendorName((wxString
const &)*arg2
);
20057 wxPyEndAllowThreads(__tstate
);
20058 if (PyErr_Occurred()) SWIG_fail
;
20060 Py_INCREF(Py_None
); resultobj
= Py_None
;
20075 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20076 PyObject
*resultobj
;
20077 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20078 wxAppTraits
*result
;
20079 PyObject
* obj0
= 0 ;
20080 char *kwnames
[] = {
20081 (char *) "self", NULL
20084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
20085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20089 result
= (wxAppTraits
*)(arg1
)->GetTraits();
20091 wxPyEndAllowThreads(__tstate
);
20092 if (PyErr_Occurred()) SWIG_fail
;
20094 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
20101 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20102 PyObject
*resultobj
;
20103 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20104 PyObject
* obj0
= 0 ;
20105 char *kwnames
[] = {
20106 (char *) "self", NULL
20109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
20110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20114 (arg1
)->ProcessPendingEvents();
20116 wxPyEndAllowThreads(__tstate
);
20117 if (PyErr_Occurred()) SWIG_fail
;
20119 Py_INCREF(Py_None
); resultobj
= Py_None
;
20126 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20127 PyObject
*resultobj
;
20128 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20129 bool arg2
= (bool) False
;
20131 PyObject
* obj0
= 0 ;
20132 PyObject
* obj1
= 0 ;
20133 char *kwnames
[] = {
20134 (char *) "self",(char *) "onlyIfNeeded", NULL
20137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
20138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20141 arg2
= (bool)SWIG_As_bool(obj1
);
20142 if (PyErr_Occurred()) SWIG_fail
;
20145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20146 result
= (bool)(arg1
)->Yield(arg2
);
20148 wxPyEndAllowThreads(__tstate
);
20149 if (PyErr_Occurred()) SWIG_fail
;
20152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20160 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20161 PyObject
*resultobj
;
20162 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20163 PyObject
* obj0
= 0 ;
20164 char *kwnames
[] = {
20165 (char *) "self", NULL
20168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
20169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20173 (arg1
)->WakeUpIdle();
20175 wxPyEndAllowThreads(__tstate
);
20176 if (PyErr_Occurred()) SWIG_fail
;
20178 Py_INCREF(Py_None
); resultobj
= Py_None
;
20185 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20186 PyObject
*resultobj
;
20187 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20189 PyObject
* obj0
= 0 ;
20190 char *kwnames
[] = {
20191 (char *) "self", NULL
20194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
20195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20199 result
= (int)(arg1
)->MainLoop();
20201 wxPyEndAllowThreads(__tstate
);
20202 if (PyErr_Occurred()) SWIG_fail
;
20204 resultobj
= SWIG_From_int((int)result
);
20211 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20212 PyObject
*resultobj
;
20213 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20214 PyObject
* obj0
= 0 ;
20215 char *kwnames
[] = {
20216 (char *) "self", NULL
20219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
20220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20226 wxPyEndAllowThreads(__tstate
);
20227 if (PyErr_Occurred()) SWIG_fail
;
20229 Py_INCREF(Py_None
); resultobj
= Py_None
;
20236 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20237 PyObject
*resultobj
;
20238 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20239 PyObject
* obj0
= 0 ;
20240 char *kwnames
[] = {
20241 (char *) "self", NULL
20244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
20245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20249 (arg1
)->ExitMainLoop();
20251 wxPyEndAllowThreads(__tstate
);
20252 if (PyErr_Occurred()) SWIG_fail
;
20254 Py_INCREF(Py_None
); resultobj
= Py_None
;
20261 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20262 PyObject
*resultobj
;
20263 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20265 PyObject
* obj0
= 0 ;
20266 char *kwnames
[] = {
20267 (char *) "self", NULL
20270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
20271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20275 result
= (bool)(arg1
)->Pending();
20277 wxPyEndAllowThreads(__tstate
);
20278 if (PyErr_Occurred()) SWIG_fail
;
20281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20289 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20290 PyObject
*resultobj
;
20291 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20293 PyObject
* obj0
= 0 ;
20294 char *kwnames
[] = {
20295 (char *) "self", NULL
20298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
20299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20303 result
= (bool)(arg1
)->Dispatch();
20305 wxPyEndAllowThreads(__tstate
);
20306 if (PyErr_Occurred()) SWIG_fail
;
20309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20317 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20318 PyObject
*resultobj
;
20319 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20321 PyObject
* obj0
= 0 ;
20322 char *kwnames
[] = {
20323 (char *) "self", NULL
20326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
20327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20331 result
= (bool)(arg1
)->ProcessIdle();
20333 wxPyEndAllowThreads(__tstate
);
20334 if (PyErr_Occurred()) SWIG_fail
;
20337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20345 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20346 PyObject
*resultobj
;
20347 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20348 wxWindow
*arg2
= (wxWindow
*) 0 ;
20349 wxIdleEvent
*arg3
= 0 ;
20351 PyObject
* obj0
= 0 ;
20352 PyObject
* obj1
= 0 ;
20353 PyObject
* obj2
= 0 ;
20354 char *kwnames
[] = {
20355 (char *) "self",(char *) "win",(char *) "event", NULL
20358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20361 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20363 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
20364 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20366 if (arg3
== NULL
) {
20367 PyErr_SetString(PyExc_TypeError
,"null reference");
20371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20372 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
20374 wxPyEndAllowThreads(__tstate
);
20375 if (PyErr_Occurred()) SWIG_fail
;
20378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20386 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20387 PyObject
*resultobj
;
20388 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20390 PyObject
* obj0
= 0 ;
20391 char *kwnames
[] = {
20392 (char *) "self", NULL
20395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
20396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20400 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
20402 wxPyEndAllowThreads(__tstate
);
20403 if (PyErr_Occurred()) SWIG_fail
;
20406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20414 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20415 PyObject
*resultobj
;
20416 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20417 wxWindow
*arg2
= (wxWindow
*) 0 ;
20418 PyObject
* obj0
= 0 ;
20419 PyObject
* obj1
= 0 ;
20420 char *kwnames
[] = {
20421 (char *) "self",(char *) "win", NULL
20424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20427 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20431 (arg1
)->SetTopWindow(arg2
);
20433 wxPyEndAllowThreads(__tstate
);
20434 if (PyErr_Occurred()) SWIG_fail
;
20436 Py_INCREF(Py_None
); resultobj
= Py_None
;
20443 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20444 PyObject
*resultobj
;
20445 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20447 PyObject
* obj0
= 0 ;
20448 char *kwnames
[] = {
20449 (char *) "self", NULL
20452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
20453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20457 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
20459 wxPyEndAllowThreads(__tstate
);
20460 if (PyErr_Occurred()) SWIG_fail
;
20463 resultobj
= wxPyMake_wxObject(result
, 0);
20471 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20472 PyObject
*resultobj
;
20473 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20475 PyObject
* obj0
= 0 ;
20476 PyObject
* obj1
= 0 ;
20477 char *kwnames
[] = {
20478 (char *) "self",(char *) "flag", NULL
20481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
20482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20484 arg2
= (bool)SWIG_As_bool(obj1
);
20485 if (PyErr_Occurred()) SWIG_fail
;
20487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20488 (arg1
)->SetExitOnFrameDelete(arg2
);
20490 wxPyEndAllowThreads(__tstate
);
20491 if (PyErr_Occurred()) SWIG_fail
;
20493 Py_INCREF(Py_None
); resultobj
= Py_None
;
20500 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20501 PyObject
*resultobj
;
20502 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20504 PyObject
* obj0
= 0 ;
20505 char *kwnames
[] = {
20506 (char *) "self", NULL
20509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
20510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20514 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
20516 wxPyEndAllowThreads(__tstate
);
20517 if (PyErr_Occurred()) SWIG_fail
;
20520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20528 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20529 PyObject
*resultobj
;
20530 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20532 PyObject
* obj0
= 0 ;
20533 PyObject
* obj1
= 0 ;
20534 char *kwnames
[] = {
20535 (char *) "self",(char *) "flag", NULL
20538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
20539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20541 arg2
= (bool)SWIG_As_bool(obj1
);
20542 if (PyErr_Occurred()) SWIG_fail
;
20544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20545 (arg1
)->SetUseBestVisual(arg2
);
20547 wxPyEndAllowThreads(__tstate
);
20548 if (PyErr_Occurred()) SWIG_fail
;
20550 Py_INCREF(Py_None
); resultobj
= Py_None
;
20557 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20558 PyObject
*resultobj
;
20559 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20561 PyObject
* obj0
= 0 ;
20562 char *kwnames
[] = {
20563 (char *) "self", NULL
20566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20571 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20573 wxPyEndAllowThreads(__tstate
);
20574 if (PyErr_Occurred()) SWIG_fail
;
20577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20585 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20586 PyObject
*resultobj
;
20587 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20589 PyObject
* obj0
= 0 ;
20590 PyObject
* obj1
= 0 ;
20591 char *kwnames
[] = {
20592 (char *) "self",(char *) "mode", NULL
20595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20598 arg2
= (int)SWIG_As_int(obj1
);
20599 if (PyErr_Occurred()) SWIG_fail
;
20601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20602 (arg1
)->SetPrintMode(arg2
);
20604 wxPyEndAllowThreads(__tstate
);
20605 if (PyErr_Occurred()) SWIG_fail
;
20607 Py_INCREF(Py_None
); resultobj
= Py_None
;
20614 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20615 PyObject
*resultobj
;
20616 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20618 PyObject
* obj0
= 0 ;
20619 char *kwnames
[] = {
20620 (char *) "self", NULL
20623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20628 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
20630 wxPyEndAllowThreads(__tstate
);
20631 if (PyErr_Occurred()) SWIG_fail
;
20633 resultobj
= SWIG_From_int((int)result
);
20640 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20641 PyObject
*resultobj
;
20642 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20644 PyObject
* obj0
= 0 ;
20645 PyObject
* obj1
= 0 ;
20646 char *kwnames
[] = {
20647 (char *) "self",(char *) "mode", NULL
20650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20653 arg2
= (int)SWIG_As_int(obj1
);
20654 if (PyErr_Occurred()) SWIG_fail
;
20656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20657 (arg1
)->SetAssertMode(arg2
);
20659 wxPyEndAllowThreads(__tstate
);
20660 if (PyErr_Occurred()) SWIG_fail
;
20662 Py_INCREF(Py_None
); resultobj
= Py_None
;
20669 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20670 PyObject
*resultobj
;
20671 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20673 PyObject
* obj0
= 0 ;
20674 char *kwnames
[] = {
20675 (char *) "self", NULL
20678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20683 result
= (int)(arg1
)->GetAssertMode();
20685 wxPyEndAllowThreads(__tstate
);
20686 if (PyErr_Occurred()) SWIG_fail
;
20688 resultobj
= SWIG_From_int((int)result
);
20695 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20696 PyObject
*resultobj
;
20698 char *kwnames
[] = {
20702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
20704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20705 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20707 wxPyEndAllowThreads(__tstate
);
20708 if (PyErr_Occurred()) SWIG_fail
;
20711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20719 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20720 PyObject
*resultobj
;
20722 char *kwnames
[] = {
20726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
20728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20729 result
= (long)wxPyApp::GetMacAboutMenuItemId();
20731 wxPyEndAllowThreads(__tstate
);
20732 if (PyErr_Occurred()) SWIG_fail
;
20734 resultobj
= SWIG_From_long((long)result
);
20741 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20742 PyObject
*resultobj
;
20744 char *kwnames
[] = {
20748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
20750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20751 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
20753 wxPyEndAllowThreads(__tstate
);
20754 if (PyErr_Occurred()) SWIG_fail
;
20756 resultobj
= SWIG_From_long((long)result
);
20763 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20764 PyObject
*resultobj
;
20766 char *kwnames
[] = {
20770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
20772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20773 result
= (long)wxPyApp::GetMacExitMenuItemId();
20775 wxPyEndAllowThreads(__tstate
);
20776 if (PyErr_Occurred()) SWIG_fail
;
20778 resultobj
= SWIG_From_long((long)result
);
20785 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20786 PyObject
*resultobj
;
20788 char *kwnames
[] = {
20792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
20794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20795 result
= wxPyApp::GetMacHelpMenuTitleName();
20797 wxPyEndAllowThreads(__tstate
);
20798 if (PyErr_Occurred()) SWIG_fail
;
20802 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20804 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20813 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20814 PyObject
*resultobj
;
20816 PyObject
* obj0
= 0 ;
20817 char *kwnames
[] = {
20818 (char *) "val", NULL
20821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
20822 arg1
= (bool)SWIG_As_bool(obj0
);
20823 if (PyErr_Occurred()) SWIG_fail
;
20825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20826 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
20828 wxPyEndAllowThreads(__tstate
);
20829 if (PyErr_Occurred()) SWIG_fail
;
20831 Py_INCREF(Py_None
); resultobj
= Py_None
;
20838 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20839 PyObject
*resultobj
;
20841 PyObject
* obj0
= 0 ;
20842 char *kwnames
[] = {
20843 (char *) "val", NULL
20846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
20847 arg1
= (long)SWIG_As_long(obj0
);
20848 if (PyErr_Occurred()) SWIG_fail
;
20850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20851 wxPyApp::SetMacAboutMenuItemId(arg1
);
20853 wxPyEndAllowThreads(__tstate
);
20854 if (PyErr_Occurred()) SWIG_fail
;
20856 Py_INCREF(Py_None
); resultobj
= Py_None
;
20863 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20864 PyObject
*resultobj
;
20866 PyObject
* obj0
= 0 ;
20867 char *kwnames
[] = {
20868 (char *) "val", NULL
20871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
20872 arg1
= (long)SWIG_As_long(obj0
);
20873 if (PyErr_Occurred()) SWIG_fail
;
20875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20876 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
20878 wxPyEndAllowThreads(__tstate
);
20879 if (PyErr_Occurred()) SWIG_fail
;
20881 Py_INCREF(Py_None
); resultobj
= Py_None
;
20888 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20889 PyObject
*resultobj
;
20891 PyObject
* obj0
= 0 ;
20892 char *kwnames
[] = {
20893 (char *) "val", NULL
20896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
20897 arg1
= (long)SWIG_As_long(obj0
);
20898 if (PyErr_Occurred()) SWIG_fail
;
20900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20901 wxPyApp::SetMacExitMenuItemId(arg1
);
20903 wxPyEndAllowThreads(__tstate
);
20904 if (PyErr_Occurred()) SWIG_fail
;
20906 Py_INCREF(Py_None
); resultobj
= Py_None
;
20913 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20914 PyObject
*resultobj
;
20915 wxString
*arg1
= 0 ;
20916 bool temp1
= False
;
20917 PyObject
* obj0
= 0 ;
20918 char *kwnames
[] = {
20919 (char *) "val", NULL
20922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
20924 arg1
= wxString_in_helper(obj0
);
20925 if (arg1
== NULL
) SWIG_fail
;
20929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20930 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
20932 wxPyEndAllowThreads(__tstate
);
20933 if (PyErr_Occurred()) SWIG_fail
;
20935 Py_INCREF(Py_None
); resultobj
= Py_None
;
20950 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20951 PyObject
*resultobj
;
20952 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20953 PyObject
* obj0
= 0 ;
20954 char *kwnames
[] = {
20955 (char *) "self", NULL
20958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
20959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20963 (arg1
)->_BootstrapApp();
20965 wxPyEndAllowThreads(__tstate
);
20966 if (PyErr_Occurred()) SWIG_fail
;
20968 Py_INCREF(Py_None
); resultobj
= Py_None
;
20975 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20976 PyObject
*resultobj
;
20978 char *kwnames
[] = {
20982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
20984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20985 result
= (int)PyApp_GetComCtl32Version();
20987 wxPyEndAllowThreads(__tstate
);
20988 if (PyErr_Occurred()) SWIG_fail
;
20990 resultobj
= SWIG_From_int((int)result
);
20997 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
20999 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21000 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
21002 return Py_BuildValue((char *)"");
21004 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21005 PyObject
*resultobj
;
21006 char *kwnames
[] = {
21010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
21012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21015 wxPyEndAllowThreads(__tstate
);
21016 if (PyErr_Occurred()) SWIG_fail
;
21018 Py_INCREF(Py_None
); resultobj
= Py_None
;
21025 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21026 PyObject
*resultobj
;
21028 char *kwnames
[] = {
21032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
21034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21035 result
= (bool)wxYield();
21037 wxPyEndAllowThreads(__tstate
);
21038 if (PyErr_Occurred()) SWIG_fail
;
21041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21049 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21050 PyObject
*resultobj
;
21052 char *kwnames
[] = {
21056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
21058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21059 result
= (bool)wxYieldIfNeeded();
21061 wxPyEndAllowThreads(__tstate
);
21062 if (PyErr_Occurred()) SWIG_fail
;
21065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21073 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21074 PyObject
*resultobj
;
21075 wxWindow
*arg1
= (wxWindow
*) NULL
;
21076 bool arg2
= (bool) False
;
21078 PyObject
* obj0
= 0 ;
21079 PyObject
* obj1
= 0 ;
21080 char *kwnames
[] = {
21081 (char *) "win",(char *) "onlyIfNeeded", NULL
21084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
21086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21090 arg2
= (bool)SWIG_As_bool(obj1
);
21091 if (PyErr_Occurred()) SWIG_fail
;
21094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21095 result
= (bool)wxSafeYield(arg1
,arg2
);
21097 wxPyEndAllowThreads(__tstate
);
21098 if (PyErr_Occurred()) SWIG_fail
;
21101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21109 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21110 PyObject
*resultobj
;
21111 char *kwnames
[] = {
21115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
21117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21120 wxPyEndAllowThreads(__tstate
);
21121 if (PyErr_Occurred()) SWIG_fail
;
21123 Py_INCREF(Py_None
); resultobj
= Py_None
;
21130 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21131 PyObject
*resultobj
;
21132 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
21133 wxEvent
*arg2
= 0 ;
21134 PyObject
* obj0
= 0 ;
21135 PyObject
* obj1
= 0 ;
21136 char *kwnames
[] = {
21137 (char *) "dest",(char *) "event", NULL
21140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
21142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21143 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
21144 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21146 if (arg2
== NULL
) {
21147 PyErr_SetString(PyExc_TypeError
,"null reference");
21151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21152 wxPostEvent(arg1
,*arg2
);
21154 wxPyEndAllowThreads(__tstate
);
21155 if (PyErr_Occurred()) SWIG_fail
;
21157 Py_INCREF(Py_None
); resultobj
= Py_None
;
21164 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21165 PyObject
*resultobj
;
21166 char *kwnames
[] = {
21170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
21172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21175 wxPyEndAllowThreads(__tstate
);
21176 if (PyErr_Occurred()) SWIG_fail
;
21178 Py_INCREF(Py_None
); resultobj
= Py_None
;
21185 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21186 PyObject
*resultobj
;
21188 char *kwnames
[] = {
21192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
21194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21195 result
= (wxPyApp
*)wxPyGetApp();
21197 wxPyEndAllowThreads(__tstate
);
21198 if (PyErr_Occurred()) SWIG_fail
;
21201 resultobj
= wxPyMake_wxObject(result
, 0);
21209 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21210 PyObject
*resultobj
;
21211 int arg1
= (int) 0 ;
21212 int arg2
= (int) 0 ;
21213 int arg3
= (int) 0 ;
21214 wxAcceleratorEntry
*result
;
21215 PyObject
* obj0
= 0 ;
21216 PyObject
* obj1
= 0 ;
21217 PyObject
* obj2
= 0 ;
21218 char *kwnames
[] = {
21219 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
21222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21224 arg1
= (int)SWIG_As_int(obj0
);
21225 if (PyErr_Occurred()) SWIG_fail
;
21228 arg2
= (int)SWIG_As_int(obj1
);
21229 if (PyErr_Occurred()) SWIG_fail
;
21232 arg3
= (int)SWIG_As_int(obj2
);
21233 if (PyErr_Occurred()) SWIG_fail
;
21236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21237 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
21239 wxPyEndAllowThreads(__tstate
);
21240 if (PyErr_Occurred()) SWIG_fail
;
21242 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
21249 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21250 PyObject
*resultobj
;
21251 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21252 PyObject
* obj0
= 0 ;
21253 char *kwnames
[] = {
21254 (char *) "self", NULL
21257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
21258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21264 wxPyEndAllowThreads(__tstate
);
21265 if (PyErr_Occurred()) SWIG_fail
;
21267 Py_INCREF(Py_None
); resultobj
= Py_None
;
21274 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21275 PyObject
*resultobj
;
21276 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21280 PyObject
* obj0
= 0 ;
21281 PyObject
* obj1
= 0 ;
21282 PyObject
* obj2
= 0 ;
21283 PyObject
* obj3
= 0 ;
21284 char *kwnames
[] = {
21285 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
21288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21291 arg2
= (int)SWIG_As_int(obj1
);
21292 if (PyErr_Occurred()) SWIG_fail
;
21293 arg3
= (int)SWIG_As_int(obj2
);
21294 if (PyErr_Occurred()) SWIG_fail
;
21295 arg4
= (int)SWIG_As_int(obj3
);
21296 if (PyErr_Occurred()) SWIG_fail
;
21298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21299 (arg1
)->Set(arg2
,arg3
,arg4
);
21301 wxPyEndAllowThreads(__tstate
);
21302 if (PyErr_Occurred()) SWIG_fail
;
21304 Py_INCREF(Py_None
); resultobj
= Py_None
;
21311 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21312 PyObject
*resultobj
;
21313 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21315 PyObject
* obj0
= 0 ;
21316 char *kwnames
[] = {
21317 (char *) "self", NULL
21320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
21321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21325 result
= (int)(arg1
)->GetFlags();
21327 wxPyEndAllowThreads(__tstate
);
21328 if (PyErr_Occurred()) SWIG_fail
;
21330 resultobj
= SWIG_From_int((int)result
);
21337 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21338 PyObject
*resultobj
;
21339 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21341 PyObject
* obj0
= 0 ;
21342 char *kwnames
[] = {
21343 (char *) "self", NULL
21346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
21347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21351 result
= (int)(arg1
)->GetKeyCode();
21353 wxPyEndAllowThreads(__tstate
);
21354 if (PyErr_Occurred()) SWIG_fail
;
21356 resultobj
= SWIG_From_int((int)result
);
21363 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21364 PyObject
*resultobj
;
21365 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21367 PyObject
* obj0
= 0 ;
21368 char *kwnames
[] = {
21369 (char *) "self", NULL
21372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
21373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21377 result
= (int)(arg1
)->GetCommand();
21379 wxPyEndAllowThreads(__tstate
);
21380 if (PyErr_Occurred()) SWIG_fail
;
21382 resultobj
= SWIG_From_int((int)result
);
21389 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
21391 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21392 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
21394 return Py_BuildValue((char *)"");
21396 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21397 PyObject
*resultobj
;
21399 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
21400 wxAcceleratorTable
*result
;
21401 PyObject
* obj0
= 0 ;
21402 char *kwnames
[] = {
21406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21408 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
21409 if (arg2
) arg1
= PyList_Size(obj0
);
21413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21414 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
21416 wxPyEndAllowThreads(__tstate
);
21417 if (PyErr_Occurred()) SWIG_fail
;
21419 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
21432 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21433 PyObject
*resultobj
;
21434 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21435 PyObject
* obj0
= 0 ;
21436 char *kwnames
[] = {
21437 (char *) "self", NULL
21440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21447 wxPyEndAllowThreads(__tstate
);
21448 if (PyErr_Occurred()) SWIG_fail
;
21450 Py_INCREF(Py_None
); resultobj
= Py_None
;
21457 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21458 PyObject
*resultobj
;
21459 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21461 PyObject
* obj0
= 0 ;
21462 char *kwnames
[] = {
21463 (char *) "self", NULL
21466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
21467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21471 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
21473 wxPyEndAllowThreads(__tstate
);
21474 if (PyErr_Occurred()) SWIG_fail
;
21477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21485 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
21487 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21488 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
21490 return Py_BuildValue((char *)"");
21492 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
21493 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
21498 static PyObject
*_wrap_NullAcceleratorTable_get() {
21501 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
21506 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21507 PyObject
*resultobj
;
21508 wxString
*arg1
= 0 ;
21509 wxAcceleratorEntry
*result
;
21510 bool temp1
= False
;
21511 PyObject
* obj0
= 0 ;
21512 char *kwnames
[] = {
21513 (char *) "label", NULL
21516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
21518 arg1
= wxString_in_helper(obj0
);
21519 if (arg1
== NULL
) SWIG_fail
;
21523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21524 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
21526 wxPyEndAllowThreads(__tstate
);
21527 if (PyErr_Occurred()) SWIG_fail
;
21529 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
21544 static int _wrap_PanelNameStr_set(PyObject
*) {
21545 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
21550 static PyObject
*_wrap_PanelNameStr_get() {
21555 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21557 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21564 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21565 PyObject
*resultobj
;
21566 wxVisualAttributes
*result
;
21567 char *kwnames
[] = {
21571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
21573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21574 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
21576 wxPyEndAllowThreads(__tstate
);
21577 if (PyErr_Occurred()) SWIG_fail
;
21579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
21586 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21587 PyObject
*resultobj
;
21588 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21589 PyObject
* obj0
= 0 ;
21590 char *kwnames
[] = {
21591 (char *) "self", NULL
21594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
21595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21599 delete_wxVisualAttributes(arg1
);
21601 wxPyEndAllowThreads(__tstate
);
21602 if (PyErr_Occurred()) SWIG_fail
;
21604 Py_INCREF(Py_None
); resultobj
= Py_None
;
21611 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21612 PyObject
*resultobj
;
21613 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21614 wxFont
*arg2
= (wxFont
*) 0 ;
21615 PyObject
* obj0
= 0 ;
21616 PyObject
* obj1
= 0 ;
21617 char *kwnames
[] = {
21618 (char *) "self",(char *) "font", NULL
21621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21624 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
21625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21626 if (arg1
) (arg1
)->font
= *arg2
;
21628 Py_INCREF(Py_None
); resultobj
= Py_None
;
21635 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21636 PyObject
*resultobj
;
21637 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21639 PyObject
* obj0
= 0 ;
21640 char *kwnames
[] = {
21641 (char *) "self", NULL
21644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
21645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21647 result
= (wxFont
*)& ((arg1
)->font
);
21649 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
21656 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21657 PyObject
*resultobj
;
21658 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21659 wxColour
*arg2
= (wxColour
*) 0 ;
21660 PyObject
* obj0
= 0 ;
21661 PyObject
* obj1
= 0 ;
21662 char *kwnames
[] = {
21663 (char *) "self",(char *) "colFg", NULL
21666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21669 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21671 if (arg1
) (arg1
)->colFg
= *arg2
;
21673 Py_INCREF(Py_None
); resultobj
= Py_None
;
21680 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21681 PyObject
*resultobj
;
21682 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21684 PyObject
* obj0
= 0 ;
21685 char *kwnames
[] = {
21686 (char *) "self", NULL
21689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
21690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21692 result
= (wxColour
*)& ((arg1
)->colFg
);
21694 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21701 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21702 PyObject
*resultobj
;
21703 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21704 wxColour
*arg2
= (wxColour
*) 0 ;
21705 PyObject
* obj0
= 0 ;
21706 PyObject
* obj1
= 0 ;
21707 char *kwnames
[] = {
21708 (char *) "self",(char *) "colBg", NULL
21711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21714 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21716 if (arg1
) (arg1
)->colBg
= *arg2
;
21718 Py_INCREF(Py_None
); resultobj
= Py_None
;
21725 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21726 PyObject
*resultobj
;
21727 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21729 PyObject
* obj0
= 0 ;
21730 char *kwnames
[] = {
21731 (char *) "self", NULL
21734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
21735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21737 result
= (wxColour
*)& ((arg1
)->colBg
);
21739 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21746 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
21748 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21749 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
21751 return Py_BuildValue((char *)"");
21753 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21754 PyObject
*resultobj
;
21755 wxWindow
*arg1
= (wxWindow
*) 0 ;
21756 int arg2
= (int) (int)-1 ;
21757 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21758 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21759 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21760 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21761 long arg5
= (long) 0 ;
21762 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21763 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21767 bool temp6
= False
;
21768 PyObject
* obj0
= 0 ;
21769 PyObject
* obj1
= 0 ;
21770 PyObject
* obj2
= 0 ;
21771 PyObject
* obj3
= 0 ;
21772 PyObject
* obj4
= 0 ;
21773 PyObject
* obj5
= 0 ;
21774 char *kwnames
[] = {
21775 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21782 arg2
= (int)SWIG_As_int(obj1
);
21783 if (PyErr_Occurred()) SWIG_fail
;
21788 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21794 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21798 arg5
= (long)SWIG_As_long(obj4
);
21799 if (PyErr_Occurred()) SWIG_fail
;
21803 arg6
= wxString_in_helper(obj5
);
21804 if (arg6
== NULL
) SWIG_fail
;
21809 if (!wxPyCheckForApp()) SWIG_fail
;
21810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21811 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21813 wxPyEndAllowThreads(__tstate
);
21814 if (PyErr_Occurred()) SWIG_fail
;
21816 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
21831 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21832 PyObject
*resultobj
;
21834 char *kwnames
[] = {
21838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
21840 if (!wxPyCheckForApp()) SWIG_fail
;
21841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21842 result
= (wxWindow
*)new wxWindow();
21844 wxPyEndAllowThreads(__tstate
);
21845 if (PyErr_Occurred()) SWIG_fail
;
21847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
21854 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21855 PyObject
*resultobj
;
21856 wxWindow
*arg1
= (wxWindow
*) 0 ;
21857 wxWindow
*arg2
= (wxWindow
*) 0 ;
21858 int arg3
= (int) (int)-1 ;
21859 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21860 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21861 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21862 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21863 long arg6
= (long) 0 ;
21864 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
21865 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21869 bool temp7
= False
;
21870 PyObject
* obj0
= 0 ;
21871 PyObject
* obj1
= 0 ;
21872 PyObject
* obj2
= 0 ;
21873 PyObject
* obj3
= 0 ;
21874 PyObject
* obj4
= 0 ;
21875 PyObject
* obj5
= 0 ;
21876 PyObject
* obj6
= 0 ;
21877 char *kwnames
[] = {
21878 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21884 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21887 arg3
= (int)SWIG_As_int(obj2
);
21888 if (PyErr_Occurred()) SWIG_fail
;
21893 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21899 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21903 arg6
= (long)SWIG_As_long(obj5
);
21904 if (PyErr_Occurred()) SWIG_fail
;
21908 arg7
= wxString_in_helper(obj6
);
21909 if (arg7
== NULL
) SWIG_fail
;
21914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21915 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21917 wxPyEndAllowThreads(__tstate
);
21918 if (PyErr_Occurred()) SWIG_fail
;
21921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21937 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21938 PyObject
*resultobj
;
21939 wxWindow
*arg1
= (wxWindow
*) 0 ;
21940 bool arg2
= (bool) False
;
21942 PyObject
* obj0
= 0 ;
21943 PyObject
* obj1
= 0 ;
21944 char *kwnames
[] = {
21945 (char *) "self",(char *) "force", NULL
21948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
21949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21952 arg2
= (bool)SWIG_As_bool(obj1
);
21953 if (PyErr_Occurred()) SWIG_fail
;
21956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21957 result
= (bool)(arg1
)->Close(arg2
);
21959 wxPyEndAllowThreads(__tstate
);
21960 if (PyErr_Occurred()) SWIG_fail
;
21963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21971 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21972 PyObject
*resultobj
;
21973 wxWindow
*arg1
= (wxWindow
*) 0 ;
21975 PyObject
* obj0
= 0 ;
21976 char *kwnames
[] = {
21977 (char *) "self", NULL
21980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
21981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21985 result
= (bool)(arg1
)->Destroy();
21987 wxPyEndAllowThreads(__tstate
);
21988 if (PyErr_Occurred()) SWIG_fail
;
21991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21999 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22000 PyObject
*resultobj
;
22001 wxWindow
*arg1
= (wxWindow
*) 0 ;
22003 PyObject
* obj0
= 0 ;
22004 char *kwnames
[] = {
22005 (char *) "self", NULL
22008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
22009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22013 result
= (bool)(arg1
)->DestroyChildren();
22015 wxPyEndAllowThreads(__tstate
);
22016 if (PyErr_Occurred()) SWIG_fail
;
22019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22027 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22028 PyObject
*resultobj
;
22029 wxWindow
*arg1
= (wxWindow
*) 0 ;
22031 PyObject
* obj0
= 0 ;
22032 char *kwnames
[] = {
22033 (char *) "self", NULL
22036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
22037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22041 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
22043 wxPyEndAllowThreads(__tstate
);
22044 if (PyErr_Occurred()) SWIG_fail
;
22047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22055 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22056 PyObject
*resultobj
;
22057 wxWindow
*arg1
= (wxWindow
*) 0 ;
22058 wxString
*arg2
= 0 ;
22059 bool temp2
= False
;
22060 PyObject
* obj0
= 0 ;
22061 PyObject
* obj1
= 0 ;
22062 char *kwnames
[] = {
22063 (char *) "self",(char *) "title", NULL
22066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
22067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22070 arg2
= wxString_in_helper(obj1
);
22071 if (arg2
== NULL
) SWIG_fail
;
22075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22076 (arg1
)->SetTitle((wxString
const &)*arg2
);
22078 wxPyEndAllowThreads(__tstate
);
22079 if (PyErr_Occurred()) SWIG_fail
;
22081 Py_INCREF(Py_None
); resultobj
= Py_None
;
22096 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22097 PyObject
*resultobj
;
22098 wxWindow
*arg1
= (wxWindow
*) 0 ;
22100 PyObject
* obj0
= 0 ;
22101 char *kwnames
[] = {
22102 (char *) "self", NULL
22105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
22106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22110 result
= ((wxWindow
const *)arg1
)->GetTitle();
22112 wxPyEndAllowThreads(__tstate
);
22113 if (PyErr_Occurred()) SWIG_fail
;
22117 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22119 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22128 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22129 PyObject
*resultobj
;
22130 wxWindow
*arg1
= (wxWindow
*) 0 ;
22131 wxString
*arg2
= 0 ;
22132 bool temp2
= False
;
22133 PyObject
* obj0
= 0 ;
22134 PyObject
* obj1
= 0 ;
22135 char *kwnames
[] = {
22136 (char *) "self",(char *) "label", NULL
22139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22143 arg2
= wxString_in_helper(obj1
);
22144 if (arg2
== NULL
) SWIG_fail
;
22148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22149 (arg1
)->SetLabel((wxString
const &)*arg2
);
22151 wxPyEndAllowThreads(__tstate
);
22152 if (PyErr_Occurred()) SWIG_fail
;
22154 Py_INCREF(Py_None
); resultobj
= Py_None
;
22169 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22170 PyObject
*resultobj
;
22171 wxWindow
*arg1
= (wxWindow
*) 0 ;
22173 PyObject
* obj0
= 0 ;
22174 char *kwnames
[] = {
22175 (char *) "self", NULL
22178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
22179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22183 result
= ((wxWindow
const *)arg1
)->GetLabel();
22185 wxPyEndAllowThreads(__tstate
);
22186 if (PyErr_Occurred()) SWIG_fail
;
22190 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22192 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22201 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22202 PyObject
*resultobj
;
22203 wxWindow
*arg1
= (wxWindow
*) 0 ;
22204 wxString
*arg2
= 0 ;
22205 bool temp2
= False
;
22206 PyObject
* obj0
= 0 ;
22207 PyObject
* obj1
= 0 ;
22208 char *kwnames
[] = {
22209 (char *) "self",(char *) "name", NULL
22212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
22213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22216 arg2
= wxString_in_helper(obj1
);
22217 if (arg2
== NULL
) SWIG_fail
;
22221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22222 (arg1
)->SetName((wxString
const &)*arg2
);
22224 wxPyEndAllowThreads(__tstate
);
22225 if (PyErr_Occurred()) SWIG_fail
;
22227 Py_INCREF(Py_None
); resultobj
= Py_None
;
22242 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22243 PyObject
*resultobj
;
22244 wxWindow
*arg1
= (wxWindow
*) 0 ;
22246 PyObject
* obj0
= 0 ;
22247 char *kwnames
[] = {
22248 (char *) "self", NULL
22251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
22252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22256 result
= ((wxWindow
const *)arg1
)->GetName();
22258 wxPyEndAllowThreads(__tstate
);
22259 if (PyErr_Occurred()) SWIG_fail
;
22263 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22265 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22274 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22275 PyObject
*resultobj
;
22276 wxWindow
*arg1
= (wxWindow
*) 0 ;
22278 PyObject
* obj0
= 0 ;
22279 PyObject
* obj1
= 0 ;
22280 char *kwnames
[] = {
22281 (char *) "self",(char *) "variant", NULL
22284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
22285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22287 arg2
= (int)SWIG_As_int(obj1
);
22288 if (PyErr_Occurred()) SWIG_fail
;
22290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22291 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
22293 wxPyEndAllowThreads(__tstate
);
22294 if (PyErr_Occurred()) SWIG_fail
;
22296 Py_INCREF(Py_None
); resultobj
= Py_None
;
22303 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22304 PyObject
*resultobj
;
22305 wxWindow
*arg1
= (wxWindow
*) 0 ;
22307 PyObject
* obj0
= 0 ;
22308 char *kwnames
[] = {
22309 (char *) "self", NULL
22312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
22313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22317 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
22319 wxPyEndAllowThreads(__tstate
);
22320 if (PyErr_Occurred()) SWIG_fail
;
22322 resultobj
= SWIG_From_int((int)result
);
22329 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22330 PyObject
*resultobj
;
22331 wxWindow
*arg1
= (wxWindow
*) 0 ;
22333 PyObject
* obj0
= 0 ;
22334 PyObject
* obj1
= 0 ;
22335 char *kwnames
[] = {
22336 (char *) "self",(char *) "winid", NULL
22339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
22340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22342 arg2
= (int)SWIG_As_int(obj1
);
22343 if (PyErr_Occurred()) SWIG_fail
;
22345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22346 (arg1
)->SetId(arg2
);
22348 wxPyEndAllowThreads(__tstate
);
22349 if (PyErr_Occurred()) SWIG_fail
;
22351 Py_INCREF(Py_None
); resultobj
= Py_None
;
22358 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22359 PyObject
*resultobj
;
22360 wxWindow
*arg1
= (wxWindow
*) 0 ;
22362 PyObject
* obj0
= 0 ;
22363 char *kwnames
[] = {
22364 (char *) "self", NULL
22367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
22368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22372 result
= (int)((wxWindow
const *)arg1
)->GetId();
22374 wxPyEndAllowThreads(__tstate
);
22375 if (PyErr_Occurred()) SWIG_fail
;
22377 resultobj
= SWIG_From_int((int)result
);
22384 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22385 PyObject
*resultobj
;
22387 char *kwnames
[] = {
22391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
22393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22394 result
= (int)wxWindow::NewControlId();
22396 wxPyEndAllowThreads(__tstate
);
22397 if (PyErr_Occurred()) SWIG_fail
;
22399 resultobj
= SWIG_From_int((int)result
);
22406 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22407 PyObject
*resultobj
;
22410 PyObject
* obj0
= 0 ;
22411 char *kwnames
[] = {
22412 (char *) "winid", NULL
22415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
22416 arg1
= (int)SWIG_As_int(obj0
);
22417 if (PyErr_Occurred()) SWIG_fail
;
22419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22420 result
= (int)wxWindow::NextControlId(arg1
);
22422 wxPyEndAllowThreads(__tstate
);
22423 if (PyErr_Occurred()) SWIG_fail
;
22425 resultobj
= SWIG_From_int((int)result
);
22432 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22433 PyObject
*resultobj
;
22436 PyObject
* obj0
= 0 ;
22437 char *kwnames
[] = {
22438 (char *) "winid", NULL
22441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
22442 arg1
= (int)SWIG_As_int(obj0
);
22443 if (PyErr_Occurred()) SWIG_fail
;
22445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22446 result
= (int)wxWindow::PrevControlId(arg1
);
22448 wxPyEndAllowThreads(__tstate
);
22449 if (PyErr_Occurred()) SWIG_fail
;
22451 resultobj
= SWIG_From_int((int)result
);
22458 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22459 PyObject
*resultobj
;
22460 wxWindow
*arg1
= (wxWindow
*) 0 ;
22463 PyObject
* obj0
= 0 ;
22464 PyObject
* obj1
= 0 ;
22465 char *kwnames
[] = {
22466 (char *) "self",(char *) "size", NULL
22469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22474 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22478 (arg1
)->SetSize((wxSize
const &)*arg2
);
22480 wxPyEndAllowThreads(__tstate
);
22481 if (PyErr_Occurred()) SWIG_fail
;
22483 Py_INCREF(Py_None
); resultobj
= Py_None
;
22490 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22491 PyObject
*resultobj
;
22492 wxWindow
*arg1
= (wxWindow
*) 0 ;
22497 int arg6
= (int) wxSIZE_AUTO
;
22498 PyObject
* obj0
= 0 ;
22499 PyObject
* obj1
= 0 ;
22500 PyObject
* obj2
= 0 ;
22501 PyObject
* obj3
= 0 ;
22502 PyObject
* obj4
= 0 ;
22503 PyObject
* obj5
= 0 ;
22504 char *kwnames
[] = {
22505 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22511 arg2
= (int)SWIG_As_int(obj1
);
22512 if (PyErr_Occurred()) SWIG_fail
;
22513 arg3
= (int)SWIG_As_int(obj2
);
22514 if (PyErr_Occurred()) SWIG_fail
;
22515 arg4
= (int)SWIG_As_int(obj3
);
22516 if (PyErr_Occurred()) SWIG_fail
;
22517 arg5
= (int)SWIG_As_int(obj4
);
22518 if (PyErr_Occurred()) SWIG_fail
;
22520 arg6
= (int)SWIG_As_int(obj5
);
22521 if (PyErr_Occurred()) SWIG_fail
;
22524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22525 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22527 wxPyEndAllowThreads(__tstate
);
22528 if (PyErr_Occurred()) SWIG_fail
;
22530 Py_INCREF(Py_None
); resultobj
= Py_None
;
22537 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22538 PyObject
*resultobj
;
22539 wxWindow
*arg1
= (wxWindow
*) 0 ;
22541 int arg3
= (int) wxSIZE_AUTO
;
22543 PyObject
* obj0
= 0 ;
22544 PyObject
* obj1
= 0 ;
22545 PyObject
* obj2
= 0 ;
22546 char *kwnames
[] = {
22547 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22555 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22558 arg3
= (int)SWIG_As_int(obj2
);
22559 if (PyErr_Occurred()) SWIG_fail
;
22562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22563 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
22565 wxPyEndAllowThreads(__tstate
);
22566 if (PyErr_Occurred()) SWIG_fail
;
22568 Py_INCREF(Py_None
); resultobj
= Py_None
;
22575 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22576 PyObject
*resultobj
;
22577 wxWindow
*arg1
= (wxWindow
*) 0 ;
22580 PyObject
* obj0
= 0 ;
22581 PyObject
* obj1
= 0 ;
22582 PyObject
* obj2
= 0 ;
22583 char *kwnames
[] = {
22584 (char *) "self",(char *) "width",(char *) "height", NULL
22587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22590 arg2
= (int)SWIG_As_int(obj1
);
22591 if (PyErr_Occurred()) SWIG_fail
;
22592 arg3
= (int)SWIG_As_int(obj2
);
22593 if (PyErr_Occurred()) SWIG_fail
;
22595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22596 (arg1
)->SetSize(arg2
,arg3
);
22598 wxPyEndAllowThreads(__tstate
);
22599 if (PyErr_Occurred()) SWIG_fail
;
22601 Py_INCREF(Py_None
); resultobj
= Py_None
;
22608 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22609 PyObject
*resultobj
;
22610 wxWindow
*arg1
= (wxWindow
*) 0 ;
22611 wxPoint
*arg2
= 0 ;
22612 int arg3
= (int) wxSIZE_USE_EXISTING
;
22614 PyObject
* obj0
= 0 ;
22615 PyObject
* obj1
= 0 ;
22616 PyObject
* obj2
= 0 ;
22617 char *kwnames
[] = {
22618 (char *) "self",(char *) "pt",(char *) "flags", NULL
22621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22626 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22629 arg3
= (int)SWIG_As_int(obj2
);
22630 if (PyErr_Occurred()) SWIG_fail
;
22633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22634 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
22636 wxPyEndAllowThreads(__tstate
);
22637 if (PyErr_Occurred()) SWIG_fail
;
22639 Py_INCREF(Py_None
); resultobj
= Py_None
;
22646 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22647 PyObject
*resultobj
;
22648 wxWindow
*arg1
= (wxWindow
*) 0 ;
22651 int arg4
= (int) wxSIZE_USE_EXISTING
;
22652 PyObject
* obj0
= 0 ;
22653 PyObject
* obj1
= 0 ;
22654 PyObject
* obj2
= 0 ;
22655 PyObject
* obj3
= 0 ;
22656 char *kwnames
[] = {
22657 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22663 arg2
= (int)SWIG_As_int(obj1
);
22664 if (PyErr_Occurred()) SWIG_fail
;
22665 arg3
= (int)SWIG_As_int(obj2
);
22666 if (PyErr_Occurred()) SWIG_fail
;
22668 arg4
= (int)SWIG_As_int(obj3
);
22669 if (PyErr_Occurred()) SWIG_fail
;
22672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22673 (arg1
)->Move(arg2
,arg3
,arg4
);
22675 wxPyEndAllowThreads(__tstate
);
22676 if (PyErr_Occurred()) SWIG_fail
;
22678 Py_INCREF(Py_None
); resultobj
= Py_None
;
22685 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22686 PyObject
*resultobj
;
22687 wxWindow
*arg1
= (wxWindow
*) 0 ;
22688 wxSize
const &arg2_defvalue
= wxDefaultSize
;
22689 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
22691 PyObject
* obj0
= 0 ;
22692 PyObject
* obj1
= 0 ;
22693 char *kwnames
[] = {
22694 (char *) "self",(char *) "size", NULL
22697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22703 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22708 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
22710 wxPyEndAllowThreads(__tstate
);
22711 if (PyErr_Occurred()) SWIG_fail
;
22713 Py_INCREF(Py_None
); resultobj
= Py_None
;
22720 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22721 PyObject
*resultobj
;
22722 wxWindow
*arg1
= (wxWindow
*) 0 ;
22723 PyObject
* obj0
= 0 ;
22724 char *kwnames
[] = {
22725 (char *) "self", NULL
22728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
22729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22735 wxPyEndAllowThreads(__tstate
);
22736 if (PyErr_Occurred()) SWIG_fail
;
22738 Py_INCREF(Py_None
); resultobj
= Py_None
;
22745 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22746 PyObject
*resultobj
;
22747 wxWindow
*arg1
= (wxWindow
*) 0 ;
22748 PyObject
* obj0
= 0 ;
22749 char *kwnames
[] = {
22750 (char *) "self", NULL
22753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
22754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22760 wxPyEndAllowThreads(__tstate
);
22761 if (PyErr_Occurred()) SWIG_fail
;
22763 Py_INCREF(Py_None
); resultobj
= Py_None
;
22770 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22771 PyObject
*resultobj
;
22772 wxWindow
*arg1
= (wxWindow
*) 0 ;
22775 PyObject
* obj0
= 0 ;
22776 PyObject
* obj1
= 0 ;
22777 char *kwnames
[] = {
22778 (char *) "self",(char *) "size", NULL
22781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22786 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22790 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
22792 wxPyEndAllowThreads(__tstate
);
22793 if (PyErr_Occurred()) SWIG_fail
;
22795 Py_INCREF(Py_None
); resultobj
= Py_None
;
22802 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22803 PyObject
*resultobj
;
22804 wxWindow
*arg1
= (wxWindow
*) 0 ;
22807 PyObject
* obj0
= 0 ;
22808 PyObject
* obj1
= 0 ;
22809 PyObject
* obj2
= 0 ;
22810 char *kwnames
[] = {
22811 (char *) "self",(char *) "width",(char *) "height", NULL
22814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22817 arg2
= (int)SWIG_As_int(obj1
);
22818 if (PyErr_Occurred()) SWIG_fail
;
22819 arg3
= (int)SWIG_As_int(obj2
);
22820 if (PyErr_Occurred()) SWIG_fail
;
22822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22823 (arg1
)->SetClientSize(arg2
,arg3
);
22825 wxPyEndAllowThreads(__tstate
);
22826 if (PyErr_Occurred()) SWIG_fail
;
22828 Py_INCREF(Py_None
); resultobj
= Py_None
;
22835 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22836 PyObject
*resultobj
;
22837 wxWindow
*arg1
= (wxWindow
*) 0 ;
22840 PyObject
* obj0
= 0 ;
22841 PyObject
* obj1
= 0 ;
22842 char *kwnames
[] = {
22843 (char *) "self",(char *) "rect", NULL
22846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22851 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22855 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
22857 wxPyEndAllowThreads(__tstate
);
22858 if (PyErr_Occurred()) SWIG_fail
;
22860 Py_INCREF(Py_None
); resultobj
= Py_None
;
22867 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22868 PyObject
*resultobj
;
22869 wxWindow
*arg1
= (wxWindow
*) 0 ;
22871 PyObject
* obj0
= 0 ;
22872 char *kwnames
[] = {
22873 (char *) "self", NULL
22876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
22877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22881 result
= (arg1
)->GetPosition();
22883 wxPyEndAllowThreads(__tstate
);
22884 if (PyErr_Occurred()) SWIG_fail
;
22887 wxPoint
* resultptr
;
22888 resultptr
= new wxPoint((wxPoint
&) result
);
22889 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22897 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22898 PyObject
*resultobj
;
22899 wxWindow
*arg1
= (wxWindow
*) 0 ;
22900 int *arg2
= (int *) 0 ;
22901 int *arg3
= (int *) 0 ;
22906 PyObject
* obj0
= 0 ;
22907 char *kwnames
[] = {
22908 (char *) "self", NULL
22911 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22912 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
22914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22918 (arg1
)->GetPosition(arg2
,arg3
);
22920 wxPyEndAllowThreads(__tstate
);
22921 if (PyErr_Occurred()) SWIG_fail
;
22923 Py_INCREF(Py_None
); resultobj
= Py_None
;
22924 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22925 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22926 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22927 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22934 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22935 PyObject
*resultobj
;
22936 wxWindow
*arg1
= (wxWindow
*) 0 ;
22938 PyObject
* obj0
= 0 ;
22939 char *kwnames
[] = {
22940 (char *) "self", NULL
22943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
22944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22948 result
= ((wxWindow
const *)arg1
)->GetSize();
22950 wxPyEndAllowThreads(__tstate
);
22951 if (PyErr_Occurred()) SWIG_fail
;
22954 wxSize
* resultptr
;
22955 resultptr
= new wxSize((wxSize
&) result
);
22956 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22964 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22965 PyObject
*resultobj
;
22966 wxWindow
*arg1
= (wxWindow
*) 0 ;
22967 int *arg2
= (int *) 0 ;
22968 int *arg3
= (int *) 0 ;
22973 PyObject
* obj0
= 0 ;
22974 char *kwnames
[] = {
22975 (char *) "self", NULL
22978 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22979 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
22981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22985 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
22987 wxPyEndAllowThreads(__tstate
);
22988 if (PyErr_Occurred()) SWIG_fail
;
22990 Py_INCREF(Py_None
); resultobj
= Py_None
;
22991 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22992 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22993 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22994 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23001 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23002 PyObject
*resultobj
;
23003 wxWindow
*arg1
= (wxWindow
*) 0 ;
23005 PyObject
* obj0
= 0 ;
23006 char *kwnames
[] = {
23007 (char *) "self", NULL
23010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
23011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23015 result
= ((wxWindow
const *)arg1
)->GetRect();
23017 wxPyEndAllowThreads(__tstate
);
23018 if (PyErr_Occurred()) SWIG_fail
;
23021 wxRect
* resultptr
;
23022 resultptr
= new wxRect((wxRect
&) result
);
23023 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
23031 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23032 PyObject
*resultobj
;
23033 wxWindow
*arg1
= (wxWindow
*) 0 ;
23035 PyObject
* obj0
= 0 ;
23036 char *kwnames
[] = {
23037 (char *) "self", NULL
23040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
23041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23045 result
= ((wxWindow
const *)arg1
)->GetClientSize();
23047 wxPyEndAllowThreads(__tstate
);
23048 if (PyErr_Occurred()) SWIG_fail
;
23051 wxSize
* resultptr
;
23052 resultptr
= new wxSize((wxSize
&) result
);
23053 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23061 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23062 PyObject
*resultobj
;
23063 wxWindow
*arg1
= (wxWindow
*) 0 ;
23064 int *arg2
= (int *) 0 ;
23065 int *arg3
= (int *) 0 ;
23070 PyObject
* obj0
= 0 ;
23071 char *kwnames
[] = {
23072 (char *) "self", NULL
23075 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23076 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
23078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23082 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
23084 wxPyEndAllowThreads(__tstate
);
23085 if (PyErr_Occurred()) SWIG_fail
;
23087 Py_INCREF(Py_None
); resultobj
= Py_None
;
23088 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23089 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23090 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23091 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23098 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23099 PyObject
*resultobj
;
23100 wxWindow
*arg1
= (wxWindow
*) 0 ;
23102 PyObject
* obj0
= 0 ;
23103 char *kwnames
[] = {
23104 (char *) "self", NULL
23107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
23108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23112 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
23114 wxPyEndAllowThreads(__tstate
);
23115 if (PyErr_Occurred()) SWIG_fail
;
23118 wxPoint
* resultptr
;
23119 resultptr
= new wxPoint((wxPoint
&) result
);
23120 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23128 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23129 PyObject
*resultobj
;
23130 wxWindow
*arg1
= (wxWindow
*) 0 ;
23132 PyObject
* obj0
= 0 ;
23133 char *kwnames
[] = {
23134 (char *) "self", NULL
23137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
23138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23142 result
= ((wxWindow
const *)arg1
)->GetClientRect();
23144 wxPyEndAllowThreads(__tstate
);
23145 if (PyErr_Occurred()) SWIG_fail
;
23148 wxRect
* resultptr
;
23149 resultptr
= new wxRect((wxRect
&) result
);
23150 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
23158 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23159 PyObject
*resultobj
;
23160 wxWindow
*arg1
= (wxWindow
*) 0 ;
23162 PyObject
* obj0
= 0 ;
23163 char *kwnames
[] = {
23164 (char *) "self", NULL
23167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
23168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23172 result
= ((wxWindow
const *)arg1
)->GetBestSize();
23174 wxPyEndAllowThreads(__tstate
);
23175 if (PyErr_Occurred()) SWIG_fail
;
23178 wxSize
* resultptr
;
23179 resultptr
= new wxSize((wxSize
&) result
);
23180 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23188 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23189 PyObject
*resultobj
;
23190 wxWindow
*arg1
= (wxWindow
*) 0 ;
23191 int *arg2
= (int *) 0 ;
23192 int *arg3
= (int *) 0 ;
23197 PyObject
* obj0
= 0 ;
23198 char *kwnames
[] = {
23199 (char *) "self", NULL
23202 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23203 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
23205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23209 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
23211 wxPyEndAllowThreads(__tstate
);
23212 if (PyErr_Occurred()) SWIG_fail
;
23214 Py_INCREF(Py_None
); resultobj
= Py_None
;
23215 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23216 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23217 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23218 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23225 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23226 PyObject
*resultobj
;
23227 wxWindow
*arg1
= (wxWindow
*) 0 ;
23228 PyObject
* obj0
= 0 ;
23229 char *kwnames
[] = {
23230 (char *) "self", NULL
23233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
23234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23238 (arg1
)->InvalidateBestSize();
23240 wxPyEndAllowThreads(__tstate
);
23241 if (PyErr_Occurred()) SWIG_fail
;
23243 Py_INCREF(Py_None
); resultobj
= Py_None
;
23250 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23251 PyObject
*resultobj
;
23252 wxWindow
*arg1
= (wxWindow
*) 0 ;
23254 PyObject
* obj0
= 0 ;
23255 char *kwnames
[] = {
23256 (char *) "self", NULL
23259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
23260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23264 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
23266 wxPyEndAllowThreads(__tstate
);
23267 if (PyErr_Occurred()) SWIG_fail
;
23270 wxSize
* resultptr
;
23271 resultptr
= new wxSize((wxSize
&) result
);
23272 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23280 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23281 PyObject
*resultobj
;
23282 wxWindow
*arg1
= (wxWindow
*) 0 ;
23284 PyObject
* obj0
= 0 ;
23285 char *kwnames
[] = {
23286 (char *) "self", NULL
23289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
23290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23294 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
23296 wxPyEndAllowThreads(__tstate
);
23297 if (PyErr_Occurred()) SWIG_fail
;
23300 wxSize
* resultptr
;
23301 resultptr
= new wxSize((wxSize
&) result
);
23302 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23310 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23311 PyObject
*resultobj
;
23312 wxWindow
*arg1
= (wxWindow
*) 0 ;
23313 int arg2
= (int) wxBOTH
;
23314 PyObject
* obj0
= 0 ;
23315 PyObject
* obj1
= 0 ;
23316 char *kwnames
[] = {
23317 (char *) "self",(char *) "direction", NULL
23320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
23321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23324 arg2
= (int)SWIG_As_int(obj1
);
23325 if (PyErr_Occurred()) SWIG_fail
;
23328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23329 (arg1
)->Center(arg2
);
23331 wxPyEndAllowThreads(__tstate
);
23332 if (PyErr_Occurred()) SWIG_fail
;
23334 Py_INCREF(Py_None
); resultobj
= Py_None
;
23341 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23342 PyObject
*resultobj
;
23343 wxWindow
*arg1
= (wxWindow
*) 0 ;
23344 int arg2
= (int) wxBOTH
;
23345 PyObject
* obj0
= 0 ;
23346 PyObject
* obj1
= 0 ;
23347 char *kwnames
[] = {
23348 (char *) "self",(char *) "dir", NULL
23351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
23352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23355 arg2
= (int)SWIG_As_int(obj1
);
23356 if (PyErr_Occurred()) SWIG_fail
;
23359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23360 (arg1
)->CenterOnScreen(arg2
);
23362 wxPyEndAllowThreads(__tstate
);
23363 if (PyErr_Occurred()) SWIG_fail
;
23365 Py_INCREF(Py_None
); resultobj
= Py_None
;
23372 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23373 PyObject
*resultobj
;
23374 wxWindow
*arg1
= (wxWindow
*) 0 ;
23375 int arg2
= (int) wxBOTH
;
23376 PyObject
* obj0
= 0 ;
23377 PyObject
* obj1
= 0 ;
23378 char *kwnames
[] = {
23379 (char *) "self",(char *) "dir", NULL
23382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
23383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23386 arg2
= (int)SWIG_As_int(obj1
);
23387 if (PyErr_Occurred()) SWIG_fail
;
23390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23391 (arg1
)->CenterOnParent(arg2
);
23393 wxPyEndAllowThreads(__tstate
);
23394 if (PyErr_Occurred()) SWIG_fail
;
23396 Py_INCREF(Py_None
); resultobj
= Py_None
;
23403 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23404 PyObject
*resultobj
;
23405 wxWindow
*arg1
= (wxWindow
*) 0 ;
23406 PyObject
* obj0
= 0 ;
23407 char *kwnames
[] = {
23408 (char *) "self", NULL
23411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
23412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23418 wxPyEndAllowThreads(__tstate
);
23419 if (PyErr_Occurred()) SWIG_fail
;
23421 Py_INCREF(Py_None
); resultobj
= Py_None
;
23428 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23429 PyObject
*resultobj
;
23430 wxWindow
*arg1
= (wxWindow
*) 0 ;
23431 PyObject
* obj0
= 0 ;
23432 char *kwnames
[] = {
23433 (char *) "self", NULL
23436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
23437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23441 (arg1
)->FitInside();
23443 wxPyEndAllowThreads(__tstate
);
23444 if (PyErr_Occurred()) SWIG_fail
;
23446 Py_INCREF(Py_None
); resultobj
= Py_None
;
23453 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23454 PyObject
*resultobj
;
23455 wxWindow
*arg1
= (wxWindow
*) 0 ;
23458 int arg4
= (int) -1 ;
23459 int arg5
= (int) -1 ;
23460 int arg6
= (int) -1 ;
23461 int arg7
= (int) -1 ;
23462 PyObject
* obj0
= 0 ;
23463 PyObject
* obj1
= 0 ;
23464 PyObject
* obj2
= 0 ;
23465 PyObject
* obj3
= 0 ;
23466 PyObject
* obj4
= 0 ;
23467 PyObject
* obj5
= 0 ;
23468 PyObject
* obj6
= 0 ;
23469 char *kwnames
[] = {
23470 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
23473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23476 arg2
= (int)SWIG_As_int(obj1
);
23477 if (PyErr_Occurred()) SWIG_fail
;
23478 arg3
= (int)SWIG_As_int(obj2
);
23479 if (PyErr_Occurred()) SWIG_fail
;
23481 arg4
= (int)SWIG_As_int(obj3
);
23482 if (PyErr_Occurred()) SWIG_fail
;
23485 arg5
= (int)SWIG_As_int(obj4
);
23486 if (PyErr_Occurred()) SWIG_fail
;
23489 arg6
= (int)SWIG_As_int(obj5
);
23490 if (PyErr_Occurred()) SWIG_fail
;
23493 arg7
= (int)SWIG_As_int(obj6
);
23494 if (PyErr_Occurred()) SWIG_fail
;
23497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23498 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23500 wxPyEndAllowThreads(__tstate
);
23501 if (PyErr_Occurred()) SWIG_fail
;
23503 Py_INCREF(Py_None
); resultobj
= Py_None
;
23510 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23511 PyObject
*resultobj
;
23512 wxWindow
*arg1
= (wxWindow
*) 0 ;
23514 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23515 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23516 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23517 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23521 PyObject
* obj0
= 0 ;
23522 PyObject
* obj1
= 0 ;
23523 PyObject
* obj2
= 0 ;
23524 PyObject
* obj3
= 0 ;
23525 char *kwnames
[] = {
23526 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
23529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23534 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23539 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23545 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23550 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
23552 wxPyEndAllowThreads(__tstate
);
23553 if (PyErr_Occurred()) SWIG_fail
;
23555 Py_INCREF(Py_None
); resultobj
= Py_None
;
23562 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23563 PyObject
*resultobj
;
23564 wxWindow
*arg1
= (wxWindow
*) 0 ;
23567 int arg4
= (int) -1 ;
23568 int arg5
= (int) -1 ;
23569 PyObject
* obj0
= 0 ;
23570 PyObject
* obj1
= 0 ;
23571 PyObject
* obj2
= 0 ;
23572 PyObject
* obj3
= 0 ;
23573 PyObject
* obj4
= 0 ;
23574 char *kwnames
[] = {
23575 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
23578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23581 arg2
= (int)SWIG_As_int(obj1
);
23582 if (PyErr_Occurred()) SWIG_fail
;
23583 arg3
= (int)SWIG_As_int(obj2
);
23584 if (PyErr_Occurred()) SWIG_fail
;
23586 arg4
= (int)SWIG_As_int(obj3
);
23587 if (PyErr_Occurred()) SWIG_fail
;
23590 arg5
= (int)SWIG_As_int(obj4
);
23591 if (PyErr_Occurred()) SWIG_fail
;
23594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23595 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
23597 wxPyEndAllowThreads(__tstate
);
23598 if (PyErr_Occurred()) SWIG_fail
;
23600 Py_INCREF(Py_None
); resultobj
= Py_None
;
23607 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23608 PyObject
*resultobj
;
23609 wxWindow
*arg1
= (wxWindow
*) 0 ;
23611 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23612 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23615 PyObject
* obj0
= 0 ;
23616 PyObject
* obj1
= 0 ;
23617 PyObject
* obj2
= 0 ;
23618 char *kwnames
[] = {
23619 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
23622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23627 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23632 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23637 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
23639 wxPyEndAllowThreads(__tstate
);
23640 if (PyErr_Occurred()) SWIG_fail
;
23642 Py_INCREF(Py_None
); resultobj
= Py_None
;
23649 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23650 PyObject
*resultobj
;
23651 wxWindow
*arg1
= (wxWindow
*) 0 ;
23653 PyObject
* obj0
= 0 ;
23654 char *kwnames
[] = {
23655 (char *) "self", NULL
23658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
23659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23663 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
23665 wxPyEndAllowThreads(__tstate
);
23666 if (PyErr_Occurred()) SWIG_fail
;
23669 wxSize
* resultptr
;
23670 resultptr
= new wxSize((wxSize
&) result
);
23671 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23679 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23680 PyObject
*resultobj
;
23681 wxWindow
*arg1
= (wxWindow
*) 0 ;
23683 PyObject
* obj0
= 0 ;
23684 char *kwnames
[] = {
23685 (char *) "self", NULL
23688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
23689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23693 result
= ((wxWindow
const *)arg1
)->GetMinSize();
23695 wxPyEndAllowThreads(__tstate
);
23696 if (PyErr_Occurred()) SWIG_fail
;
23699 wxSize
* resultptr
;
23700 resultptr
= new wxSize((wxSize
&) result
);
23701 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23709 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23710 PyObject
*resultobj
;
23711 wxWindow
*arg1
= (wxWindow
*) 0 ;
23714 PyObject
* obj0
= 0 ;
23715 PyObject
* obj1
= 0 ;
23716 char *kwnames
[] = {
23717 (char *) "self",(char *) "minSize", NULL
23720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23725 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23729 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
23731 wxPyEndAllowThreads(__tstate
);
23732 if (PyErr_Occurred()) SWIG_fail
;
23734 Py_INCREF(Py_None
); resultobj
= Py_None
;
23741 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23742 PyObject
*resultobj
;
23743 wxWindow
*arg1
= (wxWindow
*) 0 ;
23746 PyObject
* obj0
= 0 ;
23747 PyObject
* obj1
= 0 ;
23748 char *kwnames
[] = {
23749 (char *) "self",(char *) "maxSize", NULL
23752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23757 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23761 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
23763 wxPyEndAllowThreads(__tstate
);
23764 if (PyErr_Occurred()) SWIG_fail
;
23766 Py_INCREF(Py_None
); resultobj
= Py_None
;
23773 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23774 PyObject
*resultobj
;
23775 wxWindow
*arg1
= (wxWindow
*) 0 ;
23777 PyObject
* obj0
= 0 ;
23778 char *kwnames
[] = {
23779 (char *) "self", NULL
23782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
23783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23787 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
23789 wxPyEndAllowThreads(__tstate
);
23790 if (PyErr_Occurred()) SWIG_fail
;
23792 resultobj
= SWIG_From_int((int)result
);
23799 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23800 PyObject
*resultobj
;
23801 wxWindow
*arg1
= (wxWindow
*) 0 ;
23803 PyObject
* obj0
= 0 ;
23804 char *kwnames
[] = {
23805 (char *) "self", NULL
23808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
23809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23813 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
23815 wxPyEndAllowThreads(__tstate
);
23816 if (PyErr_Occurred()) SWIG_fail
;
23818 resultobj
= SWIG_From_int((int)result
);
23825 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23826 PyObject
*resultobj
;
23827 wxWindow
*arg1
= (wxWindow
*) 0 ;
23829 PyObject
* obj0
= 0 ;
23830 char *kwnames
[] = {
23831 (char *) "self", NULL
23834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
23835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23839 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
23841 wxPyEndAllowThreads(__tstate
);
23842 if (PyErr_Occurred()) SWIG_fail
;
23844 resultobj
= SWIG_From_int((int)result
);
23851 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23852 PyObject
*resultobj
;
23853 wxWindow
*arg1
= (wxWindow
*) 0 ;
23855 PyObject
* obj0
= 0 ;
23856 char *kwnames
[] = {
23857 (char *) "self", NULL
23860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
23861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23865 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
23867 wxPyEndAllowThreads(__tstate
);
23868 if (PyErr_Occurred()) SWIG_fail
;
23870 resultobj
= SWIG_From_int((int)result
);
23877 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23878 PyObject
*resultobj
;
23879 wxWindow
*arg1
= (wxWindow
*) 0 ;
23882 PyObject
* obj0
= 0 ;
23883 PyObject
* obj1
= 0 ;
23884 char *kwnames
[] = {
23885 (char *) "self",(char *) "size", NULL
23888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23893 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23897 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
23899 wxPyEndAllowThreads(__tstate
);
23900 if (PyErr_Occurred()) SWIG_fail
;
23902 Py_INCREF(Py_None
); resultobj
= Py_None
;
23909 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23910 PyObject
*resultobj
;
23911 wxWindow
*arg1
= (wxWindow
*) 0 ;
23914 PyObject
* obj0
= 0 ;
23915 PyObject
* obj1
= 0 ;
23916 PyObject
* obj2
= 0 ;
23917 char *kwnames
[] = {
23918 (char *) "self",(char *) "w",(char *) "h", NULL
23921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23924 arg2
= (int)SWIG_As_int(obj1
);
23925 if (PyErr_Occurred()) SWIG_fail
;
23926 arg3
= (int)SWIG_As_int(obj2
);
23927 if (PyErr_Occurred()) SWIG_fail
;
23929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23930 (arg1
)->SetVirtualSize(arg2
,arg3
);
23932 wxPyEndAllowThreads(__tstate
);
23933 if (PyErr_Occurred()) SWIG_fail
;
23935 Py_INCREF(Py_None
); resultobj
= Py_None
;
23942 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23943 PyObject
*resultobj
;
23944 wxWindow
*arg1
= (wxWindow
*) 0 ;
23946 PyObject
* obj0
= 0 ;
23947 char *kwnames
[] = {
23948 (char *) "self", NULL
23951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
23952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23956 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
23958 wxPyEndAllowThreads(__tstate
);
23959 if (PyErr_Occurred()) SWIG_fail
;
23962 wxSize
* resultptr
;
23963 resultptr
= new wxSize((wxSize
&) result
);
23964 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23972 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23973 PyObject
*resultobj
;
23974 wxWindow
*arg1
= (wxWindow
*) 0 ;
23975 int *arg2
= (int *) 0 ;
23976 int *arg3
= (int *) 0 ;
23981 PyObject
* obj0
= 0 ;
23982 char *kwnames
[] = {
23983 (char *) "self", NULL
23986 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23987 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
23989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23993 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
23995 wxPyEndAllowThreads(__tstate
);
23996 if (PyErr_Occurred()) SWIG_fail
;
23998 Py_INCREF(Py_None
); resultobj
= Py_None
;
23999 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24000 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24001 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24002 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24009 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24010 PyObject
*resultobj
;
24011 wxWindow
*arg1
= (wxWindow
*) 0 ;
24013 PyObject
* obj0
= 0 ;
24014 char *kwnames
[] = {
24015 (char *) "self", NULL
24018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
24019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24023 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
24025 wxPyEndAllowThreads(__tstate
);
24026 if (PyErr_Occurred()) SWIG_fail
;
24029 wxSize
* resultptr
;
24030 resultptr
= new wxSize((wxSize
&) result
);
24031 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24039 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24040 PyObject
*resultobj
;
24041 wxWindow
*arg1
= (wxWindow
*) 0 ;
24042 bool arg2
= (bool) True
;
24044 PyObject
* obj0
= 0 ;
24045 PyObject
* obj1
= 0 ;
24046 char *kwnames
[] = {
24047 (char *) "self",(char *) "show", NULL
24050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
24051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24054 arg2
= (bool)SWIG_As_bool(obj1
);
24055 if (PyErr_Occurred()) SWIG_fail
;
24058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24059 result
= (bool)(arg1
)->Show(arg2
);
24061 wxPyEndAllowThreads(__tstate
);
24062 if (PyErr_Occurred()) SWIG_fail
;
24065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24073 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24074 PyObject
*resultobj
;
24075 wxWindow
*arg1
= (wxWindow
*) 0 ;
24077 PyObject
* obj0
= 0 ;
24078 char *kwnames
[] = {
24079 (char *) "self", NULL
24082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
24083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24087 result
= (bool)(arg1
)->Hide();
24089 wxPyEndAllowThreads(__tstate
);
24090 if (PyErr_Occurred()) SWIG_fail
;
24093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24101 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24102 PyObject
*resultobj
;
24103 wxWindow
*arg1
= (wxWindow
*) 0 ;
24104 bool arg2
= (bool) True
;
24106 PyObject
* obj0
= 0 ;
24107 PyObject
* obj1
= 0 ;
24108 char *kwnames
[] = {
24109 (char *) "self",(char *) "enable", NULL
24112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
24113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24116 arg2
= (bool)SWIG_As_bool(obj1
);
24117 if (PyErr_Occurred()) SWIG_fail
;
24120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24121 result
= (bool)(arg1
)->Enable(arg2
);
24123 wxPyEndAllowThreads(__tstate
);
24124 if (PyErr_Occurred()) SWIG_fail
;
24127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24135 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24136 PyObject
*resultobj
;
24137 wxWindow
*arg1
= (wxWindow
*) 0 ;
24139 PyObject
* obj0
= 0 ;
24140 char *kwnames
[] = {
24141 (char *) "self", NULL
24144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
24145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24149 result
= (bool)(arg1
)->Disable();
24151 wxPyEndAllowThreads(__tstate
);
24152 if (PyErr_Occurred()) SWIG_fail
;
24155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24163 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24164 PyObject
*resultobj
;
24165 wxWindow
*arg1
= (wxWindow
*) 0 ;
24167 PyObject
* obj0
= 0 ;
24168 char *kwnames
[] = {
24169 (char *) "self", NULL
24172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
24173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24177 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
24179 wxPyEndAllowThreads(__tstate
);
24180 if (PyErr_Occurred()) SWIG_fail
;
24183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24191 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24192 PyObject
*resultobj
;
24193 wxWindow
*arg1
= (wxWindow
*) 0 ;
24195 PyObject
* obj0
= 0 ;
24196 char *kwnames
[] = {
24197 (char *) "self", NULL
24200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
24201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24205 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
24207 wxPyEndAllowThreads(__tstate
);
24208 if (PyErr_Occurred()) SWIG_fail
;
24211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24219 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24220 PyObject
*resultobj
;
24221 wxWindow
*arg1
= (wxWindow
*) 0 ;
24223 PyObject
* obj0
= 0 ;
24224 PyObject
* obj1
= 0 ;
24225 char *kwnames
[] = {
24226 (char *) "self",(char *) "style", NULL
24229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24232 arg2
= (long)SWIG_As_long(obj1
);
24233 if (PyErr_Occurred()) SWIG_fail
;
24235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24236 (arg1
)->SetWindowStyleFlag(arg2
);
24238 wxPyEndAllowThreads(__tstate
);
24239 if (PyErr_Occurred()) SWIG_fail
;
24241 Py_INCREF(Py_None
); resultobj
= Py_None
;
24248 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24249 PyObject
*resultobj
;
24250 wxWindow
*arg1
= (wxWindow
*) 0 ;
24252 PyObject
* obj0
= 0 ;
24253 char *kwnames
[] = {
24254 (char *) "self", NULL
24257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
24258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24262 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
24264 wxPyEndAllowThreads(__tstate
);
24265 if (PyErr_Occurred()) SWIG_fail
;
24267 resultobj
= SWIG_From_long((long)result
);
24274 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24275 PyObject
*resultobj
;
24276 wxWindow
*arg1
= (wxWindow
*) 0 ;
24279 PyObject
* obj0
= 0 ;
24280 PyObject
* obj1
= 0 ;
24281 char *kwnames
[] = {
24282 (char *) "self",(char *) "flag", NULL
24285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24288 arg2
= (int)SWIG_As_int(obj1
);
24289 if (PyErr_Occurred()) SWIG_fail
;
24291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24292 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
24294 wxPyEndAllowThreads(__tstate
);
24295 if (PyErr_Occurred()) SWIG_fail
;
24298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24306 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24307 PyObject
*resultobj
;
24308 wxWindow
*arg1
= (wxWindow
*) 0 ;
24310 PyObject
* obj0
= 0 ;
24311 char *kwnames
[] = {
24312 (char *) "self", NULL
24315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
24316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24320 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
24322 wxPyEndAllowThreads(__tstate
);
24323 if (PyErr_Occurred()) SWIG_fail
;
24326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24334 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24335 PyObject
*resultobj
;
24336 wxWindow
*arg1
= (wxWindow
*) 0 ;
24338 PyObject
* obj0
= 0 ;
24339 PyObject
* obj1
= 0 ;
24340 char *kwnames
[] = {
24341 (char *) "self",(char *) "exStyle", NULL
24344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
24345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24347 arg2
= (long)SWIG_As_long(obj1
);
24348 if (PyErr_Occurred()) SWIG_fail
;
24350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24351 (arg1
)->SetExtraStyle(arg2
);
24353 wxPyEndAllowThreads(__tstate
);
24354 if (PyErr_Occurred()) SWIG_fail
;
24356 Py_INCREF(Py_None
); resultobj
= Py_None
;
24363 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24364 PyObject
*resultobj
;
24365 wxWindow
*arg1
= (wxWindow
*) 0 ;
24367 PyObject
* obj0
= 0 ;
24368 char *kwnames
[] = {
24369 (char *) "self", NULL
24372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
24373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24377 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
24379 wxPyEndAllowThreads(__tstate
);
24380 if (PyErr_Occurred()) SWIG_fail
;
24382 resultobj
= SWIG_From_long((long)result
);
24389 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24390 PyObject
*resultobj
;
24391 wxWindow
*arg1
= (wxWindow
*) 0 ;
24392 bool arg2
= (bool) True
;
24393 PyObject
* obj0
= 0 ;
24394 PyObject
* obj1
= 0 ;
24395 char *kwnames
[] = {
24396 (char *) "self",(char *) "modal", NULL
24399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
24400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24403 arg2
= (bool)SWIG_As_bool(obj1
);
24404 if (PyErr_Occurred()) SWIG_fail
;
24407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24408 (arg1
)->MakeModal(arg2
);
24410 wxPyEndAllowThreads(__tstate
);
24411 if (PyErr_Occurred()) SWIG_fail
;
24413 Py_INCREF(Py_None
); resultobj
= Py_None
;
24420 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24421 PyObject
*resultobj
;
24422 wxWindow
*arg1
= (wxWindow
*) 0 ;
24424 PyObject
* obj0
= 0 ;
24425 PyObject
* obj1
= 0 ;
24426 char *kwnames
[] = {
24427 (char *) "self",(char *) "enableTheme", NULL
24430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
24431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24433 arg2
= (bool)SWIG_As_bool(obj1
);
24434 if (PyErr_Occurred()) SWIG_fail
;
24436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24437 (arg1
)->SetThemeEnabled(arg2
);
24439 wxPyEndAllowThreads(__tstate
);
24440 if (PyErr_Occurred()) SWIG_fail
;
24442 Py_INCREF(Py_None
); resultobj
= Py_None
;
24449 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24450 PyObject
*resultobj
;
24451 wxWindow
*arg1
= (wxWindow
*) 0 ;
24453 PyObject
* obj0
= 0 ;
24454 char *kwnames
[] = {
24455 (char *) "self", NULL
24458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
24459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24463 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
24465 wxPyEndAllowThreads(__tstate
);
24466 if (PyErr_Occurred()) SWIG_fail
;
24469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24477 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24478 PyObject
*resultobj
;
24479 wxWindow
*arg1
= (wxWindow
*) 0 ;
24480 PyObject
* obj0
= 0 ;
24481 char *kwnames
[] = {
24482 (char *) "self", NULL
24485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
24486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24490 (arg1
)->SetFocus();
24492 wxPyEndAllowThreads(__tstate
);
24493 if (PyErr_Occurred()) SWIG_fail
;
24495 Py_INCREF(Py_None
); resultobj
= Py_None
;
24502 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24503 PyObject
*resultobj
;
24504 wxWindow
*arg1
= (wxWindow
*) 0 ;
24505 PyObject
* obj0
= 0 ;
24506 char *kwnames
[] = {
24507 (char *) "self", NULL
24510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
24511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24515 (arg1
)->SetFocusFromKbd();
24517 wxPyEndAllowThreads(__tstate
);
24518 if (PyErr_Occurred()) SWIG_fail
;
24520 Py_INCREF(Py_None
); resultobj
= Py_None
;
24527 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24528 PyObject
*resultobj
;
24530 char *kwnames
[] = {
24534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
24536 if (!wxPyCheckForApp()) SWIG_fail
;
24537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24538 result
= (wxWindow
*)wxWindow::FindFocus();
24540 wxPyEndAllowThreads(__tstate
);
24541 if (PyErr_Occurred()) SWIG_fail
;
24544 resultobj
= wxPyMake_wxObject(result
, 0);
24552 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24553 PyObject
*resultobj
;
24554 wxWindow
*arg1
= (wxWindow
*) 0 ;
24556 PyObject
* obj0
= 0 ;
24557 char *kwnames
[] = {
24558 (char *) "self", NULL
24561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
24562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24566 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
24568 wxPyEndAllowThreads(__tstate
);
24569 if (PyErr_Occurred()) SWIG_fail
;
24572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24580 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24581 PyObject
*resultobj
;
24582 wxWindow
*arg1
= (wxWindow
*) 0 ;
24584 PyObject
* obj0
= 0 ;
24585 char *kwnames
[] = {
24586 (char *) "self", NULL
24589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
24590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24594 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
24596 wxPyEndAllowThreads(__tstate
);
24597 if (PyErr_Occurred()) SWIG_fail
;
24600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24608 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24609 PyObject
*resultobj
;
24610 wxWindow
*arg1
= (wxWindow
*) 0 ;
24612 PyObject
* obj0
= 0 ;
24613 char *kwnames
[] = {
24614 (char *) "self", NULL
24617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
24618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24622 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
24624 wxPyEndAllowThreads(__tstate
);
24625 if (PyErr_Occurred()) SWIG_fail
;
24628 resultobj
= wxPyMake_wxObject(result
, 0);
24636 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24637 PyObject
*resultobj
;
24638 wxWindow
*arg1
= (wxWindow
*) 0 ;
24639 wxWindow
*arg2
= (wxWindow
*) 0 ;
24641 PyObject
* obj0
= 0 ;
24642 PyObject
* obj1
= 0 ;
24643 char *kwnames
[] = {
24644 (char *) "self",(char *) "child", NULL
24647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24650 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24654 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
24656 wxPyEndAllowThreads(__tstate
);
24657 if (PyErr_Occurred()) SWIG_fail
;
24660 resultobj
= wxPyMake_wxObject(result
, 0);
24668 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24669 PyObject
*resultobj
;
24670 wxWindow
*arg1
= (wxWindow
*) 0 ;
24671 wxWindow
*arg2
= (wxWindow
*) 0 ;
24672 PyObject
* obj0
= 0 ;
24673 PyObject
* obj1
= 0 ;
24674 char *kwnames
[] = {
24675 (char *) "self",(char *) "win", NULL
24678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24681 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24685 (arg1
)->SetTmpDefaultItem(arg2
);
24687 wxPyEndAllowThreads(__tstate
);
24688 if (PyErr_Occurred()) SWIG_fail
;
24690 Py_INCREF(Py_None
); resultobj
= Py_None
;
24697 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24698 PyObject
*resultobj
;
24699 wxWindow
*arg1
= (wxWindow
*) 0 ;
24700 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
24702 PyObject
* obj0
= 0 ;
24703 PyObject
* obj1
= 0 ;
24704 char *kwnames
[] = {
24705 (char *) "self",(char *) "flags", NULL
24708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
24709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24712 arg2
= (int)SWIG_As_int(obj1
);
24713 if (PyErr_Occurred()) SWIG_fail
;
24716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24717 result
= (bool)(arg1
)->Navigate(arg2
);
24719 wxPyEndAllowThreads(__tstate
);
24720 if (PyErr_Occurred()) SWIG_fail
;
24723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24731 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24732 PyObject
*resultobj
;
24733 wxWindow
*arg1
= (wxWindow
*) 0 ;
24734 wxWindow
*arg2
= (wxWindow
*) 0 ;
24735 PyObject
* obj0
= 0 ;
24736 PyObject
* obj1
= 0 ;
24737 char *kwnames
[] = {
24738 (char *) "self",(char *) "win", NULL
24741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
24742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24744 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24748 (arg1
)->MoveAfterInTabOrder(arg2
);
24750 wxPyEndAllowThreads(__tstate
);
24751 if (PyErr_Occurred()) SWIG_fail
;
24753 Py_INCREF(Py_None
); resultobj
= Py_None
;
24760 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24761 PyObject
*resultobj
;
24762 wxWindow
*arg1
= (wxWindow
*) 0 ;
24763 wxWindow
*arg2
= (wxWindow
*) 0 ;
24764 PyObject
* obj0
= 0 ;
24765 PyObject
* obj1
= 0 ;
24766 char *kwnames
[] = {
24767 (char *) "self",(char *) "win", NULL
24770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
24771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24773 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24777 (arg1
)->MoveBeforeInTabOrder(arg2
);
24779 wxPyEndAllowThreads(__tstate
);
24780 if (PyErr_Occurred()) SWIG_fail
;
24782 Py_INCREF(Py_None
); resultobj
= Py_None
;
24789 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24790 PyObject
*resultobj
;
24791 wxWindow
*arg1
= (wxWindow
*) 0 ;
24793 PyObject
* obj0
= 0 ;
24794 char *kwnames
[] = {
24795 (char *) "self", NULL
24798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
24799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24803 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
24805 wxPyEndAllowThreads(__tstate
);
24806 if (PyErr_Occurred()) SWIG_fail
;
24808 resultobj
= result
;
24815 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24816 PyObject
*resultobj
;
24817 wxWindow
*arg1
= (wxWindow
*) 0 ;
24819 PyObject
* obj0
= 0 ;
24820 char *kwnames
[] = {
24821 (char *) "self", NULL
24824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
24825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24829 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
24831 wxPyEndAllowThreads(__tstate
);
24832 if (PyErr_Occurred()) SWIG_fail
;
24835 resultobj
= wxPyMake_wxObject(result
, 0);
24843 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24844 PyObject
*resultobj
;
24845 wxWindow
*arg1
= (wxWindow
*) 0 ;
24847 PyObject
* obj0
= 0 ;
24848 char *kwnames
[] = {
24849 (char *) "self", NULL
24852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
24853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24857 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
24859 wxPyEndAllowThreads(__tstate
);
24860 if (PyErr_Occurred()) SWIG_fail
;
24863 resultobj
= wxPyMake_wxObject(result
, 0);
24871 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24872 PyObject
*resultobj
;
24873 wxWindow
*arg1
= (wxWindow
*) 0 ;
24875 PyObject
* obj0
= 0 ;
24876 char *kwnames
[] = {
24877 (char *) "self", NULL
24880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
24881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24885 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
24887 wxPyEndAllowThreads(__tstate
);
24888 if (PyErr_Occurred()) SWIG_fail
;
24891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24899 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24900 PyObject
*resultobj
;
24901 wxWindow
*arg1
= (wxWindow
*) 0 ;
24902 wxWindow
*arg2
= (wxWindow
*) 0 ;
24904 PyObject
* obj0
= 0 ;
24905 PyObject
* obj1
= 0 ;
24906 char *kwnames
[] = {
24907 (char *) "self",(char *) "newParent", NULL
24910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
24911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24913 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24917 result
= (bool)(arg1
)->Reparent(arg2
);
24919 wxPyEndAllowThreads(__tstate
);
24920 if (PyErr_Occurred()) SWIG_fail
;
24923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24931 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24932 PyObject
*resultobj
;
24933 wxWindow
*arg1
= (wxWindow
*) 0 ;
24934 wxWindow
*arg2
= (wxWindow
*) 0 ;
24935 PyObject
* obj0
= 0 ;
24936 PyObject
* obj1
= 0 ;
24937 char *kwnames
[] = {
24938 (char *) "self",(char *) "child", NULL
24941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24944 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24948 (arg1
)->AddChild(arg2
);
24950 wxPyEndAllowThreads(__tstate
);
24951 if (PyErr_Occurred()) SWIG_fail
;
24953 Py_INCREF(Py_None
); resultobj
= Py_None
;
24960 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24961 PyObject
*resultobj
;
24962 wxWindow
*arg1
= (wxWindow
*) 0 ;
24963 wxWindow
*arg2
= (wxWindow
*) 0 ;
24964 PyObject
* obj0
= 0 ;
24965 PyObject
* obj1
= 0 ;
24966 char *kwnames
[] = {
24967 (char *) "self",(char *) "child", NULL
24970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24973 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24977 (arg1
)->RemoveChild(arg2
);
24979 wxPyEndAllowThreads(__tstate
);
24980 if (PyErr_Occurred()) SWIG_fail
;
24982 Py_INCREF(Py_None
); resultobj
= Py_None
;
24989 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24990 PyObject
*resultobj
;
24991 wxWindow
*arg1
= (wxWindow
*) 0 ;
24994 PyObject
* obj0
= 0 ;
24995 PyObject
* obj1
= 0 ;
24996 char *kwnames
[] = {
24997 (char *) "self",(char *) "winid", NULL
25000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
25001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25003 arg2
= (long)SWIG_As_long(obj1
);
25004 if (PyErr_Occurred()) SWIG_fail
;
25006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25007 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
25009 wxPyEndAllowThreads(__tstate
);
25010 if (PyErr_Occurred()) SWIG_fail
;
25013 resultobj
= wxPyMake_wxObject(result
, 0);
25021 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25022 PyObject
*resultobj
;
25023 wxWindow
*arg1
= (wxWindow
*) 0 ;
25024 wxString
*arg2
= 0 ;
25026 bool temp2
= False
;
25027 PyObject
* obj0
= 0 ;
25028 PyObject
* obj1
= 0 ;
25029 char *kwnames
[] = {
25030 (char *) "self",(char *) "name", NULL
25033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
25034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25037 arg2
= wxString_in_helper(obj1
);
25038 if (arg2
== NULL
) SWIG_fail
;
25042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25043 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
25045 wxPyEndAllowThreads(__tstate
);
25046 if (PyErr_Occurred()) SWIG_fail
;
25049 resultobj
= wxPyMake_wxObject(result
, 0);
25065 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25066 PyObject
*resultobj
;
25067 wxWindow
*arg1
= (wxWindow
*) 0 ;
25068 wxEvtHandler
*result
;
25069 PyObject
* obj0
= 0 ;
25070 char *kwnames
[] = {
25071 (char *) "self", NULL
25074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
25075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25079 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
25081 wxPyEndAllowThreads(__tstate
);
25082 if (PyErr_Occurred()) SWIG_fail
;
25085 resultobj
= wxPyMake_wxObject(result
, 0);
25093 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25094 PyObject
*resultobj
;
25095 wxWindow
*arg1
= (wxWindow
*) 0 ;
25096 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25097 PyObject
* obj0
= 0 ;
25098 PyObject
* obj1
= 0 ;
25099 char *kwnames
[] = {
25100 (char *) "self",(char *) "handler", NULL
25103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25106 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25110 (arg1
)->SetEventHandler(arg2
);
25112 wxPyEndAllowThreads(__tstate
);
25113 if (PyErr_Occurred()) SWIG_fail
;
25115 Py_INCREF(Py_None
); resultobj
= Py_None
;
25122 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25123 PyObject
*resultobj
;
25124 wxWindow
*arg1
= (wxWindow
*) 0 ;
25125 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25126 PyObject
* obj0
= 0 ;
25127 PyObject
* obj1
= 0 ;
25128 char *kwnames
[] = {
25129 (char *) "self",(char *) "handler", NULL
25132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25135 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25139 (arg1
)->PushEventHandler(arg2
);
25141 wxPyEndAllowThreads(__tstate
);
25142 if (PyErr_Occurred()) SWIG_fail
;
25144 Py_INCREF(Py_None
); resultobj
= Py_None
;
25151 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25152 PyObject
*resultobj
;
25153 wxWindow
*arg1
= (wxWindow
*) 0 ;
25154 bool arg2
= (bool) False
;
25155 wxEvtHandler
*result
;
25156 PyObject
* obj0
= 0 ;
25157 PyObject
* obj1
= 0 ;
25158 char *kwnames
[] = {
25159 (char *) "self",(char *) "deleteHandler", NULL
25162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25166 arg2
= (bool)SWIG_As_bool(obj1
);
25167 if (PyErr_Occurred()) SWIG_fail
;
25170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25171 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
25173 wxPyEndAllowThreads(__tstate
);
25174 if (PyErr_Occurred()) SWIG_fail
;
25177 resultobj
= wxPyMake_wxObject(result
, 0);
25185 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25186 PyObject
*resultobj
;
25187 wxWindow
*arg1
= (wxWindow
*) 0 ;
25188 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25190 PyObject
* obj0
= 0 ;
25191 PyObject
* obj1
= 0 ;
25192 char *kwnames
[] = {
25193 (char *) "self",(char *) "handler", NULL
25196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25199 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25203 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
25205 wxPyEndAllowThreads(__tstate
);
25206 if (PyErr_Occurred()) SWIG_fail
;
25209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25217 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25218 PyObject
*resultobj
;
25219 wxWindow
*arg1
= (wxWindow
*) 0 ;
25220 wxValidator
*arg2
= 0 ;
25221 PyObject
* obj0
= 0 ;
25222 PyObject
* obj1
= 0 ;
25223 char *kwnames
[] = {
25224 (char *) "self",(char *) "validator", NULL
25227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
25228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25230 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
25231 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25233 if (arg2
== NULL
) {
25234 PyErr_SetString(PyExc_TypeError
,"null reference");
25238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25239 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
25241 wxPyEndAllowThreads(__tstate
);
25242 if (PyErr_Occurred()) SWIG_fail
;
25244 Py_INCREF(Py_None
); resultobj
= Py_None
;
25251 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25252 PyObject
*resultobj
;
25253 wxWindow
*arg1
= (wxWindow
*) 0 ;
25254 wxValidator
*result
;
25255 PyObject
* obj0
= 0 ;
25256 char *kwnames
[] = {
25257 (char *) "self", NULL
25260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
25261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25265 result
= (wxValidator
*)(arg1
)->GetValidator();
25267 wxPyEndAllowThreads(__tstate
);
25268 if (PyErr_Occurred()) SWIG_fail
;
25271 resultobj
= wxPyMake_wxObject(result
, 0);
25279 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25280 PyObject
*resultobj
;
25281 wxWindow
*arg1
= (wxWindow
*) 0 ;
25283 PyObject
* obj0
= 0 ;
25284 char *kwnames
[] = {
25285 (char *) "self", NULL
25288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
25289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25293 result
= (bool)(arg1
)->Validate();
25295 wxPyEndAllowThreads(__tstate
);
25296 if (PyErr_Occurred()) SWIG_fail
;
25299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25307 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25308 PyObject
*resultobj
;
25309 wxWindow
*arg1
= (wxWindow
*) 0 ;
25311 PyObject
* obj0
= 0 ;
25312 char *kwnames
[] = {
25313 (char *) "self", NULL
25316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
25317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25321 result
= (bool)(arg1
)->TransferDataToWindow();
25323 wxPyEndAllowThreads(__tstate
);
25324 if (PyErr_Occurred()) SWIG_fail
;
25327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25335 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25336 PyObject
*resultobj
;
25337 wxWindow
*arg1
= (wxWindow
*) 0 ;
25339 PyObject
* obj0
= 0 ;
25340 char *kwnames
[] = {
25341 (char *) "self", NULL
25344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
25345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25349 result
= (bool)(arg1
)->TransferDataFromWindow();
25351 wxPyEndAllowThreads(__tstate
);
25352 if (PyErr_Occurred()) SWIG_fail
;
25355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25363 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25364 PyObject
*resultobj
;
25365 wxWindow
*arg1
= (wxWindow
*) 0 ;
25366 PyObject
* obj0
= 0 ;
25367 char *kwnames
[] = {
25368 (char *) "self", NULL
25371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
25372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25376 (arg1
)->InitDialog();
25378 wxPyEndAllowThreads(__tstate
);
25379 if (PyErr_Occurred()) SWIG_fail
;
25381 Py_INCREF(Py_None
); resultobj
= Py_None
;
25388 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25389 PyObject
*resultobj
;
25390 wxWindow
*arg1
= (wxWindow
*) 0 ;
25391 wxAcceleratorTable
*arg2
= 0 ;
25392 PyObject
* obj0
= 0 ;
25393 PyObject
* obj1
= 0 ;
25394 char *kwnames
[] = {
25395 (char *) "self",(char *) "accel", NULL
25398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
25399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25401 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
25402 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25404 if (arg2
== NULL
) {
25405 PyErr_SetString(PyExc_TypeError
,"null reference");
25409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25410 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
25412 wxPyEndAllowThreads(__tstate
);
25413 if (PyErr_Occurred()) SWIG_fail
;
25415 Py_INCREF(Py_None
); resultobj
= Py_None
;
25422 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25423 PyObject
*resultobj
;
25424 wxWindow
*arg1
= (wxWindow
*) 0 ;
25425 wxAcceleratorTable
*result
;
25426 PyObject
* obj0
= 0 ;
25427 char *kwnames
[] = {
25428 (char *) "self", NULL
25431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
25432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25436 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
25438 wxPyEndAllowThreads(__tstate
);
25439 if (PyErr_Occurred()) SWIG_fail
;
25441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
25448 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25449 PyObject
*resultobj
;
25450 wxWindow
*arg1
= (wxWindow
*) 0 ;
25455 PyObject
* obj0
= 0 ;
25456 PyObject
* obj1
= 0 ;
25457 PyObject
* obj2
= 0 ;
25458 PyObject
* obj3
= 0 ;
25459 char *kwnames
[] = {
25460 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
25463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25466 arg2
= (int)SWIG_As_int(obj1
);
25467 if (PyErr_Occurred()) SWIG_fail
;
25468 arg3
= (int)SWIG_As_int(obj2
);
25469 if (PyErr_Occurred()) SWIG_fail
;
25470 arg4
= (int)SWIG_As_int(obj3
);
25471 if (PyErr_Occurred()) SWIG_fail
;
25473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25474 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
25476 wxPyEndAllowThreads(__tstate
);
25477 if (PyErr_Occurred()) SWIG_fail
;
25480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25488 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25489 PyObject
*resultobj
;
25490 wxWindow
*arg1
= (wxWindow
*) 0 ;
25493 PyObject
* obj0
= 0 ;
25494 PyObject
* obj1
= 0 ;
25495 char *kwnames
[] = {
25496 (char *) "self",(char *) "hotkeyId", NULL
25499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
25500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25502 arg2
= (int)SWIG_As_int(obj1
);
25503 if (PyErr_Occurred()) SWIG_fail
;
25505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25506 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
25508 wxPyEndAllowThreads(__tstate
);
25509 if (PyErr_Occurred()) SWIG_fail
;
25512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25520 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25521 PyObject
*resultobj
;
25522 wxWindow
*arg1
= (wxWindow
*) 0 ;
25523 wxPoint
*arg2
= 0 ;
25526 PyObject
* obj0
= 0 ;
25527 PyObject
* obj1
= 0 ;
25528 char *kwnames
[] = {
25529 (char *) "self",(char *) "pt", NULL
25532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25537 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25541 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25543 wxPyEndAllowThreads(__tstate
);
25544 if (PyErr_Occurred()) SWIG_fail
;
25547 wxPoint
* resultptr
;
25548 resultptr
= new wxPoint((wxPoint
&) result
);
25549 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25557 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25558 PyObject
*resultobj
;
25559 wxWindow
*arg1
= (wxWindow
*) 0 ;
25563 PyObject
* obj0
= 0 ;
25564 PyObject
* obj1
= 0 ;
25565 char *kwnames
[] = {
25566 (char *) "self",(char *) "sz", NULL
25569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25574 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25578 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25580 wxPyEndAllowThreads(__tstate
);
25581 if (PyErr_Occurred()) SWIG_fail
;
25584 wxSize
* resultptr
;
25585 resultptr
= new wxSize((wxSize
&) result
);
25586 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25594 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25595 PyObject
*resultobj
;
25596 wxWindow
*arg1
= (wxWindow
*) 0 ;
25597 wxPoint
*arg2
= 0 ;
25600 PyObject
* obj0
= 0 ;
25601 PyObject
* obj1
= 0 ;
25602 char *kwnames
[] = {
25603 (char *) "self",(char *) "pt", NULL
25606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
25607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25611 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25615 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25617 wxPyEndAllowThreads(__tstate
);
25618 if (PyErr_Occurred()) SWIG_fail
;
25621 wxPoint
* resultptr
;
25622 resultptr
= new wxPoint((wxPoint
&) result
);
25623 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25631 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25632 PyObject
*resultobj
;
25633 wxWindow
*arg1
= (wxWindow
*) 0 ;
25637 PyObject
* obj0
= 0 ;
25638 PyObject
* obj1
= 0 ;
25639 char *kwnames
[] = {
25640 (char *) "self",(char *) "sz", NULL
25643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
25644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25648 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25652 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25654 wxPyEndAllowThreads(__tstate
);
25655 if (PyErr_Occurred()) SWIG_fail
;
25658 wxSize
* resultptr
;
25659 resultptr
= new wxSize((wxSize
&) result
);
25660 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25668 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25669 PyObject
*resultobj
;
25670 wxWindow
*arg1
= (wxWindow
*) 0 ;
25671 wxPoint
*arg2
= 0 ;
25674 PyObject
* obj0
= 0 ;
25675 PyObject
* obj1
= 0 ;
25676 char *kwnames
[] = {
25677 (char *) "self",(char *) "pt", NULL
25680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25685 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25689 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
25691 wxPyEndAllowThreads(__tstate
);
25692 if (PyErr_Occurred()) SWIG_fail
;
25695 wxPoint
* resultptr
;
25696 resultptr
= new wxPoint((wxPoint
&) result
);
25697 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25705 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25706 PyObject
*resultobj
;
25707 wxWindow
*arg1
= (wxWindow
*) 0 ;
25711 PyObject
* obj0
= 0 ;
25712 PyObject
* obj1
= 0 ;
25713 char *kwnames
[] = {
25714 (char *) "self",(char *) "sz", NULL
25717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25722 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25726 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
25728 wxPyEndAllowThreads(__tstate
);
25729 if (PyErr_Occurred()) SWIG_fail
;
25732 wxSize
* resultptr
;
25733 resultptr
= new wxSize((wxSize
&) result
);
25734 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25742 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25743 PyObject
*resultobj
;
25744 wxWindow
*arg1
= (wxWindow
*) 0 ;
25747 PyObject
* obj0
= 0 ;
25748 PyObject
* obj1
= 0 ;
25749 PyObject
* obj2
= 0 ;
25750 char *kwnames
[] = {
25751 (char *) "self",(char *) "x",(char *) "y", NULL
25754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25757 arg2
= (int)SWIG_As_int(obj1
);
25758 if (PyErr_Occurred()) SWIG_fail
;
25759 arg3
= (int)SWIG_As_int(obj2
);
25760 if (PyErr_Occurred()) SWIG_fail
;
25762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25763 (arg1
)->WarpPointer(arg2
,arg3
);
25765 wxPyEndAllowThreads(__tstate
);
25766 if (PyErr_Occurred()) SWIG_fail
;
25768 Py_INCREF(Py_None
); resultobj
= Py_None
;
25775 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25776 PyObject
*resultobj
;
25777 wxWindow
*arg1
= (wxWindow
*) 0 ;
25778 PyObject
* obj0
= 0 ;
25779 char *kwnames
[] = {
25780 (char *) "self", NULL
25783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
25784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25788 (arg1
)->CaptureMouse();
25790 wxPyEndAllowThreads(__tstate
);
25791 if (PyErr_Occurred()) SWIG_fail
;
25793 Py_INCREF(Py_None
); resultobj
= Py_None
;
25800 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25801 PyObject
*resultobj
;
25802 wxWindow
*arg1
= (wxWindow
*) 0 ;
25803 PyObject
* obj0
= 0 ;
25804 char *kwnames
[] = {
25805 (char *) "self", NULL
25808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
25809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25813 (arg1
)->ReleaseMouse();
25815 wxPyEndAllowThreads(__tstate
);
25816 if (PyErr_Occurred()) SWIG_fail
;
25818 Py_INCREF(Py_None
); resultobj
= Py_None
;
25825 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25826 PyObject
*resultobj
;
25828 char *kwnames
[] = {
25832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
25834 if (!wxPyCheckForApp()) SWIG_fail
;
25835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25836 result
= (wxWindow
*)wxWindow::GetCapture();
25838 wxPyEndAllowThreads(__tstate
);
25839 if (PyErr_Occurred()) SWIG_fail
;
25842 resultobj
= wxPyMake_wxObject(result
, 0);
25850 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25851 PyObject
*resultobj
;
25852 wxWindow
*arg1
= (wxWindow
*) 0 ;
25854 PyObject
* obj0
= 0 ;
25855 char *kwnames
[] = {
25856 (char *) "self", NULL
25859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
25860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25864 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
25866 wxPyEndAllowThreads(__tstate
);
25867 if (PyErr_Occurred()) SWIG_fail
;
25870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25878 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25879 PyObject
*resultobj
;
25880 wxWindow
*arg1
= (wxWindow
*) 0 ;
25881 bool arg2
= (bool) True
;
25882 wxRect
*arg3
= (wxRect
*) NULL
;
25883 PyObject
* obj0
= 0 ;
25884 PyObject
* obj1
= 0 ;
25885 PyObject
* obj2
= 0 ;
25886 char *kwnames
[] = {
25887 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
25890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25894 arg2
= (bool)SWIG_As_bool(obj1
);
25895 if (PyErr_Occurred()) SWIG_fail
;
25898 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
25899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25903 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
25905 wxPyEndAllowThreads(__tstate
);
25906 if (PyErr_Occurred()) SWIG_fail
;
25908 Py_INCREF(Py_None
); resultobj
= Py_None
;
25915 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25916 PyObject
*resultobj
;
25917 wxWindow
*arg1
= (wxWindow
*) 0 ;
25920 PyObject
* obj0
= 0 ;
25921 PyObject
* obj1
= 0 ;
25922 char *kwnames
[] = {
25923 (char *) "self",(char *) "rect", NULL
25926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25931 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25935 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
25937 wxPyEndAllowThreads(__tstate
);
25938 if (PyErr_Occurred()) SWIG_fail
;
25940 Py_INCREF(Py_None
); resultobj
= Py_None
;
25947 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25948 PyObject
*resultobj
;
25949 wxWindow
*arg1
= (wxWindow
*) 0 ;
25950 PyObject
* obj0
= 0 ;
25951 char *kwnames
[] = {
25952 (char *) "self", NULL
25955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
25956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25962 wxPyEndAllowThreads(__tstate
);
25963 if (PyErr_Occurred()) SWIG_fail
;
25965 Py_INCREF(Py_None
); resultobj
= Py_None
;
25972 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25973 PyObject
*resultobj
;
25974 wxWindow
*arg1
= (wxWindow
*) 0 ;
25975 PyObject
* obj0
= 0 ;
25976 char *kwnames
[] = {
25977 (char *) "self", NULL
25980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
25981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25985 (arg1
)->ClearBackground();
25987 wxPyEndAllowThreads(__tstate
);
25988 if (PyErr_Occurred()) SWIG_fail
;
25990 Py_INCREF(Py_None
); resultobj
= Py_None
;
25997 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25998 PyObject
*resultobj
;
25999 wxWindow
*arg1
= (wxWindow
*) 0 ;
26000 PyObject
* obj0
= 0 ;
26001 char *kwnames
[] = {
26002 (char *) "self", NULL
26005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
26006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26012 wxPyEndAllowThreads(__tstate
);
26013 if (PyErr_Occurred()) SWIG_fail
;
26015 Py_INCREF(Py_None
); resultobj
= Py_None
;
26022 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26023 PyObject
*resultobj
;
26024 wxWindow
*arg1
= (wxWindow
*) 0 ;
26025 PyObject
* obj0
= 0 ;
26026 char *kwnames
[] = {
26027 (char *) "self", NULL
26030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
26031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26037 wxPyEndAllowThreads(__tstate
);
26038 if (PyErr_Occurred()) SWIG_fail
;
26040 Py_INCREF(Py_None
); resultobj
= Py_None
;
26047 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26048 PyObject
*resultobj
;
26049 wxWindow
*arg1
= (wxWindow
*) 0 ;
26051 PyObject
* obj0
= 0 ;
26052 PyObject
* obj1
= 0 ;
26053 char *kwnames
[] = {
26054 (char *) "self",(char *) "dc", NULL
26057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
26058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26060 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26061 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26063 if (arg2
== NULL
) {
26064 PyErr_SetString(PyExc_TypeError
,"null reference");
26068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26069 (arg1
)->PrepareDC(*arg2
);
26071 wxPyEndAllowThreads(__tstate
);
26072 if (PyErr_Occurred()) SWIG_fail
;
26074 Py_INCREF(Py_None
); resultobj
= Py_None
;
26081 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26082 PyObject
*resultobj
;
26083 wxWindow
*arg1
= (wxWindow
*) 0 ;
26085 PyObject
* obj0
= 0 ;
26086 char *kwnames
[] = {
26087 (char *) "self", NULL
26090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
26091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26096 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
26097 result
= (wxRegion
*) &_result_ref
;
26100 wxPyEndAllowThreads(__tstate
);
26101 if (PyErr_Occurred()) SWIG_fail
;
26103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
26110 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26111 PyObject
*resultobj
;
26112 wxWindow
*arg1
= (wxWindow
*) 0 ;
26114 PyObject
* obj0
= 0 ;
26115 char *kwnames
[] = {
26116 (char *) "self", NULL
26119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
26120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26124 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
26126 wxPyEndAllowThreads(__tstate
);
26127 if (PyErr_Occurred()) SWIG_fail
;
26130 wxRect
* resultptr
;
26131 resultptr
= new wxRect((wxRect
&) result
);
26132 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26140 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26141 PyObject
*resultobj
;
26142 wxWindow
*arg1
= (wxWindow
*) 0 ;
26145 int arg4
= (int) 1 ;
26146 int arg5
= (int) 1 ;
26148 PyObject
* obj0
= 0 ;
26149 PyObject
* obj1
= 0 ;
26150 PyObject
* obj2
= 0 ;
26151 PyObject
* obj3
= 0 ;
26152 PyObject
* obj4
= 0 ;
26153 char *kwnames
[] = {
26154 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26160 arg2
= (int)SWIG_As_int(obj1
);
26161 if (PyErr_Occurred()) SWIG_fail
;
26162 arg3
= (int)SWIG_As_int(obj2
);
26163 if (PyErr_Occurred()) SWIG_fail
;
26165 arg4
= (int)SWIG_As_int(obj3
);
26166 if (PyErr_Occurred()) SWIG_fail
;
26169 arg5
= (int)SWIG_As_int(obj4
);
26170 if (PyErr_Occurred()) SWIG_fail
;
26173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26174 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
26176 wxPyEndAllowThreads(__tstate
);
26177 if (PyErr_Occurred()) SWIG_fail
;
26180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26188 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26189 PyObject
*resultobj
;
26190 wxWindow
*arg1
= (wxWindow
*) 0 ;
26191 wxPoint
*arg2
= 0 ;
26194 PyObject
* obj0
= 0 ;
26195 PyObject
* obj1
= 0 ;
26196 char *kwnames
[] = {
26197 (char *) "self",(char *) "pt", NULL
26200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
26201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26205 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26209 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
26211 wxPyEndAllowThreads(__tstate
);
26212 if (PyErr_Occurred()) SWIG_fail
;
26215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26223 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26224 PyObject
*resultobj
;
26225 wxWindow
*arg1
= (wxWindow
*) 0 ;
26229 PyObject
* obj0
= 0 ;
26230 PyObject
* obj1
= 0 ;
26231 char *kwnames
[] = {
26232 (char *) "self",(char *) "rect", NULL
26235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26240 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26244 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
26246 wxPyEndAllowThreads(__tstate
);
26247 if (PyErr_Occurred()) SWIG_fail
;
26250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26258 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26259 PyObject
*resultobj
;
26260 wxWindow
*arg1
= (wxWindow
*) 0 ;
26261 wxVisualAttributes result
;
26262 PyObject
* obj0
= 0 ;
26263 char *kwnames
[] = {
26264 (char *) "self", NULL
26267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26272 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
26274 wxPyEndAllowThreads(__tstate
);
26275 if (PyErr_Occurred()) SWIG_fail
;
26278 wxVisualAttributes
* resultptr
;
26279 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26280 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26288 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26289 PyObject
*resultobj
;
26290 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
26291 wxVisualAttributes result
;
26292 PyObject
* obj0
= 0 ;
26293 char *kwnames
[] = {
26294 (char *) "variant", NULL
26297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26299 arg1
= (int)SWIG_As_int(obj0
);
26300 if (PyErr_Occurred()) SWIG_fail
;
26303 if (!wxPyCheckForApp()) SWIG_fail
;
26304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26305 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26307 wxPyEndAllowThreads(__tstate
);
26308 if (PyErr_Occurred()) SWIG_fail
;
26311 wxVisualAttributes
* resultptr
;
26312 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26313 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26321 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26322 PyObject
*resultobj
;
26323 wxWindow
*arg1
= (wxWindow
*) 0 ;
26324 wxColour
*arg2
= 0 ;
26327 PyObject
* obj0
= 0 ;
26328 PyObject
* obj1
= 0 ;
26329 char *kwnames
[] = {
26330 (char *) "self",(char *) "colour", NULL
26333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26338 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26342 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26344 wxPyEndAllowThreads(__tstate
);
26345 if (PyErr_Occurred()) SWIG_fail
;
26348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26356 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26357 PyObject
*resultobj
;
26358 wxWindow
*arg1
= (wxWindow
*) 0 ;
26359 wxColour
*arg2
= 0 ;
26361 PyObject
* obj0
= 0 ;
26362 PyObject
* obj1
= 0 ;
26363 char *kwnames
[] = {
26364 (char *) "self",(char *) "colour", NULL
26367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26372 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26376 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
26378 wxPyEndAllowThreads(__tstate
);
26379 if (PyErr_Occurred()) SWIG_fail
;
26381 Py_INCREF(Py_None
); resultobj
= Py_None
;
26388 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26389 PyObject
*resultobj
;
26390 wxWindow
*arg1
= (wxWindow
*) 0 ;
26391 wxColour
*arg2
= 0 ;
26394 PyObject
* obj0
= 0 ;
26395 PyObject
* obj1
= 0 ;
26396 char *kwnames
[] = {
26397 (char *) "self",(char *) "colour", NULL
26400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26405 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26409 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
26411 wxPyEndAllowThreads(__tstate
);
26412 if (PyErr_Occurred()) SWIG_fail
;
26415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26423 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26424 PyObject
*resultobj
;
26425 wxWindow
*arg1
= (wxWindow
*) 0 ;
26426 wxColour
*arg2
= 0 ;
26428 PyObject
* obj0
= 0 ;
26429 PyObject
* obj1
= 0 ;
26430 char *kwnames
[] = {
26431 (char *) "self",(char *) "colour", NULL
26434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26439 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26443 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
26445 wxPyEndAllowThreads(__tstate
);
26446 if (PyErr_Occurred()) SWIG_fail
;
26448 Py_INCREF(Py_None
); resultobj
= Py_None
;
26455 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26456 PyObject
*resultobj
;
26457 wxWindow
*arg1
= (wxWindow
*) 0 ;
26459 PyObject
* obj0
= 0 ;
26460 char *kwnames
[] = {
26461 (char *) "self", NULL
26464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
26465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26469 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
26471 wxPyEndAllowThreads(__tstate
);
26472 if (PyErr_Occurred()) SWIG_fail
;
26475 wxColour
* resultptr
;
26476 resultptr
= new wxColour((wxColour
&) result
);
26477 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26485 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26486 PyObject
*resultobj
;
26487 wxWindow
*arg1
= (wxWindow
*) 0 ;
26489 PyObject
* obj0
= 0 ;
26490 char *kwnames
[] = {
26491 (char *) "self", NULL
26494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
26495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26499 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
26501 wxPyEndAllowThreads(__tstate
);
26502 if (PyErr_Occurred()) SWIG_fail
;
26505 wxColour
* resultptr
;
26506 resultptr
= new wxColour((wxColour
&) result
);
26507 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26515 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26516 PyObject
*resultobj
;
26517 wxWindow
*arg1
= (wxWindow
*) 0 ;
26520 PyObject
* obj0
= 0 ;
26521 PyObject
* obj1
= 0 ;
26522 char *kwnames
[] = {
26523 (char *) "self",(char *) "style", NULL
26526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
26527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26529 arg2
= (int)SWIG_As_int(obj1
);
26530 if (PyErr_Occurred()) SWIG_fail
;
26532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26533 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
26535 wxPyEndAllowThreads(__tstate
);
26536 if (PyErr_Occurred()) SWIG_fail
;
26539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26547 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26548 PyObject
*resultobj
;
26549 wxWindow
*arg1
= (wxWindow
*) 0 ;
26551 PyObject
* obj0
= 0 ;
26552 char *kwnames
[] = {
26553 (char *) "self", NULL
26556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
26557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26561 result
= (int)((wxWindow
const *)arg1
)->GetBackgroundStyle();
26563 wxPyEndAllowThreads(__tstate
);
26564 if (PyErr_Occurred()) SWIG_fail
;
26566 resultobj
= SWIG_From_int((int)result
);
26573 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26574 PyObject
*resultobj
;
26575 wxWindow
*arg1
= (wxWindow
*) 0 ;
26576 wxCursor
*arg2
= 0 ;
26578 PyObject
* obj0
= 0 ;
26579 PyObject
* obj1
= 0 ;
26580 char *kwnames
[] = {
26581 (char *) "self",(char *) "cursor", NULL
26584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
26585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26587 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
26588 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26590 if (arg2
== NULL
) {
26591 PyErr_SetString(PyExc_TypeError
,"null reference");
26595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26596 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
26598 wxPyEndAllowThreads(__tstate
);
26599 if (PyErr_Occurred()) SWIG_fail
;
26602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26610 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26611 PyObject
*resultobj
;
26612 wxWindow
*arg1
= (wxWindow
*) 0 ;
26614 PyObject
* obj0
= 0 ;
26615 char *kwnames
[] = {
26616 (char *) "self", NULL
26619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
26620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26624 result
= (arg1
)->GetCursor();
26626 wxPyEndAllowThreads(__tstate
);
26627 if (PyErr_Occurred()) SWIG_fail
;
26630 wxCursor
* resultptr
;
26631 resultptr
= new wxCursor((wxCursor
&) result
);
26632 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
26640 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26641 PyObject
*resultobj
;
26642 wxWindow
*arg1
= (wxWindow
*) 0 ;
26645 PyObject
* obj0
= 0 ;
26646 PyObject
* obj1
= 0 ;
26647 char *kwnames
[] = {
26648 (char *) "self",(char *) "font", NULL
26651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26654 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26655 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26657 if (arg2
== NULL
) {
26658 PyErr_SetString(PyExc_TypeError
,"null reference");
26662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26663 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
26665 wxPyEndAllowThreads(__tstate
);
26666 if (PyErr_Occurred()) SWIG_fail
;
26669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26677 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26678 PyObject
*resultobj
;
26679 wxWindow
*arg1
= (wxWindow
*) 0 ;
26681 PyObject
* obj0
= 0 ;
26682 PyObject
* obj1
= 0 ;
26683 char *kwnames
[] = {
26684 (char *) "self",(char *) "font", NULL
26687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26690 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26691 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26693 if (arg2
== NULL
) {
26694 PyErr_SetString(PyExc_TypeError
,"null reference");
26698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26699 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
26701 wxPyEndAllowThreads(__tstate
);
26702 if (PyErr_Occurred()) SWIG_fail
;
26704 Py_INCREF(Py_None
); resultobj
= Py_None
;
26711 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26712 PyObject
*resultobj
;
26713 wxWindow
*arg1
= (wxWindow
*) 0 ;
26715 PyObject
* obj0
= 0 ;
26716 char *kwnames
[] = {
26717 (char *) "self", NULL
26720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
26721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26725 result
= (arg1
)->GetFont();
26727 wxPyEndAllowThreads(__tstate
);
26728 if (PyErr_Occurred()) SWIG_fail
;
26731 wxFont
* resultptr
;
26732 resultptr
= new wxFont((wxFont
&) result
);
26733 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
26741 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26742 PyObject
*resultobj
;
26743 wxWindow
*arg1
= (wxWindow
*) 0 ;
26744 wxCaret
*arg2
= (wxCaret
*) 0 ;
26745 PyObject
* obj0
= 0 ;
26746 PyObject
* obj1
= 0 ;
26747 char *kwnames
[] = {
26748 (char *) "self",(char *) "caret", NULL
26751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
26752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26754 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
26755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26758 (arg1
)->SetCaret(arg2
);
26760 wxPyEndAllowThreads(__tstate
);
26761 if (PyErr_Occurred()) SWIG_fail
;
26763 Py_INCREF(Py_None
); resultobj
= Py_None
;
26770 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26771 PyObject
*resultobj
;
26772 wxWindow
*arg1
= (wxWindow
*) 0 ;
26774 PyObject
* obj0
= 0 ;
26775 char *kwnames
[] = {
26776 (char *) "self", NULL
26779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
26780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26784 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
26786 wxPyEndAllowThreads(__tstate
);
26787 if (PyErr_Occurred()) SWIG_fail
;
26789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
26796 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26797 PyObject
*resultobj
;
26798 wxWindow
*arg1
= (wxWindow
*) 0 ;
26800 PyObject
* obj0
= 0 ;
26801 char *kwnames
[] = {
26802 (char *) "self", NULL
26805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
26806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26810 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
26812 wxPyEndAllowThreads(__tstate
);
26813 if (PyErr_Occurred()) SWIG_fail
;
26815 resultobj
= SWIG_From_int((int)result
);
26822 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26823 PyObject
*resultobj
;
26824 wxWindow
*arg1
= (wxWindow
*) 0 ;
26826 PyObject
* obj0
= 0 ;
26827 char *kwnames
[] = {
26828 (char *) "self", NULL
26831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
26832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26836 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
26838 wxPyEndAllowThreads(__tstate
);
26839 if (PyErr_Occurred()) SWIG_fail
;
26841 resultobj
= SWIG_From_int((int)result
);
26848 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26849 PyObject
*resultobj
;
26850 wxWindow
*arg1
= (wxWindow
*) 0 ;
26851 wxString
*arg2
= 0 ;
26852 int *arg3
= (int *) 0 ;
26853 int *arg4
= (int *) 0 ;
26854 bool temp2
= False
;
26859 PyObject
* obj0
= 0 ;
26860 PyObject
* obj1
= 0 ;
26861 char *kwnames
[] = {
26862 (char *) "self",(char *) "string", NULL
26865 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26866 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
26867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
26868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26871 arg2
= wxString_in_helper(obj1
);
26872 if (arg2
== NULL
) SWIG_fail
;
26876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26877 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
26879 wxPyEndAllowThreads(__tstate
);
26880 if (PyErr_Occurred()) SWIG_fail
;
26882 Py_INCREF(Py_None
); resultobj
= Py_None
;
26883 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26884 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26885 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
26886 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
26901 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26902 PyObject
*resultobj
;
26903 wxWindow
*arg1
= (wxWindow
*) 0 ;
26904 wxString
*arg2
= 0 ;
26905 int *arg3
= (int *) 0 ;
26906 int *arg4
= (int *) 0 ;
26907 int *arg5
= (int *) 0 ;
26908 int *arg6
= (int *) 0 ;
26909 wxFont
*arg7
= (wxFont
*) NULL
;
26910 bool temp2
= False
;
26919 PyObject
* obj0
= 0 ;
26920 PyObject
* obj1
= 0 ;
26921 PyObject
* obj2
= 0 ;
26922 char *kwnames
[] = {
26923 (char *) "self",(char *) "string",(char *) "font", NULL
26926 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26927 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
26928 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
26929 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
26930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26934 arg2
= wxString_in_helper(obj1
);
26935 if (arg2
== NULL
) SWIG_fail
;
26939 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
26940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26944 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
26946 wxPyEndAllowThreads(__tstate
);
26947 if (PyErr_Occurred()) SWIG_fail
;
26949 Py_INCREF(Py_None
); resultobj
= Py_None
;
26950 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26951 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26952 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
26953 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
26954 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
26955 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
26956 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
26957 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
26972 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26973 PyObject
*resultobj
;
26974 wxWindow
*arg1
= (wxWindow
*) 0 ;
26975 int *arg2
= (int *) 0 ;
26976 int *arg3
= (int *) 0 ;
26981 PyObject
* obj0
= 0 ;
26982 PyObject
* obj1
= 0 ;
26983 PyObject
* obj2
= 0 ;
26984 char *kwnames
[] = {
26985 (char *) "self",(char *) "x",(char *) "y", NULL
26988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26992 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
26993 temp2
= SWIG_As_int(obj1
);
26994 if (PyErr_Occurred()) SWIG_fail
;
26996 res2
= SWIG_NEWOBJ
;
27000 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
27001 temp3
= SWIG_As_int(obj2
);
27002 if (PyErr_Occurred()) SWIG_fail
;
27004 res3
= SWIG_NEWOBJ
;
27008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27009 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
27011 wxPyEndAllowThreads(__tstate
);
27012 if (PyErr_Occurred()) SWIG_fail
;
27014 Py_INCREF(Py_None
); resultobj
= Py_None
;
27015 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27016 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27017 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27018 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27025 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27026 PyObject
*resultobj
;
27027 wxWindow
*arg1
= (wxWindow
*) 0 ;
27028 int *arg2
= (int *) 0 ;
27029 int *arg3
= (int *) 0 ;
27034 PyObject
* obj0
= 0 ;
27035 PyObject
* obj1
= 0 ;
27036 PyObject
* obj2
= 0 ;
27037 char *kwnames
[] = {
27038 (char *) "self",(char *) "x",(char *) "y", NULL
27041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27045 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
27046 temp2
= SWIG_As_int(obj1
);
27047 if (PyErr_Occurred()) SWIG_fail
;
27049 res2
= SWIG_NEWOBJ
;
27053 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
27054 temp3
= SWIG_As_int(obj2
);
27055 if (PyErr_Occurred()) SWIG_fail
;
27057 res3
= SWIG_NEWOBJ
;
27061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27062 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
27064 wxPyEndAllowThreads(__tstate
);
27065 if (PyErr_Occurred()) SWIG_fail
;
27067 Py_INCREF(Py_None
); resultobj
= Py_None
;
27068 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27069 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27070 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27071 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27078 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27079 PyObject
*resultobj
;
27080 wxWindow
*arg1
= (wxWindow
*) 0 ;
27081 wxPoint
*arg2
= 0 ;
27084 PyObject
* obj0
= 0 ;
27085 PyObject
* obj1
= 0 ;
27086 char *kwnames
[] = {
27087 (char *) "self",(char *) "pt", NULL
27090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
27091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27095 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27099 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
27101 wxPyEndAllowThreads(__tstate
);
27102 if (PyErr_Occurred()) SWIG_fail
;
27105 wxPoint
* resultptr
;
27106 resultptr
= new wxPoint((wxPoint
&) result
);
27107 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27115 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27116 PyObject
*resultobj
;
27117 wxWindow
*arg1
= (wxWindow
*) 0 ;
27118 wxPoint
*arg2
= 0 ;
27121 PyObject
* obj0
= 0 ;
27122 PyObject
* obj1
= 0 ;
27123 char *kwnames
[] = {
27124 (char *) "self",(char *) "pt", NULL
27127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
27128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27132 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27136 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
27138 wxPyEndAllowThreads(__tstate
);
27139 if (PyErr_Occurred()) SWIG_fail
;
27142 wxPoint
* resultptr
;
27143 resultptr
= new wxPoint((wxPoint
&) result
);
27144 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27152 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27153 PyObject
*resultobj
;
27154 wxWindow
*arg1
= (wxWindow
*) 0 ;
27158 PyObject
* obj0
= 0 ;
27159 PyObject
* obj1
= 0 ;
27160 PyObject
* obj2
= 0 ;
27161 char *kwnames
[] = {
27162 (char *) "self",(char *) "x",(char *) "y", NULL
27165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27168 arg2
= (int)SWIG_As_int(obj1
);
27169 if (PyErr_Occurred()) SWIG_fail
;
27170 arg3
= (int)SWIG_As_int(obj2
);
27171 if (PyErr_Occurred()) SWIG_fail
;
27173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27174 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
27176 wxPyEndAllowThreads(__tstate
);
27177 if (PyErr_Occurred()) SWIG_fail
;
27179 resultobj
= SWIG_From_int((int)result
);
27186 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27187 PyObject
*resultobj
;
27188 wxWindow
*arg1
= (wxWindow
*) 0 ;
27189 wxPoint
*arg2
= 0 ;
27192 PyObject
* obj0
= 0 ;
27193 PyObject
* obj1
= 0 ;
27194 char *kwnames
[] = {
27195 (char *) "self",(char *) "pt", NULL
27198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27203 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27207 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
27209 wxPyEndAllowThreads(__tstate
);
27210 if (PyErr_Occurred()) SWIG_fail
;
27212 resultobj
= SWIG_From_int((int)result
);
27219 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
27220 PyObject
*resultobj
;
27221 wxWindow
*arg1
= (wxWindow
*) 0 ;
27224 PyObject
* obj0
= 0 ;
27225 PyObject
* obj1
= 0 ;
27227 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
27228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27230 arg2
= (long)SWIG_As_long(obj1
);
27231 if (PyErr_Occurred()) SWIG_fail
;
27233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27234 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
27236 wxPyEndAllowThreads(__tstate
);
27237 if (PyErr_Occurred()) SWIG_fail
;
27239 resultobj
= SWIG_From_int((int)result
);
27246 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
27247 PyObject
*resultobj
;
27248 wxWindow
*arg1
= (wxWindow
*) 0 ;
27250 PyObject
* obj0
= 0 ;
27252 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
27253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27257 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
27259 wxPyEndAllowThreads(__tstate
);
27260 if (PyErr_Occurred()) SWIG_fail
;
27262 resultobj
= SWIG_From_int((int)result
);
27269 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
27274 argc
= PyObject_Length(args
);
27275 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
27276 argv
[ii
] = PyTuple_GetItem(args
,ii
);
27282 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27290 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
27297 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27305 _v
= SWIG_Check_long(argv
[1]);
27307 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
27312 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
27317 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27318 PyObject
*resultobj
;
27319 wxWindow
*arg1
= (wxWindow
*) 0 ;
27320 long arg2
= (long) wxUPDATE_UI_NONE
;
27321 PyObject
* obj0
= 0 ;
27322 PyObject
* obj1
= 0 ;
27323 char *kwnames
[] = {
27324 (char *) "self",(char *) "flags", NULL
27327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
27328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27331 arg2
= (long)SWIG_As_long(obj1
);
27332 if (PyErr_Occurred()) SWIG_fail
;
27335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27336 (arg1
)->UpdateWindowUI(arg2
);
27338 wxPyEndAllowThreads(__tstate
);
27339 if (PyErr_Occurred()) SWIG_fail
;
27341 Py_INCREF(Py_None
); resultobj
= Py_None
;
27348 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27349 PyObject
*resultobj
;
27350 wxWindow
*arg1
= (wxWindow
*) 0 ;
27351 wxMenu
*arg2
= (wxMenu
*) 0 ;
27352 int arg3
= (int) -1 ;
27353 int arg4
= (int) -1 ;
27355 PyObject
* obj0
= 0 ;
27356 PyObject
* obj1
= 0 ;
27357 PyObject
* obj2
= 0 ;
27358 PyObject
* obj3
= 0 ;
27359 char *kwnames
[] = {
27360 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
27363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27366 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27369 arg3
= (int)SWIG_As_int(obj2
);
27370 if (PyErr_Occurred()) SWIG_fail
;
27373 arg4
= (int)SWIG_As_int(obj3
);
27374 if (PyErr_Occurred()) SWIG_fail
;
27377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27378 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
27380 wxPyEndAllowThreads(__tstate
);
27381 if (PyErr_Occurred()) SWIG_fail
;
27384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27392 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27393 PyObject
*resultobj
;
27394 wxWindow
*arg1
= (wxWindow
*) 0 ;
27395 wxMenu
*arg2
= (wxMenu
*) 0 ;
27396 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27397 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27400 PyObject
* obj0
= 0 ;
27401 PyObject
* obj1
= 0 ;
27402 PyObject
* obj2
= 0 ;
27403 char *kwnames
[] = {
27404 (char *) "self",(char *) "menu",(char *) "pos", NULL
27407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27410 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27415 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27420 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
27422 wxPyEndAllowThreads(__tstate
);
27423 if (PyErr_Occurred()) SWIG_fail
;
27426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27434 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27435 PyObject
*resultobj
;
27436 wxWindow
*arg1
= (wxWindow
*) 0 ;
27438 PyObject
* obj0
= 0 ;
27439 char *kwnames
[] = {
27440 (char *) "self", NULL
27443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
27444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27448 result
= (long)wxWindow_GetHandle(arg1
);
27450 wxPyEndAllowThreads(__tstate
);
27451 if (PyErr_Occurred()) SWIG_fail
;
27453 resultobj
= SWIG_From_long((long)result
);
27460 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27461 PyObject
*resultobj
;
27462 wxWindow
*arg1
= (wxWindow
*) 0 ;
27464 PyObject
* obj0
= 0 ;
27465 PyObject
* obj1
= 0 ;
27466 char *kwnames
[] = {
27467 (char *) "self",(char *) "handle", NULL
27470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
27471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27473 arg2
= (long)SWIG_As_long(obj1
);
27474 if (PyErr_Occurred()) SWIG_fail
;
27476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27477 wxWindow_AssociateHandle(arg1
,arg2
);
27479 wxPyEndAllowThreads(__tstate
);
27480 if (PyErr_Occurred()) SWIG_fail
;
27482 Py_INCREF(Py_None
); resultobj
= Py_None
;
27489 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27490 PyObject
*resultobj
;
27491 wxWindow
*arg1
= (wxWindow
*) 0 ;
27492 PyObject
* obj0
= 0 ;
27493 char *kwnames
[] = {
27494 (char *) "self", NULL
27497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
27498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27502 (arg1
)->DissociateHandle();
27504 wxPyEndAllowThreads(__tstate
);
27505 if (PyErr_Occurred()) SWIG_fail
;
27507 Py_INCREF(Py_None
); resultobj
= Py_None
;
27514 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27515 PyObject
*resultobj
;
27516 wxWindow
*arg1
= (wxWindow
*) 0 ;
27519 PyObject
* obj0
= 0 ;
27520 PyObject
* obj1
= 0 ;
27521 char *kwnames
[] = {
27522 (char *) "self",(char *) "orient", NULL
27525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
27526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27528 arg2
= (int)SWIG_As_int(obj1
);
27529 if (PyErr_Occurred()) SWIG_fail
;
27531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27532 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
27534 wxPyEndAllowThreads(__tstate
);
27535 if (PyErr_Occurred()) SWIG_fail
;
27538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27546 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27547 PyObject
*resultobj
;
27548 wxWindow
*arg1
= (wxWindow
*) 0 ;
27553 bool arg6
= (bool) True
;
27554 PyObject
* obj0
= 0 ;
27555 PyObject
* obj1
= 0 ;
27556 PyObject
* obj2
= 0 ;
27557 PyObject
* obj3
= 0 ;
27558 PyObject
* obj4
= 0 ;
27559 PyObject
* obj5
= 0 ;
27560 char *kwnames
[] = {
27561 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
27564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27567 arg2
= (int)SWIG_As_int(obj1
);
27568 if (PyErr_Occurred()) SWIG_fail
;
27569 arg3
= (int)SWIG_As_int(obj2
);
27570 if (PyErr_Occurred()) SWIG_fail
;
27571 arg4
= (int)SWIG_As_int(obj3
);
27572 if (PyErr_Occurred()) SWIG_fail
;
27573 arg5
= (int)SWIG_As_int(obj4
);
27574 if (PyErr_Occurred()) SWIG_fail
;
27576 arg6
= (bool)SWIG_As_bool(obj5
);
27577 if (PyErr_Occurred()) SWIG_fail
;
27580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27581 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
27583 wxPyEndAllowThreads(__tstate
);
27584 if (PyErr_Occurred()) SWIG_fail
;
27586 Py_INCREF(Py_None
); resultobj
= Py_None
;
27593 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27594 PyObject
*resultobj
;
27595 wxWindow
*arg1
= (wxWindow
*) 0 ;
27598 bool arg4
= (bool) True
;
27599 PyObject
* obj0
= 0 ;
27600 PyObject
* obj1
= 0 ;
27601 PyObject
* obj2
= 0 ;
27602 PyObject
* obj3
= 0 ;
27603 char *kwnames
[] = {
27604 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
27607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27610 arg2
= (int)SWIG_As_int(obj1
);
27611 if (PyErr_Occurred()) SWIG_fail
;
27612 arg3
= (int)SWIG_As_int(obj2
);
27613 if (PyErr_Occurred()) SWIG_fail
;
27615 arg4
= (bool)SWIG_As_bool(obj3
);
27616 if (PyErr_Occurred()) SWIG_fail
;
27619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27620 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
27622 wxPyEndAllowThreads(__tstate
);
27623 if (PyErr_Occurred()) SWIG_fail
;
27625 Py_INCREF(Py_None
); resultobj
= Py_None
;
27632 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27633 PyObject
*resultobj
;
27634 wxWindow
*arg1
= (wxWindow
*) 0 ;
27637 PyObject
* obj0
= 0 ;
27638 PyObject
* obj1
= 0 ;
27639 char *kwnames
[] = {
27640 (char *) "self",(char *) "orientation", NULL
27643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
27644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27646 arg2
= (int)SWIG_As_int(obj1
);
27647 if (PyErr_Occurred()) SWIG_fail
;
27649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27650 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
27652 wxPyEndAllowThreads(__tstate
);
27653 if (PyErr_Occurred()) SWIG_fail
;
27655 resultobj
= SWIG_From_int((int)result
);
27662 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27663 PyObject
*resultobj
;
27664 wxWindow
*arg1
= (wxWindow
*) 0 ;
27667 PyObject
* obj0
= 0 ;
27668 PyObject
* obj1
= 0 ;
27669 char *kwnames
[] = {
27670 (char *) "self",(char *) "orientation", NULL
27673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
27674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27676 arg2
= (int)SWIG_As_int(obj1
);
27677 if (PyErr_Occurred()) SWIG_fail
;
27679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27680 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
27682 wxPyEndAllowThreads(__tstate
);
27683 if (PyErr_Occurred()) SWIG_fail
;
27685 resultobj
= SWIG_From_int((int)result
);
27692 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27693 PyObject
*resultobj
;
27694 wxWindow
*arg1
= (wxWindow
*) 0 ;
27697 PyObject
* obj0
= 0 ;
27698 PyObject
* obj1
= 0 ;
27699 char *kwnames
[] = {
27700 (char *) "self",(char *) "orientation", NULL
27703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
27704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27706 arg2
= (int)SWIG_As_int(obj1
);
27707 if (PyErr_Occurred()) SWIG_fail
;
27709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27710 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
27712 wxPyEndAllowThreads(__tstate
);
27713 if (PyErr_Occurred()) SWIG_fail
;
27715 resultobj
= SWIG_From_int((int)result
);
27722 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27723 PyObject
*resultobj
;
27724 wxWindow
*arg1
= (wxWindow
*) 0 ;
27727 wxRect
*arg4
= (wxRect
*) NULL
;
27728 PyObject
* obj0
= 0 ;
27729 PyObject
* obj1
= 0 ;
27730 PyObject
* obj2
= 0 ;
27731 PyObject
* obj3
= 0 ;
27732 char *kwnames
[] = {
27733 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
27736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27739 arg2
= (int)SWIG_As_int(obj1
);
27740 if (PyErr_Occurred()) SWIG_fail
;
27741 arg3
= (int)SWIG_As_int(obj2
);
27742 if (PyErr_Occurred()) SWIG_fail
;
27744 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
27745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27749 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
27751 wxPyEndAllowThreads(__tstate
);
27752 if (PyErr_Occurred()) SWIG_fail
;
27754 Py_INCREF(Py_None
); resultobj
= Py_None
;
27761 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27762 PyObject
*resultobj
;
27763 wxWindow
*arg1
= (wxWindow
*) 0 ;
27766 PyObject
* obj0
= 0 ;
27767 PyObject
* obj1
= 0 ;
27768 char *kwnames
[] = {
27769 (char *) "self",(char *) "lines", NULL
27772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
27773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27775 arg2
= (int)SWIG_As_int(obj1
);
27776 if (PyErr_Occurred()) SWIG_fail
;
27778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27779 result
= (bool)(arg1
)->ScrollLines(arg2
);
27781 wxPyEndAllowThreads(__tstate
);
27782 if (PyErr_Occurred()) SWIG_fail
;
27785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27793 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27794 PyObject
*resultobj
;
27795 wxWindow
*arg1
= (wxWindow
*) 0 ;
27798 PyObject
* obj0
= 0 ;
27799 PyObject
* obj1
= 0 ;
27800 char *kwnames
[] = {
27801 (char *) "self",(char *) "pages", NULL
27804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
27805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27807 arg2
= (int)SWIG_As_int(obj1
);
27808 if (PyErr_Occurred()) SWIG_fail
;
27810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27811 result
= (bool)(arg1
)->ScrollPages(arg2
);
27813 wxPyEndAllowThreads(__tstate
);
27814 if (PyErr_Occurred()) SWIG_fail
;
27817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27825 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27826 PyObject
*resultobj
;
27827 wxWindow
*arg1
= (wxWindow
*) 0 ;
27829 PyObject
* obj0
= 0 ;
27830 char *kwnames
[] = {
27831 (char *) "self", NULL
27834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
27835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27839 result
= (bool)(arg1
)->LineUp();
27841 wxPyEndAllowThreads(__tstate
);
27842 if (PyErr_Occurred()) SWIG_fail
;
27845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27853 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27854 PyObject
*resultobj
;
27855 wxWindow
*arg1
= (wxWindow
*) 0 ;
27857 PyObject
* obj0
= 0 ;
27858 char *kwnames
[] = {
27859 (char *) "self", NULL
27862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
27863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27867 result
= (bool)(arg1
)->LineDown();
27869 wxPyEndAllowThreads(__tstate
);
27870 if (PyErr_Occurred()) SWIG_fail
;
27873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27881 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27882 PyObject
*resultobj
;
27883 wxWindow
*arg1
= (wxWindow
*) 0 ;
27885 PyObject
* obj0
= 0 ;
27886 char *kwnames
[] = {
27887 (char *) "self", NULL
27890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
27891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27895 result
= (bool)(arg1
)->PageUp();
27897 wxPyEndAllowThreads(__tstate
);
27898 if (PyErr_Occurred()) SWIG_fail
;
27901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27909 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27910 PyObject
*resultobj
;
27911 wxWindow
*arg1
= (wxWindow
*) 0 ;
27913 PyObject
* obj0
= 0 ;
27914 char *kwnames
[] = {
27915 (char *) "self", NULL
27918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
27919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27923 result
= (bool)(arg1
)->PageDown();
27925 wxPyEndAllowThreads(__tstate
);
27926 if (PyErr_Occurred()) SWIG_fail
;
27929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27937 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27938 PyObject
*resultobj
;
27939 wxWindow
*arg1
= (wxWindow
*) 0 ;
27940 wxString
*arg2
= 0 ;
27941 bool temp2
= False
;
27942 PyObject
* obj0
= 0 ;
27943 PyObject
* obj1
= 0 ;
27944 char *kwnames
[] = {
27945 (char *) "self",(char *) "text", NULL
27948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
27949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27952 arg2
= wxString_in_helper(obj1
);
27953 if (arg2
== NULL
) SWIG_fail
;
27957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27958 (arg1
)->SetHelpText((wxString
const &)*arg2
);
27960 wxPyEndAllowThreads(__tstate
);
27961 if (PyErr_Occurred()) SWIG_fail
;
27963 Py_INCREF(Py_None
); resultobj
= Py_None
;
27978 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27979 PyObject
*resultobj
;
27980 wxWindow
*arg1
= (wxWindow
*) 0 ;
27981 wxString
*arg2
= 0 ;
27982 bool temp2
= False
;
27983 PyObject
* obj0
= 0 ;
27984 PyObject
* obj1
= 0 ;
27985 char *kwnames
[] = {
27986 (char *) "self",(char *) "text", NULL
27989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
27990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27993 arg2
= wxString_in_helper(obj1
);
27994 if (arg2
== NULL
) SWIG_fail
;
27998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27999 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
28001 wxPyEndAllowThreads(__tstate
);
28002 if (PyErr_Occurred()) SWIG_fail
;
28004 Py_INCREF(Py_None
); resultobj
= Py_None
;
28019 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28020 PyObject
*resultobj
;
28021 wxWindow
*arg1
= (wxWindow
*) 0 ;
28023 PyObject
* obj0
= 0 ;
28024 char *kwnames
[] = {
28025 (char *) "self", NULL
28028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
28029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28033 result
= ((wxWindow
const *)arg1
)->GetHelpText();
28035 wxPyEndAllowThreads(__tstate
);
28036 if (PyErr_Occurred()) SWIG_fail
;
28040 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28042 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28051 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28052 PyObject
*resultobj
;
28053 wxWindow
*arg1
= (wxWindow
*) 0 ;
28054 wxString
*arg2
= 0 ;
28055 bool temp2
= False
;
28056 PyObject
* obj0
= 0 ;
28057 PyObject
* obj1
= 0 ;
28058 char *kwnames
[] = {
28059 (char *) "self",(char *) "tip", NULL
28062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
28063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28066 arg2
= wxString_in_helper(obj1
);
28067 if (arg2
== NULL
) SWIG_fail
;
28071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28072 (arg1
)->SetToolTip((wxString
const &)*arg2
);
28074 wxPyEndAllowThreads(__tstate
);
28075 if (PyErr_Occurred()) SWIG_fail
;
28077 Py_INCREF(Py_None
); resultobj
= Py_None
;
28092 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28093 PyObject
*resultobj
;
28094 wxWindow
*arg1
= (wxWindow
*) 0 ;
28095 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
28096 PyObject
* obj0
= 0 ;
28097 PyObject
* obj1
= 0 ;
28098 char *kwnames
[] = {
28099 (char *) "self",(char *) "tip", NULL
28102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
28103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28105 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
28106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28109 (arg1
)->SetToolTip(arg2
);
28111 wxPyEndAllowThreads(__tstate
);
28112 if (PyErr_Occurred()) SWIG_fail
;
28114 Py_INCREF(Py_None
); resultobj
= Py_None
;
28121 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28122 PyObject
*resultobj
;
28123 wxWindow
*arg1
= (wxWindow
*) 0 ;
28125 PyObject
* obj0
= 0 ;
28126 char *kwnames
[] = {
28127 (char *) "self", NULL
28130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
28131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28135 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
28137 wxPyEndAllowThreads(__tstate
);
28138 if (PyErr_Occurred()) SWIG_fail
;
28141 resultobj
= wxPyMake_wxObject(result
, 0);
28149 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28150 PyObject
*resultobj
;
28151 wxWindow
*arg1
= (wxWindow
*) 0 ;
28152 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
28153 PyObject
* obj0
= 0 ;
28154 PyObject
* obj1
= 0 ;
28155 char *kwnames
[] = {
28156 (char *) "self",(char *) "dropTarget", NULL
28159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
28160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28162 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
28163 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
28165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28166 (arg1
)->SetDropTarget(arg2
);
28168 wxPyEndAllowThreads(__tstate
);
28169 if (PyErr_Occurred()) SWIG_fail
;
28171 Py_INCREF(Py_None
); resultobj
= Py_None
;
28178 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28179 PyObject
*resultobj
;
28180 wxWindow
*arg1
= (wxWindow
*) 0 ;
28181 wxPyDropTarget
*result
;
28182 PyObject
* obj0
= 0 ;
28183 char *kwnames
[] = {
28184 (char *) "self", NULL
28187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
28188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28192 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
28194 wxPyEndAllowThreads(__tstate
);
28195 if (PyErr_Occurred()) SWIG_fail
;
28197 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
28204 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28205 PyObject
*resultobj
;
28206 wxWindow
*arg1
= (wxWindow
*) 0 ;
28207 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
28208 PyObject
* obj0
= 0 ;
28209 PyObject
* obj1
= 0 ;
28210 char *kwnames
[] = {
28211 (char *) "self",(char *) "constraints", NULL
28214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
28215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28217 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
28218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28221 (arg1
)->SetConstraints(arg2
);
28223 wxPyEndAllowThreads(__tstate
);
28224 if (PyErr_Occurred()) SWIG_fail
;
28226 Py_INCREF(Py_None
); resultobj
= Py_None
;
28233 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28234 PyObject
*resultobj
;
28235 wxWindow
*arg1
= (wxWindow
*) 0 ;
28236 wxLayoutConstraints
*result
;
28237 PyObject
* obj0
= 0 ;
28238 char *kwnames
[] = {
28239 (char *) "self", NULL
28242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
28243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28247 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
28249 wxPyEndAllowThreads(__tstate
);
28250 if (PyErr_Occurred()) SWIG_fail
;
28252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
28259 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28260 PyObject
*resultobj
;
28261 wxWindow
*arg1
= (wxWindow
*) 0 ;
28263 PyObject
* obj0
= 0 ;
28264 PyObject
* obj1
= 0 ;
28265 char *kwnames
[] = {
28266 (char *) "self",(char *) "autoLayout", NULL
28269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
28270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28272 arg2
= (bool)SWIG_As_bool(obj1
);
28273 if (PyErr_Occurred()) SWIG_fail
;
28275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28276 (arg1
)->SetAutoLayout(arg2
);
28278 wxPyEndAllowThreads(__tstate
);
28279 if (PyErr_Occurred()) SWIG_fail
;
28281 Py_INCREF(Py_None
); resultobj
= Py_None
;
28288 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28289 PyObject
*resultobj
;
28290 wxWindow
*arg1
= (wxWindow
*) 0 ;
28292 PyObject
* obj0
= 0 ;
28293 char *kwnames
[] = {
28294 (char *) "self", NULL
28297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
28298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28302 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
28304 wxPyEndAllowThreads(__tstate
);
28305 if (PyErr_Occurred()) SWIG_fail
;
28308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28316 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28317 PyObject
*resultobj
;
28318 wxWindow
*arg1
= (wxWindow
*) 0 ;
28320 PyObject
* obj0
= 0 ;
28321 char *kwnames
[] = {
28322 (char *) "self", NULL
28325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
28326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28330 result
= (bool)(arg1
)->Layout();
28332 wxPyEndAllowThreads(__tstate
);
28333 if (PyErr_Occurred()) SWIG_fail
;
28336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28344 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28345 PyObject
*resultobj
;
28346 wxWindow
*arg1
= (wxWindow
*) 0 ;
28347 wxSizer
*arg2
= (wxSizer
*) 0 ;
28348 bool arg3
= (bool) True
;
28349 PyObject
* obj0
= 0 ;
28350 PyObject
* obj1
= 0 ;
28351 PyObject
* obj2
= 0 ;
28352 char *kwnames
[] = {
28353 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28359 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28362 arg3
= (bool)SWIG_As_bool(obj2
);
28363 if (PyErr_Occurred()) SWIG_fail
;
28366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28367 (arg1
)->SetSizer(arg2
,arg3
);
28369 wxPyEndAllowThreads(__tstate
);
28370 if (PyErr_Occurred()) SWIG_fail
;
28372 Py_INCREF(Py_None
); resultobj
= Py_None
;
28379 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28380 PyObject
*resultobj
;
28381 wxWindow
*arg1
= (wxWindow
*) 0 ;
28382 wxSizer
*arg2
= (wxSizer
*) 0 ;
28383 bool arg3
= (bool) True
;
28384 PyObject
* obj0
= 0 ;
28385 PyObject
* obj1
= 0 ;
28386 PyObject
* obj2
= 0 ;
28387 char *kwnames
[] = {
28388 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28394 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28397 arg3
= (bool)SWIG_As_bool(obj2
);
28398 if (PyErr_Occurred()) SWIG_fail
;
28401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28402 (arg1
)->SetSizerAndFit(arg2
,arg3
);
28404 wxPyEndAllowThreads(__tstate
);
28405 if (PyErr_Occurred()) SWIG_fail
;
28407 Py_INCREF(Py_None
); resultobj
= Py_None
;
28414 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28415 PyObject
*resultobj
;
28416 wxWindow
*arg1
= (wxWindow
*) 0 ;
28418 PyObject
* obj0
= 0 ;
28419 char *kwnames
[] = {
28420 (char *) "self", NULL
28423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
28424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28428 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
28430 wxPyEndAllowThreads(__tstate
);
28431 if (PyErr_Occurred()) SWIG_fail
;
28434 resultobj
= wxPyMake_wxSizer(result
, 0);
28442 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28443 PyObject
*resultobj
;
28444 wxWindow
*arg1
= (wxWindow
*) 0 ;
28445 wxSizer
*arg2
= (wxSizer
*) 0 ;
28446 PyObject
* obj0
= 0 ;
28447 PyObject
* obj1
= 0 ;
28448 char *kwnames
[] = {
28449 (char *) "self",(char *) "sizer", NULL
28452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
28453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28455 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28459 (arg1
)->SetContainingSizer(arg2
);
28461 wxPyEndAllowThreads(__tstate
);
28462 if (PyErr_Occurred()) SWIG_fail
;
28464 Py_INCREF(Py_None
); resultobj
= Py_None
;
28471 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28472 PyObject
*resultobj
;
28473 wxWindow
*arg1
= (wxWindow
*) 0 ;
28475 PyObject
* obj0
= 0 ;
28476 char *kwnames
[] = {
28477 (char *) "self", NULL
28480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
28481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28485 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
28487 wxPyEndAllowThreads(__tstate
);
28488 if (PyErr_Occurred()) SWIG_fail
;
28491 resultobj
= wxPyMake_wxSizer(result
, 0);
28499 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28500 PyObject
*resultobj
;
28501 wxWindow
*arg1
= (wxWindow
*) 0 ;
28502 PyObject
* obj0
= 0 ;
28503 char *kwnames
[] = {
28504 (char *) "self", NULL
28507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
28508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28512 (arg1
)->InheritAttributes();
28514 wxPyEndAllowThreads(__tstate
);
28515 if (PyErr_Occurred()) SWIG_fail
;
28517 Py_INCREF(Py_None
); resultobj
= Py_None
;
28524 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28525 PyObject
*resultobj
;
28526 wxWindow
*arg1
= (wxWindow
*) 0 ;
28528 PyObject
* obj0
= 0 ;
28529 char *kwnames
[] = {
28530 (char *) "self", NULL
28533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
28534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28538 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
28540 wxPyEndAllowThreads(__tstate
);
28541 if (PyErr_Occurred()) SWIG_fail
;
28544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28552 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
28554 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28555 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
28557 return Py_BuildValue((char *)"");
28559 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28560 PyObject
*resultobj
;
28562 wxWindow
*arg2
= (wxWindow
*) NULL
;
28564 PyObject
* obj0
= 0 ;
28565 PyObject
* obj1
= 0 ;
28566 char *kwnames
[] = {
28567 (char *) "id",(char *) "parent", NULL
28570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28571 arg1
= (long)SWIG_As_long(obj0
);
28572 if (PyErr_Occurred()) SWIG_fail
;
28574 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28578 if (!wxPyCheckForApp()) SWIG_fail
;
28579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28580 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
28582 wxPyEndAllowThreads(__tstate
);
28583 if (PyErr_Occurred()) SWIG_fail
;
28586 resultobj
= wxPyMake_wxObject(result
, 0);
28594 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28595 PyObject
*resultobj
;
28596 wxString
*arg1
= 0 ;
28597 wxWindow
*arg2
= (wxWindow
*) NULL
;
28599 bool temp1
= False
;
28600 PyObject
* obj0
= 0 ;
28601 PyObject
* obj1
= 0 ;
28602 char *kwnames
[] = {
28603 (char *) "name",(char *) "parent", NULL
28606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28608 arg1
= wxString_in_helper(obj0
);
28609 if (arg1
== NULL
) SWIG_fail
;
28613 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28617 if (!wxPyCheckForApp()) SWIG_fail
;
28618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28619 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28621 wxPyEndAllowThreads(__tstate
);
28622 if (PyErr_Occurred()) SWIG_fail
;
28625 resultobj
= wxPyMake_wxObject(result
, 0);
28641 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28642 PyObject
*resultobj
;
28643 wxString
*arg1
= 0 ;
28644 wxWindow
*arg2
= (wxWindow
*) NULL
;
28646 bool temp1
= False
;
28647 PyObject
* obj0
= 0 ;
28648 PyObject
* obj1
= 0 ;
28649 char *kwnames
[] = {
28650 (char *) "label",(char *) "parent", NULL
28653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28655 arg1
= wxString_in_helper(obj0
);
28656 if (arg1
== NULL
) SWIG_fail
;
28660 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28664 if (!wxPyCheckForApp()) SWIG_fail
;
28665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28666 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28668 wxPyEndAllowThreads(__tstate
);
28669 if (PyErr_Occurred()) SWIG_fail
;
28672 resultobj
= wxPyMake_wxObject(result
, 0);
28688 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28689 PyObject
*resultobj
;
28690 wxWindow
*arg1
= (wxWindow
*) 0 ;
28691 unsigned long arg2
;
28693 PyObject
* obj0
= 0 ;
28694 PyObject
* obj1
= 0 ;
28695 char *kwnames
[] = {
28696 (char *) "parent",(char *) "_hWnd", NULL
28699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
28700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28702 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
28703 if (PyErr_Occurred()) SWIG_fail
;
28705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28706 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
28708 wxPyEndAllowThreads(__tstate
);
28709 if (PyErr_Occurred()) SWIG_fail
;
28712 resultobj
= wxPyMake_wxObject(result
, 0);
28720 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28721 PyObject
*resultobj
;
28722 wxValidator
*result
;
28723 char *kwnames
[] = {
28727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
28729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28730 result
= (wxValidator
*)new wxValidator();
28732 wxPyEndAllowThreads(__tstate
);
28733 if (PyErr_Occurred()) SWIG_fail
;
28735 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
28742 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28743 PyObject
*resultobj
;
28744 wxValidator
*arg1
= (wxValidator
*) 0 ;
28745 wxValidator
*result
;
28746 PyObject
* obj0
= 0 ;
28747 char *kwnames
[] = {
28748 (char *) "self", NULL
28751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
28752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28756 result
= (wxValidator
*)(arg1
)->Clone();
28758 wxPyEndAllowThreads(__tstate
);
28759 if (PyErr_Occurred()) SWIG_fail
;
28762 resultobj
= wxPyMake_wxObject(result
, 0);
28770 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28771 PyObject
*resultobj
;
28772 wxValidator
*arg1
= (wxValidator
*) 0 ;
28773 wxWindow
*arg2
= (wxWindow
*) 0 ;
28775 PyObject
* obj0
= 0 ;
28776 PyObject
* obj1
= 0 ;
28777 char *kwnames
[] = {
28778 (char *) "self",(char *) "parent", NULL
28781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
28782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28784 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28788 result
= (bool)(arg1
)->Validate(arg2
);
28790 wxPyEndAllowThreads(__tstate
);
28791 if (PyErr_Occurred()) SWIG_fail
;
28794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28802 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28803 PyObject
*resultobj
;
28804 wxValidator
*arg1
= (wxValidator
*) 0 ;
28806 PyObject
* obj0
= 0 ;
28807 char *kwnames
[] = {
28808 (char *) "self", NULL
28811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
28812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28816 result
= (bool)(arg1
)->TransferToWindow();
28818 wxPyEndAllowThreads(__tstate
);
28819 if (PyErr_Occurred()) SWIG_fail
;
28822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28830 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28831 PyObject
*resultobj
;
28832 wxValidator
*arg1
= (wxValidator
*) 0 ;
28834 PyObject
* obj0
= 0 ;
28835 char *kwnames
[] = {
28836 (char *) "self", NULL
28839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
28840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28844 result
= (bool)(arg1
)->TransferFromWindow();
28846 wxPyEndAllowThreads(__tstate
);
28847 if (PyErr_Occurred()) SWIG_fail
;
28850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28858 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28859 PyObject
*resultobj
;
28860 wxValidator
*arg1
= (wxValidator
*) 0 ;
28862 PyObject
* obj0
= 0 ;
28863 char *kwnames
[] = {
28864 (char *) "self", NULL
28867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
28868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28872 result
= (wxWindow
*)(arg1
)->GetWindow();
28874 wxPyEndAllowThreads(__tstate
);
28875 if (PyErr_Occurred()) SWIG_fail
;
28878 resultobj
= wxPyMake_wxObject(result
, 0);
28886 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28887 PyObject
*resultobj
;
28888 wxValidator
*arg1
= (wxValidator
*) 0 ;
28889 wxWindow
*arg2
= (wxWindow
*) 0 ;
28890 PyObject
* obj0
= 0 ;
28891 PyObject
* obj1
= 0 ;
28892 char *kwnames
[] = {
28893 (char *) "self",(char *) "window", NULL
28896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
28897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28899 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28903 (arg1
)->SetWindow(arg2
);
28905 wxPyEndAllowThreads(__tstate
);
28906 if (PyErr_Occurred()) SWIG_fail
;
28908 Py_INCREF(Py_None
); resultobj
= Py_None
;
28915 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28916 PyObject
*resultobj
;
28918 char *kwnames
[] = {
28922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
28924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28925 result
= (bool)wxValidator::IsSilent();
28927 wxPyEndAllowThreads(__tstate
);
28928 if (PyErr_Occurred()) SWIG_fail
;
28931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28939 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28940 PyObject
*resultobj
;
28941 int arg1
= (int) True
;
28942 PyObject
* obj0
= 0 ;
28943 char *kwnames
[] = {
28944 (char *) "doIt", NULL
28947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
28949 arg1
= (int)SWIG_As_int(obj0
);
28950 if (PyErr_Occurred()) SWIG_fail
;
28953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28954 wxValidator::SetBellOnError(arg1
);
28956 wxPyEndAllowThreads(__tstate
);
28957 if (PyErr_Occurred()) SWIG_fail
;
28959 Py_INCREF(Py_None
); resultobj
= Py_None
;
28966 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
28968 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28969 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
28971 return Py_BuildValue((char *)"");
28973 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28974 PyObject
*resultobj
;
28975 wxPyValidator
*result
;
28976 char *kwnames
[] = {
28980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
28982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28983 result
= (wxPyValidator
*)new wxPyValidator();
28985 wxPyEndAllowThreads(__tstate
);
28986 if (PyErr_Occurred()) SWIG_fail
;
28988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
28995 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28996 PyObject
*resultobj
;
28997 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
28998 PyObject
*arg2
= (PyObject
*) 0 ;
28999 PyObject
*arg3
= (PyObject
*) 0 ;
29000 int arg4
= (int) True
;
29001 PyObject
* obj0
= 0 ;
29002 PyObject
* obj1
= 0 ;
29003 PyObject
* obj2
= 0 ;
29004 PyObject
* obj3
= 0 ;
29005 char *kwnames
[] = {
29006 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
29009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
29011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29015 arg4
= (int)SWIG_As_int(obj3
);
29016 if (PyErr_Occurred()) SWIG_fail
;
29019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29020 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
29022 wxPyEndAllowThreads(__tstate
);
29023 if (PyErr_Occurred()) SWIG_fail
;
29025 Py_INCREF(Py_None
); resultobj
= Py_None
;
29032 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
29034 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29035 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
29037 return Py_BuildValue((char *)"");
29039 static int _wrap_DefaultValidator_set(PyObject
*) {
29040 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
29045 static PyObject
*_wrap_DefaultValidator_get() {
29048 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
29053 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29054 PyObject
*resultobj
;
29055 wxString
const &arg1_defvalue
= wxPyEmptyString
;
29056 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
29057 long arg2
= (long) 0 ;
29059 bool temp1
= False
;
29060 PyObject
* obj0
= 0 ;
29061 PyObject
* obj1
= 0 ;
29062 char *kwnames
[] = {
29063 (char *) "title",(char *) "style", NULL
29066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
29069 arg1
= wxString_in_helper(obj0
);
29070 if (arg1
== NULL
) SWIG_fail
;
29075 arg2
= (long)SWIG_As_long(obj1
);
29076 if (PyErr_Occurred()) SWIG_fail
;
29079 if (!wxPyCheckForApp()) SWIG_fail
;
29080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29081 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
29083 wxPyEndAllowThreads(__tstate
);
29084 if (PyErr_Occurred()) SWIG_fail
;
29086 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
29101 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29102 PyObject
*resultobj
;
29103 wxMenu
*arg1
= (wxMenu
*) 0 ;
29105 wxString
*arg3
= 0 ;
29106 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29107 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29108 int arg5
= (int) wxITEM_NORMAL
;
29109 wxMenuItem
*result
;
29110 bool temp3
= False
;
29111 bool temp4
= False
;
29112 PyObject
* obj0
= 0 ;
29113 PyObject
* obj1
= 0 ;
29114 PyObject
* obj2
= 0 ;
29115 PyObject
* obj3
= 0 ;
29116 PyObject
* obj4
= 0 ;
29117 char *kwnames
[] = {
29118 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29124 arg2
= (int)SWIG_As_int(obj1
);
29125 if (PyErr_Occurred()) SWIG_fail
;
29127 arg3
= wxString_in_helper(obj2
);
29128 if (arg3
== NULL
) SWIG_fail
;
29133 arg4
= wxString_in_helper(obj3
);
29134 if (arg4
== NULL
) SWIG_fail
;
29139 arg5
= (int)SWIG_As_int(obj4
);
29140 if (PyErr_Occurred()) SWIG_fail
;
29143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29144 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29146 wxPyEndAllowThreads(__tstate
);
29147 if (PyErr_Occurred()) SWIG_fail
;
29150 resultobj
= wxPyMake_wxObject(result
, 0);
29174 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29175 PyObject
*resultobj
;
29176 wxMenu
*arg1
= (wxMenu
*) 0 ;
29177 wxMenuItem
*result
;
29178 PyObject
* obj0
= 0 ;
29179 char *kwnames
[] = {
29180 (char *) "self", NULL
29183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
29184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29188 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
29190 wxPyEndAllowThreads(__tstate
);
29191 if (PyErr_Occurred()) SWIG_fail
;
29194 resultobj
= wxPyMake_wxObject(result
, 0);
29202 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29203 PyObject
*resultobj
;
29204 wxMenu
*arg1
= (wxMenu
*) 0 ;
29206 wxString
*arg3
= 0 ;
29207 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29208 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29209 wxMenuItem
*result
;
29210 bool temp3
= False
;
29211 bool temp4
= False
;
29212 PyObject
* obj0
= 0 ;
29213 PyObject
* obj1
= 0 ;
29214 PyObject
* obj2
= 0 ;
29215 PyObject
* obj3
= 0 ;
29216 char *kwnames
[] = {
29217 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29223 arg2
= (int)SWIG_As_int(obj1
);
29224 if (PyErr_Occurred()) SWIG_fail
;
29226 arg3
= wxString_in_helper(obj2
);
29227 if (arg3
== NULL
) SWIG_fail
;
29232 arg4
= wxString_in_helper(obj3
);
29233 if (arg4
== NULL
) SWIG_fail
;
29238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29239 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29241 wxPyEndAllowThreads(__tstate
);
29242 if (PyErr_Occurred()) SWIG_fail
;
29245 resultobj
= wxPyMake_wxObject(result
, 0);
29269 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29270 PyObject
*resultobj
;
29271 wxMenu
*arg1
= (wxMenu
*) 0 ;
29273 wxString
*arg3
= 0 ;
29274 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29275 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29276 wxMenuItem
*result
;
29277 bool temp3
= False
;
29278 bool temp4
= False
;
29279 PyObject
* obj0
= 0 ;
29280 PyObject
* obj1
= 0 ;
29281 PyObject
* obj2
= 0 ;
29282 PyObject
* obj3
= 0 ;
29283 char *kwnames
[] = {
29284 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29290 arg2
= (int)SWIG_As_int(obj1
);
29291 if (PyErr_Occurred()) SWIG_fail
;
29293 arg3
= wxString_in_helper(obj2
);
29294 if (arg3
== NULL
) SWIG_fail
;
29299 arg4
= wxString_in_helper(obj3
);
29300 if (arg4
== NULL
) SWIG_fail
;
29305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29306 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29308 wxPyEndAllowThreads(__tstate
);
29309 if (PyErr_Occurred()) SWIG_fail
;
29312 resultobj
= wxPyMake_wxObject(result
, 0);
29336 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29337 PyObject
*resultobj
;
29338 wxMenu
*arg1
= (wxMenu
*) 0 ;
29340 wxString
*arg3
= 0 ;
29341 wxMenu
*arg4
= (wxMenu
*) 0 ;
29342 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29343 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29344 wxMenuItem
*result
;
29345 bool temp3
= False
;
29346 bool temp5
= False
;
29347 PyObject
* obj0
= 0 ;
29348 PyObject
* obj1
= 0 ;
29349 PyObject
* obj2
= 0 ;
29350 PyObject
* obj3
= 0 ;
29351 PyObject
* obj4
= 0 ;
29352 char *kwnames
[] = {
29353 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29359 arg2
= (int)SWIG_As_int(obj1
);
29360 if (PyErr_Occurred()) SWIG_fail
;
29362 arg3
= wxString_in_helper(obj2
);
29363 if (arg3
== NULL
) SWIG_fail
;
29366 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29370 arg5
= wxString_in_helper(obj4
);
29371 if (arg5
== NULL
) SWIG_fail
;
29376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29377 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29379 wxPyEndAllowThreads(__tstate
);
29380 if (PyErr_Occurred()) SWIG_fail
;
29383 resultobj
= wxPyMake_wxObject(result
, 0);
29407 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29408 PyObject
*resultobj
;
29409 wxMenu
*arg1
= (wxMenu
*) 0 ;
29410 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29411 wxMenuItem
*result
;
29412 PyObject
* obj0
= 0 ;
29413 PyObject
* obj1
= 0 ;
29414 char *kwnames
[] = {
29415 (char *) "self",(char *) "item", NULL
29418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29421 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29425 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
29427 wxPyEndAllowThreads(__tstate
);
29428 if (PyErr_Occurred()) SWIG_fail
;
29431 resultobj
= wxPyMake_wxObject(result
, 0);
29439 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29440 PyObject
*resultobj
;
29441 wxMenu
*arg1
= (wxMenu
*) 0 ;
29442 PyObject
* obj0
= 0 ;
29443 char *kwnames
[] = {
29444 (char *) "self", NULL
29447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
29448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29454 wxPyEndAllowThreads(__tstate
);
29455 if (PyErr_Occurred()) SWIG_fail
;
29457 Py_INCREF(Py_None
); resultobj
= Py_None
;
29464 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29465 PyObject
*resultobj
;
29466 wxMenu
*arg1
= (wxMenu
*) 0 ;
29468 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
29469 wxMenuItem
*result
;
29470 PyObject
* obj0
= 0 ;
29471 PyObject
* obj1
= 0 ;
29472 PyObject
* obj2
= 0 ;
29473 char *kwnames
[] = {
29474 (char *) "self",(char *) "pos",(char *) "item", NULL
29477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29480 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29481 if (PyErr_Occurred()) SWIG_fail
;
29482 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
29483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29486 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
29488 wxPyEndAllowThreads(__tstate
);
29489 if (PyErr_Occurred()) SWIG_fail
;
29492 resultobj
= wxPyMake_wxObject(result
, 0);
29500 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29501 PyObject
*resultobj
;
29502 wxMenu
*arg1
= (wxMenu
*) 0 ;
29505 wxString
*arg4
= 0 ;
29506 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29507 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29508 int arg6
= (int) wxITEM_NORMAL
;
29509 wxMenuItem
*result
;
29510 bool temp4
= False
;
29511 bool temp5
= False
;
29512 PyObject
* obj0
= 0 ;
29513 PyObject
* obj1
= 0 ;
29514 PyObject
* obj2
= 0 ;
29515 PyObject
* obj3
= 0 ;
29516 PyObject
* obj4
= 0 ;
29517 PyObject
* obj5
= 0 ;
29518 char *kwnames
[] = {
29519 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29525 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29526 if (PyErr_Occurred()) SWIG_fail
;
29527 arg3
= (int)SWIG_As_int(obj2
);
29528 if (PyErr_Occurred()) SWIG_fail
;
29530 arg4
= wxString_in_helper(obj3
);
29531 if (arg4
== NULL
) SWIG_fail
;
29536 arg5
= wxString_in_helper(obj4
);
29537 if (arg5
== NULL
) SWIG_fail
;
29542 arg6
= (int)SWIG_As_int(obj5
);
29543 if (PyErr_Occurred()) SWIG_fail
;
29546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29547 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
29549 wxPyEndAllowThreads(__tstate
);
29550 if (PyErr_Occurred()) SWIG_fail
;
29553 resultobj
= wxPyMake_wxObject(result
, 0);
29577 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29578 PyObject
*resultobj
;
29579 wxMenu
*arg1
= (wxMenu
*) 0 ;
29581 wxMenuItem
*result
;
29582 PyObject
* obj0
= 0 ;
29583 PyObject
* obj1
= 0 ;
29584 char *kwnames
[] = {
29585 (char *) "self",(char *) "pos", NULL
29588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
29589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29591 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29592 if (PyErr_Occurred()) SWIG_fail
;
29594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29595 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
29597 wxPyEndAllowThreads(__tstate
);
29598 if (PyErr_Occurred()) SWIG_fail
;
29601 resultobj
= wxPyMake_wxObject(result
, 0);
29609 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29610 PyObject
*resultobj
;
29611 wxMenu
*arg1
= (wxMenu
*) 0 ;
29614 wxString
*arg4
= 0 ;
29615 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29616 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29617 wxMenuItem
*result
;
29618 bool temp4
= False
;
29619 bool temp5
= False
;
29620 PyObject
* obj0
= 0 ;
29621 PyObject
* obj1
= 0 ;
29622 PyObject
* obj2
= 0 ;
29623 PyObject
* obj3
= 0 ;
29624 PyObject
* obj4
= 0 ;
29625 char *kwnames
[] = {
29626 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29632 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29633 if (PyErr_Occurred()) SWIG_fail
;
29634 arg3
= (int)SWIG_As_int(obj2
);
29635 if (PyErr_Occurred()) SWIG_fail
;
29637 arg4
= wxString_in_helper(obj3
);
29638 if (arg4
== NULL
) SWIG_fail
;
29643 arg5
= wxString_in_helper(obj4
);
29644 if (arg5
== NULL
) SWIG_fail
;
29649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29650 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29652 wxPyEndAllowThreads(__tstate
);
29653 if (PyErr_Occurred()) SWIG_fail
;
29656 resultobj
= wxPyMake_wxObject(result
, 0);
29680 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29681 PyObject
*resultobj
;
29682 wxMenu
*arg1
= (wxMenu
*) 0 ;
29685 wxString
*arg4
= 0 ;
29686 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29687 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29688 wxMenuItem
*result
;
29689 bool temp4
= False
;
29690 bool temp5
= False
;
29691 PyObject
* obj0
= 0 ;
29692 PyObject
* obj1
= 0 ;
29693 PyObject
* obj2
= 0 ;
29694 PyObject
* obj3
= 0 ;
29695 PyObject
* obj4
= 0 ;
29696 char *kwnames
[] = {
29697 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29703 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29704 if (PyErr_Occurred()) SWIG_fail
;
29705 arg3
= (int)SWIG_As_int(obj2
);
29706 if (PyErr_Occurred()) SWIG_fail
;
29708 arg4
= wxString_in_helper(obj3
);
29709 if (arg4
== NULL
) SWIG_fail
;
29714 arg5
= wxString_in_helper(obj4
);
29715 if (arg5
== NULL
) SWIG_fail
;
29720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29721 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29723 wxPyEndAllowThreads(__tstate
);
29724 if (PyErr_Occurred()) SWIG_fail
;
29727 resultobj
= wxPyMake_wxObject(result
, 0);
29751 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29752 PyObject
*resultobj
;
29753 wxMenu
*arg1
= (wxMenu
*) 0 ;
29756 wxString
*arg4
= 0 ;
29757 wxMenu
*arg5
= (wxMenu
*) 0 ;
29758 wxString
const &arg6_defvalue
= wxPyEmptyString
;
29759 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29760 wxMenuItem
*result
;
29761 bool temp4
= False
;
29762 bool temp6
= False
;
29763 PyObject
* obj0
= 0 ;
29764 PyObject
* obj1
= 0 ;
29765 PyObject
* obj2
= 0 ;
29766 PyObject
* obj3
= 0 ;
29767 PyObject
* obj4
= 0 ;
29768 PyObject
* obj5
= 0 ;
29769 char *kwnames
[] = {
29770 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29776 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29777 if (PyErr_Occurred()) SWIG_fail
;
29778 arg3
= (int)SWIG_As_int(obj2
);
29779 if (PyErr_Occurred()) SWIG_fail
;
29781 arg4
= wxString_in_helper(obj3
);
29782 if (arg4
== NULL
) SWIG_fail
;
29785 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
29786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29789 arg6
= wxString_in_helper(obj5
);
29790 if (arg6
== NULL
) SWIG_fail
;
29795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29796 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29798 wxPyEndAllowThreads(__tstate
);
29799 if (PyErr_Occurred()) SWIG_fail
;
29802 resultobj
= wxPyMake_wxObject(result
, 0);
29826 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29827 PyObject
*resultobj
;
29828 wxMenu
*arg1
= (wxMenu
*) 0 ;
29829 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29830 wxMenuItem
*result
;
29831 PyObject
* obj0
= 0 ;
29832 PyObject
* obj1
= 0 ;
29833 char *kwnames
[] = {
29834 (char *) "self",(char *) "item", NULL
29837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29840 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29844 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
29846 wxPyEndAllowThreads(__tstate
);
29847 if (PyErr_Occurred()) SWIG_fail
;
29850 resultobj
= wxPyMake_wxObject(result
, 0);
29858 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29859 PyObject
*resultobj
;
29860 wxMenu
*arg1
= (wxMenu
*) 0 ;
29862 wxString
*arg3
= 0 ;
29863 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29864 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29865 int arg5
= (int) wxITEM_NORMAL
;
29866 wxMenuItem
*result
;
29867 bool temp3
= False
;
29868 bool temp4
= False
;
29869 PyObject
* obj0
= 0 ;
29870 PyObject
* obj1
= 0 ;
29871 PyObject
* obj2
= 0 ;
29872 PyObject
* obj3
= 0 ;
29873 PyObject
* obj4
= 0 ;
29874 char *kwnames
[] = {
29875 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29881 arg2
= (int)SWIG_As_int(obj1
);
29882 if (PyErr_Occurred()) SWIG_fail
;
29884 arg3
= wxString_in_helper(obj2
);
29885 if (arg3
== NULL
) SWIG_fail
;
29890 arg4
= wxString_in_helper(obj3
);
29891 if (arg4
== NULL
) SWIG_fail
;
29896 arg5
= (int)SWIG_As_int(obj4
);
29897 if (PyErr_Occurred()) SWIG_fail
;
29900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29901 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29903 wxPyEndAllowThreads(__tstate
);
29904 if (PyErr_Occurred()) SWIG_fail
;
29907 resultobj
= wxPyMake_wxObject(result
, 0);
29931 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29932 PyObject
*resultobj
;
29933 wxMenu
*arg1
= (wxMenu
*) 0 ;
29934 wxMenuItem
*result
;
29935 PyObject
* obj0
= 0 ;
29936 char *kwnames
[] = {
29937 (char *) "self", NULL
29940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
29941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29945 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
29947 wxPyEndAllowThreads(__tstate
);
29948 if (PyErr_Occurred()) SWIG_fail
;
29951 resultobj
= wxPyMake_wxObject(result
, 0);
29959 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29960 PyObject
*resultobj
;
29961 wxMenu
*arg1
= (wxMenu
*) 0 ;
29963 wxString
*arg3
= 0 ;
29964 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29965 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29966 wxMenuItem
*result
;
29967 bool temp3
= False
;
29968 bool temp4
= False
;
29969 PyObject
* obj0
= 0 ;
29970 PyObject
* obj1
= 0 ;
29971 PyObject
* obj2
= 0 ;
29972 PyObject
* obj3
= 0 ;
29973 char *kwnames
[] = {
29974 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29980 arg2
= (int)SWIG_As_int(obj1
);
29981 if (PyErr_Occurred()) SWIG_fail
;
29983 arg3
= wxString_in_helper(obj2
);
29984 if (arg3
== NULL
) SWIG_fail
;
29989 arg4
= wxString_in_helper(obj3
);
29990 if (arg4
== NULL
) SWIG_fail
;
29995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29996 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29998 wxPyEndAllowThreads(__tstate
);
29999 if (PyErr_Occurred()) SWIG_fail
;
30002 resultobj
= wxPyMake_wxObject(result
, 0);
30026 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30027 PyObject
*resultobj
;
30028 wxMenu
*arg1
= (wxMenu
*) 0 ;
30030 wxString
*arg3
= 0 ;
30031 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30032 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30033 wxMenuItem
*result
;
30034 bool temp3
= False
;
30035 bool temp4
= False
;
30036 PyObject
* obj0
= 0 ;
30037 PyObject
* obj1
= 0 ;
30038 PyObject
* obj2
= 0 ;
30039 PyObject
* obj3
= 0 ;
30040 char *kwnames
[] = {
30041 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
30044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30047 arg2
= (int)SWIG_As_int(obj1
);
30048 if (PyErr_Occurred()) SWIG_fail
;
30050 arg3
= wxString_in_helper(obj2
);
30051 if (arg3
== NULL
) SWIG_fail
;
30056 arg4
= wxString_in_helper(obj3
);
30057 if (arg4
== NULL
) SWIG_fail
;
30062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30063 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
30065 wxPyEndAllowThreads(__tstate
);
30066 if (PyErr_Occurred()) SWIG_fail
;
30069 resultobj
= wxPyMake_wxObject(result
, 0);
30093 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30094 PyObject
*resultobj
;
30095 wxMenu
*arg1
= (wxMenu
*) 0 ;
30097 wxString
*arg3
= 0 ;
30098 wxMenu
*arg4
= (wxMenu
*) 0 ;
30099 wxString
const &arg5_defvalue
= wxPyEmptyString
;
30100 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
30101 wxMenuItem
*result
;
30102 bool temp3
= False
;
30103 bool temp5
= False
;
30104 PyObject
* obj0
= 0 ;
30105 PyObject
* obj1
= 0 ;
30106 PyObject
* obj2
= 0 ;
30107 PyObject
* obj3
= 0 ;
30108 PyObject
* obj4
= 0 ;
30109 char *kwnames
[] = {
30110 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
30113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30116 arg2
= (int)SWIG_As_int(obj1
);
30117 if (PyErr_Occurred()) SWIG_fail
;
30119 arg3
= wxString_in_helper(obj2
);
30120 if (arg3
== NULL
) SWIG_fail
;
30123 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
30124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30127 arg5
= wxString_in_helper(obj4
);
30128 if (arg5
== NULL
) SWIG_fail
;
30133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30134 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
30136 wxPyEndAllowThreads(__tstate
);
30137 if (PyErr_Occurred()) SWIG_fail
;
30140 resultobj
= wxPyMake_wxObject(result
, 0);
30164 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30165 PyObject
*resultobj
;
30166 wxMenu
*arg1
= (wxMenu
*) 0 ;
30168 wxMenuItem
*result
;
30169 PyObject
* obj0
= 0 ;
30170 PyObject
* obj1
= 0 ;
30171 char *kwnames
[] = {
30172 (char *) "self",(char *) "id", NULL
30175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
30176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30178 arg2
= (int)SWIG_As_int(obj1
);
30179 if (PyErr_Occurred()) SWIG_fail
;
30181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30182 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
30184 wxPyEndAllowThreads(__tstate
);
30185 if (PyErr_Occurred()) SWIG_fail
;
30188 resultobj
= wxPyMake_wxObject(result
, 0);
30196 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30197 PyObject
*resultobj
;
30198 wxMenu
*arg1
= (wxMenu
*) 0 ;
30199 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30200 wxMenuItem
*result
;
30201 PyObject
* obj0
= 0 ;
30202 PyObject
* obj1
= 0 ;
30203 char *kwnames
[] = {
30204 (char *) "self",(char *) "item", NULL
30207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30210 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30214 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
30216 wxPyEndAllowThreads(__tstate
);
30217 if (PyErr_Occurred()) SWIG_fail
;
30220 resultobj
= wxPyMake_wxObject(result
, 0);
30228 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30229 PyObject
*resultobj
;
30230 wxMenu
*arg1
= (wxMenu
*) 0 ;
30233 PyObject
* obj0
= 0 ;
30234 PyObject
* obj1
= 0 ;
30235 char *kwnames
[] = {
30236 (char *) "self",(char *) "id", NULL
30239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30242 arg2
= (int)SWIG_As_int(obj1
);
30243 if (PyErr_Occurred()) SWIG_fail
;
30245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30246 result
= (bool)(arg1
)->Delete(arg2
);
30248 wxPyEndAllowThreads(__tstate
);
30249 if (PyErr_Occurred()) SWIG_fail
;
30252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30260 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30261 PyObject
*resultobj
;
30262 wxMenu
*arg1
= (wxMenu
*) 0 ;
30263 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30265 PyObject
* obj0
= 0 ;
30266 PyObject
* obj1
= 0 ;
30267 char *kwnames
[] = {
30268 (char *) "self",(char *) "item", NULL
30271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30274 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30278 result
= (bool)(arg1
)->Delete(arg2
);
30280 wxPyEndAllowThreads(__tstate
);
30281 if (PyErr_Occurred()) SWIG_fail
;
30284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30292 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30293 PyObject
*resultobj
;
30294 wxMenu
*arg1
= (wxMenu
*) 0 ;
30295 PyObject
* obj0
= 0 ;
30296 char *kwnames
[] = {
30297 (char *) "self", NULL
30300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
30301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30305 wxMenu_Destroy(arg1
);
30307 wxPyEndAllowThreads(__tstate
);
30308 if (PyErr_Occurred()) SWIG_fail
;
30310 Py_INCREF(Py_None
); resultobj
= Py_None
;
30317 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30318 PyObject
*resultobj
;
30319 wxMenu
*arg1
= (wxMenu
*) 0 ;
30322 PyObject
* obj0
= 0 ;
30323 PyObject
* obj1
= 0 ;
30324 char *kwnames
[] = {
30325 (char *) "self",(char *) "id", NULL
30328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
30329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30331 arg2
= (int)SWIG_As_int(obj1
);
30332 if (PyErr_Occurred()) SWIG_fail
;
30334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30335 result
= (bool)(arg1
)->Destroy(arg2
);
30337 wxPyEndAllowThreads(__tstate
);
30338 if (PyErr_Occurred()) SWIG_fail
;
30341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30349 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30350 PyObject
*resultobj
;
30351 wxMenu
*arg1
= (wxMenu
*) 0 ;
30352 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30354 PyObject
* obj0
= 0 ;
30355 PyObject
* obj1
= 0 ;
30356 char *kwnames
[] = {
30357 (char *) "self",(char *) "item", NULL
30360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30363 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30367 result
= (bool)(arg1
)->Destroy(arg2
);
30369 wxPyEndAllowThreads(__tstate
);
30370 if (PyErr_Occurred()) SWIG_fail
;
30373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30381 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30382 PyObject
*resultobj
;
30383 wxMenu
*arg1
= (wxMenu
*) 0 ;
30385 PyObject
* obj0
= 0 ;
30386 char *kwnames
[] = {
30387 (char *) "self", NULL
30390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
30391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30395 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
30397 wxPyEndAllowThreads(__tstate
);
30398 if (PyErr_Occurred()) SWIG_fail
;
30400 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
30407 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30408 PyObject
*resultobj
;
30409 wxMenu
*arg1
= (wxMenu
*) 0 ;
30411 PyObject
* obj0
= 0 ;
30412 char *kwnames
[] = {
30413 (char *) "self", NULL
30416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
30417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30421 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
30423 wxPyEndAllowThreads(__tstate
);
30424 if (PyErr_Occurred()) SWIG_fail
;
30426 resultobj
= result
;
30433 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30434 PyObject
*resultobj
;
30435 wxMenu
*arg1
= (wxMenu
*) 0 ;
30436 wxString
*arg2
= 0 ;
30438 bool temp2
= False
;
30439 PyObject
* obj0
= 0 ;
30440 PyObject
* obj1
= 0 ;
30441 char *kwnames
[] = {
30442 (char *) "self",(char *) "item", NULL
30445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30449 arg2
= wxString_in_helper(obj1
);
30450 if (arg2
== NULL
) SWIG_fail
;
30454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30455 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
30457 wxPyEndAllowThreads(__tstate
);
30458 if (PyErr_Occurred()) SWIG_fail
;
30460 resultobj
= SWIG_From_int((int)result
);
30475 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30476 PyObject
*resultobj
;
30477 wxMenu
*arg1
= (wxMenu
*) 0 ;
30479 wxMenuItem
*result
;
30480 PyObject
* obj0
= 0 ;
30481 PyObject
* obj1
= 0 ;
30482 char *kwnames
[] = {
30483 (char *) "self",(char *) "id", NULL
30486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
30487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30489 arg2
= (int)SWIG_As_int(obj1
);
30490 if (PyErr_Occurred()) SWIG_fail
;
30492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30493 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
30495 wxPyEndAllowThreads(__tstate
);
30496 if (PyErr_Occurred()) SWIG_fail
;
30499 resultobj
= wxPyMake_wxObject(result
, 0);
30507 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30508 PyObject
*resultobj
;
30509 wxMenu
*arg1
= (wxMenu
*) 0 ;
30511 wxMenuItem
*result
;
30512 PyObject
* obj0
= 0 ;
30513 PyObject
* obj1
= 0 ;
30514 char *kwnames
[] = {
30515 (char *) "self",(char *) "position", NULL
30518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
30519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30521 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30522 if (PyErr_Occurred()) SWIG_fail
;
30524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30525 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
30527 wxPyEndAllowThreads(__tstate
);
30528 if (PyErr_Occurred()) SWIG_fail
;
30531 resultobj
= wxPyMake_wxObject(result
, 0);
30539 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30540 PyObject
*resultobj
;
30541 wxMenu
*arg1
= (wxMenu
*) 0 ;
30544 PyObject
* obj0
= 0 ;
30545 PyObject
* obj1
= 0 ;
30546 PyObject
* obj2
= 0 ;
30547 char *kwnames
[] = {
30548 (char *) "self",(char *) "id",(char *) "enable", NULL
30551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30554 arg2
= (int)SWIG_As_int(obj1
);
30555 if (PyErr_Occurred()) SWIG_fail
;
30556 arg3
= (bool)SWIG_As_bool(obj2
);
30557 if (PyErr_Occurred()) SWIG_fail
;
30559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30560 (arg1
)->Enable(arg2
,arg3
);
30562 wxPyEndAllowThreads(__tstate
);
30563 if (PyErr_Occurred()) SWIG_fail
;
30565 Py_INCREF(Py_None
); resultobj
= Py_None
;
30572 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30573 PyObject
*resultobj
;
30574 wxMenu
*arg1
= (wxMenu
*) 0 ;
30577 PyObject
* obj0
= 0 ;
30578 PyObject
* obj1
= 0 ;
30579 char *kwnames
[] = {
30580 (char *) "self",(char *) "id", NULL
30583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
30584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30586 arg2
= (int)SWIG_As_int(obj1
);
30587 if (PyErr_Occurred()) SWIG_fail
;
30589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30590 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
30592 wxPyEndAllowThreads(__tstate
);
30593 if (PyErr_Occurred()) SWIG_fail
;
30596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30604 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30605 PyObject
*resultobj
;
30606 wxMenu
*arg1
= (wxMenu
*) 0 ;
30609 PyObject
* obj0
= 0 ;
30610 PyObject
* obj1
= 0 ;
30611 PyObject
* obj2
= 0 ;
30612 char *kwnames
[] = {
30613 (char *) "self",(char *) "id",(char *) "check", NULL
30616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30619 arg2
= (int)SWIG_As_int(obj1
);
30620 if (PyErr_Occurred()) SWIG_fail
;
30621 arg3
= (bool)SWIG_As_bool(obj2
);
30622 if (PyErr_Occurred()) SWIG_fail
;
30624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30625 (arg1
)->Check(arg2
,arg3
);
30627 wxPyEndAllowThreads(__tstate
);
30628 if (PyErr_Occurred()) SWIG_fail
;
30630 Py_INCREF(Py_None
); resultobj
= Py_None
;
30637 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30638 PyObject
*resultobj
;
30639 wxMenu
*arg1
= (wxMenu
*) 0 ;
30642 PyObject
* obj0
= 0 ;
30643 PyObject
* obj1
= 0 ;
30644 char *kwnames
[] = {
30645 (char *) "self",(char *) "id", NULL
30648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
30649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30651 arg2
= (int)SWIG_As_int(obj1
);
30652 if (PyErr_Occurred()) SWIG_fail
;
30654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30655 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
30657 wxPyEndAllowThreads(__tstate
);
30658 if (PyErr_Occurred()) SWIG_fail
;
30661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30669 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30670 PyObject
*resultobj
;
30671 wxMenu
*arg1
= (wxMenu
*) 0 ;
30673 wxString
*arg3
= 0 ;
30674 bool temp3
= False
;
30675 PyObject
* obj0
= 0 ;
30676 PyObject
* obj1
= 0 ;
30677 PyObject
* obj2
= 0 ;
30678 char *kwnames
[] = {
30679 (char *) "self",(char *) "id",(char *) "label", NULL
30682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30685 arg2
= (int)SWIG_As_int(obj1
);
30686 if (PyErr_Occurred()) SWIG_fail
;
30688 arg3
= wxString_in_helper(obj2
);
30689 if (arg3
== NULL
) SWIG_fail
;
30693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30694 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
30696 wxPyEndAllowThreads(__tstate
);
30697 if (PyErr_Occurred()) SWIG_fail
;
30699 Py_INCREF(Py_None
); resultobj
= Py_None
;
30714 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30715 PyObject
*resultobj
;
30716 wxMenu
*arg1
= (wxMenu
*) 0 ;
30719 PyObject
* obj0
= 0 ;
30720 PyObject
* obj1
= 0 ;
30721 char *kwnames
[] = {
30722 (char *) "self",(char *) "id", NULL
30725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30728 arg2
= (int)SWIG_As_int(obj1
);
30729 if (PyErr_Occurred()) SWIG_fail
;
30731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30732 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
30734 wxPyEndAllowThreads(__tstate
);
30735 if (PyErr_Occurred()) SWIG_fail
;
30739 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30741 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30750 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30751 PyObject
*resultobj
;
30752 wxMenu
*arg1
= (wxMenu
*) 0 ;
30754 wxString
*arg3
= 0 ;
30755 bool temp3
= False
;
30756 PyObject
* obj0
= 0 ;
30757 PyObject
* obj1
= 0 ;
30758 PyObject
* obj2
= 0 ;
30759 char *kwnames
[] = {
30760 (char *) "self",(char *) "id",(char *) "helpString", NULL
30763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30766 arg2
= (int)SWIG_As_int(obj1
);
30767 if (PyErr_Occurred()) SWIG_fail
;
30769 arg3
= wxString_in_helper(obj2
);
30770 if (arg3
== NULL
) SWIG_fail
;
30774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30775 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
30777 wxPyEndAllowThreads(__tstate
);
30778 if (PyErr_Occurred()) SWIG_fail
;
30780 Py_INCREF(Py_None
); resultobj
= Py_None
;
30795 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30796 PyObject
*resultobj
;
30797 wxMenu
*arg1
= (wxMenu
*) 0 ;
30800 PyObject
* obj0
= 0 ;
30801 PyObject
* obj1
= 0 ;
30802 char *kwnames
[] = {
30803 (char *) "self",(char *) "id", NULL
30806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
30807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30809 arg2
= (int)SWIG_As_int(obj1
);
30810 if (PyErr_Occurred()) SWIG_fail
;
30812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30813 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
30815 wxPyEndAllowThreads(__tstate
);
30816 if (PyErr_Occurred()) SWIG_fail
;
30820 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30822 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30831 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30832 PyObject
*resultobj
;
30833 wxMenu
*arg1
= (wxMenu
*) 0 ;
30834 wxString
*arg2
= 0 ;
30835 bool temp2
= False
;
30836 PyObject
* obj0
= 0 ;
30837 PyObject
* obj1
= 0 ;
30838 char *kwnames
[] = {
30839 (char *) "self",(char *) "title", NULL
30842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
30843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30846 arg2
= wxString_in_helper(obj1
);
30847 if (arg2
== NULL
) SWIG_fail
;
30851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30852 (arg1
)->SetTitle((wxString
const &)*arg2
);
30854 wxPyEndAllowThreads(__tstate
);
30855 if (PyErr_Occurred()) SWIG_fail
;
30857 Py_INCREF(Py_None
); resultobj
= Py_None
;
30872 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30873 PyObject
*resultobj
;
30874 wxMenu
*arg1
= (wxMenu
*) 0 ;
30876 PyObject
* obj0
= 0 ;
30877 char *kwnames
[] = {
30878 (char *) "self", NULL
30881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
30882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30886 result
= ((wxMenu
const *)arg1
)->GetTitle();
30888 wxPyEndAllowThreads(__tstate
);
30889 if (PyErr_Occurred()) SWIG_fail
;
30893 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30895 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30904 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30905 PyObject
*resultobj
;
30906 wxMenu
*arg1
= (wxMenu
*) 0 ;
30907 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
30908 PyObject
* obj0
= 0 ;
30909 PyObject
* obj1
= 0 ;
30910 char *kwnames
[] = {
30911 (char *) "self",(char *) "handler", NULL
30914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
30915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30917 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30921 (arg1
)->SetEventHandler(arg2
);
30923 wxPyEndAllowThreads(__tstate
);
30924 if (PyErr_Occurred()) SWIG_fail
;
30926 Py_INCREF(Py_None
); resultobj
= Py_None
;
30933 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30934 PyObject
*resultobj
;
30935 wxMenu
*arg1
= (wxMenu
*) 0 ;
30936 wxEvtHandler
*result
;
30937 PyObject
* obj0
= 0 ;
30938 char *kwnames
[] = {
30939 (char *) "self", NULL
30942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
30943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30947 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
30949 wxPyEndAllowThreads(__tstate
);
30950 if (PyErr_Occurred()) SWIG_fail
;
30953 resultobj
= wxPyMake_wxObject(result
, 0);
30961 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30962 PyObject
*resultobj
;
30963 wxMenu
*arg1
= (wxMenu
*) 0 ;
30964 wxWindow
*arg2
= (wxWindow
*) 0 ;
30965 PyObject
* obj0
= 0 ;
30966 PyObject
* obj1
= 0 ;
30967 char *kwnames
[] = {
30968 (char *) "self",(char *) "win", NULL
30971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
30972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30974 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30978 (arg1
)->SetInvokingWindow(arg2
);
30980 wxPyEndAllowThreads(__tstate
);
30981 if (PyErr_Occurred()) SWIG_fail
;
30983 Py_INCREF(Py_None
); resultobj
= Py_None
;
30990 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30991 PyObject
*resultobj
;
30992 wxMenu
*arg1
= (wxMenu
*) 0 ;
30994 PyObject
* obj0
= 0 ;
30995 char *kwnames
[] = {
30996 (char *) "self", NULL
30999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
31000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31004 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
31006 wxPyEndAllowThreads(__tstate
);
31007 if (PyErr_Occurred()) SWIG_fail
;
31010 resultobj
= wxPyMake_wxObject(result
, 0);
31018 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31019 PyObject
*resultobj
;
31020 wxMenu
*arg1
= (wxMenu
*) 0 ;
31022 PyObject
* obj0
= 0 ;
31023 char *kwnames
[] = {
31024 (char *) "self", NULL
31027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
31028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31032 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
31034 wxPyEndAllowThreads(__tstate
);
31035 if (PyErr_Occurred()) SWIG_fail
;
31037 resultobj
= SWIG_From_long((long)result
);
31044 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31045 PyObject
*resultobj
;
31046 wxMenu
*arg1
= (wxMenu
*) 0 ;
31047 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
31048 PyObject
* obj0
= 0 ;
31049 PyObject
* obj1
= 0 ;
31050 char *kwnames
[] = {
31051 (char *) "self",(char *) "source", NULL
31054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
31055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31058 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
31059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31063 (arg1
)->UpdateUI(arg2
);
31065 wxPyEndAllowThreads(__tstate
);
31066 if (PyErr_Occurred()) SWIG_fail
;
31068 Py_INCREF(Py_None
); resultobj
= Py_None
;
31075 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31076 PyObject
*resultobj
;
31077 wxMenu
*arg1
= (wxMenu
*) 0 ;
31079 PyObject
* obj0
= 0 ;
31080 char *kwnames
[] = {
31081 (char *) "self", NULL
31084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
31085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31089 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
31091 wxPyEndAllowThreads(__tstate
);
31092 if (PyErr_Occurred()) SWIG_fail
;
31095 resultobj
= wxPyMake_wxObject(result
, 0);
31103 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31104 PyObject
*resultobj
;
31105 wxMenu
*arg1
= (wxMenu
*) 0 ;
31106 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
31107 PyObject
* obj0
= 0 ;
31108 PyObject
* obj1
= 0 ;
31109 char *kwnames
[] = {
31110 (char *) "self",(char *) "menubar", NULL
31113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
31114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31116 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
31117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31120 (arg1
)->Attach(arg2
);
31122 wxPyEndAllowThreads(__tstate
);
31123 if (PyErr_Occurred()) SWIG_fail
;
31125 Py_INCREF(Py_None
); resultobj
= Py_None
;
31132 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31133 PyObject
*resultobj
;
31134 wxMenu
*arg1
= (wxMenu
*) 0 ;
31135 PyObject
* obj0
= 0 ;
31136 char *kwnames
[] = {
31137 (char *) "self", NULL
31140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
31141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31147 wxPyEndAllowThreads(__tstate
);
31148 if (PyErr_Occurred()) SWIG_fail
;
31150 Py_INCREF(Py_None
); resultobj
= Py_None
;
31157 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31158 PyObject
*resultobj
;
31159 wxMenu
*arg1
= (wxMenu
*) 0 ;
31161 PyObject
* obj0
= 0 ;
31162 char *kwnames
[] = {
31163 (char *) "self", NULL
31166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
31167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31171 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
31173 wxPyEndAllowThreads(__tstate
);
31174 if (PyErr_Occurred()) SWIG_fail
;
31177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31185 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31186 PyObject
*resultobj
;
31187 wxMenu
*arg1
= (wxMenu
*) 0 ;
31188 wxMenu
*arg2
= (wxMenu
*) 0 ;
31189 PyObject
* obj0
= 0 ;
31190 PyObject
* obj1
= 0 ;
31191 char *kwnames
[] = {
31192 (char *) "self",(char *) "parent", NULL
31195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
31196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31198 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31202 (arg1
)->SetParent(arg2
);
31204 wxPyEndAllowThreads(__tstate
);
31205 if (PyErr_Occurred()) SWIG_fail
;
31207 Py_INCREF(Py_None
); resultobj
= Py_None
;
31214 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31215 PyObject
*resultobj
;
31216 wxMenu
*arg1
= (wxMenu
*) 0 ;
31218 PyObject
* obj0
= 0 ;
31219 char *kwnames
[] = {
31220 (char *) "self", NULL
31223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
31224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31228 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
31230 wxPyEndAllowThreads(__tstate
);
31231 if (PyErr_Occurred()) SWIG_fail
;
31234 resultobj
= wxPyMake_wxObject(result
, 0);
31242 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
31244 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31245 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
31247 return Py_BuildValue((char *)"");
31249 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31250 PyObject
*resultobj
;
31251 long arg1
= (long) 0 ;
31253 PyObject
* obj0
= 0 ;
31254 char *kwnames
[] = {
31255 (char *) "style", NULL
31258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
31260 arg1
= (long)SWIG_As_long(obj0
);
31261 if (PyErr_Occurred()) SWIG_fail
;
31264 if (!wxPyCheckForApp()) SWIG_fail
;
31265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31266 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
31268 wxPyEndAllowThreads(__tstate
);
31269 if (PyErr_Occurred()) SWIG_fail
;
31271 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
31278 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31279 PyObject
*resultobj
;
31280 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31281 wxMenu
*arg2
= (wxMenu
*) 0 ;
31282 wxString
*arg3
= 0 ;
31284 bool temp3
= False
;
31285 PyObject
* obj0
= 0 ;
31286 PyObject
* obj1
= 0 ;
31287 PyObject
* obj2
= 0 ;
31288 char *kwnames
[] = {
31289 (char *) "self",(char *) "menu",(char *) "title", NULL
31292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31295 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31298 arg3
= wxString_in_helper(obj2
);
31299 if (arg3
== NULL
) SWIG_fail
;
31303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31304 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
31306 wxPyEndAllowThreads(__tstate
);
31307 if (PyErr_Occurred()) SWIG_fail
;
31310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31326 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31327 PyObject
*resultobj
;
31328 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31330 wxMenu
*arg3
= (wxMenu
*) 0 ;
31331 wxString
*arg4
= 0 ;
31333 bool temp4
= False
;
31334 PyObject
* obj0
= 0 ;
31335 PyObject
* obj1
= 0 ;
31336 PyObject
* obj2
= 0 ;
31337 PyObject
* obj3
= 0 ;
31338 char *kwnames
[] = {
31339 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31345 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31346 if (PyErr_Occurred()) SWIG_fail
;
31347 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31350 arg4
= wxString_in_helper(obj3
);
31351 if (arg4
== NULL
) SWIG_fail
;
31355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31356 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
31358 wxPyEndAllowThreads(__tstate
);
31359 if (PyErr_Occurred()) SWIG_fail
;
31362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31378 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31379 PyObject
*resultobj
;
31380 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31382 PyObject
* obj0
= 0 ;
31383 char *kwnames
[] = {
31384 (char *) "self", NULL
31387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
31388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31392 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
31394 wxPyEndAllowThreads(__tstate
);
31395 if (PyErr_Occurred()) SWIG_fail
;
31397 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
31404 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31405 PyObject
*resultobj
;
31406 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31409 PyObject
* obj0
= 0 ;
31410 PyObject
* obj1
= 0 ;
31411 char *kwnames
[] = {
31412 (char *) "self",(char *) "pos", NULL
31415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31418 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31419 if (PyErr_Occurred()) SWIG_fail
;
31421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31422 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
31424 wxPyEndAllowThreads(__tstate
);
31425 if (PyErr_Occurred()) SWIG_fail
;
31428 resultobj
= wxPyMake_wxObject(result
, 0);
31436 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31437 PyObject
*resultobj
;
31438 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31440 wxMenu
*arg3
= (wxMenu
*) 0 ;
31441 wxString
*arg4
= 0 ;
31443 bool temp4
= False
;
31444 PyObject
* obj0
= 0 ;
31445 PyObject
* obj1
= 0 ;
31446 PyObject
* obj2
= 0 ;
31447 PyObject
* obj3
= 0 ;
31448 char *kwnames
[] = {
31449 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31455 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31456 if (PyErr_Occurred()) SWIG_fail
;
31457 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31460 arg4
= wxString_in_helper(obj3
);
31461 if (arg4
== NULL
) SWIG_fail
;
31465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31466 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
31468 wxPyEndAllowThreads(__tstate
);
31469 if (PyErr_Occurred()) SWIG_fail
;
31472 resultobj
= wxPyMake_wxObject(result
, 0);
31488 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31489 PyObject
*resultobj
;
31490 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31493 PyObject
* obj0
= 0 ;
31494 PyObject
* obj1
= 0 ;
31495 char *kwnames
[] = {
31496 (char *) "self",(char *) "pos", NULL
31499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
31500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31502 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31503 if (PyErr_Occurred()) SWIG_fail
;
31505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31506 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
31508 wxPyEndAllowThreads(__tstate
);
31509 if (PyErr_Occurred()) SWIG_fail
;
31512 resultobj
= wxPyMake_wxObject(result
, 0);
31520 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31521 PyObject
*resultobj
;
31522 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31525 PyObject
* obj0
= 0 ;
31526 PyObject
* obj1
= 0 ;
31527 PyObject
* obj2
= 0 ;
31528 char *kwnames
[] = {
31529 (char *) "self",(char *) "pos",(char *) "enable", NULL
31532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31535 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31536 if (PyErr_Occurred()) SWIG_fail
;
31537 arg3
= (bool)SWIG_As_bool(obj2
);
31538 if (PyErr_Occurred()) SWIG_fail
;
31540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31541 (arg1
)->EnableTop(arg2
,arg3
);
31543 wxPyEndAllowThreads(__tstate
);
31544 if (PyErr_Occurred()) SWIG_fail
;
31546 Py_INCREF(Py_None
); resultobj
= Py_None
;
31553 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31554 PyObject
*resultobj
;
31555 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31558 PyObject
* obj0
= 0 ;
31559 PyObject
* obj1
= 0 ;
31560 char *kwnames
[] = {
31561 (char *) "self",(char *) "pos", NULL
31564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31567 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31568 if (PyErr_Occurred()) SWIG_fail
;
31570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31571 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
31573 wxPyEndAllowThreads(__tstate
);
31574 if (PyErr_Occurred()) SWIG_fail
;
31577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31585 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31586 PyObject
*resultobj
;
31587 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31589 wxString
*arg3
= 0 ;
31590 bool temp3
= False
;
31591 PyObject
* obj0
= 0 ;
31592 PyObject
* obj1
= 0 ;
31593 PyObject
* obj2
= 0 ;
31594 char *kwnames
[] = {
31595 (char *) "self",(char *) "pos",(char *) "label", NULL
31598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31601 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31602 if (PyErr_Occurred()) SWIG_fail
;
31604 arg3
= wxString_in_helper(obj2
);
31605 if (arg3
== NULL
) SWIG_fail
;
31609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31610 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
31612 wxPyEndAllowThreads(__tstate
);
31613 if (PyErr_Occurred()) SWIG_fail
;
31615 Py_INCREF(Py_None
); resultobj
= Py_None
;
31630 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31631 PyObject
*resultobj
;
31632 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31635 PyObject
* obj0
= 0 ;
31636 PyObject
* obj1
= 0 ;
31637 char *kwnames
[] = {
31638 (char *) "self",(char *) "pos", NULL
31641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31644 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31645 if (PyErr_Occurred()) SWIG_fail
;
31647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31648 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
31650 wxPyEndAllowThreads(__tstate
);
31651 if (PyErr_Occurred()) SWIG_fail
;
31655 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31657 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31666 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31667 PyObject
*resultobj
;
31668 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31669 wxString
*arg2
= 0 ;
31670 wxString
*arg3
= 0 ;
31672 bool temp2
= False
;
31673 bool temp3
= False
;
31674 PyObject
* obj0
= 0 ;
31675 PyObject
* obj1
= 0 ;
31676 PyObject
* obj2
= 0 ;
31677 char *kwnames
[] = {
31678 (char *) "self",(char *) "menu",(char *) "item", NULL
31681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31685 arg2
= wxString_in_helper(obj1
);
31686 if (arg2
== NULL
) SWIG_fail
;
31690 arg3
= wxString_in_helper(obj2
);
31691 if (arg3
== NULL
) SWIG_fail
;
31695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31696 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
31698 wxPyEndAllowThreads(__tstate
);
31699 if (PyErr_Occurred()) SWIG_fail
;
31701 resultobj
= SWIG_From_int((int)result
);
31724 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31725 PyObject
*resultobj
;
31726 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31728 wxMenuItem
*result
;
31729 PyObject
* obj0
= 0 ;
31730 PyObject
* obj1
= 0 ;
31731 char *kwnames
[] = {
31732 (char *) "self",(char *) "id", NULL
31735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
31736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31738 arg2
= (int)SWIG_As_int(obj1
);
31739 if (PyErr_Occurred()) SWIG_fail
;
31741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31742 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
31744 wxPyEndAllowThreads(__tstate
);
31745 if (PyErr_Occurred()) SWIG_fail
;
31748 resultobj
= wxPyMake_wxObject(result
, 0);
31756 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31757 PyObject
*resultobj
;
31758 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31759 wxString
*arg2
= 0 ;
31761 bool temp2
= False
;
31762 PyObject
* obj0
= 0 ;
31763 PyObject
* obj1
= 0 ;
31764 char *kwnames
[] = {
31765 (char *) "self",(char *) "title", NULL
31768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31772 arg2
= wxString_in_helper(obj1
);
31773 if (arg2
== NULL
) SWIG_fail
;
31777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31778 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
31780 wxPyEndAllowThreads(__tstate
);
31781 if (PyErr_Occurred()) SWIG_fail
;
31783 resultobj
= SWIG_From_int((int)result
);
31798 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31799 PyObject
*resultobj
;
31800 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31803 PyObject
* obj0
= 0 ;
31804 PyObject
* obj1
= 0 ;
31805 PyObject
* obj2
= 0 ;
31806 char *kwnames
[] = {
31807 (char *) "self",(char *) "id",(char *) "enable", NULL
31810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31813 arg2
= (int)SWIG_As_int(obj1
);
31814 if (PyErr_Occurred()) SWIG_fail
;
31815 arg3
= (bool)SWIG_As_bool(obj2
);
31816 if (PyErr_Occurred()) SWIG_fail
;
31818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31819 (arg1
)->Enable(arg2
,arg3
);
31821 wxPyEndAllowThreads(__tstate
);
31822 if (PyErr_Occurred()) SWIG_fail
;
31824 Py_INCREF(Py_None
); resultobj
= Py_None
;
31831 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31832 PyObject
*resultobj
;
31833 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31836 PyObject
* obj0
= 0 ;
31837 PyObject
* obj1
= 0 ;
31838 PyObject
* obj2
= 0 ;
31839 char *kwnames
[] = {
31840 (char *) "self",(char *) "id",(char *) "check", NULL
31843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31846 arg2
= (int)SWIG_As_int(obj1
);
31847 if (PyErr_Occurred()) SWIG_fail
;
31848 arg3
= (bool)SWIG_As_bool(obj2
);
31849 if (PyErr_Occurred()) SWIG_fail
;
31851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31852 (arg1
)->Check(arg2
,arg3
);
31854 wxPyEndAllowThreads(__tstate
);
31855 if (PyErr_Occurred()) SWIG_fail
;
31857 Py_INCREF(Py_None
); resultobj
= Py_None
;
31864 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31865 PyObject
*resultobj
;
31866 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31869 PyObject
* obj0
= 0 ;
31870 PyObject
* obj1
= 0 ;
31871 char *kwnames
[] = {
31872 (char *) "self",(char *) "id", NULL
31875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
31876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31878 arg2
= (int)SWIG_As_int(obj1
);
31879 if (PyErr_Occurred()) SWIG_fail
;
31881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31882 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
31884 wxPyEndAllowThreads(__tstate
);
31885 if (PyErr_Occurred()) SWIG_fail
;
31888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31896 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31897 PyObject
*resultobj
;
31898 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31901 PyObject
* obj0
= 0 ;
31902 PyObject
* obj1
= 0 ;
31903 char *kwnames
[] = {
31904 (char *) "self",(char *) "id", NULL
31907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
31908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31910 arg2
= (int)SWIG_As_int(obj1
);
31911 if (PyErr_Occurred()) SWIG_fail
;
31913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31914 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
31916 wxPyEndAllowThreads(__tstate
);
31917 if (PyErr_Occurred()) SWIG_fail
;
31920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31928 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31929 PyObject
*resultobj
;
31930 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31932 wxString
*arg3
= 0 ;
31933 bool temp3
= False
;
31934 PyObject
* obj0
= 0 ;
31935 PyObject
* obj1
= 0 ;
31936 PyObject
* obj2
= 0 ;
31937 char *kwnames
[] = {
31938 (char *) "self",(char *) "id",(char *) "label", NULL
31941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31944 arg2
= (int)SWIG_As_int(obj1
);
31945 if (PyErr_Occurred()) SWIG_fail
;
31947 arg3
= wxString_in_helper(obj2
);
31948 if (arg3
== NULL
) SWIG_fail
;
31952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31953 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
31955 wxPyEndAllowThreads(__tstate
);
31956 if (PyErr_Occurred()) SWIG_fail
;
31958 Py_INCREF(Py_None
); resultobj
= Py_None
;
31973 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31974 PyObject
*resultobj
;
31975 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31978 PyObject
* obj0
= 0 ;
31979 PyObject
* obj1
= 0 ;
31980 char *kwnames
[] = {
31981 (char *) "self",(char *) "id", NULL
31984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31987 arg2
= (int)SWIG_As_int(obj1
);
31988 if (PyErr_Occurred()) SWIG_fail
;
31990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31991 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
31993 wxPyEndAllowThreads(__tstate
);
31994 if (PyErr_Occurred()) SWIG_fail
;
31998 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32000 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32009 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32010 PyObject
*resultobj
;
32011 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32013 wxString
*arg3
= 0 ;
32014 bool temp3
= False
;
32015 PyObject
* obj0
= 0 ;
32016 PyObject
* obj1
= 0 ;
32017 PyObject
* obj2
= 0 ;
32018 char *kwnames
[] = {
32019 (char *) "self",(char *) "id",(char *) "helpString", NULL
32022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32025 arg2
= (int)SWIG_As_int(obj1
);
32026 if (PyErr_Occurred()) SWIG_fail
;
32028 arg3
= wxString_in_helper(obj2
);
32029 if (arg3
== NULL
) SWIG_fail
;
32033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32034 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
32036 wxPyEndAllowThreads(__tstate
);
32037 if (PyErr_Occurred()) SWIG_fail
;
32039 Py_INCREF(Py_None
); resultobj
= Py_None
;
32054 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32055 PyObject
*resultobj
;
32056 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32059 PyObject
* obj0
= 0 ;
32060 PyObject
* obj1
= 0 ;
32061 char *kwnames
[] = {
32062 (char *) "self",(char *) "id", NULL
32065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
32066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32068 arg2
= (int)SWIG_As_int(obj1
);
32069 if (PyErr_Occurred()) SWIG_fail
;
32071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32072 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
32074 wxPyEndAllowThreads(__tstate
);
32075 if (PyErr_Occurred()) SWIG_fail
;
32079 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32081 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32090 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32091 PyObject
*resultobj
;
32092 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32094 PyObject
* obj0
= 0 ;
32095 char *kwnames
[] = {
32096 (char *) "self", NULL
32099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
32100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32104 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
32106 wxPyEndAllowThreads(__tstate
);
32107 if (PyErr_Occurred()) SWIG_fail
;
32110 resultobj
= wxPyMake_wxObject(result
, 0);
32118 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32119 PyObject
*resultobj
;
32120 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32122 PyObject
* obj0
= 0 ;
32123 char *kwnames
[] = {
32124 (char *) "self", NULL
32127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
32128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32132 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
32134 wxPyEndAllowThreads(__tstate
);
32135 if (PyErr_Occurred()) SWIG_fail
;
32138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32146 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32147 PyObject
*resultobj
;
32148 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32149 wxFrame
*arg2
= (wxFrame
*) 0 ;
32150 PyObject
* obj0
= 0 ;
32151 PyObject
* obj1
= 0 ;
32152 char *kwnames
[] = {
32153 (char *) "self",(char *) "frame", NULL
32156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
32157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32159 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
32160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32163 (arg1
)->Attach(arg2
);
32165 wxPyEndAllowThreads(__tstate
);
32166 if (PyErr_Occurred()) SWIG_fail
;
32168 Py_INCREF(Py_None
); resultobj
= Py_None
;
32175 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32176 PyObject
*resultobj
;
32177 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32178 PyObject
* obj0
= 0 ;
32179 char *kwnames
[] = {
32180 (char *) "self", NULL
32183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
32184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32190 wxPyEndAllowThreads(__tstate
);
32191 if (PyErr_Occurred()) SWIG_fail
;
32193 Py_INCREF(Py_None
); resultobj
= Py_None
;
32200 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
32202 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32203 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
32205 return Py_BuildValue((char *)"");
32207 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32208 PyObject
*resultobj
;
32209 wxMenu
*arg1
= (wxMenu
*) NULL
;
32210 int arg2
= (int) wxID_ANY
;
32211 wxString
const &arg3_defvalue
= wxPyEmptyString
;
32212 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
32213 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32214 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32215 int arg5
= (int) wxITEM_NORMAL
;
32216 wxMenu
*arg6
= (wxMenu
*) NULL
;
32217 wxMenuItem
*result
;
32218 bool temp3
= False
;
32219 bool temp4
= False
;
32220 PyObject
* obj0
= 0 ;
32221 PyObject
* obj1
= 0 ;
32222 PyObject
* obj2
= 0 ;
32223 PyObject
* obj3
= 0 ;
32224 PyObject
* obj4
= 0 ;
32225 PyObject
* obj5
= 0 ;
32226 char *kwnames
[] = {
32227 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
32230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
32233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32236 arg2
= (int)SWIG_As_int(obj1
);
32237 if (PyErr_Occurred()) SWIG_fail
;
32241 arg3
= wxString_in_helper(obj2
);
32242 if (arg3
== NULL
) SWIG_fail
;
32248 arg4
= wxString_in_helper(obj3
);
32249 if (arg4
== NULL
) SWIG_fail
;
32254 arg5
= (int)SWIG_As_int(obj4
);
32255 if (PyErr_Occurred()) SWIG_fail
;
32258 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
32259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32263 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
32265 wxPyEndAllowThreads(__tstate
);
32266 if (PyErr_Occurred()) SWIG_fail
;
32269 resultobj
= wxPyMake_wxObject(result
, 1);
32293 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32294 PyObject
*resultobj
;
32295 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32297 PyObject
* obj0
= 0 ;
32298 char *kwnames
[] = {
32299 (char *) "self", NULL
32302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
32303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32307 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
32309 wxPyEndAllowThreads(__tstate
);
32310 if (PyErr_Occurred()) SWIG_fail
;
32313 resultobj
= wxPyMake_wxObject(result
, 0);
32321 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32322 PyObject
*resultobj
;
32323 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32324 wxMenu
*arg2
= (wxMenu
*) 0 ;
32325 PyObject
* obj0
= 0 ;
32326 PyObject
* obj1
= 0 ;
32327 char *kwnames
[] = {
32328 (char *) "self",(char *) "menu", NULL
32331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32334 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32338 (arg1
)->SetMenu(arg2
);
32340 wxPyEndAllowThreads(__tstate
);
32341 if (PyErr_Occurred()) SWIG_fail
;
32343 Py_INCREF(Py_None
); resultobj
= Py_None
;
32350 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32351 PyObject
*resultobj
;
32352 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32354 PyObject
* obj0
= 0 ;
32355 PyObject
* obj1
= 0 ;
32356 char *kwnames
[] = {
32357 (char *) "self",(char *) "id", NULL
32360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
32361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32363 arg2
= (int)SWIG_As_int(obj1
);
32364 if (PyErr_Occurred()) SWIG_fail
;
32366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32367 (arg1
)->SetId(arg2
);
32369 wxPyEndAllowThreads(__tstate
);
32370 if (PyErr_Occurred()) SWIG_fail
;
32372 Py_INCREF(Py_None
); resultobj
= Py_None
;
32379 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32380 PyObject
*resultobj
;
32381 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32383 PyObject
* obj0
= 0 ;
32384 char *kwnames
[] = {
32385 (char *) "self", NULL
32388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
32389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32393 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
32395 wxPyEndAllowThreads(__tstate
);
32396 if (PyErr_Occurred()) SWIG_fail
;
32398 resultobj
= SWIG_From_int((int)result
);
32405 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32406 PyObject
*resultobj
;
32407 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32409 PyObject
* obj0
= 0 ;
32410 char *kwnames
[] = {
32411 (char *) "self", NULL
32414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
32415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32419 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
32421 wxPyEndAllowThreads(__tstate
);
32422 if (PyErr_Occurred()) SWIG_fail
;
32425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32433 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32434 PyObject
*resultobj
;
32435 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32436 wxString
*arg2
= 0 ;
32437 bool temp2
= False
;
32438 PyObject
* obj0
= 0 ;
32439 PyObject
* obj1
= 0 ;
32440 char *kwnames
[] = {
32441 (char *) "self",(char *) "str", NULL
32444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
32445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32448 arg2
= wxString_in_helper(obj1
);
32449 if (arg2
== NULL
) SWIG_fail
;
32453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32454 (arg1
)->SetText((wxString
const &)*arg2
);
32456 wxPyEndAllowThreads(__tstate
);
32457 if (PyErr_Occurred()) SWIG_fail
;
32459 Py_INCREF(Py_None
); resultobj
= Py_None
;
32474 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32475 PyObject
*resultobj
;
32476 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32478 PyObject
* obj0
= 0 ;
32479 char *kwnames
[] = {
32480 (char *) "self", NULL
32483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
32484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32488 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
32490 wxPyEndAllowThreads(__tstate
);
32491 if (PyErr_Occurred()) SWIG_fail
;
32495 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32497 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32506 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32507 PyObject
*resultobj
;
32508 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32510 PyObject
* obj0
= 0 ;
32511 char *kwnames
[] = {
32512 (char *) "self", NULL
32515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
32516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32521 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
32522 result
= (wxString
*) &_result_ref
;
32525 wxPyEndAllowThreads(__tstate
);
32526 if (PyErr_Occurred()) SWIG_fail
;
32530 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32532 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32541 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32542 PyObject
*resultobj
;
32543 wxString
*arg1
= 0 ;
32545 bool temp1
= False
;
32546 PyObject
* obj0
= 0 ;
32547 char *kwnames
[] = {
32548 (char *) "text", NULL
32551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
32553 arg1
= wxString_in_helper(obj0
);
32554 if (arg1
== NULL
) SWIG_fail
;
32558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32559 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
32561 wxPyEndAllowThreads(__tstate
);
32562 if (PyErr_Occurred()) SWIG_fail
;
32566 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32568 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32585 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32586 PyObject
*resultobj
;
32587 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32589 PyObject
* obj0
= 0 ;
32590 char *kwnames
[] = {
32591 (char *) "self", NULL
32594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
32595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32599 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
32601 wxPyEndAllowThreads(__tstate
);
32602 if (PyErr_Occurred()) SWIG_fail
;
32604 resultobj
= SWIG_From_int((int)result
);
32611 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32612 PyObject
*resultobj
;
32613 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32615 PyObject
* obj0
= 0 ;
32616 PyObject
* obj1
= 0 ;
32617 char *kwnames
[] = {
32618 (char *) "self",(char *) "kind", NULL
32621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
32622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32624 arg2
= (int)SWIG_As_int(obj1
);
32625 if (PyErr_Occurred()) SWIG_fail
;
32627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32628 (arg1
)->SetKind((wxItemKind
)arg2
);
32630 wxPyEndAllowThreads(__tstate
);
32631 if (PyErr_Occurred()) SWIG_fail
;
32633 Py_INCREF(Py_None
); resultobj
= Py_None
;
32640 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32641 PyObject
*resultobj
;
32642 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32644 PyObject
* obj0
= 0 ;
32645 PyObject
* obj1
= 0 ;
32646 char *kwnames
[] = {
32647 (char *) "self",(char *) "checkable", NULL
32650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
32651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32653 arg2
= (bool)SWIG_As_bool(obj1
);
32654 if (PyErr_Occurred()) SWIG_fail
;
32656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32657 (arg1
)->SetCheckable(arg2
);
32659 wxPyEndAllowThreads(__tstate
);
32660 if (PyErr_Occurred()) SWIG_fail
;
32662 Py_INCREF(Py_None
); resultobj
= Py_None
;
32669 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32670 PyObject
*resultobj
;
32671 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32673 PyObject
* obj0
= 0 ;
32674 char *kwnames
[] = {
32675 (char *) "self", NULL
32678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
32679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32683 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
32685 wxPyEndAllowThreads(__tstate
);
32686 if (PyErr_Occurred()) SWIG_fail
;
32689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32697 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32698 PyObject
*resultobj
;
32699 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32701 PyObject
* obj0
= 0 ;
32702 char *kwnames
[] = {
32703 (char *) "self", NULL
32706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
32707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32711 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
32713 wxPyEndAllowThreads(__tstate
);
32714 if (PyErr_Occurred()) SWIG_fail
;
32717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32725 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32726 PyObject
*resultobj
;
32727 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32728 wxMenu
*arg2
= (wxMenu
*) 0 ;
32729 PyObject
* obj0
= 0 ;
32730 PyObject
* obj1
= 0 ;
32731 char *kwnames
[] = {
32732 (char *) "self",(char *) "menu", NULL
32735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32738 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32742 (arg1
)->SetSubMenu(arg2
);
32744 wxPyEndAllowThreads(__tstate
);
32745 if (PyErr_Occurred()) SWIG_fail
;
32747 Py_INCREF(Py_None
); resultobj
= Py_None
;
32754 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32755 PyObject
*resultobj
;
32756 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32758 PyObject
* obj0
= 0 ;
32759 char *kwnames
[] = {
32760 (char *) "self", NULL
32763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
32764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32768 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
32770 wxPyEndAllowThreads(__tstate
);
32771 if (PyErr_Occurred()) SWIG_fail
;
32774 resultobj
= wxPyMake_wxObject(result
, 0);
32782 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32783 PyObject
*resultobj
;
32784 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32785 bool arg2
= (bool) True
;
32786 PyObject
* obj0
= 0 ;
32787 PyObject
* obj1
= 0 ;
32788 char *kwnames
[] = {
32789 (char *) "self",(char *) "enable", NULL
32792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
32793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32796 arg2
= (bool)SWIG_As_bool(obj1
);
32797 if (PyErr_Occurred()) SWIG_fail
;
32800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32801 (arg1
)->Enable(arg2
);
32803 wxPyEndAllowThreads(__tstate
);
32804 if (PyErr_Occurred()) SWIG_fail
;
32806 Py_INCREF(Py_None
); resultobj
= Py_None
;
32813 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32814 PyObject
*resultobj
;
32815 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32817 PyObject
* obj0
= 0 ;
32818 char *kwnames
[] = {
32819 (char *) "self", NULL
32822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
32823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32827 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
32829 wxPyEndAllowThreads(__tstate
);
32830 if (PyErr_Occurred()) SWIG_fail
;
32833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32841 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32842 PyObject
*resultobj
;
32843 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32844 bool arg2
= (bool) True
;
32845 PyObject
* obj0
= 0 ;
32846 PyObject
* obj1
= 0 ;
32847 char *kwnames
[] = {
32848 (char *) "self",(char *) "check", NULL
32851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
32852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32855 arg2
= (bool)SWIG_As_bool(obj1
);
32856 if (PyErr_Occurred()) SWIG_fail
;
32859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32860 (arg1
)->Check(arg2
);
32862 wxPyEndAllowThreads(__tstate
);
32863 if (PyErr_Occurred()) SWIG_fail
;
32865 Py_INCREF(Py_None
); resultobj
= Py_None
;
32872 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32873 PyObject
*resultobj
;
32874 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32876 PyObject
* obj0
= 0 ;
32877 char *kwnames
[] = {
32878 (char *) "self", NULL
32881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
32882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32886 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
32888 wxPyEndAllowThreads(__tstate
);
32889 if (PyErr_Occurred()) SWIG_fail
;
32892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32900 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32901 PyObject
*resultobj
;
32902 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32903 PyObject
* obj0
= 0 ;
32904 char *kwnames
[] = {
32905 (char *) "self", NULL
32908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
32909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32915 wxPyEndAllowThreads(__tstate
);
32916 if (PyErr_Occurred()) SWIG_fail
;
32918 Py_INCREF(Py_None
); resultobj
= Py_None
;
32925 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32926 PyObject
*resultobj
;
32927 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32928 wxString
*arg2
= 0 ;
32929 bool temp2
= False
;
32930 PyObject
* obj0
= 0 ;
32931 PyObject
* obj1
= 0 ;
32932 char *kwnames
[] = {
32933 (char *) "self",(char *) "str", NULL
32936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
32937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32940 arg2
= wxString_in_helper(obj1
);
32941 if (arg2
== NULL
) SWIG_fail
;
32945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32946 (arg1
)->SetHelp((wxString
const &)*arg2
);
32948 wxPyEndAllowThreads(__tstate
);
32949 if (PyErr_Occurred()) SWIG_fail
;
32951 Py_INCREF(Py_None
); resultobj
= Py_None
;
32966 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32967 PyObject
*resultobj
;
32968 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32970 PyObject
* obj0
= 0 ;
32971 char *kwnames
[] = {
32972 (char *) "self", NULL
32975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
32976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32981 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
32982 result
= (wxString
*) &_result_ref
;
32985 wxPyEndAllowThreads(__tstate
);
32986 if (PyErr_Occurred()) SWIG_fail
;
32990 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32992 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33001 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33002 PyObject
*resultobj
;
33003 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33004 wxAcceleratorEntry
*result
;
33005 PyObject
* obj0
= 0 ;
33006 char *kwnames
[] = {
33007 (char *) "self", NULL
33010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
33011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33015 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
33017 wxPyEndAllowThreads(__tstate
);
33018 if (PyErr_Occurred()) SWIG_fail
;
33020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
33027 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33028 PyObject
*resultobj
;
33029 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33030 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
33031 PyObject
* obj0
= 0 ;
33032 PyObject
* obj1
= 0 ;
33033 char *kwnames
[] = {
33034 (char *) "self",(char *) "accel", NULL
33037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
33038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33040 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
33041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33044 (arg1
)->SetAccel(arg2
);
33046 wxPyEndAllowThreads(__tstate
);
33047 if (PyErr_Occurred()) SWIG_fail
;
33049 Py_INCREF(Py_None
); resultobj
= Py_None
;
33056 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33057 PyObject
*resultobj
;
33059 char *kwnames
[] = {
33063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
33065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33066 result
= (int)MenuItem_GetDefaultMarginWidth();
33068 wxPyEndAllowThreads(__tstate
);
33069 if (PyErr_Occurred()) SWIG_fail
;
33071 resultobj
= SWIG_From_int((int)result
);
33078 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33079 PyObject
*resultobj
;
33080 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33081 wxBitmap
*arg2
= 0 ;
33082 PyObject
* obj0
= 0 ;
33083 PyObject
* obj1
= 0 ;
33084 char *kwnames
[] = {
33085 (char *) "self",(char *) "bitmap", NULL
33088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
33089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33091 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33092 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33094 if (arg2
== NULL
) {
33095 PyErr_SetString(PyExc_TypeError
,"null reference");
33099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33100 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
33102 wxPyEndAllowThreads(__tstate
);
33103 if (PyErr_Occurred()) SWIG_fail
;
33105 Py_INCREF(Py_None
); resultobj
= Py_None
;
33112 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33113 PyObject
*resultobj
;
33114 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33116 PyObject
* obj0
= 0 ;
33117 char *kwnames
[] = {
33118 (char *) "self", NULL
33121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
33122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33127 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
33128 result
= (wxBitmap
*) &_result_ref
;
33131 wxPyEndAllowThreads(__tstate
);
33132 if (PyErr_Occurred()) SWIG_fail
;
33135 wxBitmap
* resultptr
= new wxBitmap(*result
);
33136 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
33144 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
33146 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33147 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
33149 return Py_BuildValue((char *)"");
33151 static int _wrap_ControlNameStr_set(PyObject
*) {
33152 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
33157 static PyObject
*_wrap_ControlNameStr_get() {
33162 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33164 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33171 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33172 PyObject
*resultobj
;
33173 wxWindow
*arg1
= (wxWindow
*) 0 ;
33174 int arg2
= (int) -1 ;
33175 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33176 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33177 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33178 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33179 long arg5
= (long) 0 ;
33180 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33181 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33182 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
33183 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33187 bool temp7
= False
;
33188 PyObject
* obj0
= 0 ;
33189 PyObject
* obj1
= 0 ;
33190 PyObject
* obj2
= 0 ;
33191 PyObject
* obj3
= 0 ;
33192 PyObject
* obj4
= 0 ;
33193 PyObject
* obj5
= 0 ;
33194 PyObject
* obj6
= 0 ;
33195 char *kwnames
[] = {
33196 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
33200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
33201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33203 arg2
= (int)SWIG_As_int(obj1
);
33204 if (PyErr_Occurred()) SWIG_fail
;
33209 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33215 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33219 arg5
= (long)SWIG_As_long(obj4
);
33220 if (PyErr_Occurred()) SWIG_fail
;
33223 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
33224 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33226 if (arg6
== NULL
) {
33227 PyErr_SetString(PyExc_TypeError
,"null reference");
33233 arg7
= wxString_in_helper(obj6
);
33234 if (arg7
== NULL
) SWIG_fail
;
33239 if (!wxPyCheckForApp()) SWIG_fail
;
33240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33241 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33243 wxPyEndAllowThreads(__tstate
);
33244 if (PyErr_Occurred()) SWIG_fail
;
33246 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
33261 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33262 PyObject
*resultobj
;
33264 char *kwnames
[] = {
33268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
33270 if (!wxPyCheckForApp()) SWIG_fail
;
33271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33272 result
= (wxControl
*)new wxControl();
33274 wxPyEndAllowThreads(__tstate
);
33275 if (PyErr_Occurred()) SWIG_fail
;
33277 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
33284 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33285 PyObject
*resultobj
;
33286 wxControl
*arg1
= (wxControl
*) 0 ;
33287 wxWindow
*arg2
= (wxWindow
*) 0 ;
33288 int arg3
= (int) -1 ;
33289 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33290 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33291 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33292 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33293 long arg6
= (long) 0 ;
33294 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33295 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33296 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
33297 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33301 bool temp8
= False
;
33302 PyObject
* obj0
= 0 ;
33303 PyObject
* obj1
= 0 ;
33304 PyObject
* obj2
= 0 ;
33305 PyObject
* obj3
= 0 ;
33306 PyObject
* obj4
= 0 ;
33307 PyObject
* obj5
= 0 ;
33308 PyObject
* obj6
= 0 ;
33309 PyObject
* obj7
= 0 ;
33310 char *kwnames
[] = {
33311 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
33315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33317 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
33318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33320 arg3
= (int)SWIG_As_int(obj2
);
33321 if (PyErr_Occurred()) SWIG_fail
;
33326 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33332 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33336 arg6
= (long)SWIG_As_long(obj5
);
33337 if (PyErr_Occurred()) SWIG_fail
;
33340 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
33341 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33343 if (arg7
== NULL
) {
33344 PyErr_SetString(PyExc_TypeError
,"null reference");
33350 arg8
= wxString_in_helper(obj7
);
33351 if (arg8
== NULL
) SWIG_fail
;
33356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33357 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33359 wxPyEndAllowThreads(__tstate
);
33360 if (PyErr_Occurred()) SWIG_fail
;
33363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33379 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33380 PyObject
*resultobj
;
33381 wxControl
*arg1
= (wxControl
*) 0 ;
33382 wxCommandEvent
*arg2
= 0 ;
33383 PyObject
* obj0
= 0 ;
33384 PyObject
* obj1
= 0 ;
33385 char *kwnames
[] = {
33386 (char *) "self",(char *) "event", NULL
33389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
33390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33392 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
33393 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33395 if (arg2
== NULL
) {
33396 PyErr_SetString(PyExc_TypeError
,"null reference");
33400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33401 (arg1
)->Command(*arg2
);
33403 wxPyEndAllowThreads(__tstate
);
33404 if (PyErr_Occurred()) SWIG_fail
;
33406 Py_INCREF(Py_None
); resultobj
= Py_None
;
33413 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33414 PyObject
*resultobj
;
33415 wxControl
*arg1
= (wxControl
*) 0 ;
33417 PyObject
* obj0
= 0 ;
33418 char *kwnames
[] = {
33419 (char *) "self", NULL
33422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
33423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33427 result
= (arg1
)->GetLabel();
33429 wxPyEndAllowThreads(__tstate
);
33430 if (PyErr_Occurred()) SWIG_fail
;
33434 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33436 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33445 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33446 PyObject
*resultobj
;
33447 wxControl
*arg1
= (wxControl
*) 0 ;
33448 wxString
*arg2
= 0 ;
33449 bool temp2
= False
;
33450 PyObject
* obj0
= 0 ;
33451 PyObject
* obj1
= 0 ;
33452 char *kwnames
[] = {
33453 (char *) "self",(char *) "label", NULL
33456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
33457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33460 arg2
= wxString_in_helper(obj1
);
33461 if (arg2
== NULL
) SWIG_fail
;
33465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33466 (arg1
)->SetLabel((wxString
const &)*arg2
);
33468 wxPyEndAllowThreads(__tstate
);
33469 if (PyErr_Occurred()) SWIG_fail
;
33471 Py_INCREF(Py_None
); resultobj
= Py_None
;
33486 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33487 PyObject
*resultobj
;
33488 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
33489 wxVisualAttributes result
;
33490 PyObject
* obj0
= 0 ;
33491 char *kwnames
[] = {
33492 (char *) "variant", NULL
33495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
33497 arg1
= (int)SWIG_As_int(obj0
);
33498 if (PyErr_Occurred()) SWIG_fail
;
33501 if (!wxPyCheckForApp()) SWIG_fail
;
33502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33503 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
33505 wxPyEndAllowThreads(__tstate
);
33506 if (PyErr_Occurred()) SWIG_fail
;
33509 wxVisualAttributes
* resultptr
;
33510 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
33511 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
33519 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
33521 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33522 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
33524 return Py_BuildValue((char *)"");
33526 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33527 PyObject
*resultobj
;
33528 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33529 wxString
*arg2
= 0 ;
33530 PyObject
*arg3
= (PyObject
*) NULL
;
33532 bool temp2
= False
;
33533 PyObject
* obj0
= 0 ;
33534 PyObject
* obj1
= 0 ;
33535 PyObject
* obj2
= 0 ;
33536 char *kwnames
[] = {
33537 (char *) "self",(char *) "item",(char *) "clientData", NULL
33540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33544 arg2
= wxString_in_helper(obj1
);
33545 if (arg2
== NULL
) SWIG_fail
;
33552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33553 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
33555 wxPyEndAllowThreads(__tstate
);
33556 if (PyErr_Occurred()) SWIG_fail
;
33558 resultobj
= SWIG_From_int((int)result
);
33573 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33574 PyObject
*resultobj
;
33575 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33576 wxArrayString
*arg2
= 0 ;
33577 bool temp2
= False
;
33578 PyObject
* obj0
= 0 ;
33579 PyObject
* obj1
= 0 ;
33580 char *kwnames
[] = {
33581 (char *) "self",(char *) "strings", NULL
33584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
33585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33588 if (! PySequence_Check(obj1
)) {
33589 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
33592 arg2
= new wxArrayString
;
33594 int i
, len
=PySequence_Length(obj1
);
33595 for (i
=0; i
<len
; i
++) {
33596 PyObject
* item
= PySequence_GetItem(obj1
, i
);
33598 PyObject
* str
= PyObject_Unicode(item
);
33600 PyObject
* str
= PyObject_Str(item
);
33602 if (PyErr_Occurred()) SWIG_fail
;
33603 arg2
->Add(Py2wxString(str
));
33609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33610 (arg1
)->Append((wxArrayString
const &)*arg2
);
33612 wxPyEndAllowThreads(__tstate
);
33613 if (PyErr_Occurred()) SWIG_fail
;
33615 Py_INCREF(Py_None
); resultobj
= Py_None
;
33617 if (temp2
) delete arg2
;
33622 if (temp2
) delete arg2
;
33628 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33629 PyObject
*resultobj
;
33630 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33631 wxString
*arg2
= 0 ;
33633 PyObject
*arg4
= (PyObject
*) NULL
;
33635 bool temp2
= False
;
33636 PyObject
* obj0
= 0 ;
33637 PyObject
* obj1
= 0 ;
33638 PyObject
* obj2
= 0 ;
33639 PyObject
* obj3
= 0 ;
33640 char *kwnames
[] = {
33641 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
33644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33648 arg2
= wxString_in_helper(obj1
);
33649 if (arg2
== NULL
) SWIG_fail
;
33652 arg3
= (int)SWIG_As_int(obj2
);
33653 if (PyErr_Occurred()) SWIG_fail
;
33658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33659 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
33661 wxPyEndAllowThreads(__tstate
);
33662 if (PyErr_Occurred()) SWIG_fail
;
33664 resultobj
= SWIG_From_int((int)result
);
33679 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33680 PyObject
*resultobj
;
33681 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33682 PyObject
* obj0
= 0 ;
33683 char *kwnames
[] = {
33684 (char *) "self", NULL
33687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
33688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33694 wxPyEndAllowThreads(__tstate
);
33695 if (PyErr_Occurred()) SWIG_fail
;
33697 Py_INCREF(Py_None
); resultobj
= Py_None
;
33704 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33705 PyObject
*resultobj
;
33706 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33708 PyObject
* obj0
= 0 ;
33709 PyObject
* obj1
= 0 ;
33710 char *kwnames
[] = {
33711 (char *) "self",(char *) "n", NULL
33714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33717 arg2
= (int)SWIG_As_int(obj1
);
33718 if (PyErr_Occurred()) SWIG_fail
;
33720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33721 (arg1
)->Delete(arg2
);
33723 wxPyEndAllowThreads(__tstate
);
33724 if (PyErr_Occurred()) SWIG_fail
;
33726 Py_INCREF(Py_None
); resultobj
= Py_None
;
33733 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33734 PyObject
*resultobj
;
33735 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33737 PyObject
* obj0
= 0 ;
33738 char *kwnames
[] = {
33739 (char *) "self", NULL
33742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
33743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33747 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
33749 wxPyEndAllowThreads(__tstate
);
33750 if (PyErr_Occurred()) SWIG_fail
;
33752 resultobj
= SWIG_From_int((int)result
);
33759 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33760 PyObject
*resultobj
;
33761 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33763 PyObject
* obj0
= 0 ;
33764 char *kwnames
[] = {
33765 (char *) "self", NULL
33768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
33769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33773 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
33775 wxPyEndAllowThreads(__tstate
);
33776 if (PyErr_Occurred()) SWIG_fail
;
33779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33787 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33788 PyObject
*resultobj
;
33789 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33792 PyObject
* obj0
= 0 ;
33793 PyObject
* obj1
= 0 ;
33794 char *kwnames
[] = {
33795 (char *) "self",(char *) "n", NULL
33798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
33799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33801 arg2
= (int)SWIG_As_int(obj1
);
33802 if (PyErr_Occurred()) SWIG_fail
;
33804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33805 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
33807 wxPyEndAllowThreads(__tstate
);
33808 if (PyErr_Occurred()) SWIG_fail
;
33812 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33814 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33823 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33824 PyObject
*resultobj
;
33825 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33826 wxArrayString result
;
33827 PyObject
* obj0
= 0 ;
33828 char *kwnames
[] = {
33829 (char *) "self", NULL
33832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
33833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33837 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
33839 wxPyEndAllowThreads(__tstate
);
33840 if (PyErr_Occurred()) SWIG_fail
;
33843 resultobj
= wxArrayString2PyList_helper(result
);
33851 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33852 PyObject
*resultobj
;
33853 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33855 wxString
*arg3
= 0 ;
33856 bool temp3
= False
;
33857 PyObject
* obj0
= 0 ;
33858 PyObject
* obj1
= 0 ;
33859 PyObject
* obj2
= 0 ;
33860 char *kwnames
[] = {
33861 (char *) "self",(char *) "n",(char *) "s", NULL
33864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33867 arg2
= (int)SWIG_As_int(obj1
);
33868 if (PyErr_Occurred()) SWIG_fail
;
33870 arg3
= wxString_in_helper(obj2
);
33871 if (arg3
== NULL
) SWIG_fail
;
33875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33876 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
33878 wxPyEndAllowThreads(__tstate
);
33879 if (PyErr_Occurred()) SWIG_fail
;
33881 Py_INCREF(Py_None
); resultobj
= Py_None
;
33896 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33897 PyObject
*resultobj
;
33898 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33899 wxString
*arg2
= 0 ;
33901 bool temp2
= False
;
33902 PyObject
* obj0
= 0 ;
33903 PyObject
* obj1
= 0 ;
33904 char *kwnames
[] = {
33905 (char *) "self",(char *) "s", NULL
33908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
33909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33912 arg2
= wxString_in_helper(obj1
);
33913 if (arg2
== NULL
) SWIG_fail
;
33917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33918 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
33920 wxPyEndAllowThreads(__tstate
);
33921 if (PyErr_Occurred()) SWIG_fail
;
33923 resultobj
= SWIG_From_int((int)result
);
33938 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33939 PyObject
*resultobj
;
33940 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33942 PyObject
* obj0
= 0 ;
33943 PyObject
* obj1
= 0 ;
33944 char *kwnames
[] = {
33945 (char *) "self",(char *) "n", NULL
33948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
33949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33951 arg2
= (int)SWIG_As_int(obj1
);
33952 if (PyErr_Occurred()) SWIG_fail
;
33954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33955 (arg1
)->Select(arg2
);
33957 wxPyEndAllowThreads(__tstate
);
33958 if (PyErr_Occurred()) SWIG_fail
;
33960 Py_INCREF(Py_None
); resultobj
= Py_None
;
33967 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33968 PyObject
*resultobj
;
33969 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33971 PyObject
* obj0
= 0 ;
33972 char *kwnames
[] = {
33973 (char *) "self", NULL
33976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
33977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33981 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
33983 wxPyEndAllowThreads(__tstate
);
33984 if (PyErr_Occurred()) SWIG_fail
;
33986 resultobj
= SWIG_From_int((int)result
);
33993 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33994 PyObject
*resultobj
;
33995 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33997 PyObject
* obj0
= 0 ;
33998 char *kwnames
[] = {
33999 (char *) "self", NULL
34002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
34003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34007 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
34009 wxPyEndAllowThreads(__tstate
);
34010 if (PyErr_Occurred()) SWIG_fail
;
34014 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34016 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34025 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34026 PyObject
*resultobj
;
34027 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34030 PyObject
* obj0
= 0 ;
34031 PyObject
* obj1
= 0 ;
34032 char *kwnames
[] = {
34033 (char *) "self",(char *) "n", NULL
34036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
34037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34039 arg2
= (int)SWIG_As_int(obj1
);
34040 if (PyErr_Occurred()) SWIG_fail
;
34042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34043 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
34045 wxPyEndAllowThreads(__tstate
);
34046 if (PyErr_Occurred()) SWIG_fail
;
34048 resultobj
= result
;
34055 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34056 PyObject
*resultobj
;
34057 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34059 PyObject
*arg3
= (PyObject
*) 0 ;
34060 PyObject
* obj0
= 0 ;
34061 PyObject
* obj1
= 0 ;
34062 PyObject
* obj2
= 0 ;
34063 char *kwnames
[] = {
34064 (char *) "self",(char *) "n",(char *) "clientData", NULL
34067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34070 arg2
= (int)SWIG_As_int(obj1
);
34071 if (PyErr_Occurred()) SWIG_fail
;
34074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34075 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
34077 wxPyEndAllowThreads(__tstate
);
34078 if (PyErr_Occurred()) SWIG_fail
;
34080 Py_INCREF(Py_None
); resultobj
= Py_None
;
34087 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
34089 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34090 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
34092 return Py_BuildValue((char *)"");
34094 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
34096 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34097 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
34099 return Py_BuildValue((char *)"");
34101 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34102 PyObject
*resultobj
;
34103 wxSizerItem
*result
;
34104 char *kwnames
[] = {
34108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
34110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34111 result
= (wxSizerItem
*)new wxSizerItem();
34113 wxPyEndAllowThreads(__tstate
);
34114 if (PyErr_Occurred()) SWIG_fail
;
34116 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34123 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34124 PyObject
*resultobj
;
34125 wxWindow
*arg1
= (wxWindow
*) 0 ;
34129 PyObject
*arg5
= (PyObject
*) NULL
;
34130 wxSizerItem
*result
;
34131 PyObject
* obj0
= 0 ;
34132 PyObject
* obj1
= 0 ;
34133 PyObject
* obj2
= 0 ;
34134 PyObject
* obj3
= 0 ;
34135 PyObject
* obj4
= 0 ;
34136 char *kwnames
[] = {
34137 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
34142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34143 arg2
= (int)SWIG_As_int(obj1
);
34144 if (PyErr_Occurred()) SWIG_fail
;
34145 arg3
= (int)SWIG_As_int(obj2
);
34146 if (PyErr_Occurred()) SWIG_fail
;
34147 arg4
= (int)SWIG_As_int(obj3
);
34148 if (PyErr_Occurred()) SWIG_fail
;
34153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34154 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34156 wxPyEndAllowThreads(__tstate
);
34157 if (PyErr_Occurred()) SWIG_fail
;
34159 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34166 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34167 PyObject
*resultobj
;
34173 PyObject
*arg6
= (PyObject
*) NULL
;
34174 wxSizerItem
*result
;
34175 PyObject
* obj0
= 0 ;
34176 PyObject
* obj1
= 0 ;
34177 PyObject
* obj2
= 0 ;
34178 PyObject
* obj3
= 0 ;
34179 PyObject
* obj4
= 0 ;
34180 PyObject
* obj5
= 0 ;
34181 char *kwnames
[] = {
34182 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34186 arg1
= (int)SWIG_As_int(obj0
);
34187 if (PyErr_Occurred()) SWIG_fail
;
34188 arg2
= (int)SWIG_As_int(obj1
);
34189 if (PyErr_Occurred()) SWIG_fail
;
34190 arg3
= (int)SWIG_As_int(obj2
);
34191 if (PyErr_Occurred()) SWIG_fail
;
34192 arg4
= (int)SWIG_As_int(obj3
);
34193 if (PyErr_Occurred()) SWIG_fail
;
34194 arg5
= (int)SWIG_As_int(obj4
);
34195 if (PyErr_Occurred()) SWIG_fail
;
34200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34201 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34203 wxPyEndAllowThreads(__tstate
);
34204 if (PyErr_Occurred()) SWIG_fail
;
34206 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34213 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34214 PyObject
*resultobj
;
34215 wxSizer
*arg1
= (wxSizer
*) 0 ;
34219 PyObject
*arg5
= (PyObject
*) NULL
;
34220 wxSizerItem
*result
;
34221 PyObject
* obj0
= 0 ;
34222 PyObject
* obj1
= 0 ;
34223 PyObject
* obj2
= 0 ;
34224 PyObject
* obj3
= 0 ;
34225 PyObject
* obj4
= 0 ;
34226 char *kwnames
[] = {
34227 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34233 arg2
= (int)SWIG_As_int(obj1
);
34234 if (PyErr_Occurred()) SWIG_fail
;
34235 arg3
= (int)SWIG_As_int(obj2
);
34236 if (PyErr_Occurred()) SWIG_fail
;
34237 arg4
= (int)SWIG_As_int(obj3
);
34238 if (PyErr_Occurred()) SWIG_fail
;
34243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34244 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34246 wxPyEndAllowThreads(__tstate
);
34247 if (PyErr_Occurred()) SWIG_fail
;
34249 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34256 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34257 PyObject
*resultobj
;
34258 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34259 PyObject
* obj0
= 0 ;
34260 char *kwnames
[] = {
34261 (char *) "self", NULL
34264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
34265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34269 (arg1
)->DeleteWindows();
34271 wxPyEndAllowThreads(__tstate
);
34272 if (PyErr_Occurred()) SWIG_fail
;
34274 Py_INCREF(Py_None
); resultobj
= Py_None
;
34281 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34282 PyObject
*resultobj
;
34283 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34284 PyObject
* obj0
= 0 ;
34285 char *kwnames
[] = {
34286 (char *) "self", NULL
34289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
34290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34294 (arg1
)->DetachSizer();
34296 wxPyEndAllowThreads(__tstate
);
34297 if (PyErr_Occurred()) SWIG_fail
;
34299 Py_INCREF(Py_None
); resultobj
= Py_None
;
34306 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34307 PyObject
*resultobj
;
34308 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34310 PyObject
* obj0
= 0 ;
34311 char *kwnames
[] = {
34312 (char *) "self", NULL
34315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
34316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34320 result
= (arg1
)->GetSize();
34322 wxPyEndAllowThreads(__tstate
);
34323 if (PyErr_Occurred()) SWIG_fail
;
34326 wxSize
* resultptr
;
34327 resultptr
= new wxSize((wxSize
&) result
);
34328 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34336 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34337 PyObject
*resultobj
;
34338 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34340 PyObject
* obj0
= 0 ;
34341 char *kwnames
[] = {
34342 (char *) "self", NULL
34345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
34346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34350 result
= (arg1
)->CalcMin();
34352 wxPyEndAllowThreads(__tstate
);
34353 if (PyErr_Occurred()) SWIG_fail
;
34356 wxSize
* resultptr
;
34357 resultptr
= new wxSize((wxSize
&) result
);
34358 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34366 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34367 PyObject
*resultobj
;
34368 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34373 PyObject
* obj0
= 0 ;
34374 PyObject
* obj1
= 0 ;
34375 PyObject
* obj2
= 0 ;
34376 char *kwnames
[] = {
34377 (char *) "self",(char *) "pos",(char *) "size", NULL
34380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34383 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
34384 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34386 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
34387 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34391 (arg1
)->SetDimension(arg2
,arg3
);
34393 wxPyEndAllowThreads(__tstate
);
34394 if (PyErr_Occurred()) SWIG_fail
;
34396 Py_INCREF(Py_None
); resultobj
= Py_None
;
34403 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34404 PyObject
*resultobj
;
34405 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34407 PyObject
* obj0
= 0 ;
34408 char *kwnames
[] = {
34409 (char *) "self", NULL
34412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
34413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34417 result
= (arg1
)->GetMinSize();
34419 wxPyEndAllowThreads(__tstate
);
34420 if (PyErr_Occurred()) SWIG_fail
;
34423 wxSize
* resultptr
;
34424 resultptr
= new wxSize((wxSize
&) result
);
34425 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34433 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34434 PyObject
*resultobj
;
34435 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34437 PyObject
* obj0
= 0 ;
34438 char *kwnames
[] = {
34439 (char *) "self", NULL
34442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
34443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34447 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
34449 wxPyEndAllowThreads(__tstate
);
34450 if (PyErr_Occurred()) SWIG_fail
;
34453 wxSize
* resultptr
;
34454 resultptr
= new wxSize((wxSize
&) result
);
34455 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34463 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34464 PyObject
*resultobj
;
34465 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34468 PyObject
* obj0
= 0 ;
34469 PyObject
* obj1
= 0 ;
34470 PyObject
* obj2
= 0 ;
34471 char *kwnames
[] = {
34472 (char *) "self",(char *) "x",(char *) "y", NULL
34475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34478 arg2
= (int)SWIG_As_int(obj1
);
34479 if (PyErr_Occurred()) SWIG_fail
;
34480 arg3
= (int)SWIG_As_int(obj2
);
34481 if (PyErr_Occurred()) SWIG_fail
;
34483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34484 (arg1
)->SetInitSize(arg2
,arg3
);
34486 wxPyEndAllowThreads(__tstate
);
34487 if (PyErr_Occurred()) SWIG_fail
;
34489 Py_INCREF(Py_None
); resultobj
= Py_None
;
34496 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34497 PyObject
*resultobj
;
34498 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34501 PyObject
* obj0
= 0 ;
34502 PyObject
* obj1
= 0 ;
34503 PyObject
* obj2
= 0 ;
34504 char *kwnames
[] = {
34505 (char *) "self",(char *) "width",(char *) "height", NULL
34508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34511 arg2
= (int)SWIG_As_int(obj1
);
34512 if (PyErr_Occurred()) SWIG_fail
;
34513 arg3
= (int)SWIG_As_int(obj2
);
34514 if (PyErr_Occurred()) SWIG_fail
;
34516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34517 (arg1
)->SetRatio(arg2
,arg3
);
34519 wxPyEndAllowThreads(__tstate
);
34520 if (PyErr_Occurred()) SWIG_fail
;
34522 Py_INCREF(Py_None
); resultobj
= Py_None
;
34529 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34530 PyObject
*resultobj
;
34531 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34534 PyObject
* obj0
= 0 ;
34535 PyObject
* obj1
= 0 ;
34536 char *kwnames
[] = {
34537 (char *) "self",(char *) "size", NULL
34540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
34541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34543 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
34544 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34548 (arg1
)->SetRatio(arg2
);
34550 wxPyEndAllowThreads(__tstate
);
34551 if (PyErr_Occurred()) SWIG_fail
;
34553 Py_INCREF(Py_None
); resultobj
= Py_None
;
34560 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34561 PyObject
*resultobj
;
34562 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34564 PyObject
* obj0
= 0 ;
34565 PyObject
* obj1
= 0 ;
34566 char *kwnames
[] = {
34567 (char *) "self",(char *) "ratio", NULL
34570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
34571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34573 arg2
= (float)SWIG_As_float(obj1
);
34574 if (PyErr_Occurred()) SWIG_fail
;
34576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34577 (arg1
)->SetRatio(arg2
);
34579 wxPyEndAllowThreads(__tstate
);
34580 if (PyErr_Occurred()) SWIG_fail
;
34582 Py_INCREF(Py_None
); resultobj
= Py_None
;
34589 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34590 PyObject
*resultobj
;
34591 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34593 PyObject
* obj0
= 0 ;
34594 char *kwnames
[] = {
34595 (char *) "self", NULL
34598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
34599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34603 result
= (float)(arg1
)->GetRatio();
34605 wxPyEndAllowThreads(__tstate
);
34606 if (PyErr_Occurred()) SWIG_fail
;
34608 resultobj
= SWIG_From_float((float)result
);
34615 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34616 PyObject
*resultobj
;
34617 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34619 PyObject
* obj0
= 0 ;
34620 char *kwnames
[] = {
34621 (char *) "self", NULL
34624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
34625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34629 result
= (bool)(arg1
)->IsWindow();
34631 wxPyEndAllowThreads(__tstate
);
34632 if (PyErr_Occurred()) SWIG_fail
;
34635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34643 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34644 PyObject
*resultobj
;
34645 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34647 PyObject
* obj0
= 0 ;
34648 char *kwnames
[] = {
34649 (char *) "self", NULL
34652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
34653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34657 result
= (bool)(arg1
)->IsSizer();
34659 wxPyEndAllowThreads(__tstate
);
34660 if (PyErr_Occurred()) SWIG_fail
;
34663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34671 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34672 PyObject
*resultobj
;
34673 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34675 PyObject
* obj0
= 0 ;
34676 char *kwnames
[] = {
34677 (char *) "self", NULL
34680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
34681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34685 result
= (bool)(arg1
)->IsSpacer();
34687 wxPyEndAllowThreads(__tstate
);
34688 if (PyErr_Occurred()) SWIG_fail
;
34691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34699 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34700 PyObject
*resultobj
;
34701 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34703 PyObject
* obj0
= 0 ;
34704 PyObject
* obj1
= 0 ;
34705 char *kwnames
[] = {
34706 (char *) "self",(char *) "proportion", NULL
34709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
34710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34712 arg2
= (int)SWIG_As_int(obj1
);
34713 if (PyErr_Occurred()) SWIG_fail
;
34715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34716 (arg1
)->SetProportion(arg2
);
34718 wxPyEndAllowThreads(__tstate
);
34719 if (PyErr_Occurred()) SWIG_fail
;
34721 Py_INCREF(Py_None
); resultobj
= Py_None
;
34728 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34729 PyObject
*resultobj
;
34730 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34732 PyObject
* obj0
= 0 ;
34733 char *kwnames
[] = {
34734 (char *) "self", NULL
34737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
34738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34742 result
= (int)(arg1
)->GetProportion();
34744 wxPyEndAllowThreads(__tstate
);
34745 if (PyErr_Occurred()) SWIG_fail
;
34747 resultobj
= SWIG_From_int((int)result
);
34754 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34755 PyObject
*resultobj
;
34756 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34758 PyObject
* obj0
= 0 ;
34759 PyObject
* obj1
= 0 ;
34760 char *kwnames
[] = {
34761 (char *) "self",(char *) "flag", NULL
34764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
34765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34767 arg2
= (int)SWIG_As_int(obj1
);
34768 if (PyErr_Occurred()) SWIG_fail
;
34770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34771 (arg1
)->SetFlag(arg2
);
34773 wxPyEndAllowThreads(__tstate
);
34774 if (PyErr_Occurred()) SWIG_fail
;
34776 Py_INCREF(Py_None
); resultobj
= Py_None
;
34783 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34784 PyObject
*resultobj
;
34785 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34787 PyObject
* obj0
= 0 ;
34788 char *kwnames
[] = {
34789 (char *) "self", NULL
34792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
34793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34797 result
= (int)(arg1
)->GetFlag();
34799 wxPyEndAllowThreads(__tstate
);
34800 if (PyErr_Occurred()) SWIG_fail
;
34802 resultobj
= SWIG_From_int((int)result
);
34809 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34810 PyObject
*resultobj
;
34811 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34813 PyObject
* obj0
= 0 ;
34814 PyObject
* obj1
= 0 ;
34815 char *kwnames
[] = {
34816 (char *) "self",(char *) "border", NULL
34819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
34820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34822 arg2
= (int)SWIG_As_int(obj1
);
34823 if (PyErr_Occurred()) SWIG_fail
;
34825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34826 (arg1
)->SetBorder(arg2
);
34828 wxPyEndAllowThreads(__tstate
);
34829 if (PyErr_Occurred()) SWIG_fail
;
34831 Py_INCREF(Py_None
); resultobj
= Py_None
;
34838 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34839 PyObject
*resultobj
;
34840 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34842 PyObject
* obj0
= 0 ;
34843 char *kwnames
[] = {
34844 (char *) "self", NULL
34847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
34848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34852 result
= (int)(arg1
)->GetBorder();
34854 wxPyEndAllowThreads(__tstate
);
34855 if (PyErr_Occurred()) SWIG_fail
;
34857 resultobj
= SWIG_From_int((int)result
);
34864 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34865 PyObject
*resultobj
;
34866 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34868 PyObject
* obj0
= 0 ;
34869 char *kwnames
[] = {
34870 (char *) "self", NULL
34873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
34874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34878 result
= (wxWindow
*)(arg1
)->GetWindow();
34880 wxPyEndAllowThreads(__tstate
);
34881 if (PyErr_Occurred()) SWIG_fail
;
34884 resultobj
= wxPyMake_wxObject(result
, 0);
34892 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34893 PyObject
*resultobj
;
34894 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34895 wxWindow
*arg2
= (wxWindow
*) 0 ;
34896 PyObject
* obj0
= 0 ;
34897 PyObject
* obj1
= 0 ;
34898 char *kwnames
[] = {
34899 (char *) "self",(char *) "window", NULL
34902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34905 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34909 (arg1
)->SetWindow(arg2
);
34911 wxPyEndAllowThreads(__tstate
);
34912 if (PyErr_Occurred()) SWIG_fail
;
34914 Py_INCREF(Py_None
); resultobj
= Py_None
;
34921 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34922 PyObject
*resultobj
;
34923 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34925 PyObject
* obj0
= 0 ;
34926 char *kwnames
[] = {
34927 (char *) "self", NULL
34930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
34931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34935 result
= (wxSizer
*)(arg1
)->GetSizer();
34937 wxPyEndAllowThreads(__tstate
);
34938 if (PyErr_Occurred()) SWIG_fail
;
34941 resultobj
= wxPyMake_wxSizer(result
, 0);
34949 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34950 PyObject
*resultobj
;
34951 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34952 wxSizer
*arg2
= (wxSizer
*) 0 ;
34953 PyObject
* obj0
= 0 ;
34954 PyObject
* obj1
= 0 ;
34955 char *kwnames
[] = {
34956 (char *) "self",(char *) "sizer", NULL
34959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
34960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34962 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
34963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34966 (arg1
)->SetSizer(arg2
);
34968 wxPyEndAllowThreads(__tstate
);
34969 if (PyErr_Occurred()) SWIG_fail
;
34971 Py_INCREF(Py_None
); resultobj
= Py_None
;
34978 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34979 PyObject
*resultobj
;
34980 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34982 PyObject
* obj0
= 0 ;
34983 char *kwnames
[] = {
34984 (char *) "self", NULL
34987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
34988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34993 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
34994 result
= (wxSize
*) &_result_ref
;
34997 wxPyEndAllowThreads(__tstate
);
34998 if (PyErr_Occurred()) SWIG_fail
;
35000 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
35007 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35008 PyObject
*resultobj
;
35009 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35012 PyObject
* obj0
= 0 ;
35013 PyObject
* obj1
= 0 ;
35014 char *kwnames
[] = {
35015 (char *) "self",(char *) "size", NULL
35018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
35019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35023 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35027 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
35029 wxPyEndAllowThreads(__tstate
);
35030 if (PyErr_Occurred()) SWIG_fail
;
35032 Py_INCREF(Py_None
); resultobj
= Py_None
;
35039 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35040 PyObject
*resultobj
;
35041 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35043 PyObject
* obj0
= 0 ;
35044 PyObject
* obj1
= 0 ;
35045 char *kwnames
[] = {
35046 (char *) "self",(char *) "show", NULL
35049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
35050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35052 arg2
= (bool)SWIG_As_bool(obj1
);
35053 if (PyErr_Occurred()) SWIG_fail
;
35055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35056 (arg1
)->Show(arg2
);
35058 wxPyEndAllowThreads(__tstate
);
35059 if (PyErr_Occurred()) SWIG_fail
;
35061 Py_INCREF(Py_None
); resultobj
= Py_None
;
35068 static PyObject
*_wrap_SizerItem_IsShown(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_IsShown",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
= (bool)(arg1
)->IsShown();
35084 wxPyEndAllowThreads(__tstate
);
35085 if (PyErr_Occurred()) SWIG_fail
;
35088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35096 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35097 PyObject
*resultobj
;
35098 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35100 PyObject
* obj0
= 0 ;
35101 char *kwnames
[] = {
35102 (char *) "self", NULL
35105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
35106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35110 result
= (arg1
)->GetPosition();
35112 wxPyEndAllowThreads(__tstate
);
35113 if (PyErr_Occurred()) SWIG_fail
;
35116 wxPoint
* resultptr
;
35117 resultptr
= new wxPoint((wxPoint
&) result
);
35118 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35126 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35127 PyObject
*resultobj
;
35128 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35130 PyObject
* obj0
= 0 ;
35131 char *kwnames
[] = {
35132 (char *) "self", NULL
35135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
35136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35140 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
35142 wxPyEndAllowThreads(__tstate
);
35143 if (PyErr_Occurred()) SWIG_fail
;
35145 resultobj
= result
;
35152 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
35154 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35155 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
35157 return Py_BuildValue((char *)"");
35159 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35160 PyObject
*resultobj
;
35161 wxSizer
*arg1
= (wxSizer
*) 0 ;
35162 PyObject
*arg2
= (PyObject
*) 0 ;
35163 PyObject
* obj0
= 0 ;
35164 PyObject
* obj1
= 0 ;
35165 char *kwnames
[] = {
35166 (char *) "self",(char *) "_self", NULL
35169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
35170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35175 wxSizer__setOORInfo(arg1
,arg2
);
35177 wxPyEndAllowThreads(__tstate
);
35178 if (PyErr_Occurred()) SWIG_fail
;
35180 Py_INCREF(Py_None
); resultobj
= Py_None
;
35187 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35188 PyObject
*resultobj
;
35189 wxSizer
*arg1
= (wxSizer
*) 0 ;
35190 PyObject
*arg2
= (PyObject
*) 0 ;
35191 int arg3
= (int) 0 ;
35192 int arg4
= (int) 0 ;
35193 int arg5
= (int) 0 ;
35194 PyObject
*arg6
= (PyObject
*) NULL
;
35195 PyObject
* obj0
= 0 ;
35196 PyObject
* obj1
= 0 ;
35197 PyObject
* obj2
= 0 ;
35198 PyObject
* obj3
= 0 ;
35199 PyObject
* obj4
= 0 ;
35200 PyObject
* obj5
= 0 ;
35201 char *kwnames
[] = {
35202 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35210 arg3
= (int)SWIG_As_int(obj2
);
35211 if (PyErr_Occurred()) SWIG_fail
;
35214 arg4
= (int)SWIG_As_int(obj3
);
35215 if (PyErr_Occurred()) SWIG_fail
;
35218 arg5
= (int)SWIG_As_int(obj4
);
35219 if (PyErr_Occurred()) SWIG_fail
;
35225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35226 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35228 wxPyEndAllowThreads(__tstate
);
35229 if (PyErr_Occurred()) SWIG_fail
;
35231 Py_INCREF(Py_None
); resultobj
= Py_None
;
35238 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35239 PyObject
*resultobj
;
35240 wxSizer
*arg1
= (wxSizer
*) 0 ;
35242 PyObject
*arg3
= (PyObject
*) 0 ;
35243 int arg4
= (int) 0 ;
35244 int arg5
= (int) 0 ;
35245 int arg6
= (int) 0 ;
35246 PyObject
*arg7
= (PyObject
*) NULL
;
35247 PyObject
* obj0
= 0 ;
35248 PyObject
* obj1
= 0 ;
35249 PyObject
* obj2
= 0 ;
35250 PyObject
* obj3
= 0 ;
35251 PyObject
* obj4
= 0 ;
35252 PyObject
* obj5
= 0 ;
35253 PyObject
* obj6
= 0 ;
35254 char *kwnames
[] = {
35255 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
35259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35261 arg2
= (int)SWIG_As_int(obj1
);
35262 if (PyErr_Occurred()) SWIG_fail
;
35265 arg4
= (int)SWIG_As_int(obj3
);
35266 if (PyErr_Occurred()) SWIG_fail
;
35269 arg5
= (int)SWIG_As_int(obj4
);
35270 if (PyErr_Occurred()) SWIG_fail
;
35273 arg6
= (int)SWIG_As_int(obj5
);
35274 if (PyErr_Occurred()) SWIG_fail
;
35280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35281 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
35283 wxPyEndAllowThreads(__tstate
);
35284 if (PyErr_Occurred()) SWIG_fail
;
35286 Py_INCREF(Py_None
); resultobj
= Py_None
;
35293 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35294 PyObject
*resultobj
;
35295 wxSizer
*arg1
= (wxSizer
*) 0 ;
35296 PyObject
*arg2
= (PyObject
*) 0 ;
35297 int arg3
= (int) 0 ;
35298 int arg4
= (int) 0 ;
35299 int arg5
= (int) 0 ;
35300 PyObject
*arg6
= (PyObject
*) NULL
;
35301 PyObject
* obj0
= 0 ;
35302 PyObject
* obj1
= 0 ;
35303 PyObject
* obj2
= 0 ;
35304 PyObject
* obj3
= 0 ;
35305 PyObject
* obj4
= 0 ;
35306 PyObject
* obj5
= 0 ;
35307 char *kwnames
[] = {
35308 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35316 arg3
= (int)SWIG_As_int(obj2
);
35317 if (PyErr_Occurred()) SWIG_fail
;
35320 arg4
= (int)SWIG_As_int(obj3
);
35321 if (PyErr_Occurred()) SWIG_fail
;
35324 arg5
= (int)SWIG_As_int(obj4
);
35325 if (PyErr_Occurred()) SWIG_fail
;
35331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35332 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35334 wxPyEndAllowThreads(__tstate
);
35335 if (PyErr_Occurred()) SWIG_fail
;
35337 Py_INCREF(Py_None
); resultobj
= Py_None
;
35344 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35345 PyObject
*resultobj
;
35346 wxSizer
*arg1
= (wxSizer
*) 0 ;
35347 PyObject
*arg2
= (PyObject
*) 0 ;
35349 PyObject
* obj0
= 0 ;
35350 PyObject
* obj1
= 0 ;
35351 char *kwnames
[] = {
35352 (char *) "self",(char *) "item", NULL
35355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35361 result
= (bool)wxSizer_Remove(arg1
,arg2
);
35363 wxPyEndAllowThreads(__tstate
);
35364 if (PyErr_Occurred()) SWIG_fail
;
35367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35375 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35376 PyObject
*resultobj
;
35377 wxSizer
*arg1
= (wxSizer
*) 0 ;
35378 PyObject
*arg2
= (PyObject
*) 0 ;
35380 PyObject
* obj0
= 0 ;
35381 PyObject
* obj1
= 0 ;
35382 char *kwnames
[] = {
35383 (char *) "self",(char *) "item", NULL
35386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
35387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35392 result
= (bool)wxSizer_Detach(arg1
,arg2
);
35394 wxPyEndAllowThreads(__tstate
);
35395 if (PyErr_Occurred()) SWIG_fail
;
35398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35406 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35407 PyObject
*resultobj
;
35408 wxSizer
*arg1
= (wxSizer
*) 0 ;
35409 PyObject
*arg2
= (PyObject
*) 0 ;
35412 PyObject
* obj0
= 0 ;
35413 PyObject
* obj1
= 0 ;
35414 PyObject
* obj2
= 0 ;
35415 char *kwnames
[] = {
35416 (char *) "self",(char *) "item",(char *) "size", NULL
35419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35425 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
35428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35429 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
35431 wxPyEndAllowThreads(__tstate
);
35432 if (PyErr_Occurred()) SWIG_fail
;
35434 Py_INCREF(Py_None
); resultobj
= Py_None
;
35441 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35442 PyObject
*resultobj
;
35443 wxSizer
*arg1
= (wxSizer
*) 0 ;
35444 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35445 PyObject
* obj0
= 0 ;
35446 PyObject
* obj1
= 0 ;
35447 char *kwnames
[] = {
35448 (char *) "self",(char *) "item", NULL
35451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35454 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35460 wxPyEndAllowThreads(__tstate
);
35461 if (PyErr_Occurred()) SWIG_fail
;
35463 Py_INCREF(Py_None
); resultobj
= Py_None
;
35470 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35471 PyObject
*resultobj
;
35472 wxSizer
*arg1
= (wxSizer
*) 0 ;
35474 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
35475 PyObject
* obj0
= 0 ;
35476 PyObject
* obj1
= 0 ;
35477 PyObject
* obj2
= 0 ;
35478 char *kwnames
[] = {
35479 (char *) "self",(char *) "index",(char *) "item", NULL
35482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35485 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
35486 if (PyErr_Occurred()) SWIG_fail
;
35487 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
35488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35491 (arg1
)->Insert(arg2
,arg3
);
35493 wxPyEndAllowThreads(__tstate
);
35494 if (PyErr_Occurred()) SWIG_fail
;
35496 Py_INCREF(Py_None
); resultobj
= Py_None
;
35503 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35504 PyObject
*resultobj
;
35505 wxSizer
*arg1
= (wxSizer
*) 0 ;
35506 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35507 PyObject
* obj0
= 0 ;
35508 PyObject
* obj1
= 0 ;
35509 char *kwnames
[] = {
35510 (char *) "self",(char *) "item", NULL
35513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35516 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35520 (arg1
)->Prepend(arg2
);
35522 wxPyEndAllowThreads(__tstate
);
35523 if (PyErr_Occurred()) SWIG_fail
;
35525 Py_INCREF(Py_None
); resultobj
= Py_None
;
35532 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35533 PyObject
*resultobj
;
35534 wxSizer
*arg1
= (wxSizer
*) 0 ;
35539 PyObject
* obj0
= 0 ;
35540 PyObject
* obj1
= 0 ;
35541 PyObject
* obj2
= 0 ;
35542 PyObject
* obj3
= 0 ;
35543 PyObject
* obj4
= 0 ;
35544 char *kwnames
[] = {
35545 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
35548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35551 arg2
= (int)SWIG_As_int(obj1
);
35552 if (PyErr_Occurred()) SWIG_fail
;
35553 arg3
= (int)SWIG_As_int(obj2
);
35554 if (PyErr_Occurred()) SWIG_fail
;
35555 arg4
= (int)SWIG_As_int(obj3
);
35556 if (PyErr_Occurred()) SWIG_fail
;
35557 arg5
= (int)SWIG_As_int(obj4
);
35558 if (PyErr_Occurred()) SWIG_fail
;
35560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35561 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
35563 wxPyEndAllowThreads(__tstate
);
35564 if (PyErr_Occurred()) SWIG_fail
;
35566 Py_INCREF(Py_None
); resultobj
= Py_None
;
35573 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35574 PyObject
*resultobj
;
35575 wxSizer
*arg1
= (wxSizer
*) 0 ;
35578 PyObject
* obj0
= 0 ;
35579 PyObject
* obj1
= 0 ;
35580 char *kwnames
[] = {
35581 (char *) "self",(char *) "size", NULL
35584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
35585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35589 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35593 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
35595 wxPyEndAllowThreads(__tstate
);
35596 if (PyErr_Occurred()) SWIG_fail
;
35598 Py_INCREF(Py_None
); resultobj
= Py_None
;
35605 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35606 PyObject
*resultobj
;
35607 wxSizer
*arg1
= (wxSizer
*) 0 ;
35609 PyObject
* obj0
= 0 ;
35610 char *kwnames
[] = {
35611 (char *) "self", NULL
35614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
35615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35619 result
= (arg1
)->GetSize();
35621 wxPyEndAllowThreads(__tstate
);
35622 if (PyErr_Occurred()) SWIG_fail
;
35625 wxSize
* resultptr
;
35626 resultptr
= new wxSize((wxSize
&) result
);
35627 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35635 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35636 PyObject
*resultobj
;
35637 wxSizer
*arg1
= (wxSizer
*) 0 ;
35639 PyObject
* obj0
= 0 ;
35640 char *kwnames
[] = {
35641 (char *) "self", NULL
35644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
35645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35649 result
= (arg1
)->GetPosition();
35651 wxPyEndAllowThreads(__tstate
);
35652 if (PyErr_Occurred()) SWIG_fail
;
35655 wxPoint
* resultptr
;
35656 resultptr
= new wxPoint((wxPoint
&) result
);
35657 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35665 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35666 PyObject
*resultobj
;
35667 wxSizer
*arg1
= (wxSizer
*) 0 ;
35669 PyObject
* obj0
= 0 ;
35670 char *kwnames
[] = {
35671 (char *) "self", NULL
35674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
35675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35679 result
= (arg1
)->GetMinSize();
35681 wxPyEndAllowThreads(__tstate
);
35682 if (PyErr_Occurred()) SWIG_fail
;
35685 wxSize
* resultptr
;
35686 resultptr
= new wxSize((wxSize
&) result
);
35687 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35695 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35696 PyObject
*resultobj
;
35697 wxSizer
*arg1
= (wxSizer
*) 0 ;
35698 PyObject
* obj0
= 0 ;
35699 char *kwnames
[] = {
35700 (char *) "self", NULL
35703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35708 (arg1
)->RecalcSizes();
35710 wxPyEndAllowThreads(__tstate
);
35711 if (PyErr_Occurred()) SWIG_fail
;
35713 Py_INCREF(Py_None
); resultobj
= Py_None
;
35720 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35721 PyObject
*resultobj
;
35722 wxSizer
*arg1
= (wxSizer
*) 0 ;
35724 PyObject
* obj0
= 0 ;
35725 char *kwnames
[] = {
35726 (char *) "self", NULL
35729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35734 result
= (arg1
)->CalcMin();
35736 wxPyEndAllowThreads(__tstate
);
35737 if (PyErr_Occurred()) SWIG_fail
;
35740 wxSize
* resultptr
;
35741 resultptr
= new wxSize((wxSize
&) result
);
35742 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35750 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35751 PyObject
*resultobj
;
35752 wxSizer
*arg1
= (wxSizer
*) 0 ;
35753 PyObject
* obj0
= 0 ;
35754 char *kwnames
[] = {
35755 (char *) "self", NULL
35758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
35759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35765 wxPyEndAllowThreads(__tstate
);
35766 if (PyErr_Occurred()) SWIG_fail
;
35768 Py_INCREF(Py_None
); resultobj
= Py_None
;
35775 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35776 PyObject
*resultobj
;
35777 wxSizer
*arg1
= (wxSizer
*) 0 ;
35778 wxWindow
*arg2
= (wxWindow
*) 0 ;
35780 PyObject
* obj0
= 0 ;
35781 PyObject
* obj1
= 0 ;
35782 char *kwnames
[] = {
35783 (char *) "self",(char *) "window", NULL
35786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
35787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35789 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35793 result
= (arg1
)->Fit(arg2
);
35795 wxPyEndAllowThreads(__tstate
);
35796 if (PyErr_Occurred()) SWIG_fail
;
35799 wxSize
* resultptr
;
35800 resultptr
= new wxSize((wxSize
&) result
);
35801 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35809 static PyObject
*_wrap_Sizer_FitInside(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_FitInside",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
)->FitInside(arg2
);
35828 wxPyEndAllowThreads(__tstate
);
35829 if (PyErr_Occurred()) SWIG_fail
;
35831 Py_INCREF(Py_None
); resultobj
= Py_None
;
35838 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35839 PyObject
*resultobj
;
35840 wxSizer
*arg1
= (wxSizer
*) 0 ;
35841 wxWindow
*arg2
= (wxWindow
*) 0 ;
35842 PyObject
* obj0
= 0 ;
35843 PyObject
* obj1
= 0 ;
35844 char *kwnames
[] = {
35845 (char *) "self",(char *) "window", NULL
35848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35851 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35855 (arg1
)->SetSizeHints(arg2
);
35857 wxPyEndAllowThreads(__tstate
);
35858 if (PyErr_Occurred()) SWIG_fail
;
35860 Py_INCREF(Py_None
); resultobj
= Py_None
;
35867 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35868 PyObject
*resultobj
;
35869 wxSizer
*arg1
= (wxSizer
*) 0 ;
35870 wxWindow
*arg2
= (wxWindow
*) 0 ;
35871 PyObject
* obj0
= 0 ;
35872 PyObject
* obj1
= 0 ;
35873 char *kwnames
[] = {
35874 (char *) "self",(char *) "window", NULL
35877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35880 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35884 (arg1
)->SetVirtualSizeHints(arg2
);
35886 wxPyEndAllowThreads(__tstate
);
35887 if (PyErr_Occurred()) SWIG_fail
;
35889 Py_INCREF(Py_None
); resultobj
= Py_None
;
35896 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35897 PyObject
*resultobj
;
35898 wxSizer
*arg1
= (wxSizer
*) 0 ;
35899 bool arg2
= (bool) False
;
35900 PyObject
* obj0
= 0 ;
35901 PyObject
* obj1
= 0 ;
35902 char *kwnames
[] = {
35903 (char *) "self",(char *) "deleteWindows", NULL
35906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
35907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35910 arg2
= (bool)SWIG_As_bool(obj1
);
35911 if (PyErr_Occurred()) SWIG_fail
;
35914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35915 (arg1
)->Clear(arg2
);
35917 wxPyEndAllowThreads(__tstate
);
35918 if (PyErr_Occurred()) SWIG_fail
;
35920 Py_INCREF(Py_None
); resultobj
= Py_None
;
35927 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35928 PyObject
*resultobj
;
35929 wxSizer
*arg1
= (wxSizer
*) 0 ;
35930 PyObject
* obj0
= 0 ;
35931 char *kwnames
[] = {
35932 (char *) "self", NULL
35935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
35936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35940 (arg1
)->DeleteWindows();
35942 wxPyEndAllowThreads(__tstate
);
35943 if (PyErr_Occurred()) SWIG_fail
;
35945 Py_INCREF(Py_None
); resultobj
= Py_None
;
35952 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35953 PyObject
*resultobj
;
35954 wxSizer
*arg1
= (wxSizer
*) 0 ;
35956 PyObject
* obj0
= 0 ;
35957 char *kwnames
[] = {
35958 (char *) "self", NULL
35961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
35962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35966 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
35968 wxPyEndAllowThreads(__tstate
);
35969 if (PyErr_Occurred()) SWIG_fail
;
35971 resultobj
= result
;
35978 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35979 PyObject
*resultobj
;
35980 wxSizer
*arg1
= (wxSizer
*) 0 ;
35981 PyObject
*arg2
= (PyObject
*) 0 ;
35982 bool arg3
= (bool) True
;
35983 bool arg4
= (bool) False
;
35985 PyObject
* obj0
= 0 ;
35986 PyObject
* obj1
= 0 ;
35987 PyObject
* obj2
= 0 ;
35988 PyObject
* obj3
= 0 ;
35989 char *kwnames
[] = {
35990 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
35993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35998 arg3
= (bool)SWIG_As_bool(obj2
);
35999 if (PyErr_Occurred()) SWIG_fail
;
36002 arg4
= (bool)SWIG_As_bool(obj3
);
36003 if (PyErr_Occurred()) SWIG_fail
;
36006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36007 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
36009 wxPyEndAllowThreads(__tstate
);
36010 if (PyErr_Occurred()) SWIG_fail
;
36013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36021 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36022 PyObject
*resultobj
;
36023 wxSizer
*arg1
= (wxSizer
*) 0 ;
36024 PyObject
*arg2
= (PyObject
*) 0 ;
36026 PyObject
* obj0
= 0 ;
36027 PyObject
* obj1
= 0 ;
36028 char *kwnames
[] = {
36029 (char *) "self",(char *) "item", NULL
36032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
36033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36038 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
36040 wxPyEndAllowThreads(__tstate
);
36041 if (PyErr_Occurred()) SWIG_fail
;
36044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36052 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36053 PyObject
*resultobj
;
36054 wxSizer
*arg1
= (wxSizer
*) 0 ;
36056 PyObject
* obj0
= 0 ;
36057 PyObject
* obj1
= 0 ;
36058 char *kwnames
[] = {
36059 (char *) "self",(char *) "show", NULL
36062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
36063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36065 arg2
= (bool)SWIG_As_bool(obj1
);
36066 if (PyErr_Occurred()) SWIG_fail
;
36068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36069 (arg1
)->ShowItems(arg2
);
36071 wxPyEndAllowThreads(__tstate
);
36072 if (PyErr_Occurred()) SWIG_fail
;
36074 Py_INCREF(Py_None
); resultobj
= Py_None
;
36081 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
36083 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36084 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
36086 return Py_BuildValue((char *)"");
36088 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36089 PyObject
*resultobj
;
36091 char *kwnames
[] = {
36095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
36097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36098 result
= (wxPySizer
*)new wxPySizer();
36100 wxPyEndAllowThreads(__tstate
);
36101 if (PyErr_Occurred()) SWIG_fail
;
36103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
36110 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36111 PyObject
*resultobj
;
36112 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
36113 PyObject
*arg2
= (PyObject
*) 0 ;
36114 PyObject
*arg3
= (PyObject
*) 0 ;
36115 PyObject
* obj0
= 0 ;
36116 PyObject
* obj1
= 0 ;
36117 PyObject
* obj2
= 0 ;
36118 char *kwnames
[] = {
36119 (char *) "self",(char *) "self",(char *) "_class", NULL
36122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
36124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36129 (arg1
)->_setCallbackInfo(arg2
,arg3
);
36131 wxPyEndAllowThreads(__tstate
);
36132 if (PyErr_Occurred()) SWIG_fail
;
36134 Py_INCREF(Py_None
); resultobj
= Py_None
;
36141 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
36143 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36144 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
36146 return Py_BuildValue((char *)"");
36148 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36149 PyObject
*resultobj
;
36150 int arg1
= (int) wxHORIZONTAL
;
36151 wxBoxSizer
*result
;
36152 PyObject
* obj0
= 0 ;
36153 char *kwnames
[] = {
36154 (char *) "orient", NULL
36157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
36159 arg1
= (int)SWIG_As_int(obj0
);
36160 if (PyErr_Occurred()) SWIG_fail
;
36163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36164 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
36166 wxPyEndAllowThreads(__tstate
);
36167 if (PyErr_Occurred()) SWIG_fail
;
36169 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
36176 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36177 PyObject
*resultobj
;
36178 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36180 PyObject
* obj0
= 0 ;
36181 char *kwnames
[] = {
36182 (char *) "self", NULL
36185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
36186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36190 result
= (int)(arg1
)->GetOrientation();
36192 wxPyEndAllowThreads(__tstate
);
36193 if (PyErr_Occurred()) SWIG_fail
;
36195 resultobj
= SWIG_From_int((int)result
);
36202 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36203 PyObject
*resultobj
;
36204 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36206 PyObject
* obj0
= 0 ;
36207 PyObject
* obj1
= 0 ;
36208 char *kwnames
[] = {
36209 (char *) "self",(char *) "orient", NULL
36212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
36213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36215 arg2
= (int)SWIG_As_int(obj1
);
36216 if (PyErr_Occurred()) SWIG_fail
;
36218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36219 (arg1
)->SetOrientation(arg2
);
36221 wxPyEndAllowThreads(__tstate
);
36222 if (PyErr_Occurred()) SWIG_fail
;
36224 Py_INCREF(Py_None
); resultobj
= Py_None
;
36231 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
36233 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36234 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
36236 return Py_BuildValue((char *)"");
36238 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36239 PyObject
*resultobj
;
36240 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
36241 int arg2
= (int) wxHORIZONTAL
;
36242 wxStaticBoxSizer
*result
;
36243 PyObject
* obj0
= 0 ;
36244 PyObject
* obj1
= 0 ;
36245 char *kwnames
[] = {
36246 (char *) "box",(char *) "orient", NULL
36249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
36250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
36251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36253 arg2
= (int)SWIG_As_int(obj1
);
36254 if (PyErr_Occurred()) SWIG_fail
;
36257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36258 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
36260 wxPyEndAllowThreads(__tstate
);
36261 if (PyErr_Occurred()) SWIG_fail
;
36263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
36270 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36271 PyObject
*resultobj
;
36272 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
36273 wxStaticBox
*result
;
36274 PyObject
* obj0
= 0 ;
36275 char *kwnames
[] = {
36276 (char *) "self", NULL
36279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
36280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
36281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36284 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
36286 wxPyEndAllowThreads(__tstate
);
36287 if (PyErr_Occurred()) SWIG_fail
;
36290 resultobj
= wxPyMake_wxObject(result
, 0);
36298 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
36300 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36301 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
36303 return Py_BuildValue((char *)"");
36305 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36306 PyObject
*resultobj
;
36307 int arg1
= (int) 1 ;
36308 int arg2
= (int) 0 ;
36309 int arg3
= (int) 0 ;
36310 int arg4
= (int) 0 ;
36311 wxGridSizer
*result
;
36312 PyObject
* obj0
= 0 ;
36313 PyObject
* obj1
= 0 ;
36314 PyObject
* obj2
= 0 ;
36315 PyObject
* obj3
= 0 ;
36316 char *kwnames
[] = {
36317 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36322 arg1
= (int)SWIG_As_int(obj0
);
36323 if (PyErr_Occurred()) SWIG_fail
;
36326 arg2
= (int)SWIG_As_int(obj1
);
36327 if (PyErr_Occurred()) SWIG_fail
;
36330 arg3
= (int)SWIG_As_int(obj2
);
36331 if (PyErr_Occurred()) SWIG_fail
;
36334 arg4
= (int)SWIG_As_int(obj3
);
36335 if (PyErr_Occurred()) SWIG_fail
;
36338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36339 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
36341 wxPyEndAllowThreads(__tstate
);
36342 if (PyErr_Occurred()) SWIG_fail
;
36344 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
36351 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36352 PyObject
*resultobj
;
36353 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36355 PyObject
* obj0
= 0 ;
36356 PyObject
* obj1
= 0 ;
36357 char *kwnames
[] = {
36358 (char *) "self",(char *) "cols", NULL
36361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
36362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36364 arg2
= (int)SWIG_As_int(obj1
);
36365 if (PyErr_Occurred()) SWIG_fail
;
36367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36368 (arg1
)->SetCols(arg2
);
36370 wxPyEndAllowThreads(__tstate
);
36371 if (PyErr_Occurred()) SWIG_fail
;
36373 Py_INCREF(Py_None
); resultobj
= Py_None
;
36380 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36381 PyObject
*resultobj
;
36382 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36384 PyObject
* obj0
= 0 ;
36385 PyObject
* obj1
= 0 ;
36386 char *kwnames
[] = {
36387 (char *) "self",(char *) "rows", NULL
36390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
36391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36393 arg2
= (int)SWIG_As_int(obj1
);
36394 if (PyErr_Occurred()) SWIG_fail
;
36396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36397 (arg1
)->SetRows(arg2
);
36399 wxPyEndAllowThreads(__tstate
);
36400 if (PyErr_Occurred()) SWIG_fail
;
36402 Py_INCREF(Py_None
); resultobj
= Py_None
;
36409 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36410 PyObject
*resultobj
;
36411 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36413 PyObject
* obj0
= 0 ;
36414 PyObject
* obj1
= 0 ;
36415 char *kwnames
[] = {
36416 (char *) "self",(char *) "gap", NULL
36419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36422 arg2
= (int)SWIG_As_int(obj1
);
36423 if (PyErr_Occurred()) SWIG_fail
;
36425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36426 (arg1
)->SetVGap(arg2
);
36428 wxPyEndAllowThreads(__tstate
);
36429 if (PyErr_Occurred()) SWIG_fail
;
36431 Py_INCREF(Py_None
); resultobj
= Py_None
;
36438 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36439 PyObject
*resultobj
;
36440 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36442 PyObject
* obj0
= 0 ;
36443 PyObject
* obj1
= 0 ;
36444 char *kwnames
[] = {
36445 (char *) "self",(char *) "gap", NULL
36448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36451 arg2
= (int)SWIG_As_int(obj1
);
36452 if (PyErr_Occurred()) SWIG_fail
;
36454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36455 (arg1
)->SetHGap(arg2
);
36457 wxPyEndAllowThreads(__tstate
);
36458 if (PyErr_Occurred()) SWIG_fail
;
36460 Py_INCREF(Py_None
); resultobj
= Py_None
;
36467 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36468 PyObject
*resultobj
;
36469 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36471 PyObject
* obj0
= 0 ;
36472 char *kwnames
[] = {
36473 (char *) "self", NULL
36476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
36477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36481 result
= (int)(arg1
)->GetCols();
36483 wxPyEndAllowThreads(__tstate
);
36484 if (PyErr_Occurred()) SWIG_fail
;
36486 resultobj
= SWIG_From_int((int)result
);
36493 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36494 PyObject
*resultobj
;
36495 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36497 PyObject
* obj0
= 0 ;
36498 char *kwnames
[] = {
36499 (char *) "self", NULL
36502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
36503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36507 result
= (int)(arg1
)->GetRows();
36509 wxPyEndAllowThreads(__tstate
);
36510 if (PyErr_Occurred()) SWIG_fail
;
36512 resultobj
= SWIG_From_int((int)result
);
36519 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36520 PyObject
*resultobj
;
36521 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36523 PyObject
* obj0
= 0 ;
36524 char *kwnames
[] = {
36525 (char *) "self", NULL
36528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
36529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36533 result
= (int)(arg1
)->GetVGap();
36535 wxPyEndAllowThreads(__tstate
);
36536 if (PyErr_Occurred()) SWIG_fail
;
36538 resultobj
= SWIG_From_int((int)result
);
36545 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36546 PyObject
*resultobj
;
36547 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36549 PyObject
* obj0
= 0 ;
36550 char *kwnames
[] = {
36551 (char *) "self", NULL
36554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
36555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36559 result
= (int)(arg1
)->GetHGap();
36561 wxPyEndAllowThreads(__tstate
);
36562 if (PyErr_Occurred()) SWIG_fail
;
36564 resultobj
= SWIG_From_int((int)result
);
36571 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
36573 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36574 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
36576 return Py_BuildValue((char *)"");
36578 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36579 PyObject
*resultobj
;
36580 int arg1
= (int) 1 ;
36581 int arg2
= (int) 0 ;
36582 int arg3
= (int) 0 ;
36583 int arg4
= (int) 0 ;
36584 wxFlexGridSizer
*result
;
36585 PyObject
* obj0
= 0 ;
36586 PyObject
* obj1
= 0 ;
36587 PyObject
* obj2
= 0 ;
36588 PyObject
* obj3
= 0 ;
36589 char *kwnames
[] = {
36590 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36595 arg1
= (int)SWIG_As_int(obj0
);
36596 if (PyErr_Occurred()) SWIG_fail
;
36599 arg2
= (int)SWIG_As_int(obj1
);
36600 if (PyErr_Occurred()) SWIG_fail
;
36603 arg3
= (int)SWIG_As_int(obj2
);
36604 if (PyErr_Occurred()) SWIG_fail
;
36607 arg4
= (int)SWIG_As_int(obj3
);
36608 if (PyErr_Occurred()) SWIG_fail
;
36611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36612 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
36614 wxPyEndAllowThreads(__tstate
);
36615 if (PyErr_Occurred()) SWIG_fail
;
36617 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
36624 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36625 PyObject
*resultobj
;
36626 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36628 int arg3
= (int) 0 ;
36629 PyObject
* obj0
= 0 ;
36630 PyObject
* obj1
= 0 ;
36631 PyObject
* obj2
= 0 ;
36632 char *kwnames
[] = {
36633 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36639 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
36640 if (PyErr_Occurred()) SWIG_fail
;
36642 arg3
= (int)SWIG_As_int(obj2
);
36643 if (PyErr_Occurred()) SWIG_fail
;
36646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36647 (arg1
)->AddGrowableRow(arg2
,arg3
);
36649 wxPyEndAllowThreads(__tstate
);
36650 if (PyErr_Occurred()) SWIG_fail
;
36652 Py_INCREF(Py_None
); resultobj
= Py_None
;
36659 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36660 PyObject
*resultobj
;
36661 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36663 PyObject
* obj0
= 0 ;
36664 PyObject
* obj1
= 0 ;
36665 char *kwnames
[] = {
36666 (char *) "self",(char *) "idx", NULL
36669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36672 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
36673 if (PyErr_Occurred()) SWIG_fail
;
36675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36676 (arg1
)->RemoveGrowableRow(arg2
);
36678 wxPyEndAllowThreads(__tstate
);
36679 if (PyErr_Occurred()) SWIG_fail
;
36681 Py_INCREF(Py_None
); resultobj
= Py_None
;
36688 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36689 PyObject
*resultobj
;
36690 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36692 int arg3
= (int) 0 ;
36693 PyObject
* obj0
= 0 ;
36694 PyObject
* obj1
= 0 ;
36695 PyObject
* obj2
= 0 ;
36696 char *kwnames
[] = {
36697 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36703 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
36704 if (PyErr_Occurred()) SWIG_fail
;
36706 arg3
= (int)SWIG_As_int(obj2
);
36707 if (PyErr_Occurred()) SWIG_fail
;
36710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36711 (arg1
)->AddGrowableCol(arg2
,arg3
);
36713 wxPyEndAllowThreads(__tstate
);
36714 if (PyErr_Occurred()) SWIG_fail
;
36716 Py_INCREF(Py_None
); resultobj
= Py_None
;
36723 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36724 PyObject
*resultobj
;
36725 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36727 PyObject
* obj0
= 0 ;
36728 PyObject
* obj1
= 0 ;
36729 char *kwnames
[] = {
36730 (char *) "self",(char *) "idx", NULL
36733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
36734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36736 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
36737 if (PyErr_Occurred()) SWIG_fail
;
36739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36740 (arg1
)->RemoveGrowableCol(arg2
);
36742 wxPyEndAllowThreads(__tstate
);
36743 if (PyErr_Occurred()) SWIG_fail
;
36745 Py_INCREF(Py_None
); resultobj
= Py_None
;
36752 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36753 PyObject
*resultobj
;
36754 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36756 PyObject
* obj0
= 0 ;
36757 PyObject
* obj1
= 0 ;
36758 char *kwnames
[] = {
36759 (char *) "self",(char *) "direction", NULL
36762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
36763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36765 arg2
= (int)SWIG_As_int(obj1
);
36766 if (PyErr_Occurred()) SWIG_fail
;
36768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36769 (arg1
)->SetFlexibleDirection(arg2
);
36771 wxPyEndAllowThreads(__tstate
);
36772 if (PyErr_Occurred()) SWIG_fail
;
36774 Py_INCREF(Py_None
); resultobj
= Py_None
;
36781 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36782 PyObject
*resultobj
;
36783 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36785 PyObject
* obj0
= 0 ;
36786 char *kwnames
[] = {
36787 (char *) "self", NULL
36790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
36791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36795 result
= (int)(arg1
)->GetFlexibleDirection();
36797 wxPyEndAllowThreads(__tstate
);
36798 if (PyErr_Occurred()) SWIG_fail
;
36800 resultobj
= SWIG_From_int((int)result
);
36807 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36808 PyObject
*resultobj
;
36809 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36811 PyObject
* obj0
= 0 ;
36812 PyObject
* obj1
= 0 ;
36813 char *kwnames
[] = {
36814 (char *) "self",(char *) "mode", NULL
36817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
36818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36820 arg2
= (int)SWIG_As_int(obj1
);
36821 if (PyErr_Occurred()) SWIG_fail
;
36823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36824 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
36826 wxPyEndAllowThreads(__tstate
);
36827 if (PyErr_Occurred()) SWIG_fail
;
36829 Py_INCREF(Py_None
); resultobj
= Py_None
;
36836 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36837 PyObject
*resultobj
;
36838 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36840 PyObject
* obj0
= 0 ;
36841 char *kwnames
[] = {
36842 (char *) "self", NULL
36845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
36846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36850 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
36852 wxPyEndAllowThreads(__tstate
);
36853 if (PyErr_Occurred()) SWIG_fail
;
36855 resultobj
= SWIG_From_int((int)result
);
36862 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36863 PyObject
*resultobj
;
36864 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36865 wxArrayInt
*result
;
36866 PyObject
* obj0
= 0 ;
36867 char *kwnames
[] = {
36868 (char *) "self", NULL
36871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
36872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36877 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
36878 result
= (wxArrayInt
*) &_result_ref
;
36881 wxPyEndAllowThreads(__tstate
);
36882 if (PyErr_Occurred()) SWIG_fail
;
36885 resultobj
= PyList_New(0);
36887 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
36888 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
36889 PyList_Append(resultobj
, val
);
36899 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36900 PyObject
*resultobj
;
36901 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36902 wxArrayInt
*result
;
36903 PyObject
* obj0
= 0 ;
36904 char *kwnames
[] = {
36905 (char *) "self", NULL
36908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
36909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36914 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
36915 result
= (wxArrayInt
*) &_result_ref
;
36918 wxPyEndAllowThreads(__tstate
);
36919 if (PyErr_Occurred()) SWIG_fail
;
36922 resultobj
= PyList_New(0);
36924 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
36925 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
36926 PyList_Append(resultobj
, val
);
36936 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
36938 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36939 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
36941 return Py_BuildValue((char *)"");
36943 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36944 PyObject
*resultobj
;
36945 int arg1
= (int) 0 ;
36946 int arg2
= (int) 0 ;
36947 wxGBPosition
*result
;
36948 PyObject
* obj0
= 0 ;
36949 PyObject
* obj1
= 0 ;
36950 char *kwnames
[] = {
36951 (char *) "row",(char *) "col", NULL
36954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
36956 arg1
= (int)SWIG_As_int(obj0
);
36957 if (PyErr_Occurred()) SWIG_fail
;
36960 arg2
= (int)SWIG_As_int(obj1
);
36961 if (PyErr_Occurred()) SWIG_fail
;
36964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36965 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
36967 wxPyEndAllowThreads(__tstate
);
36968 if (PyErr_Occurred()) SWIG_fail
;
36970 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
36977 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36978 PyObject
*resultobj
;
36979 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36981 PyObject
* obj0
= 0 ;
36982 char *kwnames
[] = {
36983 (char *) "self", NULL
36986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
36987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36991 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
36993 wxPyEndAllowThreads(__tstate
);
36994 if (PyErr_Occurred()) SWIG_fail
;
36996 resultobj
= SWIG_From_int((int)result
);
37003 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37004 PyObject
*resultobj
;
37005 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37007 PyObject
* obj0
= 0 ;
37008 char *kwnames
[] = {
37009 (char *) "self", NULL
37012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
37013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37017 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
37019 wxPyEndAllowThreads(__tstate
);
37020 if (PyErr_Occurred()) SWIG_fail
;
37022 resultobj
= SWIG_From_int((int)result
);
37029 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37030 PyObject
*resultobj
;
37031 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37033 PyObject
* obj0
= 0 ;
37034 PyObject
* obj1
= 0 ;
37035 char *kwnames
[] = {
37036 (char *) "self",(char *) "row", NULL
37039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
37040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37042 arg2
= (int)SWIG_As_int(obj1
);
37043 if (PyErr_Occurred()) SWIG_fail
;
37045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37046 (arg1
)->SetRow(arg2
);
37048 wxPyEndAllowThreads(__tstate
);
37049 if (PyErr_Occurred()) SWIG_fail
;
37051 Py_INCREF(Py_None
); resultobj
= Py_None
;
37058 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37059 PyObject
*resultobj
;
37060 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37062 PyObject
* obj0
= 0 ;
37063 PyObject
* obj1
= 0 ;
37064 char *kwnames
[] = {
37065 (char *) "self",(char *) "col", NULL
37068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
37069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37071 arg2
= (int)SWIG_As_int(obj1
);
37072 if (PyErr_Occurred()) SWIG_fail
;
37074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37075 (arg1
)->SetCol(arg2
);
37077 wxPyEndAllowThreads(__tstate
);
37078 if (PyErr_Occurred()) SWIG_fail
;
37080 Py_INCREF(Py_None
); resultobj
= Py_None
;
37087 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37088 PyObject
*resultobj
;
37089 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37090 wxGBPosition
*arg2
= 0 ;
37092 wxGBPosition temp2
;
37093 PyObject
* obj0
= 0 ;
37094 PyObject
* obj1
= 0 ;
37095 char *kwnames
[] = {
37096 (char *) "self",(char *) "other", NULL
37099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37104 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37108 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
37110 wxPyEndAllowThreads(__tstate
);
37111 if (PyErr_Occurred()) SWIG_fail
;
37114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37122 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37123 PyObject
*resultobj
;
37124 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37125 wxGBPosition
*arg2
= 0 ;
37127 wxGBPosition temp2
;
37128 PyObject
* obj0
= 0 ;
37129 PyObject
* obj1
= 0 ;
37130 char *kwnames
[] = {
37131 (char *) "self",(char *) "other", NULL
37134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37139 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37143 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
37145 wxPyEndAllowThreads(__tstate
);
37146 if (PyErr_Occurred()) SWIG_fail
;
37149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37157 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37158 PyObject
*resultobj
;
37159 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37160 int arg2
= (int) 0 ;
37161 int arg3
= (int) 0 ;
37162 PyObject
* obj0
= 0 ;
37163 PyObject
* obj1
= 0 ;
37164 PyObject
* obj2
= 0 ;
37165 char *kwnames
[] = {
37166 (char *) "self",(char *) "row",(char *) "col", NULL
37169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37173 arg2
= (int)SWIG_As_int(obj1
);
37174 if (PyErr_Occurred()) SWIG_fail
;
37177 arg3
= (int)SWIG_As_int(obj2
);
37178 if (PyErr_Occurred()) SWIG_fail
;
37181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37182 wxGBPosition_Set(arg1
,arg2
,arg3
);
37184 wxPyEndAllowThreads(__tstate
);
37185 if (PyErr_Occurred()) SWIG_fail
;
37187 Py_INCREF(Py_None
); resultobj
= Py_None
;
37194 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37195 PyObject
*resultobj
;
37196 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37198 PyObject
* obj0
= 0 ;
37199 char *kwnames
[] = {
37200 (char *) "self", NULL
37203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
37204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37208 result
= (PyObject
*)wxGBPosition_Get(arg1
);
37210 wxPyEndAllowThreads(__tstate
);
37211 if (PyErr_Occurred()) SWIG_fail
;
37213 resultobj
= result
;
37220 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
37222 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37223 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
37225 return Py_BuildValue((char *)"");
37227 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37228 PyObject
*resultobj
;
37229 int arg1
= (int) 1 ;
37230 int arg2
= (int) 1 ;
37232 PyObject
* obj0
= 0 ;
37233 PyObject
* obj1
= 0 ;
37234 char *kwnames
[] = {
37235 (char *) "rowspan",(char *) "colspan", NULL
37238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37240 arg1
= (int)SWIG_As_int(obj0
);
37241 if (PyErr_Occurred()) SWIG_fail
;
37244 arg2
= (int)SWIG_As_int(obj1
);
37245 if (PyErr_Occurred()) SWIG_fail
;
37248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37249 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
37251 wxPyEndAllowThreads(__tstate
);
37252 if (PyErr_Occurred()) SWIG_fail
;
37254 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
37261 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37262 PyObject
*resultobj
;
37263 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37265 PyObject
* obj0
= 0 ;
37266 char *kwnames
[] = {
37267 (char *) "self", NULL
37270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
37271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37275 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
37277 wxPyEndAllowThreads(__tstate
);
37278 if (PyErr_Occurred()) SWIG_fail
;
37280 resultobj
= SWIG_From_int((int)result
);
37287 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37288 PyObject
*resultobj
;
37289 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37291 PyObject
* obj0
= 0 ;
37292 char *kwnames
[] = {
37293 (char *) "self", NULL
37296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
37297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37301 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
37303 wxPyEndAllowThreads(__tstate
);
37304 if (PyErr_Occurred()) SWIG_fail
;
37306 resultobj
= SWIG_From_int((int)result
);
37313 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37314 PyObject
*resultobj
;
37315 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37317 PyObject
* obj0
= 0 ;
37318 PyObject
* obj1
= 0 ;
37319 char *kwnames
[] = {
37320 (char *) "self",(char *) "rowspan", NULL
37323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37326 arg2
= (int)SWIG_As_int(obj1
);
37327 if (PyErr_Occurred()) SWIG_fail
;
37329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37330 (arg1
)->SetRowspan(arg2
);
37332 wxPyEndAllowThreads(__tstate
);
37333 if (PyErr_Occurred()) SWIG_fail
;
37335 Py_INCREF(Py_None
); resultobj
= Py_None
;
37342 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37343 PyObject
*resultobj
;
37344 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37346 PyObject
* obj0
= 0 ;
37347 PyObject
* obj1
= 0 ;
37348 char *kwnames
[] = {
37349 (char *) "self",(char *) "colspan", NULL
37352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37355 arg2
= (int)SWIG_As_int(obj1
);
37356 if (PyErr_Occurred()) SWIG_fail
;
37358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37359 (arg1
)->SetColspan(arg2
);
37361 wxPyEndAllowThreads(__tstate
);
37362 if (PyErr_Occurred()) SWIG_fail
;
37364 Py_INCREF(Py_None
); resultobj
= Py_None
;
37371 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37372 PyObject
*resultobj
;
37373 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37374 wxGBSpan
*arg2
= 0 ;
37377 PyObject
* obj0
= 0 ;
37378 PyObject
* obj1
= 0 ;
37379 char *kwnames
[] = {
37380 (char *) "self",(char *) "other", NULL
37383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37388 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37392 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
37394 wxPyEndAllowThreads(__tstate
);
37395 if (PyErr_Occurred()) SWIG_fail
;
37398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37406 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37407 PyObject
*resultobj
;
37408 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37409 wxGBSpan
*arg2
= 0 ;
37412 PyObject
* obj0
= 0 ;
37413 PyObject
* obj1
= 0 ;
37414 char *kwnames
[] = {
37415 (char *) "self",(char *) "other", NULL
37418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37423 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37427 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
37429 wxPyEndAllowThreads(__tstate
);
37430 if (PyErr_Occurred()) SWIG_fail
;
37433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37441 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37442 PyObject
*resultobj
;
37443 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37444 int arg2
= (int) 1 ;
37445 int arg3
= (int) 1 ;
37446 PyObject
* obj0
= 0 ;
37447 PyObject
* obj1
= 0 ;
37448 PyObject
* obj2
= 0 ;
37449 char *kwnames
[] = {
37450 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
37453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37457 arg2
= (int)SWIG_As_int(obj1
);
37458 if (PyErr_Occurred()) SWIG_fail
;
37461 arg3
= (int)SWIG_As_int(obj2
);
37462 if (PyErr_Occurred()) SWIG_fail
;
37465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37466 wxGBSpan_Set(arg1
,arg2
,arg3
);
37468 wxPyEndAllowThreads(__tstate
);
37469 if (PyErr_Occurred()) SWIG_fail
;
37471 Py_INCREF(Py_None
); resultobj
= Py_None
;
37478 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37479 PyObject
*resultobj
;
37480 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37482 PyObject
* obj0
= 0 ;
37483 char *kwnames
[] = {
37484 (char *) "self", NULL
37487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
37488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37492 result
= (PyObject
*)wxGBSpan_Get(arg1
);
37494 wxPyEndAllowThreads(__tstate
);
37495 if (PyErr_Occurred()) SWIG_fail
;
37497 resultobj
= result
;
37504 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
37506 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37507 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
37509 return Py_BuildValue((char *)"");
37511 static int _wrap_DefaultSpan_set(PyObject
*) {
37512 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
37517 static PyObject
*_wrap_DefaultSpan_get() {
37520 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
37525 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37526 PyObject
*resultobj
;
37527 wxGBSizerItem
*result
;
37528 char *kwnames
[] = {
37532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
37534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37535 result
= (wxGBSizerItem
*)new wxGBSizerItem();
37537 wxPyEndAllowThreads(__tstate
);
37538 if (PyErr_Occurred()) SWIG_fail
;
37540 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37547 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37548 PyObject
*resultobj
;
37549 wxWindow
*arg1
= (wxWindow
*) 0 ;
37550 wxGBPosition
*arg2
= 0 ;
37551 wxGBSpan
*arg3
= 0 ;
37554 PyObject
*arg6
= (PyObject
*) NULL
;
37555 wxGBSizerItem
*result
;
37556 wxGBPosition temp2
;
37558 PyObject
* obj0
= 0 ;
37559 PyObject
* obj1
= 0 ;
37560 PyObject
* obj2
= 0 ;
37561 PyObject
* obj3
= 0 ;
37562 PyObject
* obj4
= 0 ;
37563 PyObject
* obj5
= 0 ;
37564 char *kwnames
[] = {
37565 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
37570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37573 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37577 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37579 arg4
= (int)SWIG_As_int(obj3
);
37580 if (PyErr_Occurred()) SWIG_fail
;
37581 arg5
= (int)SWIG_As_int(obj4
);
37582 if (PyErr_Occurred()) SWIG_fail
;
37587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37588 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37590 wxPyEndAllowThreads(__tstate
);
37591 if (PyErr_Occurred()) SWIG_fail
;
37593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37600 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37601 PyObject
*resultobj
;
37602 wxSizer
*arg1
= (wxSizer
*) 0 ;
37603 wxGBPosition
*arg2
= 0 ;
37604 wxGBSpan
*arg3
= 0 ;
37607 PyObject
*arg6
= (PyObject
*) NULL
;
37608 wxGBSizerItem
*result
;
37609 wxGBPosition temp2
;
37611 PyObject
* obj0
= 0 ;
37612 PyObject
* obj1
= 0 ;
37613 PyObject
* obj2
= 0 ;
37614 PyObject
* obj3
= 0 ;
37615 PyObject
* obj4
= 0 ;
37616 PyObject
* obj5
= 0 ;
37617 char *kwnames
[] = {
37618 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
37623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37626 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37630 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37632 arg4
= (int)SWIG_As_int(obj3
);
37633 if (PyErr_Occurred()) SWIG_fail
;
37634 arg5
= (int)SWIG_As_int(obj4
);
37635 if (PyErr_Occurred()) SWIG_fail
;
37640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37641 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37643 wxPyEndAllowThreads(__tstate
);
37644 if (PyErr_Occurred()) SWIG_fail
;
37646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37653 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37654 PyObject
*resultobj
;
37657 wxGBPosition
*arg3
= 0 ;
37658 wxGBSpan
*arg4
= 0 ;
37661 PyObject
*arg7
= (PyObject
*) NULL
;
37662 wxGBSizerItem
*result
;
37663 wxGBPosition temp3
;
37665 PyObject
* obj0
= 0 ;
37666 PyObject
* obj1
= 0 ;
37667 PyObject
* obj2
= 0 ;
37668 PyObject
* obj3
= 0 ;
37669 PyObject
* obj4
= 0 ;
37670 PyObject
* obj5
= 0 ;
37671 PyObject
* obj6
= 0 ;
37672 char *kwnames
[] = {
37673 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37677 arg1
= (int)SWIG_As_int(obj0
);
37678 if (PyErr_Occurred()) SWIG_fail
;
37679 arg2
= (int)SWIG_As_int(obj1
);
37680 if (PyErr_Occurred()) SWIG_fail
;
37683 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37687 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
37689 arg5
= (int)SWIG_As_int(obj4
);
37690 if (PyErr_Occurred()) SWIG_fail
;
37691 arg6
= (int)SWIG_As_int(obj5
);
37692 if (PyErr_Occurred()) SWIG_fail
;
37697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37698 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
37700 wxPyEndAllowThreads(__tstate
);
37701 if (PyErr_Occurred()) SWIG_fail
;
37703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37710 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37711 PyObject
*resultobj
;
37712 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37713 wxGBPosition result
;
37714 PyObject
* obj0
= 0 ;
37715 char *kwnames
[] = {
37716 (char *) "self", NULL
37719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
37720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37724 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
37726 wxPyEndAllowThreads(__tstate
);
37727 if (PyErr_Occurred()) SWIG_fail
;
37730 wxGBPosition
* resultptr
;
37731 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37732 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37740 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37741 PyObject
*resultobj
;
37742 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37744 PyObject
* obj0
= 0 ;
37745 char *kwnames
[] = {
37746 (char *) "self", NULL
37749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
37750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37754 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
37756 wxPyEndAllowThreads(__tstate
);
37757 if (PyErr_Occurred()) SWIG_fail
;
37760 wxGBSpan
* resultptr
;
37761 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37762 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
37770 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37771 PyObject
*resultobj
;
37772 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37773 wxGBPosition
*arg2
= 0 ;
37775 wxGBPosition temp2
;
37776 PyObject
* obj0
= 0 ;
37777 PyObject
* obj1
= 0 ;
37778 char *kwnames
[] = {
37779 (char *) "self",(char *) "pos", NULL
37782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
37783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37787 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37791 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
37793 wxPyEndAllowThreads(__tstate
);
37794 if (PyErr_Occurred()) SWIG_fail
;
37797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37805 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37806 PyObject
*resultobj
;
37807 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37808 wxGBSpan
*arg2
= 0 ;
37811 PyObject
* obj0
= 0 ;
37812 PyObject
* obj1
= 0 ;
37813 char *kwnames
[] = {
37814 (char *) "self",(char *) "span", NULL
37817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37822 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37826 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
37828 wxPyEndAllowThreads(__tstate
);
37829 if (PyErr_Occurred()) SWIG_fail
;
37832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37840 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37841 PyObject
*resultobj
;
37842 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37843 wxGBSizerItem
*arg2
= 0 ;
37845 PyObject
* obj0
= 0 ;
37846 PyObject
* obj1
= 0 ;
37847 char *kwnames
[] = {
37848 (char *) "self",(char *) "other", NULL
37851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
37852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37854 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
37855 SWIG_POINTER_EXCEPTION
| 0)) == -1)
37857 if (arg2
== NULL
) {
37858 PyErr_SetString(PyExc_TypeError
,"null reference");
37862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37863 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
37865 wxPyEndAllowThreads(__tstate
);
37866 if (PyErr_Occurred()) SWIG_fail
;
37869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37877 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37878 PyObject
*resultobj
;
37879 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37880 wxGBPosition
*arg2
= 0 ;
37881 wxGBSpan
*arg3
= 0 ;
37883 wxGBPosition temp2
;
37885 PyObject
* obj0
= 0 ;
37886 PyObject
* obj1
= 0 ;
37887 PyObject
* obj2
= 0 ;
37888 char *kwnames
[] = {
37889 (char *) "self",(char *) "pos",(char *) "span", NULL
37892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37897 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37901 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37905 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
37907 wxPyEndAllowThreads(__tstate
);
37908 if (PyErr_Occurred()) SWIG_fail
;
37911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37919 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37920 PyObject
*resultobj
;
37921 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37922 wxGBPosition result
;
37923 PyObject
* obj0
= 0 ;
37924 char *kwnames
[] = {
37925 (char *) "self", NULL
37928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
37929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37933 result
= wxGBSizerItem_GetEndPos(arg1
);
37935 wxPyEndAllowThreads(__tstate
);
37936 if (PyErr_Occurred()) SWIG_fail
;
37939 wxGBPosition
* resultptr
;
37940 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37941 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37949 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37950 PyObject
*resultobj
;
37951 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37952 wxGridBagSizer
*result
;
37953 PyObject
* obj0
= 0 ;
37954 char *kwnames
[] = {
37955 (char *) "self", NULL
37958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
37959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37963 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
37965 wxPyEndAllowThreads(__tstate
);
37966 if (PyErr_Occurred()) SWIG_fail
;
37968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
37975 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37976 PyObject
*resultobj
;
37977 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37978 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
37979 PyObject
* obj0
= 0 ;
37980 PyObject
* obj1
= 0 ;
37981 char *kwnames
[] = {
37982 (char *) "self",(char *) "sizer", NULL
37985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
37986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37988 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
37989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37992 (arg1
)->SetGBSizer(arg2
);
37994 wxPyEndAllowThreads(__tstate
);
37995 if (PyErr_Occurred()) SWIG_fail
;
37997 Py_INCREF(Py_None
); resultobj
= Py_None
;
38004 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
38006 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38007 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
38009 return Py_BuildValue((char *)"");
38011 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38012 PyObject
*resultobj
;
38013 int arg1
= (int) 0 ;
38014 int arg2
= (int) 0 ;
38015 wxGridBagSizer
*result
;
38016 PyObject
* obj0
= 0 ;
38017 PyObject
* obj1
= 0 ;
38018 char *kwnames
[] = {
38019 (char *) "vgap",(char *) "hgap", NULL
38022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38024 arg1
= (int)SWIG_As_int(obj0
);
38025 if (PyErr_Occurred()) SWIG_fail
;
38028 arg2
= (int)SWIG_As_int(obj1
);
38029 if (PyErr_Occurred()) SWIG_fail
;
38032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38033 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
38035 wxPyEndAllowThreads(__tstate
);
38036 if (PyErr_Occurred()) SWIG_fail
;
38038 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
38045 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38046 PyObject
*resultobj
;
38047 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38048 PyObject
*arg2
= (PyObject
*) 0 ;
38049 wxGBPosition
*arg3
= 0 ;
38050 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
38051 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
38052 int arg5
= (int) 0 ;
38053 int arg6
= (int) 0 ;
38054 PyObject
*arg7
= (PyObject
*) NULL
;
38056 wxGBPosition temp3
;
38058 PyObject
* obj0
= 0 ;
38059 PyObject
* obj1
= 0 ;
38060 PyObject
* obj2
= 0 ;
38061 PyObject
* obj3
= 0 ;
38062 PyObject
* obj4
= 0 ;
38063 PyObject
* obj5
= 0 ;
38064 PyObject
* obj6
= 0 ;
38065 char *kwnames
[] = {
38066 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38075 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38080 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
38084 arg5
= (int)SWIG_As_int(obj4
);
38085 if (PyErr_Occurred()) SWIG_fail
;
38088 arg6
= (int)SWIG_As_int(obj5
);
38089 if (PyErr_Occurred()) SWIG_fail
;
38095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38096 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
38098 wxPyEndAllowThreads(__tstate
);
38099 if (PyErr_Occurred()) SWIG_fail
;
38102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38110 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38111 PyObject
*resultobj
;
38112 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38113 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
38115 PyObject
* obj0
= 0 ;
38116 PyObject
* obj1
= 0 ;
38117 char *kwnames
[] = {
38118 (char *) "self",(char *) "item", NULL
38121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
38122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38124 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38128 result
= (bool)(arg1
)->Add(arg2
);
38130 wxPyEndAllowThreads(__tstate
);
38131 if (PyErr_Occurred()) SWIG_fail
;
38134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38142 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38143 PyObject
*resultobj
;
38144 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38146 PyObject
* obj0
= 0 ;
38147 char *kwnames
[] = {
38148 (char *) "self", NULL
38151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
38152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38156 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
38158 wxPyEndAllowThreads(__tstate
);
38159 if (PyErr_Occurred()) SWIG_fail
;
38162 wxSize
* resultptr
;
38163 resultptr
= new wxSize((wxSize
&) result
);
38164 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38172 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38173 PyObject
*resultobj
;
38174 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38177 PyObject
* obj0
= 0 ;
38178 PyObject
* obj1
= 0 ;
38179 char *kwnames
[] = {
38180 (char *) "self",(char *) "sz", NULL
38183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38188 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38192 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
38194 wxPyEndAllowThreads(__tstate
);
38195 if (PyErr_Occurred()) SWIG_fail
;
38197 Py_INCREF(Py_None
); resultobj
= Py_None
;
38204 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
38205 PyObject
*resultobj
;
38206 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38207 wxWindow
*arg2
= (wxWindow
*) 0 ;
38208 wxGBPosition result
;
38209 PyObject
* obj0
= 0 ;
38210 PyObject
* obj1
= 0 ;
38212 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38215 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38219 result
= (arg1
)->GetItemPosition(arg2
);
38221 wxPyEndAllowThreads(__tstate
);
38222 if (PyErr_Occurred()) SWIG_fail
;
38225 wxGBPosition
* resultptr
;
38226 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38227 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38235 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
38236 PyObject
*resultobj
;
38237 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38238 wxSizer
*arg2
= (wxSizer
*) 0 ;
38239 wxGBPosition result
;
38240 PyObject
* obj0
= 0 ;
38241 PyObject
* obj1
= 0 ;
38243 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38246 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38250 result
= (arg1
)->GetItemPosition(arg2
);
38252 wxPyEndAllowThreads(__tstate
);
38253 if (PyErr_Occurred()) SWIG_fail
;
38256 wxGBPosition
* resultptr
;
38257 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38258 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38266 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
38267 PyObject
*resultobj
;
38268 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38270 wxGBPosition result
;
38271 PyObject
* obj0
= 0 ;
38272 PyObject
* obj1
= 0 ;
38274 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38277 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
38278 if (PyErr_Occurred()) SWIG_fail
;
38280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38281 result
= (arg1
)->GetItemPosition(arg2
);
38283 wxPyEndAllowThreads(__tstate
);
38284 if (PyErr_Occurred()) SWIG_fail
;
38287 wxGBPosition
* resultptr
;
38288 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38289 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38297 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
38302 argc
= PyObject_Length(args
);
38303 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38304 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38310 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38320 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38328 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
38336 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38346 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38354 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
38362 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38370 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
38372 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
38377 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
38382 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
38383 PyObject
*resultobj
;
38384 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38385 wxWindow
*arg2
= (wxWindow
*) 0 ;
38386 wxGBPosition
*arg3
= 0 ;
38388 wxGBPosition temp3
;
38389 PyObject
* obj0
= 0 ;
38390 PyObject
* obj1
= 0 ;
38391 PyObject
* obj2
= 0 ;
38393 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38396 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38400 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38404 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38406 wxPyEndAllowThreads(__tstate
);
38407 if (PyErr_Occurred()) SWIG_fail
;
38410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38418 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
38419 PyObject
*resultobj
;
38420 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38421 wxSizer
*arg2
= (wxSizer
*) 0 ;
38422 wxGBPosition
*arg3
= 0 ;
38424 wxGBPosition temp3
;
38425 PyObject
* obj0
= 0 ;
38426 PyObject
* obj1
= 0 ;
38427 PyObject
* obj2
= 0 ;
38429 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38432 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38436 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38440 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38442 wxPyEndAllowThreads(__tstate
);
38443 if (PyErr_Occurred()) SWIG_fail
;
38446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38454 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
38455 PyObject
*resultobj
;
38456 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38458 wxGBPosition
*arg3
= 0 ;
38460 wxGBPosition temp3
;
38461 PyObject
* obj0
= 0 ;
38462 PyObject
* obj1
= 0 ;
38463 PyObject
* obj2
= 0 ;
38465 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38468 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
38469 if (PyErr_Occurred()) SWIG_fail
;
38472 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38476 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38478 wxPyEndAllowThreads(__tstate
);
38479 if (PyErr_Occurred()) SWIG_fail
;
38482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38490 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
38495 argc
= PyObject_Length(args
);
38496 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38497 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38503 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38513 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38522 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38525 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
38534 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38544 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38553 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38556 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
38565 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38573 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
38576 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38579 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
38585 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
38590 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
38591 PyObject
*resultobj
;
38592 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38593 wxWindow
*arg2
= (wxWindow
*) 0 ;
38595 PyObject
* obj0
= 0 ;
38596 PyObject
* obj1
= 0 ;
38598 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38601 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38605 result
= (arg1
)->GetItemSpan(arg2
);
38607 wxPyEndAllowThreads(__tstate
);
38608 if (PyErr_Occurred()) SWIG_fail
;
38611 wxGBSpan
* resultptr
;
38612 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38613 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38621 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
38622 PyObject
*resultobj
;
38623 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38624 wxSizer
*arg2
= (wxSizer
*) 0 ;
38626 PyObject
* obj0
= 0 ;
38627 PyObject
* obj1
= 0 ;
38629 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38632 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38636 result
= (arg1
)->GetItemSpan(arg2
);
38638 wxPyEndAllowThreads(__tstate
);
38639 if (PyErr_Occurred()) SWIG_fail
;
38642 wxGBSpan
* resultptr
;
38643 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38644 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38652 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
38653 PyObject
*resultobj
;
38654 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38657 PyObject
* obj0
= 0 ;
38658 PyObject
* obj1
= 0 ;
38660 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38663 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
38664 if (PyErr_Occurred()) SWIG_fail
;
38666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38667 result
= (arg1
)->GetItemSpan(arg2
);
38669 wxPyEndAllowThreads(__tstate
);
38670 if (PyErr_Occurred()) SWIG_fail
;
38673 wxGBSpan
* resultptr
;
38674 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38675 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38683 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
38688 argc
= PyObject_Length(args
);
38689 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38690 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38696 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38706 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38714 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
38722 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38732 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38740 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
38748 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38756 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
38758 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
38763 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
38768 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
38769 PyObject
*resultobj
;
38770 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38771 wxWindow
*arg2
= (wxWindow
*) 0 ;
38772 wxGBSpan
*arg3
= 0 ;
38775 PyObject
* obj0
= 0 ;
38776 PyObject
* obj1
= 0 ;
38777 PyObject
* obj2
= 0 ;
38779 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38782 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38786 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38790 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38792 wxPyEndAllowThreads(__tstate
);
38793 if (PyErr_Occurred()) SWIG_fail
;
38796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38804 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
38805 PyObject
*resultobj
;
38806 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38807 wxSizer
*arg2
= (wxSizer
*) 0 ;
38808 wxGBSpan
*arg3
= 0 ;
38811 PyObject
* obj0
= 0 ;
38812 PyObject
* obj1
= 0 ;
38813 PyObject
* obj2
= 0 ;
38815 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38818 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38822 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38826 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38828 wxPyEndAllowThreads(__tstate
);
38829 if (PyErr_Occurred()) SWIG_fail
;
38832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38840 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
38841 PyObject
*resultobj
;
38842 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38844 wxGBSpan
*arg3
= 0 ;
38847 PyObject
* obj0
= 0 ;
38848 PyObject
* obj1
= 0 ;
38849 PyObject
* obj2
= 0 ;
38851 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38854 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
38855 if (PyErr_Occurred()) SWIG_fail
;
38858 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38862 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38864 wxPyEndAllowThreads(__tstate
);
38865 if (PyErr_Occurred()) SWIG_fail
;
38868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38876 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
38881 argc
= PyObject_Length(args
);
38882 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38883 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38889 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38899 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38908 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38911 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
38920 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38930 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38939 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38942 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
38951 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38959 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
38962 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38965 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
38971 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
38976 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
38977 PyObject
*resultobj
;
38978 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38979 wxWindow
*arg2
= (wxWindow
*) 0 ;
38980 wxGBSizerItem
*result
;
38981 PyObject
* obj0
= 0 ;
38982 PyObject
* obj1
= 0 ;
38984 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
38985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38987 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38991 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
38993 wxPyEndAllowThreads(__tstate
);
38994 if (PyErr_Occurred()) SWIG_fail
;
38996 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39003 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
39004 PyObject
*resultobj
;
39005 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39006 wxSizer
*arg2
= (wxSizer
*) 0 ;
39007 wxGBSizerItem
*result
;
39008 PyObject
* obj0
= 0 ;
39009 PyObject
* obj1
= 0 ;
39011 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39014 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39018 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39020 wxPyEndAllowThreads(__tstate
);
39021 if (PyErr_Occurred()) SWIG_fail
;
39023 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39030 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
39035 argc
= PyObject_Length(args
);
39036 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
39037 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39043 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39053 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39061 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
39069 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39079 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39087 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
39092 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
39097 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39098 PyObject
*resultobj
;
39099 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39100 wxGBPosition
*arg2
= 0 ;
39101 wxGBSizerItem
*result
;
39102 wxGBPosition temp2
;
39103 PyObject
* obj0
= 0 ;
39104 PyObject
* obj1
= 0 ;
39105 char *kwnames
[] = {
39106 (char *) "self",(char *) "pos", NULL
39109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
39110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39114 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39118 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
39120 wxPyEndAllowThreads(__tstate
);
39121 if (PyErr_Occurred()) SWIG_fail
;
39123 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39130 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39131 PyObject
*resultobj
;
39132 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39133 wxPoint
*arg2
= 0 ;
39134 wxGBSizerItem
*result
;
39136 PyObject
* obj0
= 0 ;
39137 PyObject
* obj1
= 0 ;
39138 char *kwnames
[] = {
39139 (char *) "self",(char *) "pt", NULL
39142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
39143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39147 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39151 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
39153 wxPyEndAllowThreads(__tstate
);
39154 if (PyErr_Occurred()) SWIG_fail
;
39156 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39163 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39164 PyObject
*resultobj
;
39165 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39166 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
39167 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
39169 PyObject
* obj0
= 0 ;
39170 PyObject
* obj1
= 0 ;
39171 PyObject
* obj2
= 0 ;
39172 char *kwnames
[] = {
39173 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
39176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39179 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
39180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39182 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
39183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39187 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
39189 wxPyEndAllowThreads(__tstate
);
39190 if (PyErr_Occurred()) SWIG_fail
;
39193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39201 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39202 PyObject
*resultobj
;
39203 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39204 wxGBPosition
*arg2
= 0 ;
39205 wxGBSpan
*arg3
= 0 ;
39206 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
39208 wxGBPosition temp2
;
39210 PyObject
* obj0
= 0 ;
39211 PyObject
* obj1
= 0 ;
39212 PyObject
* obj2
= 0 ;
39213 PyObject
* obj3
= 0 ;
39214 char *kwnames
[] = {
39215 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
39218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39223 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39227 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39230 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
39231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39235 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
39237 wxPyEndAllowThreads(__tstate
);
39238 if (PyErr_Occurred()) SWIG_fail
;
39241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39249 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
39251 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39252 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
39254 return Py_BuildValue((char *)"");
39256 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39257 PyObject
*resultobj
;
39258 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39260 wxWindow
*arg3
= (wxWindow
*) 0 ;
39262 int arg5
= (int) 0 ;
39263 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
39264 PyObject
* obj0
= 0 ;
39265 PyObject
* obj1
= 0 ;
39266 PyObject
* obj2
= 0 ;
39267 PyObject
* obj3
= 0 ;
39268 PyObject
* obj4
= 0 ;
39269 PyObject
* obj5
= 0 ;
39270 char *kwnames
[] = {
39271 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
39274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39277 arg2
= (int)SWIG_As_int(obj1
);
39278 if (PyErr_Occurred()) SWIG_fail
;
39279 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39281 arg4
= (int)SWIG_As_int(obj3
);
39282 if (PyErr_Occurred()) SWIG_fail
;
39284 arg5
= (int)SWIG_As_int(obj4
);
39285 if (PyErr_Occurred()) SWIG_fail
;
39288 arg6
= (int)SWIG_As_int(obj5
);
39289 if (PyErr_Occurred()) SWIG_fail
;
39292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39293 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
39295 wxPyEndAllowThreads(__tstate
);
39296 if (PyErr_Occurred()) SWIG_fail
;
39298 Py_INCREF(Py_None
); resultobj
= Py_None
;
39305 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39306 PyObject
*resultobj
;
39307 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39308 wxWindow
*arg2
= (wxWindow
*) 0 ;
39309 int arg3
= (int) 0 ;
39310 PyObject
* obj0
= 0 ;
39311 PyObject
* obj1
= 0 ;
39312 PyObject
* obj2
= 0 ;
39313 char *kwnames
[] = {
39314 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39320 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39323 arg3
= (int)SWIG_As_int(obj2
);
39324 if (PyErr_Occurred()) SWIG_fail
;
39327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39328 (arg1
)->LeftOf(arg2
,arg3
);
39330 wxPyEndAllowThreads(__tstate
);
39331 if (PyErr_Occurred()) SWIG_fail
;
39333 Py_INCREF(Py_None
); resultobj
= Py_None
;
39340 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39341 PyObject
*resultobj
;
39342 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39343 wxWindow
*arg2
= (wxWindow
*) 0 ;
39344 int arg3
= (int) 0 ;
39345 PyObject
* obj0
= 0 ;
39346 PyObject
* obj1
= 0 ;
39347 PyObject
* obj2
= 0 ;
39348 char *kwnames
[] = {
39349 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39355 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39358 arg3
= (int)SWIG_As_int(obj2
);
39359 if (PyErr_Occurred()) SWIG_fail
;
39362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39363 (arg1
)->RightOf(arg2
,arg3
);
39365 wxPyEndAllowThreads(__tstate
);
39366 if (PyErr_Occurred()) SWIG_fail
;
39368 Py_INCREF(Py_None
); resultobj
= Py_None
;
39375 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39376 PyObject
*resultobj
;
39377 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39378 wxWindow
*arg2
= (wxWindow
*) 0 ;
39379 int arg3
= (int) 0 ;
39380 PyObject
* obj0
= 0 ;
39381 PyObject
* obj1
= 0 ;
39382 PyObject
* obj2
= 0 ;
39383 char *kwnames
[] = {
39384 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39390 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39393 arg3
= (int)SWIG_As_int(obj2
);
39394 if (PyErr_Occurred()) SWIG_fail
;
39397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39398 (arg1
)->Above(arg2
,arg3
);
39400 wxPyEndAllowThreads(__tstate
);
39401 if (PyErr_Occurred()) SWIG_fail
;
39403 Py_INCREF(Py_None
); resultobj
= Py_None
;
39410 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39411 PyObject
*resultobj
;
39412 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39413 wxWindow
*arg2
= (wxWindow
*) 0 ;
39414 int arg3
= (int) 0 ;
39415 PyObject
* obj0
= 0 ;
39416 PyObject
* obj1
= 0 ;
39417 PyObject
* obj2
= 0 ;
39418 char *kwnames
[] = {
39419 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39425 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39428 arg3
= (int)SWIG_As_int(obj2
);
39429 if (PyErr_Occurred()) SWIG_fail
;
39432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39433 (arg1
)->Below(arg2
,arg3
);
39435 wxPyEndAllowThreads(__tstate
);
39436 if (PyErr_Occurred()) SWIG_fail
;
39438 Py_INCREF(Py_None
); resultobj
= Py_None
;
39445 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39446 PyObject
*resultobj
;
39447 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39448 wxWindow
*arg2
= (wxWindow
*) 0 ;
39450 int arg4
= (int) 0 ;
39451 PyObject
* obj0
= 0 ;
39452 PyObject
* obj1
= 0 ;
39453 PyObject
* obj2
= 0 ;
39454 PyObject
* obj3
= 0 ;
39455 char *kwnames
[] = {
39456 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
39459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39462 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39464 arg3
= (int)SWIG_As_int(obj2
);
39465 if (PyErr_Occurred()) SWIG_fail
;
39467 arg4
= (int)SWIG_As_int(obj3
);
39468 if (PyErr_Occurred()) SWIG_fail
;
39471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39472 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
39474 wxPyEndAllowThreads(__tstate
);
39475 if (PyErr_Occurred()) SWIG_fail
;
39477 Py_INCREF(Py_None
); resultobj
= Py_None
;
39484 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39485 PyObject
*resultobj
;
39486 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39487 wxWindow
*arg2
= (wxWindow
*) 0 ;
39490 PyObject
* obj0
= 0 ;
39491 PyObject
* obj1
= 0 ;
39492 PyObject
* obj2
= 0 ;
39493 PyObject
* obj3
= 0 ;
39494 char *kwnames
[] = {
39495 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
39498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39501 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39503 arg3
= (int)SWIG_As_int(obj2
);
39504 if (PyErr_Occurred()) SWIG_fail
;
39505 arg4
= (int)SWIG_As_int(obj3
);
39506 if (PyErr_Occurred()) SWIG_fail
;
39508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39509 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
39511 wxPyEndAllowThreads(__tstate
);
39512 if (PyErr_Occurred()) SWIG_fail
;
39514 Py_INCREF(Py_None
); resultobj
= Py_None
;
39521 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39522 PyObject
*resultobj
;
39523 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39525 PyObject
* obj0
= 0 ;
39526 PyObject
* obj1
= 0 ;
39527 char *kwnames
[] = {
39528 (char *) "self",(char *) "val", NULL
39531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
39532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39534 arg2
= (int)SWIG_As_int(obj1
);
39535 if (PyErr_Occurred()) SWIG_fail
;
39537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39538 (arg1
)->Absolute(arg2
);
39540 wxPyEndAllowThreads(__tstate
);
39541 if (PyErr_Occurred()) SWIG_fail
;
39543 Py_INCREF(Py_None
); resultobj
= Py_None
;
39550 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39551 PyObject
*resultobj
;
39552 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39553 PyObject
* obj0
= 0 ;
39554 char *kwnames
[] = {
39555 (char *) "self", NULL
39558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
39559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39563 (arg1
)->Unconstrained();
39565 wxPyEndAllowThreads(__tstate
);
39566 if (PyErr_Occurred()) SWIG_fail
;
39568 Py_INCREF(Py_None
); resultobj
= Py_None
;
39575 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39576 PyObject
*resultobj
;
39577 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39578 PyObject
* obj0
= 0 ;
39579 char *kwnames
[] = {
39580 (char *) "self", NULL
39583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
39584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39590 wxPyEndAllowThreads(__tstate
);
39591 if (PyErr_Occurred()) SWIG_fail
;
39593 Py_INCREF(Py_None
); resultobj
= Py_None
;
39600 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39601 PyObject
*resultobj
;
39602 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39604 PyObject
* obj0
= 0 ;
39605 char *kwnames
[] = {
39606 (char *) "self", NULL
39609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
39610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39614 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
39616 wxPyEndAllowThreads(__tstate
);
39617 if (PyErr_Occurred()) SWIG_fail
;
39620 resultobj
= wxPyMake_wxObject(result
, 0);
39628 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39629 PyObject
*resultobj
;
39630 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39632 PyObject
* obj0
= 0 ;
39633 char *kwnames
[] = {
39634 (char *) "self", NULL
39637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
39638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39642 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
39644 wxPyEndAllowThreads(__tstate
);
39645 if (PyErr_Occurred()) SWIG_fail
;
39647 resultobj
= SWIG_From_int((int)result
);
39654 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39655 PyObject
*resultobj
;
39656 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39658 PyObject
* obj0
= 0 ;
39659 PyObject
* obj1
= 0 ;
39660 char *kwnames
[] = {
39661 (char *) "self",(char *) "which", NULL
39664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
39665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39667 arg2
= (int)SWIG_As_int(obj1
);
39668 if (PyErr_Occurred()) SWIG_fail
;
39670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39671 (arg1
)->SetEdge((wxEdge
)arg2
);
39673 wxPyEndAllowThreads(__tstate
);
39674 if (PyErr_Occurred()) SWIG_fail
;
39676 Py_INCREF(Py_None
); resultobj
= Py_None
;
39683 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39684 PyObject
*resultobj
;
39685 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39687 PyObject
* obj0
= 0 ;
39688 PyObject
* obj1
= 0 ;
39689 char *kwnames
[] = {
39690 (char *) "self",(char *) "v", NULL
39693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
39694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39696 arg2
= (int)SWIG_As_int(obj1
);
39697 if (PyErr_Occurred()) SWIG_fail
;
39699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39700 (arg1
)->SetValue(arg2
);
39702 wxPyEndAllowThreads(__tstate
);
39703 if (PyErr_Occurred()) SWIG_fail
;
39705 Py_INCREF(Py_None
); resultobj
= Py_None
;
39712 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39713 PyObject
*resultobj
;
39714 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39716 PyObject
* obj0
= 0 ;
39717 char *kwnames
[] = {
39718 (char *) "self", NULL
39721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
39722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39726 result
= (int)(arg1
)->GetMargin();
39728 wxPyEndAllowThreads(__tstate
);
39729 if (PyErr_Occurred()) SWIG_fail
;
39731 resultobj
= SWIG_From_int((int)result
);
39738 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39739 PyObject
*resultobj
;
39740 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39742 PyObject
* obj0
= 0 ;
39743 PyObject
* obj1
= 0 ;
39744 char *kwnames
[] = {
39745 (char *) "self",(char *) "m", NULL
39748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
39749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39751 arg2
= (int)SWIG_As_int(obj1
);
39752 if (PyErr_Occurred()) SWIG_fail
;
39754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39755 (arg1
)->SetMargin(arg2
);
39757 wxPyEndAllowThreads(__tstate
);
39758 if (PyErr_Occurred()) SWIG_fail
;
39760 Py_INCREF(Py_None
); resultobj
= Py_None
;
39767 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39768 PyObject
*resultobj
;
39769 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39771 PyObject
* obj0
= 0 ;
39772 char *kwnames
[] = {
39773 (char *) "self", NULL
39776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
39777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39781 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
39783 wxPyEndAllowThreads(__tstate
);
39784 if (PyErr_Occurred()) SWIG_fail
;
39786 resultobj
= SWIG_From_int((int)result
);
39793 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39794 PyObject
*resultobj
;
39795 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39797 PyObject
* obj0
= 0 ;
39798 char *kwnames
[] = {
39799 (char *) "self", NULL
39802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
39803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39807 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
39809 wxPyEndAllowThreads(__tstate
);
39810 if (PyErr_Occurred()) SWIG_fail
;
39812 resultobj
= SWIG_From_int((int)result
);
39819 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39820 PyObject
*resultobj
;
39821 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39823 PyObject
* obj0
= 0 ;
39824 char *kwnames
[] = {
39825 (char *) "self", NULL
39828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
39829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39833 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
39835 wxPyEndAllowThreads(__tstate
);
39836 if (PyErr_Occurred()) SWIG_fail
;
39838 resultobj
= SWIG_From_int((int)result
);
39845 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39846 PyObject
*resultobj
;
39847 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39849 PyObject
* obj0
= 0 ;
39850 char *kwnames
[] = {
39851 (char *) "self", NULL
39854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
39855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39859 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
39861 wxPyEndAllowThreads(__tstate
);
39862 if (PyErr_Occurred()) SWIG_fail
;
39865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39873 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39874 PyObject
*resultobj
;
39875 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39877 PyObject
* obj0
= 0 ;
39878 PyObject
* obj1
= 0 ;
39879 char *kwnames
[] = {
39880 (char *) "self",(char *) "d", NULL
39883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
39884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39886 arg2
= (bool)SWIG_As_bool(obj1
);
39887 if (PyErr_Occurred()) SWIG_fail
;
39889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39890 (arg1
)->SetDone(arg2
);
39892 wxPyEndAllowThreads(__tstate
);
39893 if (PyErr_Occurred()) SWIG_fail
;
39895 Py_INCREF(Py_None
); resultobj
= Py_None
;
39902 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39903 PyObject
*resultobj
;
39904 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39906 PyObject
* obj0
= 0 ;
39907 char *kwnames
[] = {
39908 (char *) "self", NULL
39911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
39912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39916 result
= (int)(arg1
)->GetRelationship();
39918 wxPyEndAllowThreads(__tstate
);
39919 if (PyErr_Occurred()) SWIG_fail
;
39921 resultobj
= SWIG_From_int((int)result
);
39928 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39929 PyObject
*resultobj
;
39930 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39932 PyObject
* obj0
= 0 ;
39933 PyObject
* obj1
= 0 ;
39934 char *kwnames
[] = {
39935 (char *) "self",(char *) "r", NULL
39938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
39939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39941 arg2
= (int)SWIG_As_int(obj1
);
39942 if (PyErr_Occurred()) SWIG_fail
;
39944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39945 (arg1
)->SetRelationship((wxRelationship
)arg2
);
39947 wxPyEndAllowThreads(__tstate
);
39948 if (PyErr_Occurred()) SWIG_fail
;
39950 Py_INCREF(Py_None
); resultobj
= Py_None
;
39957 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39958 PyObject
*resultobj
;
39959 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39960 wxWindow
*arg2
= (wxWindow
*) 0 ;
39962 PyObject
* obj0
= 0 ;
39963 PyObject
* obj1
= 0 ;
39964 char *kwnames
[] = {
39965 (char *) "self",(char *) "otherW", NULL
39968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
39969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39971 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39975 result
= (bool)(arg1
)->ResetIfWin(arg2
);
39977 wxPyEndAllowThreads(__tstate
);
39978 if (PyErr_Occurred()) SWIG_fail
;
39981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39989 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39990 PyObject
*resultobj
;
39991 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39992 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
39993 wxWindow
*arg3
= (wxWindow
*) 0 ;
39995 PyObject
* obj0
= 0 ;
39996 PyObject
* obj1
= 0 ;
39997 PyObject
* obj2
= 0 ;
39998 char *kwnames
[] = {
39999 (char *) "self",(char *) "constraints",(char *) "win", NULL
40002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40005 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
40006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40007 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40011 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
40013 wxPyEndAllowThreads(__tstate
);
40014 if (PyErr_Occurred()) SWIG_fail
;
40017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40025 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40026 PyObject
*resultobj
;
40027 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40029 wxWindow
*arg3
= (wxWindow
*) 0 ;
40030 wxWindow
*arg4
= (wxWindow
*) 0 ;
40032 PyObject
* obj0
= 0 ;
40033 PyObject
* obj1
= 0 ;
40034 PyObject
* obj2
= 0 ;
40035 PyObject
* obj3
= 0 ;
40036 char *kwnames
[] = {
40037 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
40040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40043 arg2
= (int)SWIG_As_int(obj1
);
40044 if (PyErr_Occurred()) SWIG_fail
;
40045 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40047 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
40048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40051 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
40053 wxPyEndAllowThreads(__tstate
);
40054 if (PyErr_Occurred()) SWIG_fail
;
40056 resultobj
= SWIG_From_int((int)result
);
40063 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
40065 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40066 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
40068 return Py_BuildValue((char *)"");
40070 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40071 PyObject
*resultobj
;
40072 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40073 wxIndividualLayoutConstraint
*result
;
40074 PyObject
* obj0
= 0 ;
40075 char *kwnames
[] = {
40076 (char *) "self", NULL
40079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
40080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40082 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
40084 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40091 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40092 PyObject
*resultobj
;
40093 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40094 wxIndividualLayoutConstraint
*result
;
40095 PyObject
* obj0
= 0 ;
40096 char *kwnames
[] = {
40097 (char *) "self", NULL
40100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
40101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40103 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
40105 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40112 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40113 PyObject
*resultobj
;
40114 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40115 wxIndividualLayoutConstraint
*result
;
40116 PyObject
* obj0
= 0 ;
40117 char *kwnames
[] = {
40118 (char *) "self", NULL
40121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
40122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40124 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
40126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40133 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40134 PyObject
*resultobj
;
40135 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40136 wxIndividualLayoutConstraint
*result
;
40137 PyObject
* obj0
= 0 ;
40138 char *kwnames
[] = {
40139 (char *) "self", NULL
40142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
40143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40145 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
40147 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40154 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40155 PyObject
*resultobj
;
40156 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40157 wxIndividualLayoutConstraint
*result
;
40158 PyObject
* obj0
= 0 ;
40159 char *kwnames
[] = {
40160 (char *) "self", NULL
40163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
40164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40166 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
40168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40175 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40176 PyObject
*resultobj
;
40177 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40178 wxIndividualLayoutConstraint
*result
;
40179 PyObject
* obj0
= 0 ;
40180 char *kwnames
[] = {
40181 (char *) "self", NULL
40184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
40185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40187 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
40189 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40196 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40197 PyObject
*resultobj
;
40198 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40199 wxIndividualLayoutConstraint
*result
;
40200 PyObject
* obj0
= 0 ;
40201 char *kwnames
[] = {
40202 (char *) "self", NULL
40205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
40206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40208 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
40210 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40217 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40218 PyObject
*resultobj
;
40219 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40220 wxIndividualLayoutConstraint
*result
;
40221 PyObject
* obj0
= 0 ;
40222 char *kwnames
[] = {
40223 (char *) "self", NULL
40226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
40227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40229 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
40231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40238 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40239 PyObject
*resultobj
;
40240 wxLayoutConstraints
*result
;
40241 char *kwnames
[] = {
40245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
40247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40248 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
40250 wxPyEndAllowThreads(__tstate
);
40251 if (PyErr_Occurred()) SWIG_fail
;
40253 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
40260 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40261 PyObject
*resultobj
;
40262 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40263 wxWindow
*arg2
= (wxWindow
*) 0 ;
40264 int *arg3
= (int *) 0 ;
40268 PyObject
* obj0
= 0 ;
40269 PyObject
* obj1
= 0 ;
40270 char *kwnames
[] = {
40271 (char *) "self",(char *) "win", NULL
40274 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
40275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
40276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40278 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40282 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
40284 wxPyEndAllowThreads(__tstate
);
40285 if (PyErr_Occurred()) SWIG_fail
;
40288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40290 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
40291 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
40298 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40299 PyObject
*resultobj
;
40300 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40302 PyObject
* obj0
= 0 ;
40303 char *kwnames
[] = {
40304 (char *) "self", NULL
40307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
40308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40312 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
40314 wxPyEndAllowThreads(__tstate
);
40315 if (PyErr_Occurred()) SWIG_fail
;
40318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40326 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
40328 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40329 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
40331 return Py_BuildValue((char *)"");
40333 static PyMethodDef SwigMethods
[] = {
40334 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
40335 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
40336 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40337 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40338 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
40339 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40340 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40341 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40342 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40343 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40344 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40345 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40346 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40347 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40348 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40349 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40350 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40351 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40352 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40353 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40354 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40355 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40356 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40357 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40358 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40359 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
40360 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40361 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40362 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40363 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40364 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40365 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40366 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40367 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40368 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40369 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40370 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40371 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40372 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
40373 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40374 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40375 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40376 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40377 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40378 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40379 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40380 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40381 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40382 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40383 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40384 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40385 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40386 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40387 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
40388 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40389 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40390 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40391 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40392 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40393 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40394 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40395 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40396 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40397 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40398 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40399 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40400 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40401 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40402 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40403 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40404 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40405 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40406 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40407 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40408 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40409 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40410 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40411 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40412 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40413 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40414 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40415 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40416 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40417 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40418 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40419 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40420 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40421 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40422 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40423 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40424 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40425 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40426 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40427 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40428 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40429 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40430 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40431 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40432 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40433 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40434 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40435 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40436 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40437 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40438 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
40439 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40440 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40441 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40442 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40443 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40444 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40445 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40446 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40447 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40448 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40449 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40450 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40451 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40452 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40453 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40454 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40455 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40456 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40457 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40458 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40459 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40460 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40461 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40462 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40463 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40464 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40465 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40466 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
40467 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40468 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40469 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40470 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40471 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40472 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40473 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40474 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40475 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40476 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40477 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40478 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40479 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40480 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40481 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40482 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40483 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40484 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
40485 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40486 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
40487 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40488 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40489 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40490 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40491 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40492 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40493 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40494 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
40495 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
40496 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40497 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40498 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40499 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40500 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40501 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40502 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40503 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40504 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40505 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40506 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40507 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
40508 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40509 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40510 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40511 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40512 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40513 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40514 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40515 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40516 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40517 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40518 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
40519 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40520 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40521 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40522 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40523 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
40524 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40525 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40526 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40527 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40528 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40529 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
40530 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40531 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40532 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40533 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40534 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40535 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40536 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40537 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40538 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40539 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
40540 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40541 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40542 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40543 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40544 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40545 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40546 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40547 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40548 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40549 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
40550 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40551 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40552 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40553 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
40554 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40555 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40556 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40557 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40558 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40559 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40560 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40561 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40562 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40563 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40564 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40565 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40566 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40567 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40568 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40569 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40570 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40571 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40572 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40573 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40574 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40575 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40576 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40577 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40578 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40579 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40580 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40581 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40582 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40583 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40584 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40585 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40586 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40587 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40588 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40589 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40590 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40591 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40592 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40593 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40594 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40595 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40596 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40597 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40598 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40599 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40600 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40601 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40602 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40603 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40604 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40605 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40606 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40607 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40608 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40609 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40610 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40611 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40612 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40613 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40614 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40615 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40616 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40617 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40618 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40619 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40620 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40621 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40622 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40623 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40624 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40625 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
40626 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40627 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
40628 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40629 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
40630 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40631 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
40632 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40633 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
40634 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40635 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
40636 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40637 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
40638 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40639 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
40640 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40641 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
40642 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40643 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
40644 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40645 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
40646 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40647 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
40648 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40649 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
40650 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40651 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40652 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40653 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40654 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40655 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40656 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40657 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40658 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40659 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40660 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40661 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40662 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40663 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
40664 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40665 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40666 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40667 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40668 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40669 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40670 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40671 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40672 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40673 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40674 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40675 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40676 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40677 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40678 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40679 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40680 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40681 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
40682 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40683 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40684 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
40685 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40686 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40687 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
40688 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40689 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40690 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40691 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40692 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40693 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40694 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40695 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40696 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40697 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40698 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40699 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
40700 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40701 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40702 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40703 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40704 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
40705 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40706 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40707 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40708 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40709 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40710 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
40711 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40712 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40713 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40714 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40715 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40716 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
40717 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40718 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40719 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40720 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40721 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40722 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40723 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40724 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40725 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40726 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40727 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40728 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40729 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40730 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40731 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40732 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40733 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40734 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40735 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40736 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40737 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40738 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40739 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40740 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40741 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40742 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40743 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40744 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40745 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40746 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40747 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40748 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40749 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40750 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40751 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40752 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40753 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40754 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40755 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40756 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40757 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40758 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40759 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40760 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40761 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40762 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40763 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40764 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40765 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40766 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40767 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40768 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40769 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40770 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40771 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40772 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40773 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40774 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40775 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40776 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40777 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40778 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40779 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
40780 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40781 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40782 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40783 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40784 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40785 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40786 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
40787 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40788 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40789 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40790 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40791 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40792 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40793 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40794 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40795 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40796 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40797 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40798 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40799 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40800 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40801 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40802 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40803 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40804 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40805 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40806 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40807 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40808 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40809 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40810 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40811 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40812 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40813 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40814 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40815 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40816 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40817 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40818 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40819 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40820 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40821 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40822 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
40823 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40824 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40825 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40826 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40827 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40828 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40829 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40830 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40831 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40832 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
40833 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40834 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40835 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40836 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40837 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40838 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40839 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40840 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40841 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40842 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
40843 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40844 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
40845 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40846 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
40847 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40848 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40849 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
40850 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40851 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40852 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40853 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
40854 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40855 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40856 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
40857 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40858 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40859 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
40860 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40861 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
40862 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40863 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40864 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40865 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40866 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
40867 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40868 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40869 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40870 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40871 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40872 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40873 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40874 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
40875 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40876 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40877 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40878 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
40879 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40880 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40881 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
40882 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40883 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
40884 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40885 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40886 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40887 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
40888 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40889 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40890 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40891 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40892 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40893 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40894 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40895 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40896 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40897 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40898 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40899 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40900 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40901 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40902 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40903 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40904 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
40905 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40906 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
40907 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40908 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40909 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
40910 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40911 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
40912 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40913 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40914 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40915 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
40916 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40917 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40918 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40919 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
40920 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40921 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40922 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40923 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40924 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40925 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40926 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40927 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40928 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
40929 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40930 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40931 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
40932 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40933 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40934 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
40935 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40936 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40937 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40938 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
40939 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40940 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40941 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40942 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40943 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40944 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40945 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
40946 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40947 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40948 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40949 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40950 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
40951 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40952 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40953 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40954 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40955 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
40956 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40957 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40958 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40959 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40960 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40961 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40962 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40963 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40964 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40965 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40966 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40967 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40968 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40969 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40970 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40971 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40972 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40973 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40974 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40975 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40976 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40977 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40978 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40979 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40980 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40981 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40982 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40983 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40984 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40985 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40986 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40987 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40988 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40989 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40990 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40991 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40992 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40993 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40994 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40995 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40996 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40997 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40998 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40999 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
41000 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41001 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41002 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41003 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41004 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41005 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41006 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41007 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41008 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41009 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41010 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41011 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41012 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41013 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41014 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
41015 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41016 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41017 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41018 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
41019 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41020 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41021 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41022 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41023 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41024 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41025 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41026 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41027 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41028 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
41029 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41030 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41031 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41032 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41033 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41034 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41035 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41036 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41037 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41038 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41039 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41040 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41041 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41042 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41043 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41044 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41045 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41046 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41047 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41048 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41049 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41050 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41051 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41052 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41053 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41054 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41055 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41056 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41057 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41058 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41059 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41060 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41061 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41062 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41063 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41064 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41065 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41066 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41067 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41068 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41069 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41070 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41071 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41072 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41073 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41074 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41075 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41076 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41077 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41078 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41079 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41080 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41081 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41082 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41083 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41084 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41085 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41086 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41087 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41088 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41089 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41090 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41091 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41092 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41093 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41094 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41095 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41096 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41097 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41098 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41099 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41100 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41101 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41102 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41103 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41104 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41105 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41106 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41107 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41108 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41109 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41110 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41111 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41112 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41113 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41114 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41115 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41116 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41117 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41118 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41119 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41120 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41121 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41122 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41123 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41124 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41125 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41126 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41127 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41128 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41129 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41130 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41131 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41132 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41133 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41134 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41135 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41136 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41137 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41138 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41139 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41140 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41141 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41142 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41143 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41144 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41145 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41146 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41147 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41148 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41149 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41150 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41151 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41152 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41153 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41154 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41155 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41156 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41157 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41158 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41159 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41160 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41161 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41162 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41163 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41164 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41165 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41166 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41167 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41168 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41169 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41170 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41171 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41172 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41173 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41174 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41175 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41176 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41177 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41178 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41179 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41180 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41181 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41182 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41183 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41184 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41185 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41186 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41187 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41188 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41189 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41190 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41191 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41192 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41193 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41194 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41195 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41196 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41197 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
41198 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41199 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41200 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41201 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41202 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41203 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41204 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41205 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41206 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41207 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41208 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41209 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41210 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41211 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41212 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41213 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41214 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41215 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41216 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41217 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41218 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41219 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41220 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41221 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41222 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41223 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41224 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41225 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41226 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41227 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41228 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41229 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41230 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41231 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41232 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41233 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41234 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41235 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41236 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41237 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
41238 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41239 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41240 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41241 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41242 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41243 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41244 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41245 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41246 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41247 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41248 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41249 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41250 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41251 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
41252 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41253 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41254 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
41255 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41256 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41257 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41258 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41259 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41260 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41261 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41262 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41263 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41264 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41265 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41266 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41267 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41268 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41269 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41270 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41271 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41272 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41273 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41274 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41275 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41276 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41277 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41278 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41279 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41280 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41281 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41282 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41283 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41284 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41285 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41286 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41287 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41288 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41289 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41290 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41291 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41292 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41293 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41294 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41295 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41296 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41297 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41298 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41299 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41300 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41301 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41302 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41303 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41304 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41305 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41306 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41307 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41308 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41309 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
41310 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41311 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41312 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41313 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41314 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41315 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41316 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41317 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41318 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41319 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41320 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41321 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41322 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41323 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41324 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41325 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41326 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41327 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41328 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41329 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41330 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41331 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41332 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41333 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41334 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41335 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41336 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
41337 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41338 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41339 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41340 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41341 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41342 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41343 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41344 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41345 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41346 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41347 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41348 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41349 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41350 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41351 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41352 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41353 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41354 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41355 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41356 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41357 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41358 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41359 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41360 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41361 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41362 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41363 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41364 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41365 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41366 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
41367 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41368 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41369 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41370 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41371 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41372 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41373 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41374 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
41375 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41376 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41377 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41378 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41379 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41380 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41381 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41382 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41383 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41384 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41385 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41386 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41387 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41388 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41389 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41390 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41391 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
41392 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
41393 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41394 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41395 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41396 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41397 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41398 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41399 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41400 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41401 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41402 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41403 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41404 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41405 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41406 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41407 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41408 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41409 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41410 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41411 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41412 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41413 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41414 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41415 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41416 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41417 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41418 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41419 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41420 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41421 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41422 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41423 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41424 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41425 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41426 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41427 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41428 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
41429 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41430 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41431 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41432 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41433 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41434 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41435 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41436 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41437 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41438 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41439 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41440 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41441 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41442 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41443 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41444 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41445 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41446 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41447 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41448 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41449 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41450 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41451 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41452 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41453 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41454 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41455 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41456 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41457 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
41458 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41459 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41460 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
41461 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41462 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41463 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41464 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
41465 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41466 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41467 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
41468 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41469 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41470 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41471 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41472 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41473 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41474 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41475 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41476 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41477 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
41478 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41479 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41480 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41481 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41482 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41483 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41484 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41485 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41486 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41487 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41488 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41489 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
41490 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41491 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41492 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41493 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41494 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41495 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41496 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41497 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41498 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41499 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
41500 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41501 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41502 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41503 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41504 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41505 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41506 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41507 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41508 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41509 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
41510 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41511 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41512 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41513 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41514 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41515 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41516 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41517 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41518 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41519 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41520 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41521 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41522 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41523 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
41524 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41525 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41526 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41527 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41528 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41529 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
41530 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
41531 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
41532 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
41533 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
41534 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41535 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41536 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41537 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41538 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
41539 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41540 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41541 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41542 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41543 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41544 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41545 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41546 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41547 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41548 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41549 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41550 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41551 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41552 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41553 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41554 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41555 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41556 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41557 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41558 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41559 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41560 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41561 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41562 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41563 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41564 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41565 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
41566 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41567 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41568 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41569 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41570 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41571 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41572 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41573 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41574 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41575 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41576 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41577 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
41578 { NULL
, NULL
, 0, NULL
}
41582 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41584 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
41585 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
41587 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
41588 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
41590 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
41591 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41593 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
41594 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41596 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
41597 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
41599 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
41600 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41602 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
41603 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
41605 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
41606 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41608 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
41609 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41611 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
41612 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
41614 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
41615 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
41617 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
41618 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
41620 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
41621 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
41623 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
41624 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
41626 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
41627 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
41629 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
41630 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
41632 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
41633 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
41635 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
41636 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41638 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
41639 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
41641 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
41642 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41644 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
41645 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41647 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
41648 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
41650 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
41651 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
41653 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
41654 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
41656 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
41657 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
41659 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
41660 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
41662 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
41663 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
41665 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
41666 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
41668 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
41669 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41671 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
41672 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41674 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
41675 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41677 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
41678 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41680 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
41681 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41683 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
41684 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
41686 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
41687 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
41689 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
41690 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41692 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
41693 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
41695 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
41696 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
41698 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
41699 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41701 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
41702 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41704 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
41705 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41707 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
41708 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
41710 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
41711 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
41713 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
41714 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41716 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
41717 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41719 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
41720 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41722 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
41723 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
41725 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
41726 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
41728 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
41729 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
41731 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
41732 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
41734 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
41735 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
41737 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
41738 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
41740 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
41741 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
41743 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
41744 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
41746 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
41747 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
41749 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
41750 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
41752 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
41753 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
41755 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
41756 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
41758 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
41759 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
41761 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
41762 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
41764 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
41765 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
41767 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
41768 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41770 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
41771 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
41773 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
41774 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
41776 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
41777 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
41779 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
41780 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41782 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
41783 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
41785 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
41786 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
41788 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
41789 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
41791 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
41792 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
41794 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
41795 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
41797 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
41798 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
41800 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
41801 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
41803 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
41804 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
41806 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41807 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
41809 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41810 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
41812 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41813 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
41815 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
41816 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
41818 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
41819 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
41821 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
41822 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41824 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
41825 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
41827 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
41828 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
41830 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
41831 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
41833 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
41834 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
41836 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
41837 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
41839 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
41840 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
41842 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
41843 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
41845 static void *_p_wxSizerTo_p_wxObject(void *x
) {
41846 return (void *)((wxObject
*) ((wxSizer
*) x
));
41848 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
41849 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
41851 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
41852 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41854 static void *_p_wxMenuTo_p_wxObject(void *x
) {
41855 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
41857 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
41858 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
41860 static void *_p_wxImageTo_p_wxObject(void *x
) {
41861 return (void *)((wxObject
*) ((wxImage
*) x
));
41863 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
41864 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
41866 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
41867 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41869 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
41870 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
41872 static void *_p_wxWindowTo_p_wxObject(void *x
) {
41873 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
41875 static void *_p_wxControlTo_p_wxObject(void *x
) {
41876 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
41878 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
41879 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
41881 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
41882 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
41884 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
41885 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41887 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
41888 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
41890 static void *_p_wxEventTo_p_wxObject(void *x
) {
41891 return (void *)((wxObject
*) ((wxEvent
*) x
));
41893 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
41894 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
41896 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
41897 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
41899 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
41900 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
41902 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
41903 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
41905 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
41906 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
41908 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
41909 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41911 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
41912 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41914 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
41915 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
41917 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
41918 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
41920 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
41921 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
41923 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
41924 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
41926 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
41927 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
41929 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
41930 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
41932 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
41933 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
41935 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
41936 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
41938 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
41939 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41941 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
41942 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
41944 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
41945 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
41947 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
41948 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
41950 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
41951 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
41953 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
41954 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
41956 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
41957 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
41959 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
41960 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
41962 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
41963 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
41965 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
41966 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41968 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
41969 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41971 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
41972 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41974 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
41975 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41977 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
41978 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41980 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
41981 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
41983 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
41984 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
41986 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
41987 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41989 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
41990 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
41992 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
41993 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
41995 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
41996 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
41998 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
41999 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
42001 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
42002 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
42004 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
42005 return (void *)((wxObject
*) ((wxFSFile
*) x
));
42007 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
42008 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
42010 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
42011 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42013 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
42014 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
42016 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
42017 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42019 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
42020 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42022 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
42023 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42025 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
42026 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
42028 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
42029 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
42031 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
42032 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
42034 static void *_p_wxControlTo_p_wxWindow(void *x
) {
42035 return (void *)((wxWindow
*) ((wxControl
*) x
));
42037 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
42038 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
42040 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
42041 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
42043 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
42044 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42046 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
42047 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
42049 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
42050 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42052 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
42053 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42055 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
42056 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42058 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
42059 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42061 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
42062 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42064 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
42065 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42067 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
42068 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
42070 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}};
42071 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}};
42072 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}};
42073 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}};
42074 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}};
42075 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}};
42076 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}};
42077 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}};
42078 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}};
42079 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}};
42080 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}};
42081 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}};
42082 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}};
42083 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}};
42084 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}};
42085 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}};
42086 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}};
42087 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}};
42088 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}};
42089 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}};
42090 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}};
42091 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}};
42092 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}};
42093 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}};
42094 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}};
42095 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}};
42096 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}};
42097 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}};
42098 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}};
42099 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}};
42100 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}};
42101 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}};
42102 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}};
42103 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}};
42104 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}};
42105 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}};
42106 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}};
42107 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}};
42108 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}};
42109 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}};
42110 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}};
42111 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}};
42112 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}};
42113 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}};
42114 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}};
42115 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}};
42116 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}};
42117 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}};
42118 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}};
42119 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}};
42120 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}};
42121 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}};
42122 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}};
42123 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}};
42124 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}};
42125 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}};
42126 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}};
42127 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}};
42128 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}};
42129 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}};
42130 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}};
42131 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}};
42132 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}};
42133 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}};
42134 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}};
42135 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}};
42136 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}};
42137 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}};
42138 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}};
42139 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}};
42140 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}};
42141 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}};
42142 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}};
42143 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}};
42144 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}};
42145 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}};
42146 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}};
42147 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}};
42148 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}};
42149 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}};
42150 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}};
42151 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}};
42152 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}};
42153 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}};
42154 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}};
42155 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}};
42156 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}};
42157 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}};
42158 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}};
42159 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}};
42160 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}};
42161 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}};
42162 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}};
42163 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}};
42164 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}};
42165 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}};
42166 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}};
42167 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}};
42168 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}};
42169 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}};
42170 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}};
42171 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}};
42172 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}};
42173 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}};
42174 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}};
42175 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}};
42176 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}};
42177 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}};
42178 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}};
42179 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}};
42180 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}};
42181 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}};
42182 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}};
42183 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}};
42184 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}};
42185 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}};
42187 static swig_type_info
*swig_types_initial
[] = {
42188 _swigt__p_wxLayoutConstraints
,
42189 _swigt__p_wxRealPoint
,
42190 _swigt__p_wxSizerItem
,
42191 _swigt__p_wxGBSizerItem
,
42192 _swigt__p_wxScrollEvent
,
42193 _swigt__p_wxIndividualLayoutConstraint
,
42195 _swigt__p_wxBoxSizer
,
42196 _swigt__p_wxStaticBoxSizer
,
42197 _swigt__p_wxGridBagSizer
,
42198 _swigt__p_wxAcceleratorEntry
,
42199 _swigt__p_wxUpdateUIEvent
,
42202 _swigt__p_wxGridSizer
,
42203 _swigt__p_wxFlexGridSizer
,
42204 _swigt__p_wxInitDialogEvent
,
42205 _swigt__p_wxItemContainer
,
42206 _swigt__p_wxNcPaintEvent
,
42207 _swigt__p_wxPaintEvent
,
42208 _swigt__p_wxSysColourChangedEvent
,
42209 _swigt__p_wxMouseCaptureChangedEvent
,
42210 _swigt__p_wxDisplayChangedEvent
,
42211 _swigt__p_wxPaletteChangedEvent
,
42212 _swigt__p_wxControl
,
42214 _swigt__p_wxMenuBarBase
,
42215 _swigt__p_wxSetCursorEvent
,
42216 _swigt__p_wxFSFile
,
42218 _swigt__p_wxRegion
,
42219 _swigt__p_wxPoint2D
,
42223 _swigt__p_wxPySizer
,
42224 _swigt__p_wxVisualAttributes
,
42225 _swigt__p_wxNotifyEvent
,
42226 _swigt__p_wxPyEvent
,
42227 _swigt__p_wxPropagationDisabler
,
42228 _swigt__p_wxAppTraits
,
42229 _swigt__p_wxArrayString
,
42230 _swigt__p_wxShowEvent
,
42231 _swigt__p_wxToolTip
,
42232 _swigt__p_wxIconizeEvent
,
42233 _swigt__p_wxActivateEvent
,
42234 _swigt__p_wxMoveEvent
,
42235 _swigt__p_wxSizeEvent
,
42236 _swigt__p_wxMaximizeEvent
,
42237 _swigt__p_wxQueryNewPaletteEvent
,
42238 _swigt__p_wxWindowCreateEvent
,
42239 _swigt__p_wxIdleEvent
,
42240 _swigt__p_wxMenuItem
,
42241 _swigt__p_wxStaticBox
,
42243 _swigt__p_wxTIFFHandler
,
42244 _swigt__p_wxXPMHandler
,
42245 _swigt__p_wxPNMHandler
,
42246 _swigt__p_wxJPEGHandler
,
42247 _swigt__p_wxPCXHandler
,
42248 _swigt__p_wxGIFHandler
,
42249 _swigt__p_wxPNGHandler
,
42250 _swigt__p_wxANIHandler
,
42251 _swigt__p_wxMemoryFSHandler
,
42252 _swigt__p_wxEvtHandler
,
42253 _swigt__p_wxCURHandler
,
42254 _swigt__p_wxICOHandler
,
42255 _swigt__p_wxBMPHandler
,
42256 _swigt__p_wxImageHandler
,
42257 _swigt__p_wxFileSystemHandler
,
42258 _swigt__p_wxPyFileSystemHandler
,
42259 _swigt__p_wxInternetFSHandler
,
42260 _swigt__p_wxZipFSHandler
,
42262 _swigt__p_wxGBSpan
,
42263 _swigt__p_wxPropagateOnce
,
42264 _swigt__p_wxAcceleratorTable
,
42266 _swigt__p_wxGBPosition
,
42269 _swigt__p_wxScrollWinEvent
,
42270 _swigt__p_wxImageHistogram
,
42273 _swigt__p_wxCursor
,
42274 _swigt__p_wxObject
,
42275 _swigt__p_wxPyInputStream
,
42276 _swigt__p_wxOutputStream
,
42277 _swigt__p_wxInputStream
,
42278 _swigt__p_wxDateTime
,
42279 _swigt__p_wxKeyEvent
,
42280 _swigt__p_wxNavigationKeyEvent
,
42281 _swigt__p_wxWindowDestroyEvent
,
42282 _swigt__p_wxWindow
,
42283 _swigt__p_wxMenuBar
,
42284 _swigt__p_wxFileSystem
,
42285 _swigt__p_wxBitmap
,
42286 _swigt__p_wxMenuEvent
,
42287 _swigt__p_wxContextMenuEvent
,
42288 _swigt__p_unsigned_char
,
42289 _swigt__p_wxCloseEvent
,
42290 _swigt__p_wxEraseEvent
,
42291 _swigt__p_wxMouseEvent
,
42293 _swigt__p_wxCommandEvent
,
42294 _swigt__p_wxPyCommandEvent
,
42295 _swigt__p_wxPyDropTarget
,
42296 _swigt__p_wxQuantize
,
42297 _swigt__p_wxChildFocusEvent
,
42298 _swigt__p_wxFocusEvent
,
42299 _swigt__p_wxDropFilesEvent
,
42300 _swigt__p_wxControlWithItems
,
42301 _swigt__p_wxColour
,
42302 _swigt__p_wxValidator
,
42303 _swigt__p_wxPyValidator
,
42308 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
42310 static swig_const_info swig_const_table
[] = {
42311 {0, 0, 0, 0.0, 0, 0}};
42320 SWIGEXPORT(void) SWIG_init(void) {
42321 static PyObject
*SWIG_globals
= 0;
42322 static int typeinit
= 0;
42325 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
42326 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
42327 d
= PyModule_GetDict(m
);
42330 for (i
= 0; swig_types_initial
[i
]; i
++) {
42331 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
42335 SWIG_InstallConstants(d
,swig_const_table
);
42338 #ifndef wxPyUSE_EXPORT
42339 // Make our API structure a CObject so other modules can import it
42340 // from this module.
42341 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
42342 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
42346 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)wxNOT_FOUND
));
42347 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)wxVSCROLL
));
42348 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)wxHSCROLL
));
42349 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)wxCAPTION
));
42350 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)wxDOUBLE_BORDER
));
42351 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)wxSUNKEN_BORDER
));
42352 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)wxRAISED_BORDER
));
42353 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)wxBORDER
));
42354 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)wxSIMPLE_BORDER
));
42355 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)wxSTATIC_BORDER
));
42356 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)wxTRANSPARENT_WINDOW
));
42357 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)wxNO_BORDER
));
42358 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)wxTAB_TRAVERSAL
));
42359 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)wxWANTS_CHARS
));
42360 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)wxPOPUP_WINDOW
));
42361 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)wxCENTER_FRAME
));
42362 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)wxCENTRE_ON_SCREEN
));
42363 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)wxCENTER_ON_SCREEN
));
42364 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_From_int((int)wxED_CLIENT_MARGIN
));
42365 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_From_int((int)wxED_BUTTONS_BOTTOM
));
42366 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_From_int((int)wxED_BUTTONS_RIGHT
));
42367 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_From_int((int)wxED_STATIC_LINE
));
42368 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_From_int((int)wxEXT_DIALOG_STYLE
));
42369 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)wxCLIP_CHILDREN
));
42370 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)wxCLIP_SIBLINGS
));
42371 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)wxALWAYS_SHOW_SB
));
42372 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)wxRETAINED
));
42373 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)wxBACKINGSTORE
));
42374 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)wxCOLOURED
));
42375 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)wxFIXED_LENGTH
));
42376 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)wxLB_NEEDED_SB
));
42377 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)wxLB_ALWAYS_SB
));
42378 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)wxLB_SORT
));
42379 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)wxLB_SINGLE
));
42380 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)wxLB_MULTIPLE
));
42381 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)wxLB_EXTENDED
));
42382 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)wxLB_OWNERDRAW
));
42383 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)wxLB_HSCROLL
));
42384 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)wxPROCESS_ENTER
));
42385 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)wxPASSWORD
));
42386 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)wxCB_SIMPLE
));
42387 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)wxCB_DROPDOWN
));
42388 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)wxCB_SORT
));
42389 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)wxCB_READONLY
));
42390 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)wxRA_HORIZONTAL
));
42391 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)wxRA_VERTICAL
));
42392 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)wxRA_SPECIFY_ROWS
));
42393 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)wxRA_SPECIFY_COLS
));
42394 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)wxRB_GROUP
));
42395 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)wxRB_SINGLE
));
42396 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int((int)wxSL_HORIZONTAL
));
42397 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int((int)wxSL_VERTICAL
));
42398 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int((int)wxSL_AUTOTICKS
));
42399 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int((int)wxSL_LABELS
));
42400 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int((int)wxSL_LEFT
));
42401 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int((int)wxSL_TOP
));
42402 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int((int)wxSL_RIGHT
));
42403 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int((int)wxSL_BOTTOM
));
42404 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int((int)wxSL_BOTH
));
42405 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int((int)wxSL_SELRANGE
));
42406 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)wxSB_HORIZONTAL
));
42407 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)wxSB_VERTICAL
));
42408 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)wxST_SIZEGRIP
));
42409 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)wxST_NO_AUTORESIZE
));
42410 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)wxFLOOD_SURFACE
));
42411 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)wxFLOOD_BORDER
));
42412 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)wxODDEVEN_RULE
));
42413 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)wxWINDING_RULE
));
42414 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)wxTOOL_TOP
));
42415 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)wxTOOL_BOTTOM
));
42416 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)wxTOOL_LEFT
));
42417 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)wxTOOL_RIGHT
));
42418 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)wxOK
));
42419 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)wxYES_NO
));
42420 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)wxCANCEL
));
42421 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)wxYES
));
42422 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)wxNO
));
42423 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)wxNO_DEFAULT
));
42424 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)wxYES_DEFAULT
));
42425 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)wxICON_EXCLAMATION
));
42426 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)wxICON_HAND
));
42427 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)wxICON_QUESTION
));
42428 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)wxICON_INFORMATION
));
42429 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)wxICON_STOP
));
42430 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)wxICON_ASTERISK
));
42431 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)wxICON_MASK
));
42432 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)wxICON_WARNING
));
42433 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)wxICON_ERROR
));
42434 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)wxFORWARD
));
42435 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)wxBACKWARD
));
42436 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)wxRESET
));
42437 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)wxHELP
));
42438 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)wxMORE
));
42439 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)wxSETUP
));
42440 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)wxSIZE_AUTO_WIDTH
));
42441 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)wxSIZE_AUTO_HEIGHT
));
42442 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)wxSIZE_AUTO
));
42443 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)wxSIZE_USE_EXISTING
));
42444 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)wxSIZE_ALLOW_MINUS_ONE
));
42445 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)wxPORTRAIT
));
42446 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)wxLANDSCAPE
));
42447 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)wxPRINT_QUALITY_HIGH
));
42448 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)wxPRINT_QUALITY_MEDIUM
));
42449 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)wxPRINT_QUALITY_LOW
));
42450 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)wxPRINT_QUALITY_DRAFT
));
42451 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)wxID_ANY
));
42452 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)wxID_SEPARATOR
));
42453 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)wxID_LOWEST
));
42454 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)wxID_OPEN
));
42455 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)wxID_CLOSE
));
42456 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)wxID_NEW
));
42457 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)wxID_SAVE
));
42458 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)wxID_SAVEAS
));
42459 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)wxID_REVERT
));
42460 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)wxID_EXIT
));
42461 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)wxID_UNDO
));
42462 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)wxID_REDO
));
42463 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)wxID_HELP
));
42464 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)wxID_PRINT
));
42465 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)wxID_PRINT_SETUP
));
42466 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)wxID_PREVIEW
));
42467 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)wxID_ABOUT
));
42468 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)wxID_HELP_CONTENTS
));
42469 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)wxID_HELP_COMMANDS
));
42470 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)wxID_HELP_PROCEDURES
));
42471 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)wxID_HELP_CONTEXT
));
42472 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)wxID_CLOSE_ALL
));
42473 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)wxID_PREFERENCES
));
42474 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)wxID_CUT
));
42475 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)wxID_COPY
));
42476 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)wxID_PASTE
));
42477 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)wxID_CLEAR
));
42478 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)wxID_FIND
));
42479 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)wxID_DUPLICATE
));
42480 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)wxID_SELECTALL
));
42481 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)wxID_DELETE
));
42482 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)wxID_REPLACE
));
42483 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)wxID_REPLACE_ALL
));
42484 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)wxID_PROPERTIES
));
42485 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)wxID_VIEW_DETAILS
));
42486 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)wxID_VIEW_LARGEICONS
));
42487 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)wxID_VIEW_SMALLICONS
));
42488 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)wxID_VIEW_LIST
));
42489 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)wxID_VIEW_SORTDATE
));
42490 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)wxID_VIEW_SORTNAME
));
42491 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)wxID_VIEW_SORTSIZE
));
42492 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)wxID_VIEW_SORTTYPE
));
42493 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)wxID_FILE1
));
42494 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)wxID_FILE2
));
42495 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)wxID_FILE3
));
42496 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)wxID_FILE4
));
42497 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)wxID_FILE5
));
42498 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)wxID_FILE6
));
42499 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)wxID_FILE7
));
42500 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)wxID_FILE8
));
42501 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)wxID_FILE9
));
42502 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)wxID_OK
));
42503 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)wxID_CANCEL
));
42504 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)wxID_APPLY
));
42505 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)wxID_YES
));
42506 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)wxID_NO
));
42507 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)wxID_STATIC
));
42508 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)wxID_FORWARD
));
42509 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)wxID_BACKWARD
));
42510 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)wxID_DEFAULT
));
42511 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)wxID_MORE
));
42512 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)wxID_SETUP
));
42513 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)wxID_RESET
));
42514 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)wxID_CONTEXT_HELP
));
42515 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)wxID_YESTOALL
));
42516 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)wxID_NOTOALL
));
42517 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)wxID_ABORT
));
42518 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)wxID_RETRY
));
42519 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)wxID_IGNORE
));
42520 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)wxID_ADD
));
42521 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)wxID_REMOVE
));
42522 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)wxID_UP
));
42523 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)wxID_DOWN
));
42524 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)wxID_HOME
));
42525 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)wxID_REFRESH
));
42526 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)wxID_STOP
));
42527 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)wxID_INDEX
));
42528 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)wxID_BOLD
));
42529 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)wxID_ITALIC
));
42530 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)wxID_JUSTIFY_CENTER
));
42531 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)wxID_JUSTIFY_FILL
));
42532 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)wxID_JUSTIFY_RIGHT
));
42533 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)wxID_JUSTIFY_LEFT
));
42534 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)wxID_UNDERLINE
));
42535 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)wxID_INDENT
));
42536 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)wxID_UNINDENT
));
42537 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)wxID_ZOOM_100
));
42538 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)wxID_ZOOM_FIT
));
42539 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)wxID_ZOOM_IN
));
42540 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)wxID_ZOOM_OUT
));
42541 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)wxID_UNDELETE
));
42542 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)wxID_REVERT_TO_SAVED
));
42543 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)wxID_HIGHEST
));
42544 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)wxOPEN
));
42545 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)wxSAVE
));
42546 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)wxHIDE_READONLY
));
42547 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)wxOVERWRITE_PROMPT
));
42548 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)wxFILE_MUST_EXIST
));
42549 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)wxMULTIPLE
));
42550 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)wxCHANGE_DIR
));
42551 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)wxACCEL_ALT
));
42552 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)wxACCEL_CTRL
));
42553 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)wxACCEL_SHIFT
));
42554 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)wxACCEL_NORMAL
));
42555 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)wxPD_AUTO_HIDE
));
42556 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)wxPD_APP_MODAL
));
42557 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)wxPD_CAN_ABORT
));
42558 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)wxPD_ELAPSED_TIME
));
42559 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)wxPD_ESTIMATED_TIME
));
42560 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)wxPD_REMAINING_TIME
));
42561 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)wxDD_NEW_DIR_BUTTON
));
42562 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)wxDD_DEFAULT_STYLE
));
42563 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)wxMENU_TEAROFF
));
42564 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)wxMB_DOCKABLE
));
42565 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)wxNO_FULL_REPAINT_ON_RESIZE
));
42566 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)wxFULL_REPAINT_ON_RESIZE
));
42567 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)wxLI_HORIZONTAL
));
42568 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)wxLI_VERTICAL
));
42569 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)wxWS_EX_VALIDATE_RECURSIVELY
));
42570 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)wxWS_EX_BLOCK_EVENTS
));
42571 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)wxWS_EX_TRANSIENT
));
42572 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)wxWS_EX_THEMED_BACKGROUND
));
42573 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)wxWS_EX_PROCESS_IDLE
));
42574 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)wxWS_EX_PROCESS_UI_UPDATES
));
42575 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)wxMM_TEXT
));
42576 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)wxMM_LOMETRIC
));
42577 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)wxMM_HIMETRIC
));
42578 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)wxMM_LOENGLISH
));
42579 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)wxMM_HIENGLISH
));
42580 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)wxMM_TWIPS
));
42581 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)wxMM_ISOTROPIC
));
42582 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)wxMM_ANISOTROPIC
));
42583 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)wxMM_POINTS
));
42584 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)wxMM_METRIC
));
42585 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)wxCENTRE
));
42586 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)wxCENTER
));
42587 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)wxHORIZONTAL
));
42588 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)wxVERTICAL
));
42589 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)wxBOTH
));
42590 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)wxLEFT
));
42591 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)wxRIGHT
));
42592 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)wxUP
));
42593 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)wxDOWN
));
42594 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)wxTOP
));
42595 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)wxBOTTOM
));
42596 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)wxNORTH
));
42597 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)wxSOUTH
));
42598 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)wxWEST
));
42599 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)wxEAST
));
42600 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)wxALL
));
42601 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)wxALIGN_NOT
));
42602 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)wxALIGN_CENTER_HORIZONTAL
));
42603 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)wxALIGN_CENTRE_HORIZONTAL
));
42604 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)wxALIGN_LEFT
));
42605 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)wxALIGN_TOP
));
42606 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)wxALIGN_RIGHT
));
42607 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)wxALIGN_BOTTOM
));
42608 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)wxALIGN_CENTER_VERTICAL
));
42609 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)wxALIGN_CENTRE_VERTICAL
));
42610 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)wxALIGN_CENTER
));
42611 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)wxALIGN_CENTRE
));
42612 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)wxALIGN_MASK
));
42613 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)wxSTRETCH_NOT
));
42614 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)wxSHRINK
));
42615 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)wxGROW
));
42616 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)wxEXPAND
));
42617 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)wxSHAPED
));
42618 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)wxFIXED_MINSIZE
));
42619 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)wxTILE
));
42620 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)wxADJUST_MINSIZE
));
42621 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)wxBORDER_DEFAULT
));
42622 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)wxBORDER_NONE
));
42623 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)wxBORDER_STATIC
));
42624 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)wxBORDER_SIMPLE
));
42625 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)wxBORDER_RAISED
));
42626 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)wxBORDER_SUNKEN
));
42627 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)wxBORDER_DOUBLE
));
42628 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)wxBORDER_MASK
));
42629 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)wxBG_STYLE_SYSTEM
));
42630 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)wxBG_STYLE_COLOUR
));
42631 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)wxBG_STYLE_CUSTOM
));
42632 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)wxDEFAULT
));
42633 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)wxDECORATIVE
));
42634 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)wxROMAN
));
42635 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)wxSCRIPT
));
42636 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)wxSWISS
));
42637 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)wxMODERN
));
42638 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)wxTELETYPE
));
42639 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)wxVARIABLE
));
42640 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)wxFIXED
));
42641 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)wxNORMAL
));
42642 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)wxLIGHT
));
42643 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)wxBOLD
));
42644 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)wxITALIC
));
42645 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)wxSLANT
));
42646 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)wxSOLID
));
42647 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)wxDOT
));
42648 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)wxLONG_DASH
));
42649 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)wxSHORT_DASH
));
42650 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)wxDOT_DASH
));
42651 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)wxUSER_DASH
));
42652 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)wxTRANSPARENT
));
42653 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)wxSTIPPLE
));
42654 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)wxBDIAGONAL_HATCH
));
42655 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)wxCROSSDIAG_HATCH
));
42656 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)wxFDIAGONAL_HATCH
));
42657 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)wxCROSS_HATCH
));
42658 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)wxHORIZONTAL_HATCH
));
42659 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)wxVERTICAL_HATCH
));
42660 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)wxJOIN_BEVEL
));
42661 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)wxJOIN_MITER
));
42662 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)wxJOIN_ROUND
));
42663 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)wxCAP_ROUND
));
42664 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)wxCAP_PROJECTING
));
42665 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)wxCAP_BUTT
));
42666 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)wxCLEAR
));
42667 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)wxXOR
));
42668 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)wxINVERT
));
42669 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)wxOR_REVERSE
));
42670 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)wxAND_REVERSE
));
42671 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)wxCOPY
));
42672 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)wxAND
));
42673 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)wxAND_INVERT
));
42674 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)wxNO_OP
));
42675 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)wxNOR
));
42676 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)wxEQUIV
));
42677 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)wxSRC_INVERT
));
42678 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)wxOR_INVERT
));
42679 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)wxNAND
));
42680 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)wxOR
));
42681 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)wxSET
));
42682 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)WXK_BACK
));
42683 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)WXK_TAB
));
42684 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)WXK_RETURN
));
42685 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)WXK_ESCAPE
));
42686 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)WXK_SPACE
));
42687 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)WXK_DELETE
));
42688 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)WXK_START
));
42689 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)WXK_LBUTTON
));
42690 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)WXK_RBUTTON
));
42691 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)WXK_CANCEL
));
42692 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)WXK_MBUTTON
));
42693 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)WXK_CLEAR
));
42694 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)WXK_SHIFT
));
42695 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)WXK_ALT
));
42696 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)WXK_CONTROL
));
42697 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)WXK_MENU
));
42698 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)WXK_PAUSE
));
42699 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)WXK_CAPITAL
));
42700 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)WXK_PRIOR
));
42701 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)WXK_NEXT
));
42702 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)WXK_END
));
42703 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)WXK_HOME
));
42704 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)WXK_LEFT
));
42705 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)WXK_UP
));
42706 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)WXK_RIGHT
));
42707 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)WXK_DOWN
));
42708 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)WXK_SELECT
));
42709 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)WXK_PRINT
));
42710 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)WXK_EXECUTE
));
42711 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)WXK_SNAPSHOT
));
42712 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)WXK_INSERT
));
42713 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)WXK_HELP
));
42714 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)WXK_NUMPAD0
));
42715 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)WXK_NUMPAD1
));
42716 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)WXK_NUMPAD2
));
42717 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)WXK_NUMPAD3
));
42718 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)WXK_NUMPAD4
));
42719 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)WXK_NUMPAD5
));
42720 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)WXK_NUMPAD6
));
42721 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)WXK_NUMPAD7
));
42722 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)WXK_NUMPAD8
));
42723 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)WXK_NUMPAD9
));
42724 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)WXK_MULTIPLY
));
42725 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)WXK_ADD
));
42726 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)WXK_SEPARATOR
));
42727 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)WXK_SUBTRACT
));
42728 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)WXK_DECIMAL
));
42729 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)WXK_DIVIDE
));
42730 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)WXK_F1
));
42731 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)WXK_F2
));
42732 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)WXK_F3
));
42733 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)WXK_F4
));
42734 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)WXK_F5
));
42735 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)WXK_F6
));
42736 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)WXK_F7
));
42737 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)WXK_F8
));
42738 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)WXK_F9
));
42739 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)WXK_F10
));
42740 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)WXK_F11
));
42741 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)WXK_F12
));
42742 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)WXK_F13
));
42743 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)WXK_F14
));
42744 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)WXK_F15
));
42745 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)WXK_F16
));
42746 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)WXK_F17
));
42747 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)WXK_F18
));
42748 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)WXK_F19
));
42749 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)WXK_F20
));
42750 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)WXK_F21
));
42751 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)WXK_F22
));
42752 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)WXK_F23
));
42753 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)WXK_F24
));
42754 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)WXK_NUMLOCK
));
42755 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)WXK_SCROLL
));
42756 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)WXK_PAGEUP
));
42757 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)WXK_PAGEDOWN
));
42758 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)WXK_NUMPAD_SPACE
));
42759 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)WXK_NUMPAD_TAB
));
42760 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)WXK_NUMPAD_ENTER
));
42761 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)WXK_NUMPAD_F1
));
42762 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)WXK_NUMPAD_F2
));
42763 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)WXK_NUMPAD_F3
));
42764 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)WXK_NUMPAD_F4
));
42765 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)WXK_NUMPAD_HOME
));
42766 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)WXK_NUMPAD_LEFT
));
42767 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)WXK_NUMPAD_UP
));
42768 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)WXK_NUMPAD_RIGHT
));
42769 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)WXK_NUMPAD_DOWN
));
42770 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)WXK_NUMPAD_PRIOR
));
42771 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)WXK_NUMPAD_PAGEUP
));
42772 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)WXK_NUMPAD_NEXT
));
42773 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)WXK_NUMPAD_PAGEDOWN
));
42774 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)WXK_NUMPAD_END
));
42775 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)WXK_NUMPAD_BEGIN
));
42776 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)WXK_NUMPAD_INSERT
));
42777 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)WXK_NUMPAD_DELETE
));
42778 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)WXK_NUMPAD_EQUAL
));
42779 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)WXK_NUMPAD_MULTIPLY
));
42780 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)WXK_NUMPAD_ADD
));
42781 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)WXK_NUMPAD_SEPARATOR
));
42782 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)WXK_NUMPAD_SUBTRACT
));
42783 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)WXK_NUMPAD_DECIMAL
));
42784 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)WXK_NUMPAD_DIVIDE
));
42785 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)WXK_WINDOWS_LEFT
));
42786 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)WXK_WINDOWS_RIGHT
));
42787 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)WXK_WINDOWS_MENU
));
42788 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)wxPAPER_NONE
));
42789 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)wxPAPER_LETTER
));
42790 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)wxPAPER_LEGAL
));
42791 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)wxPAPER_A4
));
42792 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)wxPAPER_CSHEET
));
42793 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)wxPAPER_DSHEET
));
42794 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)wxPAPER_ESHEET
));
42795 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)wxPAPER_LETTERSMALL
));
42796 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)wxPAPER_TABLOID
));
42797 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)wxPAPER_LEDGER
));
42798 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)wxPAPER_STATEMENT
));
42799 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)wxPAPER_EXECUTIVE
));
42800 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)wxPAPER_A3
));
42801 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)wxPAPER_A4SMALL
));
42802 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)wxPAPER_A5
));
42803 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)wxPAPER_B4
));
42804 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)wxPAPER_B5
));
42805 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)wxPAPER_FOLIO
));
42806 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)wxPAPER_QUARTO
));
42807 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)wxPAPER_10X14
));
42808 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)wxPAPER_11X17
));
42809 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)wxPAPER_NOTE
));
42810 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)wxPAPER_ENV_9
));
42811 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)wxPAPER_ENV_10
));
42812 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)wxPAPER_ENV_11
));
42813 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)wxPAPER_ENV_12
));
42814 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)wxPAPER_ENV_14
));
42815 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)wxPAPER_ENV_DL
));
42816 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)wxPAPER_ENV_C5
));
42817 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)wxPAPER_ENV_C3
));
42818 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)wxPAPER_ENV_C4
));
42819 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)wxPAPER_ENV_C6
));
42820 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)wxPAPER_ENV_C65
));
42821 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)wxPAPER_ENV_B4
));
42822 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)wxPAPER_ENV_B5
));
42823 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)wxPAPER_ENV_B6
));
42824 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)wxPAPER_ENV_ITALY
));
42825 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)wxPAPER_ENV_MONARCH
));
42826 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)wxPAPER_ENV_PERSONAL
));
42827 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)wxPAPER_FANFOLD_US
));
42828 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)wxPAPER_FANFOLD_STD_GERMAN
));
42829 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)wxPAPER_FANFOLD_LGL_GERMAN
));
42830 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)wxPAPER_ISO_B4
));
42831 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)wxPAPER_JAPANESE_POSTCARD
));
42832 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)wxPAPER_9X11
));
42833 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)wxPAPER_10X11
));
42834 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)wxPAPER_15X11
));
42835 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)wxPAPER_ENV_INVITE
));
42836 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)wxPAPER_LETTER_EXTRA
));
42837 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)wxPAPER_LEGAL_EXTRA
));
42838 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)wxPAPER_TABLOID_EXTRA
));
42839 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)wxPAPER_A4_EXTRA
));
42840 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)wxPAPER_LETTER_TRANSVERSE
));
42841 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)wxPAPER_A4_TRANSVERSE
));
42842 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
42843 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)wxPAPER_A_PLUS
));
42844 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)wxPAPER_B_PLUS
));
42845 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)wxPAPER_LETTER_PLUS
));
42846 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)wxPAPER_A4_PLUS
));
42847 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)wxPAPER_A5_TRANSVERSE
));
42848 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)wxPAPER_B5_TRANSVERSE
));
42849 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)wxPAPER_A3_EXTRA
));
42850 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)wxPAPER_A5_EXTRA
));
42851 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)wxPAPER_B5_EXTRA
));
42852 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)wxPAPER_A2
));
42853 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)wxPAPER_A3_TRANSVERSE
));
42854 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
42855 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)wxDUPLEX_SIMPLEX
));
42856 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)wxDUPLEX_HORIZONTAL
));
42857 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)wxDUPLEX_VERTICAL
));
42858 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)wxITEM_SEPARATOR
));
42859 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)wxITEM_NORMAL
));
42860 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)wxITEM_CHECK
));
42861 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)wxITEM_RADIO
));
42862 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)wxITEM_MAX
));
42863 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)wxHT_NOWHERE
));
42864 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)wxHT_SCROLLBAR_FIRST
));
42865 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
42866 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
42867 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
42868 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
42869 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)wxHT_SCROLLBAR_THUMB
));
42870 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)wxHT_SCROLLBAR_BAR_1
));
42871 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)wxHT_SCROLLBAR_BAR_2
));
42872 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)wxHT_SCROLLBAR_LAST
));
42873 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)wxHT_WINDOW_OUTSIDE
));
42874 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)wxHT_WINDOW_INSIDE
));
42875 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)wxHT_WINDOW_VERT_SCROLLBAR
));
42876 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
42877 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)wxHT_WINDOW_CORNER
));
42878 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)wxHT_MAX
));
42879 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)wxMOD_NONE
));
42880 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)wxMOD_ALT
));
42881 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)wxMOD_CONTROL
));
42882 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)wxMOD_SHIFT
));
42883 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)wxMOD_WIN
));
42884 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)wxUPDATE_UI_NONE
));
42885 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)wxUPDATE_UI_RECURSE
));
42886 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)wxUPDATE_UI_FROMIDLE
));
42887 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
42888 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
42889 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)wxBITMAP_TYPE_INVALID
));
42890 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)wxBITMAP_TYPE_BMP
));
42891 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)wxBITMAP_TYPE_ICO
));
42892 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)wxBITMAP_TYPE_CUR
));
42893 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)wxBITMAP_TYPE_XBM
));
42894 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)wxBITMAP_TYPE_XBM_DATA
));
42895 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)wxBITMAP_TYPE_XPM
));
42896 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)wxBITMAP_TYPE_XPM_DATA
));
42897 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)wxBITMAP_TYPE_TIF
));
42898 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)wxBITMAP_TYPE_GIF
));
42899 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)wxBITMAP_TYPE_PNG
));
42900 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)wxBITMAP_TYPE_JPEG
));
42901 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)wxBITMAP_TYPE_PNM
));
42902 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)wxBITMAP_TYPE_PCX
));
42903 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)wxBITMAP_TYPE_PICT
));
42904 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)wxBITMAP_TYPE_ICON
));
42905 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)wxBITMAP_TYPE_ANI
));
42906 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)wxBITMAP_TYPE_IFF
));
42907 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)wxBITMAP_TYPE_MACCURSOR
));
42908 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)wxBITMAP_TYPE_ANY
));
42909 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)wxCURSOR_NONE
));
42910 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)wxCURSOR_ARROW
));
42911 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)wxCURSOR_RIGHT_ARROW
));
42912 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)wxCURSOR_BULLSEYE
));
42913 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)wxCURSOR_CHAR
));
42914 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)wxCURSOR_CROSS
));
42915 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)wxCURSOR_HAND
));
42916 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)wxCURSOR_IBEAM
));
42917 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)wxCURSOR_LEFT_BUTTON
));
42918 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)wxCURSOR_MAGNIFIER
));
42919 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)wxCURSOR_MIDDLE_BUTTON
));
42920 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)wxCURSOR_NO_ENTRY
));
42921 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)wxCURSOR_PAINT_BRUSH
));
42922 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)wxCURSOR_PENCIL
));
42923 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)wxCURSOR_POINT_LEFT
));
42924 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)wxCURSOR_POINT_RIGHT
));
42925 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)wxCURSOR_QUESTION_ARROW
));
42926 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)wxCURSOR_RIGHT_BUTTON
));
42927 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)wxCURSOR_SIZENESW
));
42928 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)wxCURSOR_SIZENS
));
42929 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)wxCURSOR_SIZENWSE
));
42930 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)wxCURSOR_SIZEWE
));
42931 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)wxCURSOR_SIZING
));
42932 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)wxCURSOR_SPRAYCAN
));
42933 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)wxCURSOR_WAIT
));
42934 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)wxCURSOR_WATCH
));
42935 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)wxCURSOR_BLANK
));
42936 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)wxCURSOR_DEFAULT
));
42937 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)wxCURSOR_COPY_ARROW
));
42938 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)wxCURSOR_ARROWWAIT
));
42939 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)wxCURSOR_MAX
));
42940 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
42941 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
42942 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)wxFromStart
));
42943 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)wxFromCurrent
));
42944 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)wxFromEnd
));
42946 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
42949 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
42951 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
42952 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
42953 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
42954 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
42955 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
42956 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
42957 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)wxIMAGE_RESOLUTION_INCHES
));
42958 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)wxIMAGE_RESOLUTION_CM
));
42959 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)wxBMP_24BPP
));
42960 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)wxBMP_8BPP
));
42961 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)wxBMP_8BPP_GREY
));
42962 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)wxBMP_8BPP_GRAY
));
42963 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)wxBMP_8BPP_RED
));
42964 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)wxBMP_8BPP_PALETTE
));
42965 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)wxBMP_4BPP
));
42966 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)wxBMP_1BPP
));
42967 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)wxBMP_1BPP_BW
));
42968 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
));
42969 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)wxQUANTIZE_FILL_DESTINATION_IMAGE
));
42970 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)wxEVENT_PROPAGATE_NONE
));
42971 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)wxEVENT_PROPAGATE_MAX
));
42972 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
42973 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
42974 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
42975 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
42976 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
42977 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
42978 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
42979 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
42980 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
42981 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
42982 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
42983 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
42984 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
42985 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
42986 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
42987 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
42988 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
42989 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
42990 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
42991 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
42992 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
42993 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
42994 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
42995 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
42996 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
42997 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
42998 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
42999 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
43000 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
43001 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
43002 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
43003 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
43004 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
43005 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
43006 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
43007 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
43008 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
43009 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
43010 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
43011 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
43012 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
43013 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
43014 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
43015 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
43016 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
43017 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
43018 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
43019 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
43020 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
43021 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
43022 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
43023 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
43024 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
43025 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
43026 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
43027 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
43028 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
43029 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
43030 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
43031 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
43032 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
43033 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
43034 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
43035 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
43036 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
43037 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
43038 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
43039 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
43040 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
43041 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
43042 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
43043 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
43044 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
43045 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
43046 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
43047 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
43048 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
43049 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
43050 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
43051 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
43052 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
43053 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
43054 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
43055 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
43056 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
43057 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
43058 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
43059 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
43060 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
43061 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
43062 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
43063 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
43064 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
43065 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
43066 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
43067 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
43068 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
43069 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
43070 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
43071 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
43072 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
43073 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
43074 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
43075 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
43076 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
43077 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
43078 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
43079 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
43080 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
43081 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
43082 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
43083 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
43084 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
43085 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
43086 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)wxMOUSE_BTN_ANY
));
43087 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)wxMOUSE_BTN_NONE
));
43088 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)wxMOUSE_BTN_LEFT
));
43089 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)wxMOUSE_BTN_MIDDLE
));
43090 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)wxMOUSE_BTN_RIGHT
));
43091 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)wxUPDATE_UI_PROCESS_ALL
));
43092 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
43093 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)wxNavigationKeyEvent::IsBackward
));
43094 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)wxNavigationKeyEvent::IsForward
));
43095 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)wxNavigationKeyEvent::WinChange
));
43096 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)wxIDLE_PROCESS_ALL
));
43097 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)wxIDLE_PROCESS_SPECIFIED
));
43098 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)wxPYAPP_ASSERT_SUPPRESS
));
43099 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)wxPYAPP_ASSERT_EXCEPTION
));
43100 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)wxPYAPP_ASSERT_DIALOG
));
43101 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)wxPYAPP_ASSERT_LOG
));
43102 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)wxPRINT_WINDOWS
));
43103 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)wxPRINT_POSTSCRIPT
));
43104 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
43105 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
43106 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)wxWINDOW_VARIANT_NORMAL
));
43107 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)wxWINDOW_VARIANT_SMALL
));
43108 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)wxWINDOW_VARIANT_MINI
));
43109 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)wxWINDOW_VARIANT_LARGE
));
43110 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)wxWINDOW_VARIANT_MAX
));
43111 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
43112 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
43113 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)wxFLEX_GROWMODE_NONE
));
43114 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)wxFLEX_GROWMODE_SPECIFIED
));
43115 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)wxFLEX_GROWMODE_ALL
));
43116 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
43117 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)wxLeft
));
43118 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)wxTop
));
43119 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)wxRight
));
43120 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)wxBottom
));
43121 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)wxWidth
));
43122 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)wxHeight
));
43123 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)wxCentre
));
43124 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)wxCenter
));
43125 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)wxCentreX
));
43126 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)wxCentreY
));
43127 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)wxUnconstrained
));
43128 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)wxAsIs
));
43129 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)wxPercentOf
));
43130 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)wxAbove
));
43131 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)wxBelow
));
43132 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)wxLeftOf
));
43133 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)wxRightOf
));
43134 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)wxSameAs
));
43135 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)wxAbsolute
));
43137 // Initialize threading, some globals and such
43141 // Although these are defined in __version__ they need to be here too so
43142 // that an assert can be done to ensure that the wxPython and the wxWindows
43144 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
43145 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
43146 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));