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_wxEventLoop swig_types[5]
217 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[6]
218 #define SWIGTYPE_p_wxSizer swig_types[7]
219 #define SWIGTYPE_p_wxBoxSizer swig_types[8]
220 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[9]
221 #define SWIGTYPE_p_wxGridBagSizer swig_types[10]
222 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[11]
223 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[12]
224 #define SWIGTYPE_p_wxMenu swig_types[13]
225 #define SWIGTYPE_p_wxEvent swig_types[14]
226 #define SWIGTYPE_p_wxGridSizer swig_types[15]
227 #define SWIGTYPE_p_wxFlexGridSizer swig_types[16]
228 #define SWIGTYPE_p_wxInitDialogEvent swig_types[17]
229 #define SWIGTYPE_p_wxItemContainer swig_types[18]
230 #define SWIGTYPE_p_wxNcPaintEvent swig_types[19]
231 #define SWIGTYPE_p_wxPaintEvent swig_types[20]
232 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[21]
233 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[22]
234 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[23]
235 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[24]
236 #define SWIGTYPE_p_wxControl swig_types[25]
237 #define SWIGTYPE_p_wxFont swig_types[26]
238 #define SWIGTYPE_p_wxMenuBarBase swig_types[27]
239 #define SWIGTYPE_p_wxSetCursorEvent swig_types[28]
240 #define SWIGTYPE_p_wxFSFile swig_types[29]
241 #define SWIGTYPE_p_wxCaret swig_types[30]
242 #define SWIGTYPE_p_wxRegion swig_types[31]
243 #define SWIGTYPE_p_wxPoint2D swig_types[32]
244 #define SWIGTYPE_p_int swig_types[33]
245 #define SWIGTYPE_p_wxSize swig_types[34]
246 #define SWIGTYPE_p_wxDC swig_types[35]
247 #define SWIGTYPE_p_wxPySizer swig_types[36]
248 #define SWIGTYPE_p_wxVisualAttributes swig_types[37]
249 #define SWIGTYPE_p_wxNotifyEvent swig_types[38]
250 #define SWIGTYPE_p_wxPyEvent swig_types[39]
251 #define SWIGTYPE_p_wxPropagationDisabler swig_types[40]
252 #define SWIGTYPE_p_wxAppTraits swig_types[41]
253 #define SWIGTYPE_p_wxArrayString swig_types[42]
254 #define SWIGTYPE_p_wxShowEvent swig_types[43]
255 #define SWIGTYPE_p_wxToolTip swig_types[44]
256 #define SWIGTYPE_p_wxIconizeEvent swig_types[45]
257 #define SWIGTYPE_p_wxActivateEvent swig_types[46]
258 #define SWIGTYPE_p_wxMoveEvent swig_types[47]
259 #define SWIGTYPE_p_wxSizeEvent swig_types[48]
260 #define SWIGTYPE_p_wxMaximizeEvent swig_types[49]
261 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[50]
262 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[51]
263 #define SWIGTYPE_p_wxIdleEvent swig_types[52]
264 #define SWIGTYPE_p_wxMenuItem swig_types[53]
265 #define SWIGTYPE_p_wxStaticBox swig_types[54]
266 #define SWIGTYPE_p_long swig_types[55]
267 #define SWIGTYPE_p_wxTIFFHandler swig_types[56]
268 #define SWIGTYPE_p_wxXPMHandler swig_types[57]
269 #define SWIGTYPE_p_wxPNMHandler swig_types[58]
270 #define SWIGTYPE_p_wxJPEGHandler swig_types[59]
271 #define SWIGTYPE_p_wxPCXHandler swig_types[60]
272 #define SWIGTYPE_p_wxGIFHandler swig_types[61]
273 #define SWIGTYPE_p_wxPNGHandler swig_types[62]
274 #define SWIGTYPE_p_wxANIHandler swig_types[63]
275 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[64]
276 #define SWIGTYPE_p_wxEvtHandler swig_types[65]
277 #define SWIGTYPE_p_wxCURHandler swig_types[66]
278 #define SWIGTYPE_p_wxICOHandler swig_types[67]
279 #define SWIGTYPE_p_wxBMPHandler swig_types[68]
280 #define SWIGTYPE_p_wxImageHandler swig_types[69]
281 #define SWIGTYPE_p_wxFileSystemHandler swig_types[70]
282 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[71]
283 #define SWIGTYPE_p_wxInternetFSHandler swig_types[72]
284 #define SWIGTYPE_p_wxZipFSHandler swig_types[73]
285 #define SWIGTYPE_p_wxRect swig_types[74]
286 #define SWIGTYPE_p_wxGBSpan swig_types[75]
287 #define SWIGTYPE_p_wxPropagateOnce swig_types[76]
288 #define SWIGTYPE_p_wxAcceleratorTable swig_types[77]
289 #define SWIGTYPE_p_char swig_types[78]
290 #define SWIGTYPE_p_wxGBPosition swig_types[79]
291 #define SWIGTYPE_p_wxImage swig_types[80]
292 #define SWIGTYPE_p_wxFrame swig_types[81]
293 #define SWIGTYPE_p_wxScrollWinEvent swig_types[82]
294 #define SWIGTYPE_p_wxImageHistogram swig_types[83]
295 #define SWIGTYPE_p_byte swig_types[84]
296 #define SWIGTYPE_p_wxPoint swig_types[85]
297 #define SWIGTYPE_p_wxCursor swig_types[86]
298 #define SWIGTYPE_p_wxObject swig_types[87]
299 #define SWIGTYPE_p_wxPyInputStream swig_types[88]
300 #define SWIGTYPE_p_wxOutputStream swig_types[89]
301 #define SWIGTYPE_p_wxInputStream swig_types[90]
302 #define SWIGTYPE_p_wxDateTime swig_types[91]
303 #define SWIGTYPE_p_wxKeyEvent swig_types[92]
304 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[93]
305 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[94]
306 #define SWIGTYPE_p_wxWindow swig_types[95]
307 #define SWIGTYPE_p_wxMenuBar swig_types[96]
308 #define SWIGTYPE_p_wxFileSystem swig_types[97]
309 #define SWIGTYPE_p_wxBitmap swig_types[98]
310 #define SWIGTYPE_p_wxMenuEvent swig_types[99]
311 #define SWIGTYPE_p_wxContextMenuEvent swig_types[100]
312 #define SWIGTYPE_p_unsigned_char swig_types[101]
313 #define SWIGTYPE_p_wxCloseEvent swig_types[102]
314 #define SWIGTYPE_p_wxEraseEvent swig_types[103]
315 #define SWIGTYPE_p_wxMouseEvent swig_types[104]
316 #define SWIGTYPE_p_wxPyApp swig_types[105]
317 #define SWIGTYPE_p_wxCommandEvent swig_types[106]
318 #define SWIGTYPE_p_wxPyCommandEvent swig_types[107]
319 #define SWIGTYPE_p_wxPyDropTarget swig_types[108]
320 #define SWIGTYPE_p_wxQuantize swig_types[109]
321 #define SWIGTYPE_p_wxChildFocusEvent swig_types[110]
322 #define SWIGTYPE_p_wxFocusEvent swig_types[111]
323 #define SWIGTYPE_p_wxDropFilesEvent swig_types[112]
324 #define SWIGTYPE_p_wxControlWithItems swig_types[113]
325 #define SWIGTYPE_p_wxColour swig_types[114]
326 #define SWIGTYPE_p_wxValidator swig_types[115]
327 #define SWIGTYPE_p_wxPyValidator swig_types[116]
328 static swig_type_info
*swig_types
[118];
330 /* -------- TYPES TABLE (END) -------- */
333 /*-----------------------------------------------
334 @(target):= _core_.so
335 ------------------------------------------------*/
336 #define SWIG_init init_core_
338 #define SWIG_name "_core_"
340 /* Auxiliar swig macros that appear in the header */
342 #define SWIG_OLDOBJ 1
343 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
344 #define SWIG_PYSTR SWIG_NEWOBJ + 1
347 #define SWIGSTATICINLINE(a) static inline a
348 #define SWIGSTATIC(a) static a
349 #define swig_new_array(size,Type) (new Type[(size)])
350 #define swig_delete(cptr) delete cptr
351 #define swig_delete_array(cptr) delete[] cptr
352 #define swig_const_cast(a,Type) const_cast<Type >(a)
353 #define swig_static_cast(a,Type) static_cast<Type >(a)
354 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
355 #define swig_new_copy(ptr,Type) (new Type(*ptr))
356 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
360 #define SWIGSTATICINLINE(a) static a
361 #define SWIGSTATIC(a) static a
362 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
363 #define swig_delete(cptr) free((char*)cptr)
364 #define swig_delete_array(cptr) free((char*)cptr)
365 #define swig_const_cast(a,Type) (Type)(a)
366 #define swig_static_cast(a,Type) (Type)(a)
367 #define swig_reinterpret_cast(a,Type) (Type)(a)
368 #define swig_numeric_cast(a,Type) (Type)(a)
369 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
371 #endif /* __cplusplus */
374 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
375 #define SWIG_From_signed_SS_char PyInt_FromLong
377 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
378 #define SWIG_From_unsigned_SS_char PyInt_FromLong
380 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
381 #define SWIG_From_short PyInt_FromLong
383 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
384 #define SWIG_From_unsigned_SS_short PyInt_FromLong
386 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
387 #define SWIG_From_int PyInt_FromLong
389 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
390 #define SWIG_From_long PyInt_FromLong
392 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
393 #define SWIG_From_float PyFloat_FromDouble
395 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
396 #define SWIG_From_double PyFloat_FromDouble
400 #include "wx/wxPython/wxPython_int.h"
401 #include "wx/wxPython/pyclasses.h"
404 #ifndef wxPyUSE_EXPORT
405 // Helper functions for dealing with SWIG objects and such. These are
406 // located here so they know about the SWIG types and functions declared
407 // in the wrapper code.
409 #include <wx/hashmap.h>
410 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
413 // Maintains a hashmap of className to swig_type_info pointers. Given the
414 // name of a class either looks up the type info in the cache, or scans the
415 // SWIG tables for it.
416 extern PyObject
* wxPyPtrTypeMap
;
418 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
420 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
422 if (typeInfoCache
== NULL
)
423 typeInfoCache
= new wxPyTypeInfoHashMap
;
425 wxString
name(className
);
426 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
429 // it wasn't in the cache, so look it up from SWIG
430 name
.Append(wxT(" *"));
431 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
433 // if it still wasn't found, try looking for a mapped name
438 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
439 (char*)(const char*)name
.mbc_str())) != NULL
) {
440 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
441 name
.Append(wxT(" *"));
442 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
446 // and add it to the map if found
447 (*typeInfoCache
)[className
] = swigType
;
454 // Check if a class name is a type known to SWIG
455 bool wxPyCheckSwigType(const wxChar
* className
) {
457 swig_type_info
* swigType
= wxPyFindSwigType(className
);
458 return swigType
!= NULL
;
462 // Given a pointer to a C++ object and a class name, construct a Python proxy
464 PyObject
* wxPyConstructObject(void* ptr
,
465 const wxChar
* className
,
468 swig_type_info
* swigType
= wxPyFindSwigType(className
);
469 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
471 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
475 // Extract a pointer to the wrapped C++ object from a Python proxy object.
476 // Ensures that the proxy object is of the specified (or derived) type. If
477 // not able to perform the conversion then a Python exception is set and the
478 // error should be handled properly in the caller. Returns True on success.
479 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
480 const wxChar
* className
) {
482 swig_type_info
* swigType
= wxPyFindSwigType(className
);
483 wxCHECK_MSG(swigType
!= NULL
, false, wxT("Unknown type in wxPyConvertSwigPtr"));
485 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
489 // Make a SWIGified pointer object suitable for a .this attribute
490 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
492 PyObject
* robj
= NULL
;
494 swig_type_info
* swigType
= wxPyFindSwigType(className
);
495 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
497 #ifdef SWIG_COBJECT_TYPES
498 robj
= PyCObject_FromVoidPtrAndDesc((void *) ptr
, (char *) swigType
->name
, NULL
);
504 r
= SWIG_Python_PackData(r
, &ptr
, sizeof(void *));
505 strcpy(r
, swigType
->name
);
506 robj
= PyString_FromString(result
);
516 // Export a C API in a struct. Other modules will be able to load this from
517 // the wx._core_ module and will then have safe access to these functions,
518 // even if they are located in another shared library.
519 static wxPyCoreAPI API
= {
521 (p_SWIG_Python_TypeRegister_t
)SWIG_Python_TypeRegister
,
522 (p_SWIG_Python_TypeCheck_t
)SWIG_Python_TypeCheck
,
523 (p_SWIG_Python_TypeCast_t
)SWIG_Python_TypeCast
,
524 (p_SWIG_Python_TypeDynamicCast_t
)SWIG_Python_TypeDynamicCast
,
525 (p_SWIG_Python_TypeName_t
)SWIG_Python_TypeName
,
526 (p_SWIG_Python_TypePrettyName_t
)SWIG_Python_TypePrettyName
,
527 (p_SWIG_Python_TypeQuery_t
)SWIG_Python_TypeQuery
,
528 (p_SWIG_Python_TypeClientData_t
)SWIG_Python_TypeClientData
,
529 (p_SWIG_Python_newvarlink_t
)SWIG_Python_newvarlink
,
530 (p_SWIG_Python_addvarlink_t
)SWIG_Python_addvarlink
,
531 (p_SWIG_Python_ConvertPtr_t
)SWIG_Python_ConvertPtr
,
532 (p_SWIG_Python_ConvertPacked_t
)SWIG_Python_ConvertPacked
,
533 (p_SWIG_Python_PackData_t
)SWIG_Python_PackData
,
534 (p_SWIG_Python_UnpackData_t
)SWIG_Python_UnpackData
,
535 (p_SWIG_Python_NewPointerObj_t
)SWIG_Python_NewPointerObj
,
536 (p_SWIG_Python_NewPackedObj_t
)SWIG_Python_NewPackedObj
,
537 (p_SWIG_Python_InstallConstants_t
)SWIG_Python_InstallConstants
,
538 (p_SWIG_Python_MustGetPtr_t
)SWIG_Python_MustGetPtr
,
545 wxPyBeginAllowThreads
,
547 wxPyBeginBlockThreads
,
561 wxBitmap_LIST_helper
,
562 wxString_LIST_helper
,
563 wxAcceleratorEntry_LIST_helper
,
572 wxPySimple_typecheck
,
575 wxPyCBH_setCallbackInfo
,
576 wxPyCBH_findCallback
,
577 wxPyCBH_callCallback
,
578 wxPyCBH_callCallbackObj
,
586 wxArrayString2PyList_helper
,
587 wxArrayInt2PyList_helper
,
591 wxPyOORClientData_dtor
,
593 wxPyCBInputStream_create
,
596 wxPySwigInstance_Check
,
606 enum wxHotkeyModifier
614 #define wxEVT_HOTKEY 9999
617 static const wxString
wxPyEmptyString(wxEmptyString
);
618 wxString
wxObject_GetClassName(wxObject
*self
){
619 return self
->GetClassInfo()->GetClassName();
621 void wxObject_Destroy(wxObject
*self
){
626 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
633 SWIGSTATICINLINE(int)
634 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
637 if (value
< min_value
) {
639 PyErr_Format(PyExc_OverflowError
,
640 "value %ld is less than '%s' minimum %ld",
641 value
, errmsg
, min_value
);
644 } else if (value
> max_value
) {
646 PyErr_Format(PyExc_OverflowError
,
647 "value %ld is greater than '%s' maximum %ld",
648 value
, errmsg
, max_value
);
656 // See my_fragments.i
657 SWIGSTATICINLINE(int)
658 SWIG_AsVal_long(PyObject
* obj
, long* val
)
660 if (PyNumber_Check(obj
)) {
661 if (val
) *val
= PyInt_AsLong(obj
);
665 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
666 obj
->ob_type
->tp_name
);
667 PyErr_SetObject(PyExc_TypeError
, errmsg
);
674 #if INT_MAX != LONG_MAX
675 SWIGSTATICINLINE(int)
676 SWIG_AsVal_int(PyObject
*obj
, int *val
)
678 const char* errmsg
= val
? "int" : 0;
680 if (SWIG_AsVal_long(obj
, &v
)) {
681 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
682 if (val
) *val
= swig_numeric_cast(v
, int);
691 PyErr_SetString(PyExc_TypeError
, "an int is expected");
696 SWIGSTATICINLINE(int)
697 SWIG_AsVal_int(PyObject
*obj
, int *val
)
699 return SWIG_AsVal_long(obj
,(long*)val
);
704 SWIGSTATICINLINE(int)
705 SWIG_As_int(PyObject
* obj
)
708 if (!SWIG_AsVal_int(obj
, &v
)) {
710 this is needed to make valgrind/purify happier. the other
711 solution is throw an exception, but since this code should work
714 memset((void*)&v
, 0, sizeof(int));
720 SWIGSTATICINLINE(int)
721 SWIG_Check_int(PyObject
* obj
)
723 return SWIG_AsVal_int(obj
, (int*)0);
726 PyObject
*wxSize_Get(wxSize
*self
){
727 bool blocked
= wxPyBeginBlockThreads();
728 PyObject
* tup
= PyTuple_New(2);
729 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
730 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
731 wxPyEndBlockThreads(blocked
);
735 // See my_fragments.i
736 SWIGSTATICINLINE(int)
737 SWIG_AsVal_double(PyObject
*obj
, double* val
)
739 if (PyNumber_Check(obj
)) {
740 if (val
) *val
= PyFloat_AsDouble(obj
);
744 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
745 obj
->ob_type
->tp_name
);
746 PyErr_SetObject(PyExc_TypeError
, errmsg
);
753 SWIGSTATICINLINE(double)
754 SWIG_As_double(PyObject
* obj
)
757 if (!SWIG_AsVal_double(obj
, &v
)) {
759 this is needed to make valgrind/purify happier. the other
760 solution is throw an exception, but since this code should work
763 memset((void*)&v
, 0, sizeof(double));
769 SWIGSTATICINLINE(int)
770 SWIG_Check_double(PyObject
* obj
)
772 return SWIG_AsVal_double(obj
, (double*)0);
775 void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
779 PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
780 bool blocked
= wxPyBeginBlockThreads();
781 PyObject
* tup
= PyTuple_New(2);
782 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
783 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
784 wxPyEndBlockThreads(blocked
);
788 SWIGSTATICINLINE(long)
789 SWIG_As_long(PyObject
* obj
)
792 if (!SWIG_AsVal_long(obj
, &v
)) {
794 this is needed to make valgrind/purify happier. the other
795 solution is throw an exception, but since this code should work
798 memset((void*)&v
, 0, sizeof(long));
804 SWIGSTATICINLINE(int)
805 SWIG_Check_long(PyObject
* obj
)
807 return SWIG_AsVal_long(obj
, (long*)0);
810 void wxPoint_Set(wxPoint
*self
,long x
,long y
){
814 PyObject
*wxPoint_Get(wxPoint
*self
){
815 bool blocked
= wxPyBeginBlockThreads();
816 PyObject
* tup
= PyTuple_New(2);
817 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
818 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
819 wxPyEndBlockThreads(blocked
);
822 void wxRect_Set(wxRect
*self
,int x
,int y
,int width
,int height
){
826 self
->height
= height
;
828 PyObject
*wxRect_Get(wxRect
*self
){
829 bool blocked
= wxPyBeginBlockThreads();
830 PyObject
* tup
= PyTuple_New(4);
831 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
832 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
833 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
834 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
835 wxPyEndBlockThreads(blocked
);
839 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
842 wxRect
dest(0,0,0,0);
845 reg1
.Intersect(reg2
);
846 dest
= reg1
.GetBox();
848 if (dest
!= wxRect(0,0,0,0)) {
849 bool blocked
= wxPyBeginBlockThreads();
850 wxRect
* newRect
= new wxRect(dest
);
851 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true);
852 wxPyEndBlockThreads(blocked
);
860 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
866 } else if (target
== Py_None
) {
870 if (!PyTuple_Check(target
)) {
872 target
= PyTuple_New(1);
873 PyTuple_SetItem(target
, 0, o2
);
876 PyTuple_SetItem(o3
, 0, o
);
879 target
= PySequence_Concat(o2
, o3
);
887 void wxPoint2D_Set(wxPoint2D
*self
,double x
,double y
){
891 PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
892 bool blocked
= wxPyBeginBlockThreads();
893 PyObject
* tup
= PyTuple_New(2);
894 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
895 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
896 wxPyEndBlockThreads(blocked
);
900 #include "wx/wxPython/pyistream.h"
902 wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
903 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
905 return new wxPyInputStream(wxis
);
910 SWIGSTATICINLINE(PyObject
*)
911 SWIG_From_char(char c
)
913 return PyString_FromStringAndSize(&c
,1);
917 SWIGSTATICINLINE(PyObject
* )
918 SWIG_From_unsigned_SS_long(unsigned long value
)
920 return (value
> LONG_MAX
) ?
921 PyLong_FromUnsignedLong(value
)
922 : PyInt_FromLong(swig_numeric_cast(value
,long));
926 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
928 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
)
930 static swig_type_info
* pchar_info
= 0;
932 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
933 if (SWIG_ConvertPtr(obj
, (void**)&vptr
, pchar_info
, 0) != -1) {
934 if (cptr
) *cptr
= vptr
;
935 if (psize
) *psize
= vptr
? (strlen(vptr
) + 1) : 0;
938 if (PyString_Check(obj
)) {
940 *cptr
= PyString_AS_STRING(obj
);
942 *psize
= PyString_GET_SIZE(obj
) + 1;
949 PyErr_SetString(PyExc_TypeError
, "a string is expected");
956 SWIG_AsCharArray(PyObject
*obj
, char *val
, size_t size
)
958 char* cptr
; size_t csize
;
959 if (SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
)) {
964 ie, assing the array using an extra '0' char.
966 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
969 if (csize
) memcpy(val
, cptr
, csize
);
970 if (csize
< size
) memset(val
+ csize
, 0, size
- csize
);
976 PyErr_Format(PyExc_TypeError
,
977 "a char array of maximum size %ld is expected",
984 SWIGSTATICINLINE(int)
985 SWIG_AsVal_char(PyObject
*obj
, char *val
)
987 const char* errmsg
= val
? "char" : 0;
989 if (SWIG_AsVal_long(obj
, &v
)) {
990 if (SWIG_CheckLongInRange(v
, CHAR_MIN
,CHAR_MAX
, errmsg
)) {
998 return SWIG_AsCharArray(obj
, val
, 1);
1003 SWIGSTATICINLINE(char)
1004 SWIG_As_char(PyObject
* obj
)
1007 if (!SWIG_AsVal_char(obj
, &v
)) {
1009 this is needed to make valgrind/purify happier. the other
1010 solution is throw an exception, but since this code should work
1013 memset((void*)&v
, 0, sizeof(char));
1019 SWIGSTATICINLINE(int)
1020 SWIG_Check_char(PyObject
* obj
)
1022 return SWIG_AsVal_char(obj
, (char*)0);
1025 void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
1026 // We use only strings for the streams, not unicode
1027 PyObject
* str
= PyObject_Str(obj
);
1029 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
1032 self
->Write(PyString_AS_STRING(str
),
1033 PyString_GET_SIZE(str
));
1037 #include "wx/wxPython/pyistream.h"
1040 class wxPyFileSystemHandler
: public wxFileSystemHandler
1043 wxPyFileSystemHandler() : wxFileSystemHandler() {}
1045 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
1046 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
1047 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
1048 DEC_PYCALLBACK_STRING__pure(FindNext
);
1050 wxString
GetProtocol(const wxString
& location
) {
1051 return wxFileSystemHandler::GetProtocol(location
);
1054 wxString
GetLeftLocation(const wxString
& location
) {
1055 return wxFileSystemHandler::GetLeftLocation(location
);
1058 wxString
GetAnchor(const wxString
& location
) {
1059 return wxFileSystemHandler::GetAnchor(location
);
1062 wxString
GetRightLocation(const wxString
& location
) {
1063 return wxFileSystemHandler::GetRightLocation(location
);
1066 wxString
GetMimeTypeFromExt(const wxString
& location
) {
1067 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
1074 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
1075 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
1076 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
1077 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
1080 SWIGSTATICINLINE(int)
1081 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1083 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
1084 if (obj
== Py_True
) {
1085 if (val
) *val
= true;
1088 if (obj
== Py_False
) {
1089 if (val
) *val
= false;
1093 if (SWIG_AsVal_int(obj
, &res
)) {
1094 if (val
) *val
= (bool)res
;
1098 PyErr_SetString(PyExc_TypeError
, "a bool is expected");
1104 SWIGSTATICINLINE(bool)
1105 SWIG_As_bool(PyObject
* obj
)
1108 if (!SWIG_AsVal_bool(obj
, &v
)) {
1110 this is needed to make valgrind/purify happier. the other
1111 solution is throw an exception, but since this code should work
1114 memset((void*)&v
, 0, sizeof(bool));
1120 SWIGSTATICINLINE(int)
1121 SWIG_Check_bool(PyObject
* obj
)
1123 return SWIG_AsVal_bool(obj
, (bool*)0);
1126 wxString
FileSystem_URLToFileName(wxString
const &url
){
1127 wxFileName fname
= wxFileSystem::URLToFileName(url
);
1128 return fname
.GetFullPath();
1131 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
1134 wxMemoryFSHandler::AddFile(filename
, image
, type
);
1137 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
1138 const wxBitmap
& bitmap
,
1140 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
1143 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
1145 if (! PyString_Check(data
)) {
1146 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
1147 "Expected string object"));
1151 bool blocked
= wxPyBeginBlockThreads();
1152 void* ptr
= (void*)PyString_AsString(data
);
1153 size_t size
= PyString_Size(data
);
1154 wxPyEndBlockThreads(blocked
);
1156 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
1160 #include "wx/wxPython/pyistream.h"
1163 // See my_fragments.i
1164 SWIGSTATICINLINE(int)
1165 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1168 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1169 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
1173 *val
= (unsigned long)v
;
1178 SWIGSTATICINLINE(int)
1179 SWIG_CheckUnsignedLongInRange(unsigned long value
,
1180 unsigned long max_value
,
1183 if (value
> max_value
) {
1185 PyErr_Format(PyExc_OverflowError
,
1186 "value %ld is greater than '%s' minimum %ld",
1187 value
, errmsg
, max_value
);
1195 SWIGSTATICINLINE(int)
1196 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
1198 const char* errmsg
= val
? "unsigned char" : 0;
1200 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1201 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
1202 if (val
) *val
= swig_numeric_cast(v
, unsigned char);
1211 PyErr_SetString(PyExc_TypeError
, "an unsigned char is expected");
1217 SWIGSTATICINLINE(unsigned char)
1218 SWIG_As_unsigned_SS_char(PyObject
* obj
)
1221 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
1223 this is needed to make valgrind/purify happier. the other
1224 solution is throw an exception, but since this code should work
1227 memset((void*)&v
, 0, sizeof(unsigned char));
1233 SWIGSTATICINLINE(int)
1234 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
1236 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
1240 wxImage
*new_wxImage(int width
,int height
,bool clear
){
1241 if (width
> 0 && height
> 0)
1242 return new wxImage(width
, height
, clear
);
1246 wxImage
*new_wxImage(wxBitmap
const &bitmap
){
1247 return new wxImage(bitmap
.ConvertToImage());
1249 wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
1250 // Copy the source data so the wxImage can clean it up later
1251 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
1256 memcpy(copy
, data
, width
*height
*3);
1257 return new wxImage(width
, height
, copy
, false);
1259 wxSize
wxImage_GetSize(wxImage
*self
){
1260 wxSize
size(self
->GetWidth(), self
->GetHeight());
1263 PyObject
*wxImage_GetData(wxImage
*self
){
1264 unsigned char* data
= self
->GetData();
1265 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1267 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
1270 void wxImage_SetData(wxImage
*self
,PyObject
*data
){
1271 unsigned char* dataPtr
;
1273 if (! PyString_Check(data
)) {
1274 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
1275 "Expected string object"));
1279 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
1280 dataPtr
= (unsigned char*) malloc(len
);
1281 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1282 self
->SetData(dataPtr
);
1283 // wxImage takes ownership of dataPtr...
1285 PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
1286 unsigned char* data
= self
->GetData();
1287 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1289 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1292 void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
1293 unsigned char* buffer
;
1296 bool blocked
= wxPyBeginBlockThreads();
1297 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1300 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
1301 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1304 self
->SetData(buffer
);
1306 wxPyEndBlockThreads(blocked
);
1308 PyObject
*wxImage_GetAlphaData(wxImage
*self
){
1309 unsigned char* data
= self
->GetAlpha();
1313 int len
= self
->GetWidth() * self
->GetHeight();
1315 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
1319 void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
1320 unsigned char* dataPtr
;
1322 if (! PyString_Check(data
)) {
1323 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1327 size_t len
= self
->GetWidth() * self
->GetHeight();
1328 dataPtr
= (unsigned char*) malloc(len
);
1329 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1330 self
->SetAlpha(dataPtr
);
1331 // wxImage takes ownership of dataPtr...
1333 PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
1334 unsigned char* data
= self
->GetAlpha();
1335 int len
= self
->GetWidth() * self
->GetHeight();
1337 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1340 void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
1341 unsigned char* buffer
;
1344 bool blocked
= wxPyBeginBlockThreads();
1345 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1348 if (size
!= self
->GetWidth() * self
->GetHeight()) {
1349 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1352 self
->SetAlpha(buffer
);
1354 wxPyEndBlockThreads(blocked
);
1357 SWIGSTATICINLINE(unsigned long)
1358 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1361 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1363 this is needed to make valgrind/purify happier. the other
1364 solution is throw an exception, but since this code should work
1367 memset((void*)&v
, 0, sizeof(unsigned long));
1373 SWIGSTATICINLINE(int)
1374 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1376 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1379 wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
){
1380 wxBitmap
bitmap(*self
, depth
);
1383 wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
1384 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
1385 wxBitmap
bitmap( mono
, 1 );
1388 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
1389 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
1390 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
1391 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
1392 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
1394 #include <wx/quantize.h>
1396 bool Quantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
,int flags
){
1397 return wxQuantize::Quantize(src
, dest
,
1400 NULL
, // eightBitData
1403 void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
1404 if (PyCallable_Check(func
)) {
1405 self
->Connect(id
, lastId
, eventType
,
1406 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
1407 new wxPyCallback(func
));
1409 else if (func
== Py_None
) {
1410 self
->Disconnect(id
, lastId
, eventType
,
1411 (wxObjectEventFunction
)
1412 &wxPyCallback::EventThunker
);
1416 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
1419 bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
){
1420 return self
->Disconnect(id
, lastId
, eventType
,
1421 (wxObjectEventFunction
)
1422 &wxPyCallback::EventThunker
);
1424 void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
){
1425 if (_self
&& _self
!= Py_None
) {
1426 self
->SetClientObject(new wxPyOORClientData(_self
));
1429 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
1431 self
->SetClientObject(NULL
); // This will delete it too
1436 int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
1438 return self
->GetUnicodeKey();
1444 #if UINT_MAX < LONG_MAX
1445 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
1446 #define SWIG_From_unsigned_SS_int SWIG_From_long
1449 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
1450 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1455 #if UINT_MAX != ULONG_MAX
1456 SWIGSTATICINLINE(int)
1457 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1459 const char* errmsg
= val
? "unsigned int" : 0;
1461 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1462 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
1463 if (val
) *val
= swig_numeric_cast(v
, unsigned int);
1470 PyErr_SetString(PyExc_TypeError
, "an unsigned int is expected");
1475 SWIGSTATICINLINE(unsigned int)
1476 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
1478 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
1483 SWIGSTATICINLINE(unsigned int)
1484 SWIG_As_unsigned_SS_int(PyObject
* obj
)
1487 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
1489 this is needed to make valgrind/purify happier. the other
1490 solution is throw an exception, but since this code should work
1493 memset((void*)&v
, 0, sizeof(unsigned int));
1499 SWIGSTATICINLINE(int)
1500 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
1502 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
1505 void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
1506 self
->m_size
= size
;
1508 void wxMoveEvent_SetPosition(wxMoveEvent
*self
,wxPoint pos
){
1511 PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
1512 int count
= self
->GetNumberOfFiles();
1513 wxString
* files
= self
->GetFiles();
1514 PyObject
* list
= PyList_New(count
);
1517 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
1521 for (int i
=0; i
<count
; i
++) {
1522 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
1528 wxPyApp
*new_wxPyApp(){
1529 wxPythonApp
= new wxPyApp();
1532 int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
1534 void wxApp_CleanUp() {
1539 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
1544 // A dummy class that raises an exception if used...
1548 wxEventLoop() { wxPyRaiseNotImplemented(); }
1549 int Run() { return 0; }
1550 void Exit(int rc
= 0) {}
1551 bool Pending() const { return false; }
1552 bool Dispatch() { return false; }
1553 bool IsRunning() const { return false; }
1554 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
1555 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
1560 #include <wx/evtloop.h>
1566 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1567 wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
1568 void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
1569 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1570 wxWindowList
& list
= self
->GetChildren();
1571 return wxPy_ConvertList(&list
);
1573 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1575 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
1580 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1587 long wxWindow_GetHandle(wxWindow
*self
){
1588 return wxPyGetWinHandle(self
);
1590 void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
1591 self
->AssociateHandle((WXWidget
)handle
);
1594 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1595 return wxWindow::FindWindowById(id
, parent
);
1598 wxWindow
* wxFindWindowByName( const wxString
& name
,
1599 const wxWindow
*parent
= NULL
) {
1600 return wxWindow::FindWindowByName(name
, parent
);
1603 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1604 const wxWindow
*parent
= NULL
) {
1605 return wxWindow::FindWindowByLabel(label
, parent
);
1610 #include <wx/msw/private.h> // to get wxGetWindowId
1614 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
1616 WXHWND hWnd
= (WXHWND
)_hWnd
;
1617 long id
= wxGetWindowId(hWnd
);
1618 wxWindow
* win
= new wxWindow
;
1619 parent
->AddChild(win
);
1620 win
->SetEventHandler(win
);
1623 win
->SubclassWin(hWnd
);
1624 win
->AdoptAttributesFromHWND();
1625 win
->SetupColours();
1628 wxPyRaiseNotImplemented();
1634 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1635 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1636 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1638 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1640 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1641 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1642 wxMenuItemList
& list
= self
->GetMenuItems();
1643 return wxPy_ConvertList(&list
);
1645 int MenuItem_GetDefaultMarginWidth(){ return 0; }
1646 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1647 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1649 wxPyClientData
* data
= new wxPyClientData(clientData
);
1650 return self
->Append(item
, data
);
1652 return self
->Append(item
);
1654 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1656 wxPyClientData
* data
= new wxPyClientData(clientData
);
1657 return self
->Insert(item
, pos
, data
);
1659 return self
->Insert(item
, pos
);
1661 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1662 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1664 Py_INCREF(data
->m_obj
);
1671 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1672 wxPyClientData
* data
= new wxPyClientData(clientData
);
1673 self
->SetClientObject(n
, data
);
1677 wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
){
1678 wxPyUserData
* data
= NULL
;
1680 bool blocked
= wxPyBeginBlockThreads();
1681 data
= new wxPyUserData(userData
);
1682 wxPyEndBlockThreads(blocked
);
1684 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
1686 wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
){
1687 wxPyUserData
* data
= NULL
;
1689 bool blocked
= wxPyBeginBlockThreads();
1690 data
= new wxPyUserData(userData
);
1691 wxPyEndBlockThreads(blocked
);
1693 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
1695 wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
){
1696 wxPyUserData
* data
= NULL
;
1698 bool blocked
= wxPyBeginBlockThreads();
1699 data
= new wxPyUserData(userData
);
1700 wxPyEndBlockThreads(blocked
);
1702 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
1706 SWIGSTATICINLINE(int)
1707 SWIG_CheckDoubleInRange(double value
, double min_value
,
1708 double max_value
, const char* errmsg
)
1710 if (value
< min_value
) {
1712 PyErr_Format(PyExc_OverflowError
,
1713 "value %g is less than %s minimum %g",
1714 value
, errmsg
, min_value
);
1717 } else if (value
> max_value
) {
1719 PyErr_Format(PyExc_OverflowError
,
1720 "value %g is greater than %s maximum %g",
1721 value
, errmsg
, max_value
);
1729 SWIGSTATICINLINE(int)
1730 SWIG_AsVal_float(PyObject
*obj
, float *val
)
1732 const char* errmsg
= val
? "float" : 0;
1734 if (SWIG_AsVal_double(obj
, &v
)) {
1735 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
1745 PyErr_SetString(PyExc_TypeError
, "a float is expected");
1751 SWIGSTATICINLINE(float)
1752 SWIG_As_float(PyObject
* obj
)
1755 if (!SWIG_AsVal_float(obj
, &v
)) {
1757 this is needed to make valgrind/purify happier. the other
1758 solution is throw an exception, but since this code should work
1761 memset((void*)&v
, 0, sizeof(float));
1767 SWIGSTATICINLINE(int)
1768 SWIG_Check_float(PyObject
* obj
)
1770 return SWIG_AsVal_float(obj
, (float*)0);
1773 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1774 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1776 Py_INCREF(data
->m_obj
);
1784 // Figure out the type of the sizer item
1786 struct wxPySizerItemInfo
{
1788 : window(NULL
), sizer(NULL
), gotSize(false),
1789 size(wxDefaultSize
), gotPos(false), pos(-1)
1800 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1802 wxPySizerItemInfo info
;
1804 wxSize
* sizePtr
= &size
;
1806 // Find out what the type of the item is
1808 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1813 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1817 // try wxSize or (w,h)
1818 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1819 info
.size
= *sizePtr
;
1820 info
.gotSize
= true;
1824 if (checkIdx
&& PyInt_Check(item
)) {
1825 info
.pos
= PyInt_AsLong(item
);
1831 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1832 // no expected type, figure out what kind of error message to generate
1833 if ( !checkSize
&& !checkIdx
)
1834 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1835 else if ( checkSize
&& !checkIdx
)
1836 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1837 else if ( !checkSize
&& checkIdx
)
1838 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1840 // can this one happen?
1841 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1847 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1848 if (!self
->GetClientObject())
1849 self
->SetClientObject(new wxPyOORClientData(_self
));
1851 wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1853 wxPyUserData
* data
= NULL
;
1854 bool blocked
= wxPyBeginBlockThreads();
1855 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
1856 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1857 data
= new wxPyUserData(userData
);
1858 wxPyEndBlockThreads(blocked
);
1860 // Now call the real Add method if a valid item type was found
1862 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
1863 else if ( info
.sizer
)
1864 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1865 else if (info
.gotSize
)
1866 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1867 proportion
, flag
, border
, data
);
1871 wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1873 wxPyUserData
* data
= NULL
;
1874 bool blocked
= wxPyBeginBlockThreads();
1875 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
1876 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1877 data
= new wxPyUserData(userData
);
1878 wxPyEndBlockThreads(blocked
);
1880 // Now call the real Insert method if a valid item type was found
1882 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1883 else if ( info
.sizer
)
1884 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1885 else if (info
.gotSize
)
1886 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1887 proportion
, flag
, border
, data
);
1891 wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1893 wxPyUserData
* data
= NULL
;
1894 bool blocked
= wxPyBeginBlockThreads();
1895 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
1896 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1897 data
= new wxPyUserData(userData
);
1898 wxPyEndBlockThreads(blocked
);
1900 // Now call the real Prepend method if a valid item type was found
1902 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1903 else if ( info
.sizer
)
1904 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1905 else if (info
.gotSize
)
1906 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1907 proportion
, flag
, border
, data
);
1911 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1912 bool blocked
= wxPyBeginBlockThreads();
1913 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1914 wxPyEndBlockThreads(blocked
);
1916 return self
->Remove(info
.window
);
1917 else if ( info
.sizer
)
1918 return self
->Remove(info
.sizer
);
1919 else if ( info
.gotPos
)
1920 return self
->Remove(info
.pos
);
1924 bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
1925 bool blocked
= wxPyBeginBlockThreads();
1926 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1927 wxPyEndBlockThreads(blocked
);
1929 return self
->Detach(info
.window
);
1930 else if ( info
.sizer
)
1931 return self
->Detach(info
.sizer
);
1932 else if ( info
.gotPos
)
1933 return self
->Detach(info
.pos
);
1937 wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
1938 bool blocked
= wxPyBeginBlockThreads();
1939 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1940 wxPyEndBlockThreads(blocked
);
1942 return self
->GetItem(info
.window
);
1943 else if ( info
.sizer
)
1944 return self
->GetItem(info
.sizer
);
1945 else if ( info
.gotPos
)
1946 return self
->GetItem(info
.pos
);
1950 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1951 bool blocked
= wxPyBeginBlockThreads();
1952 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1953 wxPyEndBlockThreads(blocked
);
1955 self
->SetItemMinSize(info
.window
, size
);
1956 else if ( info
.sizer
)
1957 self
->SetItemMinSize(info
.sizer
, size
);
1958 else if ( info
.gotPos
)
1959 self
->SetItemMinSize(info
.pos
, size
);
1961 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1962 wxSizerItemList
& list
= self
->GetChildren();
1963 return wxPy_ConvertList(&list
);
1965 bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
,bool recursive
){
1966 bool blocked
= wxPyBeginBlockThreads();
1967 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1968 wxPyEndBlockThreads(blocked
);
1970 return self
->Show(info
.window
, show
, recursive
);
1971 else if ( info
.sizer
)
1972 return self
->Show(info
.sizer
, show
, recursive
);
1973 else if ( info
.gotPos
)
1974 return self
->Show(info
.pos
, show
);
1978 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1979 bool blocked
= wxPyBeginBlockThreads();
1980 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
1981 wxPyEndBlockThreads(blocked
);
1983 return self
->IsShown(info
.window
);
1984 else if ( info
.sizer
)
1985 return self
->IsShown(info
.sizer
);
1986 else if ( info
.gotPos
)
1987 return self
->IsShown(info
.pos
);
1993 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1994 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1995 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
2000 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
2002 if (source
== Py_None
) {
2003 **obj
= wxGBPosition(-1,-1);
2006 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
2009 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
2011 if (source
== Py_None
) {
2012 **obj
= wxGBSpan(-1,-1);
2015 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
2019 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
2023 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
2024 bool blocked
= wxPyBeginBlockThreads();
2025 PyObject
* tup
= PyTuple_New(2);
2026 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
2027 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
2028 wxPyEndBlockThreads(blocked
);
2031 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
2032 self
->SetRowspan(rowspan
);
2033 self
->SetColspan(colspan
);
2035 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
2036 bool blocked
= wxPyBeginBlockThreads();
2037 PyObject
* tup
= PyTuple_New(2);
2038 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
2039 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
2040 wxPyEndBlockThreads(blocked
);
2043 wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2044 wxPyUserData
* data
= NULL
;
2046 bool blocked
= wxPyBeginBlockThreads();
2047 data
= new wxPyUserData(userData
);
2048 wxPyEndBlockThreads(blocked
);
2050 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
2052 wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2053 wxPyUserData
* data
= NULL
;
2055 bool blocked
= wxPyBeginBlockThreads();
2056 data
= new wxPyUserData(userData
);
2057 wxPyEndBlockThreads(blocked
);
2059 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
2061 wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2062 wxPyUserData
* data
= NULL
;
2064 bool blocked
= wxPyBeginBlockThreads();
2065 data
= new wxPyUserData(userData
);
2066 wxPyEndBlockThreads(blocked
);
2068 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
2070 wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
2072 self
->GetEndPos(row
, col
);
2073 return wxGBPosition(row
, col
);
2075 wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
2077 wxPyUserData
* data
= NULL
;
2078 bool blocked
= wxPyBeginBlockThreads();
2079 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
2080 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2081 data
= new wxPyUserData(userData
);
2082 wxPyEndBlockThreads(blocked
);
2084 // Now call the real Add method if a valid item type was found
2086 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
2087 else if ( info
.sizer
)
2088 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
2089 else if (info
.gotSize
)
2090 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
2091 pos
, span
, flag
, border
, data
);
2099 static int _wrap_EmptyString_set(PyObject
*) {
2100 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
2105 static PyObject
*_wrap_EmptyString_get() {
2110 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
2112 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
2119 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2120 PyObject
*resultobj
;
2121 wxObject
*arg1
= (wxObject
*) 0 ;
2123 PyObject
* obj0
= 0 ;
2125 (char *) "self", NULL
2128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
2129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
2130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2133 result
= wxObject_GetClassName(arg1
);
2135 wxPyEndAllowThreads(__tstate
);
2136 if (PyErr_Occurred()) SWIG_fail
;
2140 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2142 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2151 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2152 PyObject
*resultobj
;
2153 wxObject
*arg1
= (wxObject
*) 0 ;
2154 PyObject
* obj0
= 0 ;
2156 (char *) "self", NULL
2159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
2160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
2161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2164 wxObject_Destroy(arg1
);
2166 wxPyEndAllowThreads(__tstate
);
2167 if (PyErr_Occurred()) SWIG_fail
;
2169 Py_INCREF(Py_None
); resultobj
= Py_None
;
2176 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
2178 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2179 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
2181 return Py_BuildValue((char *)"");
2183 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2184 PyObject
*resultobj
;
2185 wxSize
*arg1
= (wxSize
*) 0 ;
2187 PyObject
* obj0
= 0 ;
2188 PyObject
* obj1
= 0 ;
2190 (char *) "self",(char *) "x", NULL
2193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2196 arg2
= (int)SWIG_As_int(obj1
);
2197 if (PyErr_Occurred()) SWIG_fail
;
2198 if (arg1
) (arg1
)->x
= arg2
;
2200 Py_INCREF(Py_None
); resultobj
= Py_None
;
2207 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2208 PyObject
*resultobj
;
2209 wxSize
*arg1
= (wxSize
*) 0 ;
2211 PyObject
* obj0
= 0 ;
2213 (char *) "self", NULL
2216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
2217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2219 result
= (int) ((arg1
)->x
);
2221 resultobj
= SWIG_From_int((int)result
);
2228 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2229 PyObject
*resultobj
;
2230 wxSize
*arg1
= (wxSize
*) 0 ;
2232 PyObject
* obj0
= 0 ;
2233 PyObject
* obj1
= 0 ;
2235 (char *) "self",(char *) "y", NULL
2238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2241 arg2
= (int)SWIG_As_int(obj1
);
2242 if (PyErr_Occurred()) SWIG_fail
;
2243 if (arg1
) (arg1
)->y
= arg2
;
2245 Py_INCREF(Py_None
); resultobj
= Py_None
;
2252 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2253 PyObject
*resultobj
;
2254 wxSize
*arg1
= (wxSize
*) 0 ;
2256 PyObject
* obj0
= 0 ;
2258 (char *) "self", NULL
2261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
2262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2264 result
= (int) ((arg1
)->y
);
2266 resultobj
= SWIG_From_int((int)result
);
2273 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2274 PyObject
*resultobj
;
2275 int arg1
= (int) 0 ;
2276 int arg2
= (int) 0 ;
2278 PyObject
* obj0
= 0 ;
2279 PyObject
* obj1
= 0 ;
2281 (char *) "w",(char *) "h", NULL
2284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
2286 arg1
= (int)SWIG_As_int(obj0
);
2287 if (PyErr_Occurred()) SWIG_fail
;
2290 arg2
= (int)SWIG_As_int(obj1
);
2291 if (PyErr_Occurred()) SWIG_fail
;
2294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2295 result
= (wxSize
*)new wxSize(arg1
,arg2
);
2297 wxPyEndAllowThreads(__tstate
);
2298 if (PyErr_Occurred()) SWIG_fail
;
2300 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
2307 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2308 PyObject
*resultobj
;
2309 wxSize
*arg1
= (wxSize
*) 0 ;
2310 PyObject
* obj0
= 0 ;
2312 (char *) "self", NULL
2315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
2316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2322 wxPyEndAllowThreads(__tstate
);
2323 if (PyErr_Occurred()) SWIG_fail
;
2325 Py_INCREF(Py_None
); resultobj
= Py_None
;
2332 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2333 PyObject
*resultobj
;
2334 wxSize
*arg1
= (wxSize
*) 0 ;
2338 PyObject
* obj0
= 0 ;
2339 PyObject
* obj1
= 0 ;
2341 (char *) "self",(char *) "sz", NULL
2344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2349 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2353 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
2355 wxPyEndAllowThreads(__tstate
);
2356 if (PyErr_Occurred()) SWIG_fail
;
2359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2367 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2368 PyObject
*resultobj
;
2369 wxSize
*arg1
= (wxSize
*) 0 ;
2373 PyObject
* obj0
= 0 ;
2374 PyObject
* obj1
= 0 ;
2376 (char *) "self",(char *) "sz", NULL
2379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2384 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2388 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2390 wxPyEndAllowThreads(__tstate
);
2391 if (PyErr_Occurred()) SWIG_fail
;
2394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2402 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2403 PyObject
*resultobj
;
2404 wxSize
*arg1
= (wxSize
*) 0 ;
2408 PyObject
* obj0
= 0 ;
2409 PyObject
* obj1
= 0 ;
2411 (char *) "self",(char *) "sz", NULL
2414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2419 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2423 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
2425 wxPyEndAllowThreads(__tstate
);
2426 if (PyErr_Occurred()) SWIG_fail
;
2430 resultptr
= new wxSize((wxSize
&) result
);
2431 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2439 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2440 PyObject
*resultobj
;
2441 wxSize
*arg1
= (wxSize
*) 0 ;
2445 PyObject
* obj0
= 0 ;
2446 PyObject
* obj1
= 0 ;
2448 (char *) "self",(char *) "sz", NULL
2451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2456 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2460 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2462 wxPyEndAllowThreads(__tstate
);
2463 if (PyErr_Occurred()) SWIG_fail
;
2467 resultptr
= new wxSize((wxSize
&) result
);
2468 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2476 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2477 PyObject
*resultobj
;
2478 wxSize
*arg1
= (wxSize
*) 0 ;
2481 PyObject
* obj0
= 0 ;
2482 PyObject
* obj1
= 0 ;
2484 (char *) "self",(char *) "sz", NULL
2487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2492 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2496 (arg1
)->IncTo((wxSize
const &)*arg2
);
2498 wxPyEndAllowThreads(__tstate
);
2499 if (PyErr_Occurred()) SWIG_fail
;
2501 Py_INCREF(Py_None
); resultobj
= Py_None
;
2508 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2509 PyObject
*resultobj
;
2510 wxSize
*arg1
= (wxSize
*) 0 ;
2513 PyObject
* obj0
= 0 ;
2514 PyObject
* obj1
= 0 ;
2516 (char *) "self",(char *) "sz", NULL
2519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2524 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2528 (arg1
)->DecTo((wxSize
const &)*arg2
);
2530 wxPyEndAllowThreads(__tstate
);
2531 if (PyErr_Occurred()) SWIG_fail
;
2533 Py_INCREF(Py_None
); resultobj
= Py_None
;
2540 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2541 PyObject
*resultobj
;
2542 wxSize
*arg1
= (wxSize
*) 0 ;
2545 PyObject
* obj0
= 0 ;
2546 PyObject
* obj1
= 0 ;
2547 PyObject
* obj2
= 0 ;
2549 (char *) "self",(char *) "w",(char *) "h", NULL
2552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2555 arg2
= (int)SWIG_As_int(obj1
);
2556 if (PyErr_Occurred()) SWIG_fail
;
2557 arg3
= (int)SWIG_As_int(obj2
);
2558 if (PyErr_Occurred()) SWIG_fail
;
2560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2561 (arg1
)->Set(arg2
,arg3
);
2563 wxPyEndAllowThreads(__tstate
);
2564 if (PyErr_Occurred()) SWIG_fail
;
2566 Py_INCREF(Py_None
); resultobj
= Py_None
;
2573 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2574 PyObject
*resultobj
;
2575 wxSize
*arg1
= (wxSize
*) 0 ;
2577 PyObject
* obj0
= 0 ;
2578 PyObject
* obj1
= 0 ;
2580 (char *) "self",(char *) "w", NULL
2583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2586 arg2
= (int)SWIG_As_int(obj1
);
2587 if (PyErr_Occurred()) SWIG_fail
;
2589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2590 (arg1
)->SetWidth(arg2
);
2592 wxPyEndAllowThreads(__tstate
);
2593 if (PyErr_Occurred()) SWIG_fail
;
2595 Py_INCREF(Py_None
); resultobj
= Py_None
;
2602 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2603 PyObject
*resultobj
;
2604 wxSize
*arg1
= (wxSize
*) 0 ;
2606 PyObject
* obj0
= 0 ;
2607 PyObject
* obj1
= 0 ;
2609 (char *) "self",(char *) "h", NULL
2612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2615 arg2
= (int)SWIG_As_int(obj1
);
2616 if (PyErr_Occurred()) SWIG_fail
;
2618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2619 (arg1
)->SetHeight(arg2
);
2621 wxPyEndAllowThreads(__tstate
);
2622 if (PyErr_Occurred()) SWIG_fail
;
2624 Py_INCREF(Py_None
); resultobj
= Py_None
;
2631 static PyObject
*_wrap_Size_GetWidth(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_GetWidth",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
= (int)((wxSize
const *)arg1
)->GetWidth();
2647 wxPyEndAllowThreads(__tstate
);
2648 if (PyErr_Occurred()) SWIG_fail
;
2650 resultobj
= SWIG_From_int((int)result
);
2657 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2658 PyObject
*resultobj
;
2659 wxSize
*arg1
= (wxSize
*) 0 ;
2661 PyObject
* obj0
= 0 ;
2663 (char *) "self", NULL
2666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2671 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2673 wxPyEndAllowThreads(__tstate
);
2674 if (PyErr_Occurred()) SWIG_fail
;
2676 resultobj
= SWIG_From_int((int)result
);
2683 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2684 PyObject
*resultobj
;
2685 wxSize
*arg1
= (wxSize
*) 0 ;
2687 PyObject
* obj0
= 0 ;
2689 (char *) "self", NULL
2692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
2693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2697 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
2699 wxPyEndAllowThreads(__tstate
);
2700 if (PyErr_Occurred()) SWIG_fail
;
2703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2711 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2712 PyObject
*resultobj
;
2713 wxSize
*arg1
= (wxSize
*) 0 ;
2716 PyObject
* obj0
= 0 ;
2717 PyObject
* obj1
= 0 ;
2719 (char *) "self",(char *) "size", NULL
2722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
2723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2727 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2731 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
2733 wxPyEndAllowThreads(__tstate
);
2734 if (PyErr_Occurred()) SWIG_fail
;
2736 Py_INCREF(Py_None
); resultobj
= Py_None
;
2743 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2744 PyObject
*resultobj
;
2745 wxSize
*arg1
= (wxSize
*) 0 ;
2747 PyObject
* obj0
= 0 ;
2749 (char *) "self", NULL
2752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2757 result
= (PyObject
*)wxSize_Get(arg1
);
2759 wxPyEndAllowThreads(__tstate
);
2760 if (PyErr_Occurred()) SWIG_fail
;
2769 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
2771 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2772 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2774 return Py_BuildValue((char *)"");
2776 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2777 PyObject
*resultobj
;
2778 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2780 PyObject
* obj0
= 0 ;
2781 PyObject
* obj1
= 0 ;
2783 (char *) "self",(char *) "x", NULL
2786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2789 arg2
= (double)SWIG_As_double(obj1
);
2790 if (PyErr_Occurred()) SWIG_fail
;
2791 if (arg1
) (arg1
)->x
= arg2
;
2793 Py_INCREF(Py_None
); resultobj
= Py_None
;
2800 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2801 PyObject
*resultobj
;
2802 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2804 PyObject
* obj0
= 0 ;
2806 (char *) "self", NULL
2809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2812 result
= (double) ((arg1
)->x
);
2814 resultobj
= SWIG_From_double((double)result
);
2821 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2822 PyObject
*resultobj
;
2823 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2825 PyObject
* obj0
= 0 ;
2826 PyObject
* obj1
= 0 ;
2828 (char *) "self",(char *) "y", NULL
2831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2834 arg2
= (double)SWIG_As_double(obj1
);
2835 if (PyErr_Occurred()) SWIG_fail
;
2836 if (arg1
) (arg1
)->y
= arg2
;
2838 Py_INCREF(Py_None
); resultobj
= Py_None
;
2845 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2846 PyObject
*resultobj
;
2847 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2849 PyObject
* obj0
= 0 ;
2851 (char *) "self", NULL
2854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2857 result
= (double) ((arg1
)->y
);
2859 resultobj
= SWIG_From_double((double)result
);
2866 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2867 PyObject
*resultobj
;
2868 double arg1
= (double) 0.0 ;
2869 double arg2
= (double) 0.0 ;
2870 wxRealPoint
*result
;
2871 PyObject
* obj0
= 0 ;
2872 PyObject
* obj1
= 0 ;
2874 (char *) "x",(char *) "y", NULL
2877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2879 arg1
= (double)SWIG_As_double(obj0
);
2880 if (PyErr_Occurred()) SWIG_fail
;
2883 arg2
= (double)SWIG_As_double(obj1
);
2884 if (PyErr_Occurred()) SWIG_fail
;
2887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2888 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2890 wxPyEndAllowThreads(__tstate
);
2891 if (PyErr_Occurred()) SWIG_fail
;
2893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2900 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2901 PyObject
*resultobj
;
2902 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2903 PyObject
* obj0
= 0 ;
2905 (char *) "self", NULL
2908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2915 wxPyEndAllowThreads(__tstate
);
2916 if (PyErr_Occurred()) SWIG_fail
;
2918 Py_INCREF(Py_None
); resultobj
= Py_None
;
2925 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2926 PyObject
*resultobj
;
2927 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2928 wxRealPoint
*arg2
= 0 ;
2931 PyObject
* obj0
= 0 ;
2932 PyObject
* obj1
= 0 ;
2934 (char *) "self",(char *) "pt", NULL
2937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2942 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2946 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2948 wxPyEndAllowThreads(__tstate
);
2949 if (PyErr_Occurred()) SWIG_fail
;
2952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2960 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2961 PyObject
*resultobj
;
2962 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2963 wxRealPoint
*arg2
= 0 ;
2966 PyObject
* obj0
= 0 ;
2967 PyObject
* obj1
= 0 ;
2969 (char *) "self",(char *) "pt", NULL
2972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2977 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2981 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2983 wxPyEndAllowThreads(__tstate
);
2984 if (PyErr_Occurred()) SWIG_fail
;
2987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2995 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2996 PyObject
*resultobj
;
2997 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2998 wxRealPoint
*arg2
= 0 ;
3001 PyObject
* obj0
= 0 ;
3002 PyObject
* obj1
= 0 ;
3004 (char *) "self",(char *) "pt", NULL
3007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3012 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3016 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
3018 wxPyEndAllowThreads(__tstate
);
3019 if (PyErr_Occurred()) SWIG_fail
;
3022 wxRealPoint
* resultptr
;
3023 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
3024 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
3032 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3033 PyObject
*resultobj
;
3034 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3035 wxRealPoint
*arg2
= 0 ;
3038 PyObject
* obj0
= 0 ;
3039 PyObject
* obj1
= 0 ;
3041 (char *) "self",(char *) "pt", NULL
3044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3049 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3053 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
3055 wxPyEndAllowThreads(__tstate
);
3056 if (PyErr_Occurred()) SWIG_fail
;
3059 wxRealPoint
* resultptr
;
3060 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
3061 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
3069 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3070 PyObject
*resultobj
;
3071 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3074 PyObject
* obj0
= 0 ;
3075 PyObject
* obj1
= 0 ;
3076 PyObject
* obj2
= 0 ;
3078 (char *) "self",(char *) "x",(char *) "y", NULL
3081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3084 arg2
= (double)SWIG_As_double(obj1
);
3085 if (PyErr_Occurred()) SWIG_fail
;
3086 arg3
= (double)SWIG_As_double(obj2
);
3087 if (PyErr_Occurred()) SWIG_fail
;
3089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3090 wxRealPoint_Set(arg1
,arg2
,arg3
);
3092 wxPyEndAllowThreads(__tstate
);
3093 if (PyErr_Occurred()) SWIG_fail
;
3095 Py_INCREF(Py_None
); resultobj
= Py_None
;
3102 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3103 PyObject
*resultobj
;
3104 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3106 PyObject
* obj0
= 0 ;
3108 (char *) "self", NULL
3111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
3112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
3113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3116 result
= (PyObject
*)wxRealPoint_Get(arg1
);
3118 wxPyEndAllowThreads(__tstate
);
3119 if (PyErr_Occurred()) SWIG_fail
;
3128 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
3130 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3131 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
3133 return Py_BuildValue((char *)"");
3135 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3136 PyObject
*resultobj
;
3137 wxPoint
*arg1
= (wxPoint
*) 0 ;
3139 PyObject
* obj0
= 0 ;
3140 PyObject
* obj1
= 0 ;
3142 (char *) "self",(char *) "x", NULL
3145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3148 arg2
= (int)SWIG_As_int(obj1
);
3149 if (PyErr_Occurred()) SWIG_fail
;
3150 if (arg1
) (arg1
)->x
= arg2
;
3152 Py_INCREF(Py_None
); resultobj
= Py_None
;
3159 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3160 PyObject
*resultobj
;
3161 wxPoint
*arg1
= (wxPoint
*) 0 ;
3163 PyObject
* obj0
= 0 ;
3165 (char *) "self", NULL
3168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
3169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3171 result
= (int) ((arg1
)->x
);
3173 resultobj
= SWIG_From_int((int)result
);
3180 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3181 PyObject
*resultobj
;
3182 wxPoint
*arg1
= (wxPoint
*) 0 ;
3184 PyObject
* obj0
= 0 ;
3185 PyObject
* obj1
= 0 ;
3187 (char *) "self",(char *) "y", NULL
3190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3193 arg2
= (int)SWIG_As_int(obj1
);
3194 if (PyErr_Occurred()) SWIG_fail
;
3195 if (arg1
) (arg1
)->y
= arg2
;
3197 Py_INCREF(Py_None
); resultobj
= Py_None
;
3204 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3205 PyObject
*resultobj
;
3206 wxPoint
*arg1
= (wxPoint
*) 0 ;
3208 PyObject
* obj0
= 0 ;
3210 (char *) "self", NULL
3213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
3214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3216 result
= (int) ((arg1
)->y
);
3218 resultobj
= SWIG_From_int((int)result
);
3225 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3226 PyObject
*resultobj
;
3227 int arg1
= (int) 0 ;
3228 int arg2
= (int) 0 ;
3230 PyObject
* obj0
= 0 ;
3231 PyObject
* obj1
= 0 ;
3233 (char *) "x",(char *) "y", NULL
3236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
3238 arg1
= (int)SWIG_As_int(obj0
);
3239 if (PyErr_Occurred()) SWIG_fail
;
3242 arg2
= (int)SWIG_As_int(obj1
);
3243 if (PyErr_Occurred()) SWIG_fail
;
3246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3247 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
3249 wxPyEndAllowThreads(__tstate
);
3250 if (PyErr_Occurred()) SWIG_fail
;
3252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3259 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3260 PyObject
*resultobj
;
3261 wxPoint
*arg1
= (wxPoint
*) 0 ;
3262 PyObject
* obj0
= 0 ;
3264 (char *) "self", NULL
3267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
3268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3274 wxPyEndAllowThreads(__tstate
);
3275 if (PyErr_Occurred()) SWIG_fail
;
3277 Py_INCREF(Py_None
); resultobj
= Py_None
;
3284 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3285 PyObject
*resultobj
;
3286 wxPoint
*arg1
= (wxPoint
*) 0 ;
3290 PyObject
* obj0
= 0 ;
3291 PyObject
* obj1
= 0 ;
3293 (char *) "self",(char *) "pt", NULL
3296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3301 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3305 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
3307 wxPyEndAllowThreads(__tstate
);
3308 if (PyErr_Occurred()) SWIG_fail
;
3311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3319 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3320 PyObject
*resultobj
;
3321 wxPoint
*arg1
= (wxPoint
*) 0 ;
3325 PyObject
* obj0
= 0 ;
3326 PyObject
* obj1
= 0 ;
3328 (char *) "self",(char *) "pt", NULL
3331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3336 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3340 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
3342 wxPyEndAllowThreads(__tstate
);
3343 if (PyErr_Occurred()) SWIG_fail
;
3346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3354 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3355 PyObject
*resultobj
;
3356 wxPoint
*arg1
= (wxPoint
*) 0 ;
3360 PyObject
* obj0
= 0 ;
3361 PyObject
* obj1
= 0 ;
3363 (char *) "self",(char *) "pt", NULL
3366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3371 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3375 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
3377 wxPyEndAllowThreads(__tstate
);
3378 if (PyErr_Occurred()) SWIG_fail
;
3381 wxPoint
* resultptr
;
3382 resultptr
= new wxPoint((wxPoint
&) result
);
3383 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3391 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3392 PyObject
*resultobj
;
3393 wxPoint
*arg1
= (wxPoint
*) 0 ;
3397 PyObject
* obj0
= 0 ;
3398 PyObject
* obj1
= 0 ;
3400 (char *) "self",(char *) "pt", NULL
3403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3408 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3412 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
3414 wxPyEndAllowThreads(__tstate
);
3415 if (PyErr_Occurred()) SWIG_fail
;
3418 wxPoint
* resultptr
;
3419 resultptr
= new wxPoint((wxPoint
&) result
);
3420 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3428 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3429 PyObject
*resultobj
;
3430 wxPoint
*arg1
= (wxPoint
*) 0 ;
3434 PyObject
* obj0
= 0 ;
3435 PyObject
* obj1
= 0 ;
3437 (char *) "self",(char *) "pt", NULL
3440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3442 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
3445 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3450 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
3451 result
= (wxPoint
*) &_result_ref
;
3454 wxPyEndAllowThreads(__tstate
);
3455 if (PyErr_Occurred()) SWIG_fail
;
3457 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3464 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3465 PyObject
*resultobj
;
3466 wxPoint
*arg1
= (wxPoint
*) 0 ;
3470 PyObject
* obj0
= 0 ;
3471 PyObject
* obj1
= 0 ;
3473 (char *) "self",(char *) "pt", NULL
3476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3478 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
3481 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3486 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3487 result
= (wxPoint
*) &_result_ref
;
3490 wxPyEndAllowThreads(__tstate
);
3491 if (PyErr_Occurred()) SWIG_fail
;
3493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3500 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3501 PyObject
*resultobj
;
3502 wxPoint
*arg1
= (wxPoint
*) 0 ;
3505 PyObject
* obj0
= 0 ;
3506 PyObject
* obj1
= 0 ;
3507 PyObject
* obj2
= 0 ;
3509 (char *) "self",(char *) "x",(char *) "y", NULL
3512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3515 arg2
= (long)SWIG_As_long(obj1
);
3516 if (PyErr_Occurred()) SWIG_fail
;
3517 arg3
= (long)SWIG_As_long(obj2
);
3518 if (PyErr_Occurred()) SWIG_fail
;
3520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3521 wxPoint_Set(arg1
,arg2
,arg3
);
3523 wxPyEndAllowThreads(__tstate
);
3524 if (PyErr_Occurred()) SWIG_fail
;
3526 Py_INCREF(Py_None
); resultobj
= Py_None
;
3533 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3534 PyObject
*resultobj
;
3535 wxPoint
*arg1
= (wxPoint
*) 0 ;
3537 PyObject
* obj0
= 0 ;
3539 (char *) "self", NULL
3542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3547 result
= (PyObject
*)wxPoint_Get(arg1
);
3549 wxPyEndAllowThreads(__tstate
);
3550 if (PyErr_Occurred()) SWIG_fail
;
3559 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
3561 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3562 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3564 return Py_BuildValue((char *)"");
3566 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3567 PyObject
*resultobj
;
3568 int arg1
= (int) 0 ;
3569 int arg2
= (int) 0 ;
3570 int arg3
= (int) 0 ;
3571 int arg4
= (int) 0 ;
3573 PyObject
* obj0
= 0 ;
3574 PyObject
* obj1
= 0 ;
3575 PyObject
* obj2
= 0 ;
3576 PyObject
* obj3
= 0 ;
3578 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3583 arg1
= (int)SWIG_As_int(obj0
);
3584 if (PyErr_Occurred()) SWIG_fail
;
3587 arg2
= (int)SWIG_As_int(obj1
);
3588 if (PyErr_Occurred()) SWIG_fail
;
3591 arg3
= (int)SWIG_As_int(obj2
);
3592 if (PyErr_Occurred()) SWIG_fail
;
3595 arg4
= (int)SWIG_As_int(obj3
);
3596 if (PyErr_Occurred()) SWIG_fail
;
3599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3600 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3602 wxPyEndAllowThreads(__tstate
);
3603 if (PyErr_Occurred()) SWIG_fail
;
3605 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3612 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3613 PyObject
*resultobj
;
3619 PyObject
* obj0
= 0 ;
3620 PyObject
* obj1
= 0 ;
3622 (char *) "topLeft",(char *) "bottomRight", NULL
3625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3628 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3632 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3636 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
3638 wxPyEndAllowThreads(__tstate
);
3639 if (PyErr_Occurred()) SWIG_fail
;
3641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3648 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3649 PyObject
*resultobj
;
3655 PyObject
* obj0
= 0 ;
3656 PyObject
* obj1
= 0 ;
3658 (char *) "pos",(char *) "size", NULL
3661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3664 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3668 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3672 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3674 wxPyEndAllowThreads(__tstate
);
3675 if (PyErr_Occurred()) SWIG_fail
;
3677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3684 static PyObject
*_wrap_new_RectS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3685 PyObject
*resultobj
;
3689 PyObject
* obj0
= 0 ;
3691 (char *) "size", NULL
3694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) goto fail
;
3697 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
3700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3701 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
3703 wxPyEndAllowThreads(__tstate
);
3704 if (PyErr_Occurred()) SWIG_fail
;
3706 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3713 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3714 PyObject
*resultobj
;
3715 wxRect
*arg1
= (wxRect
*) 0 ;
3716 PyObject
* obj0
= 0 ;
3718 (char *) "self", NULL
3721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",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();
3728 wxPyEndAllowThreads(__tstate
);
3729 if (PyErr_Occurred()) SWIG_fail
;
3731 Py_INCREF(Py_None
); resultobj
= Py_None
;
3738 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3739 PyObject
*resultobj
;
3740 wxRect
*arg1
= (wxRect
*) 0 ;
3742 PyObject
* obj0
= 0 ;
3744 (char *) "self", NULL
3747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3752 result
= (int)((wxRect
const *)arg1
)->GetX();
3754 wxPyEndAllowThreads(__tstate
);
3755 if (PyErr_Occurred()) SWIG_fail
;
3757 resultobj
= SWIG_From_int((int)result
);
3764 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3765 PyObject
*resultobj
;
3766 wxRect
*arg1
= (wxRect
*) 0 ;
3768 PyObject
* obj0
= 0 ;
3769 PyObject
* obj1
= 0 ;
3771 (char *) "self",(char *) "x", NULL
3774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3777 arg2
= (int)SWIG_As_int(obj1
);
3778 if (PyErr_Occurred()) SWIG_fail
;
3780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3783 wxPyEndAllowThreads(__tstate
);
3784 if (PyErr_Occurred()) SWIG_fail
;
3786 Py_INCREF(Py_None
); resultobj
= Py_None
;
3793 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3794 PyObject
*resultobj
;
3795 wxRect
*arg1
= (wxRect
*) 0 ;
3797 PyObject
* obj0
= 0 ;
3799 (char *) "self", NULL
3802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3807 result
= (int)(arg1
)->GetY();
3809 wxPyEndAllowThreads(__tstate
);
3810 if (PyErr_Occurred()) SWIG_fail
;
3812 resultobj
= SWIG_From_int((int)result
);
3819 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3820 PyObject
*resultobj
;
3821 wxRect
*arg1
= (wxRect
*) 0 ;
3823 PyObject
* obj0
= 0 ;
3824 PyObject
* obj1
= 0 ;
3826 (char *) "self",(char *) "y", NULL
3829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3832 arg2
= (int)SWIG_As_int(obj1
);
3833 if (PyErr_Occurred()) SWIG_fail
;
3835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3838 wxPyEndAllowThreads(__tstate
);
3839 if (PyErr_Occurred()) SWIG_fail
;
3841 Py_INCREF(Py_None
); resultobj
= Py_None
;
3848 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3849 PyObject
*resultobj
;
3850 wxRect
*arg1
= (wxRect
*) 0 ;
3852 PyObject
* obj0
= 0 ;
3854 (char *) "self", NULL
3857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3862 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3864 wxPyEndAllowThreads(__tstate
);
3865 if (PyErr_Occurred()) SWIG_fail
;
3867 resultobj
= SWIG_From_int((int)result
);
3874 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3875 PyObject
*resultobj
;
3876 wxRect
*arg1
= (wxRect
*) 0 ;
3878 PyObject
* obj0
= 0 ;
3879 PyObject
* obj1
= 0 ;
3881 (char *) "self",(char *) "w", NULL
3884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3887 arg2
= (int)SWIG_As_int(obj1
);
3888 if (PyErr_Occurred()) SWIG_fail
;
3890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3891 (arg1
)->SetWidth(arg2
);
3893 wxPyEndAllowThreads(__tstate
);
3894 if (PyErr_Occurred()) SWIG_fail
;
3896 Py_INCREF(Py_None
); resultobj
= Py_None
;
3903 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3904 PyObject
*resultobj
;
3905 wxRect
*arg1
= (wxRect
*) 0 ;
3907 PyObject
* obj0
= 0 ;
3909 (char *) "self", NULL
3912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3917 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3919 wxPyEndAllowThreads(__tstate
);
3920 if (PyErr_Occurred()) SWIG_fail
;
3922 resultobj
= SWIG_From_int((int)result
);
3929 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3930 PyObject
*resultobj
;
3931 wxRect
*arg1
= (wxRect
*) 0 ;
3933 PyObject
* obj0
= 0 ;
3934 PyObject
* obj1
= 0 ;
3936 (char *) "self",(char *) "h", NULL
3939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3942 arg2
= (int)SWIG_As_int(obj1
);
3943 if (PyErr_Occurred()) SWIG_fail
;
3945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3946 (arg1
)->SetHeight(arg2
);
3948 wxPyEndAllowThreads(__tstate
);
3949 if (PyErr_Occurred()) SWIG_fail
;
3951 Py_INCREF(Py_None
); resultobj
= Py_None
;
3958 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3959 PyObject
*resultobj
;
3960 wxRect
*arg1
= (wxRect
*) 0 ;
3962 PyObject
* obj0
= 0 ;
3964 (char *) "self", NULL
3967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3972 result
= ((wxRect
const *)arg1
)->GetPosition();
3974 wxPyEndAllowThreads(__tstate
);
3975 if (PyErr_Occurred()) SWIG_fail
;
3978 wxPoint
* resultptr
;
3979 resultptr
= new wxPoint((wxPoint
&) result
);
3980 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3988 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3989 PyObject
*resultobj
;
3990 wxRect
*arg1
= (wxRect
*) 0 ;
3993 PyObject
* obj0
= 0 ;
3994 PyObject
* obj1
= 0 ;
3996 (char *) "self",(char *) "p", NULL
3999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
4000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4004 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4008 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
4010 wxPyEndAllowThreads(__tstate
);
4011 if (PyErr_Occurred()) SWIG_fail
;
4013 Py_INCREF(Py_None
); resultobj
= Py_None
;
4020 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4021 PyObject
*resultobj
;
4022 wxRect
*arg1
= (wxRect
*) 0 ;
4024 PyObject
* obj0
= 0 ;
4026 (char *) "self", NULL
4029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
4030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4034 result
= ((wxRect
const *)arg1
)->GetSize();
4036 wxPyEndAllowThreads(__tstate
);
4037 if (PyErr_Occurred()) SWIG_fail
;
4041 resultptr
= new wxSize((wxSize
&) result
);
4042 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4050 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4051 PyObject
*resultobj
;
4052 wxRect
*arg1
= (wxRect
*) 0 ;
4055 PyObject
* obj0
= 0 ;
4056 PyObject
* obj1
= 0 ;
4058 (char *) "self",(char *) "s", NULL
4061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4066 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4070 (arg1
)->SetSize((wxSize
const &)*arg2
);
4072 wxPyEndAllowThreads(__tstate
);
4073 if (PyErr_Occurred()) SWIG_fail
;
4075 Py_INCREF(Py_None
); resultobj
= Py_None
;
4082 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4083 PyObject
*resultobj
;
4084 wxRect
*arg1
= (wxRect
*) 0 ;
4086 PyObject
* obj0
= 0 ;
4088 (char *) "self", NULL
4091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
4092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4096 result
= ((wxRect
const *)arg1
)->GetTopLeft();
4098 wxPyEndAllowThreads(__tstate
);
4099 if (PyErr_Occurred()) SWIG_fail
;
4102 wxPoint
* resultptr
;
4103 resultptr
= new wxPoint((wxPoint
&) result
);
4104 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4112 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4113 PyObject
*resultobj
;
4114 wxRect
*arg1
= (wxRect
*) 0 ;
4117 PyObject
* obj0
= 0 ;
4118 PyObject
* obj1
= 0 ;
4120 (char *) "self",(char *) "p", NULL
4123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
4124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4128 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4132 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
4134 wxPyEndAllowThreads(__tstate
);
4135 if (PyErr_Occurred()) SWIG_fail
;
4137 Py_INCREF(Py_None
); resultobj
= Py_None
;
4144 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4145 PyObject
*resultobj
;
4146 wxRect
*arg1
= (wxRect
*) 0 ;
4148 PyObject
* obj0
= 0 ;
4150 (char *) "self", NULL
4153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
4154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4158 result
= ((wxRect
const *)arg1
)->GetBottomRight();
4160 wxPyEndAllowThreads(__tstate
);
4161 if (PyErr_Occurred()) SWIG_fail
;
4164 wxPoint
* resultptr
;
4165 resultptr
= new wxPoint((wxPoint
&) result
);
4166 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4174 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4175 PyObject
*resultobj
;
4176 wxRect
*arg1
= (wxRect
*) 0 ;
4179 PyObject
* obj0
= 0 ;
4180 PyObject
* obj1
= 0 ;
4182 (char *) "self",(char *) "p", NULL
4185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4190 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4194 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
4196 wxPyEndAllowThreads(__tstate
);
4197 if (PyErr_Occurred()) SWIG_fail
;
4199 Py_INCREF(Py_None
); resultobj
= Py_None
;
4206 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4207 PyObject
*resultobj
;
4208 wxRect
*arg1
= (wxRect
*) 0 ;
4210 PyObject
* obj0
= 0 ;
4212 (char *) "self", NULL
4215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
4216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4220 result
= (int)((wxRect
const *)arg1
)->GetLeft();
4222 wxPyEndAllowThreads(__tstate
);
4223 if (PyErr_Occurred()) SWIG_fail
;
4225 resultobj
= SWIG_From_int((int)result
);
4232 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4233 PyObject
*resultobj
;
4234 wxRect
*arg1
= (wxRect
*) 0 ;
4236 PyObject
* obj0
= 0 ;
4238 (char *) "self", NULL
4241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
4242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4246 result
= (int)((wxRect
const *)arg1
)->GetTop();
4248 wxPyEndAllowThreads(__tstate
);
4249 if (PyErr_Occurred()) SWIG_fail
;
4251 resultobj
= SWIG_From_int((int)result
);
4258 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4259 PyObject
*resultobj
;
4260 wxRect
*arg1
= (wxRect
*) 0 ;
4262 PyObject
* obj0
= 0 ;
4264 (char *) "self", NULL
4267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
4268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4272 result
= (int)((wxRect
const *)arg1
)->GetBottom();
4274 wxPyEndAllowThreads(__tstate
);
4275 if (PyErr_Occurred()) SWIG_fail
;
4277 resultobj
= SWIG_From_int((int)result
);
4284 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4285 PyObject
*resultobj
;
4286 wxRect
*arg1
= (wxRect
*) 0 ;
4288 PyObject
* obj0
= 0 ;
4290 (char *) "self", NULL
4293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
4294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4298 result
= (int)((wxRect
const *)arg1
)->GetRight();
4300 wxPyEndAllowThreads(__tstate
);
4301 if (PyErr_Occurred()) SWIG_fail
;
4303 resultobj
= SWIG_From_int((int)result
);
4310 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4311 PyObject
*resultobj
;
4312 wxRect
*arg1
= (wxRect
*) 0 ;
4314 PyObject
* obj0
= 0 ;
4315 PyObject
* obj1
= 0 ;
4317 (char *) "self",(char *) "left", NULL
4320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
4321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4323 arg2
= (int)SWIG_As_int(obj1
);
4324 if (PyErr_Occurred()) SWIG_fail
;
4326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4327 (arg1
)->SetLeft(arg2
);
4329 wxPyEndAllowThreads(__tstate
);
4330 if (PyErr_Occurred()) SWIG_fail
;
4332 Py_INCREF(Py_None
); resultobj
= Py_None
;
4339 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4340 PyObject
*resultobj
;
4341 wxRect
*arg1
= (wxRect
*) 0 ;
4343 PyObject
* obj0
= 0 ;
4344 PyObject
* obj1
= 0 ;
4346 (char *) "self",(char *) "right", NULL
4349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4352 arg2
= (int)SWIG_As_int(obj1
);
4353 if (PyErr_Occurred()) SWIG_fail
;
4355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4356 (arg1
)->SetRight(arg2
);
4358 wxPyEndAllowThreads(__tstate
);
4359 if (PyErr_Occurred()) SWIG_fail
;
4361 Py_INCREF(Py_None
); resultobj
= Py_None
;
4368 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4369 PyObject
*resultobj
;
4370 wxRect
*arg1
= (wxRect
*) 0 ;
4372 PyObject
* obj0
= 0 ;
4373 PyObject
* obj1
= 0 ;
4375 (char *) "self",(char *) "top", NULL
4378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
4379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4381 arg2
= (int)SWIG_As_int(obj1
);
4382 if (PyErr_Occurred()) SWIG_fail
;
4384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4385 (arg1
)->SetTop(arg2
);
4387 wxPyEndAllowThreads(__tstate
);
4388 if (PyErr_Occurred()) SWIG_fail
;
4390 Py_INCREF(Py_None
); resultobj
= Py_None
;
4397 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4398 PyObject
*resultobj
;
4399 wxRect
*arg1
= (wxRect
*) 0 ;
4401 PyObject
* obj0
= 0 ;
4402 PyObject
* obj1
= 0 ;
4404 (char *) "self",(char *) "bottom", NULL
4407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
4408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4410 arg2
= (int)SWIG_As_int(obj1
);
4411 if (PyErr_Occurred()) SWIG_fail
;
4413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4414 (arg1
)->SetBottom(arg2
);
4416 wxPyEndAllowThreads(__tstate
);
4417 if (PyErr_Occurred()) SWIG_fail
;
4419 Py_INCREF(Py_None
); resultobj
= Py_None
;
4426 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4427 PyObject
*resultobj
;
4428 wxRect
*arg1
= (wxRect
*) 0 ;
4432 PyObject
* obj0
= 0 ;
4433 PyObject
* obj1
= 0 ;
4434 PyObject
* obj2
= 0 ;
4436 (char *) "self",(char *) "dx",(char *) "dy", NULL
4439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4442 arg2
= (int)SWIG_As_int(obj1
);
4443 if (PyErr_Occurred()) SWIG_fail
;
4444 arg3
= (int)SWIG_As_int(obj2
);
4445 if (PyErr_Occurred()) SWIG_fail
;
4447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4449 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
4450 result
= (wxRect
*) &_result_ref
;
4453 wxPyEndAllowThreads(__tstate
);
4454 if (PyErr_Occurred()) SWIG_fail
;
4456 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4463 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4464 PyObject
*resultobj
;
4465 wxRect
*arg1
= (wxRect
*) 0 ;
4469 PyObject
* obj0
= 0 ;
4470 PyObject
* obj1
= 0 ;
4471 PyObject
* obj2
= 0 ;
4473 (char *) "self",(char *) "dx",(char *) "dy", NULL
4476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4479 arg2
= (int)SWIG_As_int(obj1
);
4480 if (PyErr_Occurred()) SWIG_fail
;
4481 arg3
= (int)SWIG_As_int(obj2
);
4482 if (PyErr_Occurred()) SWIG_fail
;
4484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4486 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4487 result
= (wxRect
*) &_result_ref
;
4490 wxPyEndAllowThreads(__tstate
);
4491 if (PyErr_Occurred()) SWIG_fail
;
4493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4500 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4501 PyObject
*resultobj
;
4502 wxRect
*arg1
= (wxRect
*) 0 ;
4505 PyObject
* obj0
= 0 ;
4506 PyObject
* obj1
= 0 ;
4507 PyObject
* obj2
= 0 ;
4509 (char *) "self",(char *) "dx",(char *) "dy", NULL
4512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4515 arg2
= (int)SWIG_As_int(obj1
);
4516 if (PyErr_Occurred()) SWIG_fail
;
4517 arg3
= (int)SWIG_As_int(obj2
);
4518 if (PyErr_Occurred()) SWIG_fail
;
4520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4521 (arg1
)->Offset(arg2
,arg3
);
4523 wxPyEndAllowThreads(__tstate
);
4524 if (PyErr_Occurred()) SWIG_fail
;
4526 Py_INCREF(Py_None
); resultobj
= Py_None
;
4533 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4534 PyObject
*resultobj
;
4535 wxRect
*arg1
= (wxRect
*) 0 ;
4538 PyObject
* obj0
= 0 ;
4539 PyObject
* obj1
= 0 ;
4541 (char *) "self",(char *) "pt", NULL
4544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4549 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4553 (arg1
)->Offset((wxPoint
const &)*arg2
);
4555 wxPyEndAllowThreads(__tstate
);
4556 if (PyErr_Occurred()) SWIG_fail
;
4558 Py_INCREF(Py_None
); resultobj
= Py_None
;
4565 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4566 PyObject
*resultobj
;
4567 wxRect
*arg1
= (wxRect
*) 0 ;
4571 PyObject
* obj0
= 0 ;
4572 PyObject
* obj1
= 0 ;
4574 (char *) "self",(char *) "rect", NULL
4577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
4578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4582 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4587 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
4588 result
= (wxRect
*) &_result_ref
;
4591 wxPyEndAllowThreads(__tstate
);
4592 if (PyErr_Occurred()) SWIG_fail
;
4594 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4601 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4602 PyObject
*resultobj
;
4603 wxRect
*arg1
= (wxRect
*) 0 ;
4607 PyObject
* obj0
= 0 ;
4608 PyObject
* obj1
= 0 ;
4610 (char *) "self",(char *) "rect", NULL
4613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4618 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4622 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4624 wxPyEndAllowThreads(__tstate
);
4625 if (PyErr_Occurred()) SWIG_fail
;
4629 resultptr
= new wxRect((wxRect
&) result
);
4630 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4638 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4639 PyObject
*resultobj
;
4640 wxRect
*arg1
= (wxRect
*) 0 ;
4644 PyObject
* obj0
= 0 ;
4645 PyObject
* obj1
= 0 ;
4647 (char *) "self",(char *) "rect", NULL
4650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4652 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
4655 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4660 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4661 result
= (wxRect
*) &_result_ref
;
4664 wxPyEndAllowThreads(__tstate
);
4665 if (PyErr_Occurred()) SWIG_fail
;
4667 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4674 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4675 PyObject
*resultobj
;
4676 wxRect
*arg1
= (wxRect
*) 0 ;
4680 PyObject
* obj0
= 0 ;
4681 PyObject
* obj1
= 0 ;
4683 (char *) "self",(char *) "rect", NULL
4686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4691 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4695 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4697 wxPyEndAllowThreads(__tstate
);
4698 if (PyErr_Occurred()) SWIG_fail
;
4701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4709 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4710 PyObject
*resultobj
;
4711 wxRect
*arg1
= (wxRect
*) 0 ;
4715 PyObject
* obj0
= 0 ;
4716 PyObject
* obj1
= 0 ;
4718 (char *) "self",(char *) "rect", NULL
4721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4726 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4730 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4732 wxPyEndAllowThreads(__tstate
);
4733 if (PyErr_Occurred()) SWIG_fail
;
4736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4744 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4745 PyObject
*resultobj
;
4746 wxRect
*arg1
= (wxRect
*) 0 ;
4750 PyObject
* obj0
= 0 ;
4751 PyObject
* obj1
= 0 ;
4752 PyObject
* obj2
= 0 ;
4754 (char *) "self",(char *) "x",(char *) "y", NULL
4757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4760 arg2
= (int)SWIG_As_int(obj1
);
4761 if (PyErr_Occurred()) SWIG_fail
;
4762 arg3
= (int)SWIG_As_int(obj2
);
4763 if (PyErr_Occurred()) SWIG_fail
;
4765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4766 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4768 wxPyEndAllowThreads(__tstate
);
4769 if (PyErr_Occurred()) SWIG_fail
;
4772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4780 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4781 PyObject
*resultobj
;
4782 wxRect
*arg1
= (wxRect
*) 0 ;
4786 PyObject
* obj0
= 0 ;
4787 PyObject
* obj1
= 0 ;
4789 (char *) "self",(char *) "pt", NULL
4792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4797 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4801 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4803 wxPyEndAllowThreads(__tstate
);
4804 if (PyErr_Occurred()) SWIG_fail
;
4807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4815 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4816 PyObject
*resultobj
;
4817 wxRect
*arg1
= (wxRect
*) 0 ;
4821 PyObject
* obj0
= 0 ;
4822 PyObject
* obj1
= 0 ;
4824 (char *) "self",(char *) "rect", NULL
4827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4832 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4836 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4838 wxPyEndAllowThreads(__tstate
);
4839 if (PyErr_Occurred()) SWIG_fail
;
4842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4850 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4851 PyObject
*resultobj
;
4852 wxRect
*arg1
= (wxRect
*) 0 ;
4854 PyObject
* obj0
= 0 ;
4855 PyObject
* obj1
= 0 ;
4857 (char *) "self",(char *) "x", NULL
4860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4863 arg2
= (int)SWIG_As_int(obj1
);
4864 if (PyErr_Occurred()) SWIG_fail
;
4865 if (arg1
) (arg1
)->x
= arg2
;
4867 Py_INCREF(Py_None
); resultobj
= Py_None
;
4874 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4875 PyObject
*resultobj
;
4876 wxRect
*arg1
= (wxRect
*) 0 ;
4878 PyObject
* obj0
= 0 ;
4880 (char *) "self", NULL
4883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4886 result
= (int) ((arg1
)->x
);
4888 resultobj
= SWIG_From_int((int)result
);
4895 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4896 PyObject
*resultobj
;
4897 wxRect
*arg1
= (wxRect
*) 0 ;
4899 PyObject
* obj0
= 0 ;
4900 PyObject
* obj1
= 0 ;
4902 (char *) "self",(char *) "y", NULL
4905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4908 arg2
= (int)SWIG_As_int(obj1
);
4909 if (PyErr_Occurred()) SWIG_fail
;
4910 if (arg1
) (arg1
)->y
= arg2
;
4912 Py_INCREF(Py_None
); resultobj
= Py_None
;
4919 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4920 PyObject
*resultobj
;
4921 wxRect
*arg1
= (wxRect
*) 0 ;
4923 PyObject
* obj0
= 0 ;
4925 (char *) "self", NULL
4928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4931 result
= (int) ((arg1
)->y
);
4933 resultobj
= SWIG_From_int((int)result
);
4940 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4941 PyObject
*resultobj
;
4942 wxRect
*arg1
= (wxRect
*) 0 ;
4944 PyObject
* obj0
= 0 ;
4945 PyObject
* obj1
= 0 ;
4947 (char *) "self",(char *) "width", NULL
4950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4953 arg2
= (int)SWIG_As_int(obj1
);
4954 if (PyErr_Occurred()) SWIG_fail
;
4955 if (arg1
) (arg1
)->width
= arg2
;
4957 Py_INCREF(Py_None
); resultobj
= Py_None
;
4964 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4965 PyObject
*resultobj
;
4966 wxRect
*arg1
= (wxRect
*) 0 ;
4968 PyObject
* obj0
= 0 ;
4970 (char *) "self", NULL
4973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4976 result
= (int) ((arg1
)->width
);
4978 resultobj
= SWIG_From_int((int)result
);
4985 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4986 PyObject
*resultobj
;
4987 wxRect
*arg1
= (wxRect
*) 0 ;
4989 PyObject
* obj0
= 0 ;
4990 PyObject
* obj1
= 0 ;
4992 (char *) "self",(char *) "height", NULL
4995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4998 arg2
= (int)SWIG_As_int(obj1
);
4999 if (PyErr_Occurred()) SWIG_fail
;
5000 if (arg1
) (arg1
)->height
= arg2
;
5002 Py_INCREF(Py_None
); resultobj
= Py_None
;
5009 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5010 PyObject
*resultobj
;
5011 wxRect
*arg1
= (wxRect
*) 0 ;
5013 PyObject
* obj0
= 0 ;
5015 (char *) "self", NULL
5018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
5019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5021 result
= (int) ((arg1
)->height
);
5023 resultobj
= SWIG_From_int((int)result
);
5030 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5031 PyObject
*resultobj
;
5032 wxRect
*arg1
= (wxRect
*) 0 ;
5033 int arg2
= (int) 0 ;
5034 int arg3
= (int) 0 ;
5035 int arg4
= (int) 0 ;
5036 int arg5
= (int) 0 ;
5037 PyObject
* obj0
= 0 ;
5038 PyObject
* obj1
= 0 ;
5039 PyObject
* obj2
= 0 ;
5040 PyObject
* obj3
= 0 ;
5041 PyObject
* obj4
= 0 ;
5043 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5050 arg2
= (int)SWIG_As_int(obj1
);
5051 if (PyErr_Occurred()) SWIG_fail
;
5054 arg3
= (int)SWIG_As_int(obj2
);
5055 if (PyErr_Occurred()) SWIG_fail
;
5058 arg4
= (int)SWIG_As_int(obj3
);
5059 if (PyErr_Occurred()) SWIG_fail
;
5062 arg5
= (int)SWIG_As_int(obj4
);
5063 if (PyErr_Occurred()) SWIG_fail
;
5066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5067 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
5069 wxPyEndAllowThreads(__tstate
);
5070 if (PyErr_Occurred()) SWIG_fail
;
5072 Py_INCREF(Py_None
); resultobj
= Py_None
;
5079 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5080 PyObject
*resultobj
;
5081 wxRect
*arg1
= (wxRect
*) 0 ;
5083 PyObject
* obj0
= 0 ;
5085 (char *) "self", NULL
5088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
5089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5093 result
= (PyObject
*)wxRect_Get(arg1
);
5095 wxPyEndAllowThreads(__tstate
);
5096 if (PyErr_Occurred()) SWIG_fail
;
5105 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
5107 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5108 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
5110 return Py_BuildValue((char *)"");
5112 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5113 PyObject
*resultobj
;
5114 wxRect
*arg1
= (wxRect
*) 0 ;
5115 wxRect
*arg2
= (wxRect
*) 0 ;
5117 PyObject
* obj0
= 0 ;
5118 PyObject
* obj1
= 0 ;
5120 (char *) "r1",(char *) "r2", NULL
5123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
5125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5126 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
5127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5129 if (!wxPyCheckForApp()) SWIG_fail
;
5130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5131 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
5133 wxPyEndAllowThreads(__tstate
);
5134 if (PyErr_Occurred()) SWIG_fail
;
5143 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5144 PyObject
*resultobj
;
5145 double arg1
= (double) 0.0 ;
5146 double arg2
= (double) 0.0 ;
5148 PyObject
* obj0
= 0 ;
5149 PyObject
* obj1
= 0 ;
5151 (char *) "x",(char *) "y", NULL
5154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
5156 arg1
= (double)SWIG_As_double(obj0
);
5157 if (PyErr_Occurred()) SWIG_fail
;
5160 arg2
= (double)SWIG_As_double(obj1
);
5161 if (PyErr_Occurred()) SWIG_fail
;
5164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5165 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
5167 wxPyEndAllowThreads(__tstate
);
5168 if (PyErr_Occurred()) SWIG_fail
;
5170 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5177 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5178 PyObject
*resultobj
;
5179 wxPoint2D
*arg1
= 0 ;
5182 PyObject
* obj0
= 0 ;
5187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
5190 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
5193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5194 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
5196 wxPyEndAllowThreads(__tstate
);
5197 if (PyErr_Occurred()) SWIG_fail
;
5199 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5206 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5207 PyObject
*resultobj
;
5211 PyObject
* obj0
= 0 ;
5216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
5219 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
5222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5223 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
5225 wxPyEndAllowThreads(__tstate
);
5226 if (PyErr_Occurred()) SWIG_fail
;
5228 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5235 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5236 PyObject
*resultobj
;
5237 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5238 int *arg2
= (int *) 0 ;
5239 int *arg3
= (int *) 0 ;
5244 PyObject
* obj0
= 0 ;
5246 (char *) "self", NULL
5249 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5250 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
5252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5256 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
5258 wxPyEndAllowThreads(__tstate
);
5259 if (PyErr_Occurred()) SWIG_fail
;
5261 Py_INCREF(Py_None
); resultobj
= Py_None
;
5262 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5263 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5264 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5265 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5272 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5273 PyObject
*resultobj
;
5274 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5275 int *arg2
= (int *) 0 ;
5276 int *arg3
= (int *) 0 ;
5281 PyObject
* obj0
= 0 ;
5283 (char *) "self", NULL
5286 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5287 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
5289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5293 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
5295 wxPyEndAllowThreads(__tstate
);
5296 if (PyErr_Occurred()) SWIG_fail
;
5298 Py_INCREF(Py_None
); resultobj
= Py_None
;
5299 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5300 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5301 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5302 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5309 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5310 PyObject
*resultobj
;
5311 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5313 PyObject
* obj0
= 0 ;
5315 (char *) "self", NULL
5318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
5319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5323 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
5325 wxPyEndAllowThreads(__tstate
);
5326 if (PyErr_Occurred()) SWIG_fail
;
5328 resultobj
= SWIG_From_double((double)result
);
5335 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5336 PyObject
*resultobj
;
5337 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5339 PyObject
* obj0
= 0 ;
5341 (char *) "self", NULL
5344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
5345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5349 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
5351 wxPyEndAllowThreads(__tstate
);
5352 if (PyErr_Occurred()) SWIG_fail
;
5354 resultobj
= SWIG_From_double((double)result
);
5361 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5362 PyObject
*resultobj
;
5363 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5365 PyObject
* obj0
= 0 ;
5366 PyObject
* obj1
= 0 ;
5368 (char *) "self",(char *) "length", NULL
5371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
5372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5374 arg2
= (double)SWIG_As_double(obj1
);
5375 if (PyErr_Occurred()) SWIG_fail
;
5377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5378 (arg1
)->SetVectorLength(arg2
);
5380 wxPyEndAllowThreads(__tstate
);
5381 if (PyErr_Occurred()) SWIG_fail
;
5383 Py_INCREF(Py_None
); resultobj
= Py_None
;
5390 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5391 PyObject
*resultobj
;
5392 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5394 PyObject
* obj0
= 0 ;
5395 PyObject
* obj1
= 0 ;
5397 (char *) "self",(char *) "degrees", NULL
5400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
5401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5403 arg2
= (double)SWIG_As_double(obj1
);
5404 if (PyErr_Occurred()) SWIG_fail
;
5406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5407 (arg1
)->SetVectorAngle(arg2
);
5409 wxPyEndAllowThreads(__tstate
);
5410 if (PyErr_Occurred()) SWIG_fail
;
5412 Py_INCREF(Py_None
); resultobj
= Py_None
;
5419 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5420 PyObject
*resultobj
;
5421 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5422 wxPoint2D
*arg2
= 0 ;
5425 PyObject
* obj0
= 0 ;
5426 PyObject
* obj1
= 0 ;
5428 (char *) "self",(char *) "pt", NULL
5431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
5432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5436 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5440 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
5442 wxPyEndAllowThreads(__tstate
);
5443 if (PyErr_Occurred()) SWIG_fail
;
5445 resultobj
= SWIG_From_double((double)result
);
5452 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5453 PyObject
*resultobj
;
5454 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5455 wxPoint2D
*arg2
= 0 ;
5458 PyObject
* obj0
= 0 ;
5459 PyObject
* obj1
= 0 ;
5461 (char *) "self",(char *) "pt", NULL
5464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
5465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5469 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5473 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5475 wxPyEndAllowThreads(__tstate
);
5476 if (PyErr_Occurred()) SWIG_fail
;
5478 resultobj
= SWIG_From_double((double)result
);
5485 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5486 PyObject
*resultobj
;
5487 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5488 wxPoint2D
*arg2
= 0 ;
5491 PyObject
* obj0
= 0 ;
5492 PyObject
* obj1
= 0 ;
5494 (char *) "self",(char *) "vec", NULL
5497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5502 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5506 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5508 wxPyEndAllowThreads(__tstate
);
5509 if (PyErr_Occurred()) SWIG_fail
;
5511 resultobj
= SWIG_From_double((double)result
);
5518 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5519 PyObject
*resultobj
;
5520 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5521 wxPoint2D
*arg2
= 0 ;
5524 PyObject
* obj0
= 0 ;
5525 PyObject
* obj1
= 0 ;
5527 (char *) "self",(char *) "vec", NULL
5530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5535 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5539 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5541 wxPyEndAllowThreads(__tstate
);
5542 if (PyErr_Occurred()) SWIG_fail
;
5544 resultobj
= SWIG_From_double((double)result
);
5551 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5552 PyObject
*resultobj
;
5553 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5555 PyObject
* obj0
= 0 ;
5557 (char *) "self", NULL
5560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5565 result
= (arg1
)->operator -();
5567 wxPyEndAllowThreads(__tstate
);
5568 if (PyErr_Occurred()) SWIG_fail
;
5571 wxPoint2D
* resultptr
;
5572 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5573 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5581 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5582 PyObject
*resultobj
;
5583 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5584 wxPoint2D
*arg2
= 0 ;
5587 PyObject
* obj0
= 0 ;
5588 PyObject
* obj1
= 0 ;
5590 (char *) "self",(char *) "pt", NULL
5593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5595 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5598 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5603 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
5604 result
= (wxPoint2D
*) &_result_ref
;
5607 wxPyEndAllowThreads(__tstate
);
5608 if (PyErr_Occurred()) SWIG_fail
;
5610 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5617 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5618 PyObject
*resultobj
;
5619 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5620 wxPoint2D
*arg2
= 0 ;
5623 PyObject
* obj0
= 0 ;
5624 PyObject
* obj1
= 0 ;
5626 (char *) "self",(char *) "pt", NULL
5629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
5630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5631 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5634 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5639 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
5640 result
= (wxPoint2D
*) &_result_ref
;
5643 wxPyEndAllowThreads(__tstate
);
5644 if (PyErr_Occurred()) SWIG_fail
;
5646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5653 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5654 PyObject
*resultobj
;
5655 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5656 wxPoint2D
*arg2
= 0 ;
5659 PyObject
* obj0
= 0 ;
5660 PyObject
* obj1
= 0 ;
5662 (char *) "self",(char *) "pt", NULL
5665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
5666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5667 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5670 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5675 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
5676 result
= (wxPoint2D
*) &_result_ref
;
5679 wxPyEndAllowThreads(__tstate
);
5680 if (PyErr_Occurred()) SWIG_fail
;
5682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5689 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5690 PyObject
*resultobj
;
5691 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5692 wxPoint2D
*arg2
= 0 ;
5695 PyObject
* obj0
= 0 ;
5696 PyObject
* obj1
= 0 ;
5698 (char *) "self",(char *) "pt", NULL
5701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5703 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
5706 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5711 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5712 result
= (wxPoint2D
*) &_result_ref
;
5715 wxPyEndAllowThreads(__tstate
);
5716 if (PyErr_Occurred()) SWIG_fail
;
5718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
5725 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5726 PyObject
*resultobj
;
5727 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5728 wxPoint2D
*arg2
= 0 ;
5731 PyObject
* obj0
= 0 ;
5732 PyObject
* obj1
= 0 ;
5734 (char *) "self",(char *) "pt", NULL
5737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5742 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5746 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5748 wxPyEndAllowThreads(__tstate
);
5749 if (PyErr_Occurred()) SWIG_fail
;
5752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5760 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5761 PyObject
*resultobj
;
5762 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5763 wxPoint2D
*arg2
= 0 ;
5766 PyObject
* obj0
= 0 ;
5767 PyObject
* obj1
= 0 ;
5769 (char *) "self",(char *) "pt", NULL
5772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5777 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5781 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5783 wxPyEndAllowThreads(__tstate
);
5784 if (PyErr_Occurred()) SWIG_fail
;
5787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5795 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5796 PyObject
*resultobj
;
5797 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5799 PyObject
* obj0
= 0 ;
5800 PyObject
* obj1
= 0 ;
5802 (char *) "self",(char *) "m_x", NULL
5805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5808 arg2
= (double)SWIG_As_double(obj1
);
5809 if (PyErr_Occurred()) SWIG_fail
;
5810 if (arg1
) (arg1
)->m_x
= arg2
;
5812 Py_INCREF(Py_None
); resultobj
= Py_None
;
5819 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5820 PyObject
*resultobj
;
5821 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5823 PyObject
* obj0
= 0 ;
5825 (char *) "self", NULL
5828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5831 result
= (double) ((arg1
)->m_x
);
5833 resultobj
= SWIG_From_double((double)result
);
5840 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5841 PyObject
*resultobj
;
5842 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5844 PyObject
* obj0
= 0 ;
5845 PyObject
* obj1
= 0 ;
5847 (char *) "self",(char *) "m_y", NULL
5850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5853 arg2
= (double)SWIG_As_double(obj1
);
5854 if (PyErr_Occurred()) SWIG_fail
;
5855 if (arg1
) (arg1
)->m_y
= arg2
;
5857 Py_INCREF(Py_None
); resultobj
= Py_None
;
5864 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5865 PyObject
*resultobj
;
5866 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5868 PyObject
* obj0
= 0 ;
5870 (char *) "self", NULL
5873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5876 result
= (double) ((arg1
)->m_y
);
5878 resultobj
= SWIG_From_double((double)result
);
5885 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5886 PyObject
*resultobj
;
5887 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5888 double arg2
= (double) 0 ;
5889 double arg3
= (double) 0 ;
5890 PyObject
* obj0
= 0 ;
5891 PyObject
* obj1
= 0 ;
5892 PyObject
* obj2
= 0 ;
5894 (char *) "self",(char *) "x",(char *) "y", NULL
5897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5901 arg2
= (double)SWIG_As_double(obj1
);
5902 if (PyErr_Occurred()) SWIG_fail
;
5905 arg3
= (double)SWIG_As_double(obj2
);
5906 if (PyErr_Occurred()) SWIG_fail
;
5909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5910 wxPoint2D_Set(arg1
,arg2
,arg3
);
5912 wxPyEndAllowThreads(__tstate
);
5913 if (PyErr_Occurred()) SWIG_fail
;
5915 Py_INCREF(Py_None
); resultobj
= Py_None
;
5922 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5923 PyObject
*resultobj
;
5924 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5926 PyObject
* obj0
= 0 ;
5928 (char *) "self", NULL
5931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5936 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5938 wxPyEndAllowThreads(__tstate
);
5939 if (PyErr_Occurred()) SWIG_fail
;
5948 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
5950 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5951 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5953 return Py_BuildValue((char *)"");
5955 static int _wrap_DefaultPosition_set(PyObject
*) {
5956 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5961 static PyObject
*_wrap_DefaultPosition_get() {
5964 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
5969 static int _wrap_DefaultSize_set(PyObject
*) {
5970 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5975 static PyObject
*_wrap_DefaultSize_get() {
5978 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
5983 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5984 PyObject
*resultobj
;
5985 PyObject
*arg1
= (PyObject
*) 0 ;
5986 wxPyInputStream
*result
;
5987 PyObject
* obj0
= 0 ;
5992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5996 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5998 wxPyEndAllowThreads(__tstate
);
5999 if (PyErr_Occurred()) SWIG_fail
;
6001 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
6008 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6009 PyObject
*resultobj
;
6010 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6011 PyObject
* obj0
= 0 ;
6013 (char *) "self", NULL
6016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
6017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6023 wxPyEndAllowThreads(__tstate
);
6024 if (PyErr_Occurred()) SWIG_fail
;
6026 Py_INCREF(Py_None
); resultobj
= Py_None
;
6033 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6034 PyObject
*resultobj
;
6035 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6036 PyObject
* obj0
= 0 ;
6038 (char *) "self", NULL
6041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
6042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6048 wxPyEndAllowThreads(__tstate
);
6049 if (PyErr_Occurred()) SWIG_fail
;
6051 Py_INCREF(Py_None
); resultobj
= Py_None
;
6058 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6059 PyObject
*resultobj
;
6060 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6062 PyObject
* obj0
= 0 ;
6064 (char *) "self", NULL
6067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
6068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6072 result
= (bool)(arg1
)->eof();
6074 wxPyEndAllowThreads(__tstate
);
6075 if (PyErr_Occurred()) SWIG_fail
;
6078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6086 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6087 PyObject
*resultobj
;
6088 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6089 int arg2
= (int) -1 ;
6091 PyObject
* obj0
= 0 ;
6092 PyObject
* obj1
= 0 ;
6094 (char *) "self",(char *) "size", NULL
6097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
6098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6101 arg2
= (int)SWIG_As_int(obj1
);
6102 if (PyErr_Occurred()) SWIG_fail
;
6105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6106 result
= (PyObject
*)(arg1
)->read(arg2
);
6108 wxPyEndAllowThreads(__tstate
);
6109 if (PyErr_Occurred()) SWIG_fail
;
6118 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6119 PyObject
*resultobj
;
6120 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6121 int arg2
= (int) -1 ;
6123 PyObject
* obj0
= 0 ;
6124 PyObject
* obj1
= 0 ;
6126 (char *) "self",(char *) "size", NULL
6129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
6130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6133 arg2
= (int)SWIG_As_int(obj1
);
6134 if (PyErr_Occurred()) SWIG_fail
;
6137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6138 result
= (PyObject
*)(arg1
)->readline(arg2
);
6140 wxPyEndAllowThreads(__tstate
);
6141 if (PyErr_Occurred()) SWIG_fail
;
6150 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6151 PyObject
*resultobj
;
6152 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6153 int arg2
= (int) -1 ;
6155 PyObject
* obj0
= 0 ;
6156 PyObject
* obj1
= 0 ;
6158 (char *) "self",(char *) "sizehint", NULL
6161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
6162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6165 arg2
= (int)SWIG_As_int(obj1
);
6166 if (PyErr_Occurred()) SWIG_fail
;
6169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6170 result
= (PyObject
*)(arg1
)->readlines(arg2
);
6172 wxPyEndAllowThreads(__tstate
);
6173 if (PyErr_Occurred()) SWIG_fail
;
6182 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6183 PyObject
*resultobj
;
6184 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6186 int arg3
= (int) 0 ;
6187 PyObject
* obj0
= 0 ;
6188 PyObject
* obj1
= 0 ;
6189 PyObject
* obj2
= 0 ;
6191 (char *) "self",(char *) "offset",(char *) "whence", NULL
6194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6197 arg2
= (int)SWIG_As_int(obj1
);
6198 if (PyErr_Occurred()) SWIG_fail
;
6200 arg3
= (int)SWIG_As_int(obj2
);
6201 if (PyErr_Occurred()) SWIG_fail
;
6204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6205 (arg1
)->seek(arg2
,arg3
);
6207 wxPyEndAllowThreads(__tstate
);
6208 if (PyErr_Occurred()) SWIG_fail
;
6210 Py_INCREF(Py_None
); resultobj
= Py_None
;
6217 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6218 PyObject
*resultobj
;
6219 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6221 PyObject
* obj0
= 0 ;
6223 (char *) "self", NULL
6226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
6227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6231 result
= (int)(arg1
)->tell();
6233 wxPyEndAllowThreads(__tstate
);
6234 if (PyErr_Occurred()) SWIG_fail
;
6236 resultobj
= SWIG_From_int((int)result
);
6243 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6244 PyObject
*resultobj
;
6245 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6247 PyObject
* obj0
= 0 ;
6249 (char *) "self", NULL
6252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
6253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6257 result
= (char)(arg1
)->Peek();
6259 wxPyEndAllowThreads(__tstate
);
6260 if (PyErr_Occurred()) SWIG_fail
;
6262 resultobj
= SWIG_From_char((char)result
);
6269 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6270 PyObject
*resultobj
;
6271 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6273 PyObject
* obj0
= 0 ;
6275 (char *) "self", NULL
6278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
6279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6283 result
= (char)(arg1
)->GetC();
6285 wxPyEndAllowThreads(__tstate
);
6286 if (PyErr_Occurred()) SWIG_fail
;
6288 resultobj
= SWIG_From_char((char)result
);
6295 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6296 PyObject
*resultobj
;
6297 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6299 PyObject
* obj0
= 0 ;
6301 (char *) "self", NULL
6304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
6305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6309 result
= (size_t)(arg1
)->LastRead();
6311 wxPyEndAllowThreads(__tstate
);
6312 if (PyErr_Occurred()) SWIG_fail
;
6314 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
6321 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6322 PyObject
*resultobj
;
6323 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6325 PyObject
* obj0
= 0 ;
6327 (char *) "self", NULL
6330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
6331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6335 result
= (bool)(arg1
)->CanRead();
6337 wxPyEndAllowThreads(__tstate
);
6338 if (PyErr_Occurred()) SWIG_fail
;
6341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6349 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6350 PyObject
*resultobj
;
6351 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6353 PyObject
* obj0
= 0 ;
6355 (char *) "self", NULL
6358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
6359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6363 result
= (bool)(arg1
)->Eof();
6365 wxPyEndAllowThreads(__tstate
);
6366 if (PyErr_Occurred()) SWIG_fail
;
6369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6377 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6378 PyObject
*resultobj
;
6379 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6382 PyObject
* obj0
= 0 ;
6383 PyObject
* obj1
= 0 ;
6385 (char *) "self",(char *) "c", NULL
6388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
6389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6391 arg2
= (char)SWIG_As_char(obj1
);
6392 if (PyErr_Occurred()) SWIG_fail
;
6394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6395 result
= (bool)(arg1
)->Ungetch(arg2
);
6397 wxPyEndAllowThreads(__tstate
);
6398 if (PyErr_Occurred()) SWIG_fail
;
6401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6409 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6410 PyObject
*resultobj
;
6411 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6413 int arg3
= (int) wxFromStart
;
6415 PyObject
* obj0
= 0 ;
6416 PyObject
* obj1
= 0 ;
6417 PyObject
* obj2
= 0 ;
6419 (char *) "self",(char *) "pos",(char *) "mode", NULL
6422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6425 arg2
= (long)SWIG_As_long(obj1
);
6426 if (PyErr_Occurred()) SWIG_fail
;
6428 arg3
= (int)SWIG_As_int(obj2
);
6429 if (PyErr_Occurred()) SWIG_fail
;
6432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6433 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
6435 wxPyEndAllowThreads(__tstate
);
6436 if (PyErr_Occurred()) SWIG_fail
;
6438 resultobj
= SWIG_From_long((long)result
);
6445 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6446 PyObject
*resultobj
;
6447 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6449 PyObject
* obj0
= 0 ;
6451 (char *) "self", NULL
6454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
6455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6459 result
= (long)(arg1
)->TellI();
6461 wxPyEndAllowThreads(__tstate
);
6462 if (PyErr_Occurred()) SWIG_fail
;
6464 resultobj
= SWIG_From_long((long)result
);
6471 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
6473 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6474 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
6476 return Py_BuildValue((char *)"");
6478 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6479 PyObject
*resultobj
;
6480 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
6481 PyObject
*arg2
= (PyObject
*) 0 ;
6482 PyObject
* obj0
= 0 ;
6483 PyObject
* obj1
= 0 ;
6485 (char *) "self",(char *) "obj", NULL
6488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6494 wxOutputStream_write(arg1
,arg2
);
6496 wxPyEndAllowThreads(__tstate
);
6497 if (PyErr_Occurred()) SWIG_fail
;
6499 Py_INCREF(Py_None
); resultobj
= Py_None
;
6506 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
6508 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6509 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6511 return Py_BuildValue((char *)"");
6513 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6514 PyObject
*resultobj
;
6515 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6516 wxString
*arg2
= 0 ;
6517 wxString
*arg3
= 0 ;
6518 wxString
*arg4
= 0 ;
6521 wxPyInputStream
*temp1
;
6523 bool temp2
= false ;
6524 bool temp3
= false ;
6525 bool temp4
= false ;
6527 PyObject
* obj0
= 0 ;
6528 PyObject
* obj1
= 0 ;
6529 PyObject
* obj2
= 0 ;
6530 PyObject
* obj3
= 0 ;
6531 PyObject
* obj4
= 0 ;
6533 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6538 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6539 arg1
= temp1
->m_wxis
;
6542 PyErr_Clear(); // clear the failure of the wxPyConvert above
6543 arg1
= wxPyCBInputStream_create(obj0
, false);
6545 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6552 arg2
= wxString_in_helper(obj1
);
6553 if (arg2
== NULL
) SWIG_fail
;
6557 arg3
= wxString_in_helper(obj2
);
6558 if (arg3
== NULL
) SWIG_fail
;
6562 arg4
= wxString_in_helper(obj3
);
6563 if (arg4
== NULL
) SWIG_fail
;
6566 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6567 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6571 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6573 wxPyEndAllowThreads(__tstate
);
6574 if (PyErr_Occurred()) SWIG_fail
;
6577 resultobj
= wxPyMake_wxObject(result
, 1);
6617 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6618 PyObject
*resultobj
;
6619 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6620 PyObject
* obj0
= 0 ;
6622 (char *) "self", NULL
6625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
6626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6632 wxPyEndAllowThreads(__tstate
);
6633 if (PyErr_Occurred()) SWIG_fail
;
6635 Py_INCREF(Py_None
); resultobj
= Py_None
;
6642 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6643 PyObject
*resultobj
;
6644 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6645 wxInputStream
*result
;
6646 PyObject
* obj0
= 0 ;
6648 (char *) "self", NULL
6651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
6652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6656 result
= (wxInputStream
*)(arg1
)->GetStream();
6658 wxPyEndAllowThreads(__tstate
);
6659 if (PyErr_Occurred()) SWIG_fail
;
6662 wxPyInputStream
* _ptr
= NULL
;
6665 _ptr
= new wxPyInputStream(result
);
6667 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), true);
6675 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6676 PyObject
*resultobj
;
6677 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6679 PyObject
* obj0
= 0 ;
6681 (char *) "self", NULL
6684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6690 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6691 result
= (wxString
*) &_result_ref
;
6694 wxPyEndAllowThreads(__tstate
);
6695 if (PyErr_Occurred()) SWIG_fail
;
6699 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6701 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6710 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6711 PyObject
*resultobj
;
6712 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6714 PyObject
* obj0
= 0 ;
6716 (char *) "self", NULL
6719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6725 wxString
const &_result_ref
= (arg1
)->GetLocation();
6726 result
= (wxString
*) &_result_ref
;
6729 wxPyEndAllowThreads(__tstate
);
6730 if (PyErr_Occurred()) SWIG_fail
;
6734 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6736 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6745 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6746 PyObject
*resultobj
;
6747 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6749 PyObject
* obj0
= 0 ;
6751 (char *) "self", NULL
6754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6760 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6761 result
= (wxString
*) &_result_ref
;
6764 wxPyEndAllowThreads(__tstate
);
6765 if (PyErr_Occurred()) SWIG_fail
;
6769 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6771 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6780 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6781 PyObject
*resultobj
;
6782 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6784 PyObject
* obj0
= 0 ;
6786 (char *) "self", NULL
6789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6794 result
= (arg1
)->GetModificationTime();
6796 wxPyEndAllowThreads(__tstate
);
6797 if (PyErr_Occurred()) SWIG_fail
;
6800 wxDateTime
* resultptr
;
6801 resultptr
= new wxDateTime((wxDateTime
&) result
);
6802 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6810 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
6812 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6813 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6815 return Py_BuildValue((char *)"");
6817 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
6819 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6820 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6822 return Py_BuildValue((char *)"");
6824 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6825 PyObject
*resultobj
;
6826 wxPyFileSystemHandler
*result
;
6831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6834 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6836 wxPyEndAllowThreads(__tstate
);
6837 if (PyErr_Occurred()) SWIG_fail
;
6839 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6846 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6847 PyObject
*resultobj
;
6848 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6849 PyObject
*arg2
= (PyObject
*) 0 ;
6850 PyObject
*arg3
= (PyObject
*) 0 ;
6851 PyObject
* obj0
= 0 ;
6852 PyObject
* obj1
= 0 ;
6853 PyObject
* obj2
= 0 ;
6855 (char *) "self",(char *) "self",(char *) "_class", NULL
6858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6865 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6867 wxPyEndAllowThreads(__tstate
);
6868 if (PyErr_Occurred()) SWIG_fail
;
6870 Py_INCREF(Py_None
); resultobj
= Py_None
;
6877 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6878 PyObject
*resultobj
;
6879 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6880 wxString
*arg2
= 0 ;
6882 bool temp2
= false ;
6883 PyObject
* obj0
= 0 ;
6884 PyObject
* obj1
= 0 ;
6886 (char *) "self",(char *) "location", NULL
6889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6893 arg2
= wxString_in_helper(obj1
);
6894 if (arg2
== NULL
) SWIG_fail
;
6898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6899 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6901 wxPyEndAllowThreads(__tstate
);
6902 if (PyErr_Occurred()) SWIG_fail
;
6905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6921 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6922 PyObject
*resultobj
;
6923 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6924 wxFileSystem
*arg2
= 0 ;
6925 wxString
*arg3
= 0 ;
6927 bool temp3
= false ;
6928 PyObject
* obj0
= 0 ;
6929 PyObject
* obj1
= 0 ;
6930 PyObject
* obj2
= 0 ;
6932 (char *) "self",(char *) "fs",(char *) "location", NULL
6935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6938 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
6939 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6942 PyErr_SetString(PyExc_TypeError
,"null reference");
6946 arg3
= wxString_in_helper(obj2
);
6947 if (arg3
== NULL
) SWIG_fail
;
6951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6952 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6954 wxPyEndAllowThreads(__tstate
);
6955 if (PyErr_Occurred()) SWIG_fail
;
6958 resultobj
= wxPyMake_wxObject(result
, 1);
6974 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6975 PyObject
*resultobj
;
6976 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6977 wxString
*arg2
= 0 ;
6978 int arg3
= (int) 0 ;
6980 bool temp2
= false ;
6981 PyObject
* obj0
= 0 ;
6982 PyObject
* obj1
= 0 ;
6983 PyObject
* obj2
= 0 ;
6985 (char *) "self",(char *) "spec",(char *) "flags", NULL
6988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6992 arg2
= wxString_in_helper(obj1
);
6993 if (arg2
== NULL
) SWIG_fail
;
6997 arg3
= (int)SWIG_As_int(obj2
);
6998 if (PyErr_Occurred()) SWIG_fail
;
7001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7002 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7004 wxPyEndAllowThreads(__tstate
);
7005 if (PyErr_Occurred()) SWIG_fail
;
7009 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7011 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7028 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7029 PyObject
*resultobj
;
7030 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7032 PyObject
* obj0
= 0 ;
7034 (char *) "self", NULL
7037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7042 result
= (arg1
)->FindNext();
7044 wxPyEndAllowThreads(__tstate
);
7045 if (PyErr_Occurred()) SWIG_fail
;
7049 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7051 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7060 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7061 PyObject
*resultobj
;
7062 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7063 wxString
*arg2
= 0 ;
7065 bool temp2
= false ;
7066 PyObject
* obj0
= 0 ;
7067 PyObject
* obj1
= 0 ;
7069 (char *) "self",(char *) "location", NULL
7072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
7073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7076 arg2
= wxString_in_helper(obj1
);
7077 if (arg2
== NULL
) SWIG_fail
;
7081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7082 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
7084 wxPyEndAllowThreads(__tstate
);
7085 if (PyErr_Occurred()) SWIG_fail
;
7089 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7091 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7108 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7109 PyObject
*resultobj
;
7110 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7111 wxString
*arg2
= 0 ;
7113 bool temp2
= false ;
7114 PyObject
* obj0
= 0 ;
7115 PyObject
* obj1
= 0 ;
7117 (char *) "self",(char *) "location", NULL
7120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
7121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7124 arg2
= wxString_in_helper(obj1
);
7125 if (arg2
== NULL
) SWIG_fail
;
7129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7130 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
7132 wxPyEndAllowThreads(__tstate
);
7133 if (PyErr_Occurred()) SWIG_fail
;
7137 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7139 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7156 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7157 PyObject
*resultobj
;
7158 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7159 wxString
*arg2
= 0 ;
7161 bool temp2
= false ;
7162 PyObject
* obj0
= 0 ;
7163 PyObject
* obj1
= 0 ;
7165 (char *) "self",(char *) "location", NULL
7168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
7169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7172 arg2
= wxString_in_helper(obj1
);
7173 if (arg2
== NULL
) SWIG_fail
;
7177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7178 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
7180 wxPyEndAllowThreads(__tstate
);
7181 if (PyErr_Occurred()) SWIG_fail
;
7185 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7187 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7204 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7205 PyObject
*resultobj
;
7206 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7207 wxString
*arg2
= 0 ;
7209 bool temp2
= false ;
7210 PyObject
* obj0
= 0 ;
7211 PyObject
* obj1
= 0 ;
7213 (char *) "self",(char *) "location", NULL
7216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
7217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7220 arg2
= wxString_in_helper(obj1
);
7221 if (arg2
== NULL
) SWIG_fail
;
7225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7226 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
7228 wxPyEndAllowThreads(__tstate
);
7229 if (PyErr_Occurred()) SWIG_fail
;
7233 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7235 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7252 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7253 PyObject
*resultobj
;
7254 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
7255 wxString
*arg2
= 0 ;
7257 bool temp2
= false ;
7258 PyObject
* obj0
= 0 ;
7259 PyObject
* obj1
= 0 ;
7261 (char *) "self",(char *) "location", NULL
7264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
7265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
7266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7268 arg2
= wxString_in_helper(obj1
);
7269 if (arg2
== NULL
) SWIG_fail
;
7273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7274 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
7276 wxPyEndAllowThreads(__tstate
);
7277 if (PyErr_Occurred()) SWIG_fail
;
7281 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7283 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7300 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
7302 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7303 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
7305 return Py_BuildValue((char *)"");
7307 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7308 PyObject
*resultobj
;
7309 wxFileSystem
*result
;
7314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
7316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7317 result
= (wxFileSystem
*)new wxFileSystem();
7319 wxPyEndAllowThreads(__tstate
);
7320 if (PyErr_Occurred()) SWIG_fail
;
7323 resultobj
= wxPyMake_wxObject(result
, 1);
7331 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7332 PyObject
*resultobj
;
7333 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7334 PyObject
* obj0
= 0 ;
7336 (char *) "self", NULL
7339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
7340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7346 wxPyEndAllowThreads(__tstate
);
7347 if (PyErr_Occurred()) SWIG_fail
;
7349 Py_INCREF(Py_None
); resultobj
= Py_None
;
7356 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7357 PyObject
*resultobj
;
7358 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7359 wxString
*arg2
= 0 ;
7360 bool arg3
= (bool) false ;
7361 bool temp2
= false ;
7362 PyObject
* obj0
= 0 ;
7363 PyObject
* obj1
= 0 ;
7364 PyObject
* obj2
= 0 ;
7366 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7373 arg2
= wxString_in_helper(obj1
);
7374 if (arg2
== NULL
) SWIG_fail
;
7378 arg3
= (bool)SWIG_As_bool(obj2
);
7379 if (PyErr_Occurred()) SWIG_fail
;
7382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7383 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
7385 wxPyEndAllowThreads(__tstate
);
7386 if (PyErr_Occurred()) SWIG_fail
;
7388 Py_INCREF(Py_None
); resultobj
= Py_None
;
7403 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7404 PyObject
*resultobj
;
7405 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7407 PyObject
* obj0
= 0 ;
7409 (char *) "self", NULL
7412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
7413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7417 result
= (arg1
)->GetPath();
7419 wxPyEndAllowThreads(__tstate
);
7420 if (PyErr_Occurred()) SWIG_fail
;
7424 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7426 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7435 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7436 PyObject
*resultobj
;
7437 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7438 wxString
*arg2
= 0 ;
7440 bool temp2
= false ;
7441 PyObject
* obj0
= 0 ;
7442 PyObject
* obj1
= 0 ;
7444 (char *) "self",(char *) "location", NULL
7447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7451 arg2
= wxString_in_helper(obj1
);
7452 if (arg2
== NULL
) SWIG_fail
;
7456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7457 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
7459 wxPyEndAllowThreads(__tstate
);
7460 if (PyErr_Occurred()) SWIG_fail
;
7463 resultobj
= wxPyMake_wxObject(result
, 1);
7479 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7480 PyObject
*resultobj
;
7481 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7482 wxString
*arg2
= 0 ;
7483 int arg3
= (int) 0 ;
7485 bool temp2
= false ;
7486 PyObject
* obj0
= 0 ;
7487 PyObject
* obj1
= 0 ;
7488 PyObject
* obj2
= 0 ;
7490 (char *) "self",(char *) "spec",(char *) "flags", NULL
7493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7497 arg2
= wxString_in_helper(obj1
);
7498 if (arg2
== NULL
) SWIG_fail
;
7502 arg3
= (int)SWIG_As_int(obj2
);
7503 if (PyErr_Occurred()) SWIG_fail
;
7506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7507 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7509 wxPyEndAllowThreads(__tstate
);
7510 if (PyErr_Occurred()) SWIG_fail
;
7514 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7516 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7533 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7534 PyObject
*resultobj
;
7535 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7537 PyObject
* obj0
= 0 ;
7539 (char *) "self", NULL
7542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7547 result
= (arg1
)->FindNext();
7549 wxPyEndAllowThreads(__tstate
);
7550 if (PyErr_Occurred()) SWIG_fail
;
7554 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7556 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7565 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7566 PyObject
*resultobj
;
7567 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7568 PyObject
* obj0
= 0 ;
7570 (char *) "handler", NULL
7573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7578 wxFileSystem::AddHandler(arg1
);
7580 wxPyEndAllowThreads(__tstate
);
7581 if (PyErr_Occurred()) SWIG_fail
;
7583 Py_INCREF(Py_None
); resultobj
= Py_None
;
7590 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7591 PyObject
*resultobj
;
7596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7599 wxFileSystem::CleanUpHandlers();
7601 wxPyEndAllowThreads(__tstate
);
7602 if (PyErr_Occurred()) SWIG_fail
;
7604 Py_INCREF(Py_None
); resultobj
= Py_None
;
7611 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7612 PyObject
*resultobj
;
7613 wxString
*arg1
= 0 ;
7615 bool temp1
= false ;
7616 PyObject
* obj0
= 0 ;
7618 (char *) "filename", NULL
7621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7623 arg1
= wxString_in_helper(obj0
);
7624 if (arg1
== NULL
) SWIG_fail
;
7628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7629 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
7631 wxPyEndAllowThreads(__tstate
);
7632 if (PyErr_Occurred()) SWIG_fail
;
7636 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7638 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7655 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7656 PyObject
*resultobj
;
7657 wxString
*arg1
= 0 ;
7659 bool temp1
= false ;
7660 PyObject
* obj0
= 0 ;
7662 (char *) "url", NULL
7665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7667 arg1
= wxString_in_helper(obj0
);
7668 if (arg1
== NULL
) SWIG_fail
;
7672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7673 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
7675 wxPyEndAllowThreads(__tstate
);
7676 if (PyErr_Occurred()) SWIG_fail
;
7680 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7682 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7699 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
7701 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7702 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7704 return Py_BuildValue((char *)"");
7706 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7707 PyObject
*resultobj
;
7708 wxInternetFSHandler
*result
;
7713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7716 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7718 wxPyEndAllowThreads(__tstate
);
7719 if (PyErr_Occurred()) SWIG_fail
;
7721 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7728 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7729 PyObject
*resultobj
;
7730 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7731 wxString
*arg2
= 0 ;
7733 bool temp2
= false ;
7734 PyObject
* obj0
= 0 ;
7735 PyObject
* obj1
= 0 ;
7737 (char *) "self",(char *) "location", NULL
7740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7744 arg2
= wxString_in_helper(obj1
);
7745 if (arg2
== NULL
) SWIG_fail
;
7749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7750 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7752 wxPyEndAllowThreads(__tstate
);
7753 if (PyErr_Occurred()) SWIG_fail
;
7756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7772 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7773 PyObject
*resultobj
;
7774 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7775 wxFileSystem
*arg2
= 0 ;
7776 wxString
*arg3
= 0 ;
7778 bool temp3
= false ;
7779 PyObject
* obj0
= 0 ;
7780 PyObject
* obj1
= 0 ;
7781 PyObject
* obj2
= 0 ;
7783 (char *) "self",(char *) "fs",(char *) "location", NULL
7786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7789 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7790 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7793 PyErr_SetString(PyExc_TypeError
,"null reference");
7797 arg3
= wxString_in_helper(obj2
);
7798 if (arg3
== NULL
) SWIG_fail
;
7802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7803 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7805 wxPyEndAllowThreads(__tstate
);
7806 if (PyErr_Occurred()) SWIG_fail
;
7809 resultobj
= wxPyMake_wxObject(result
, 1);
7825 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
7827 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7828 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7830 return Py_BuildValue((char *)"");
7832 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7833 PyObject
*resultobj
;
7834 wxZipFSHandler
*result
;
7839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7842 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7844 wxPyEndAllowThreads(__tstate
);
7845 if (PyErr_Occurred()) SWIG_fail
;
7847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7854 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7855 PyObject
*resultobj
;
7856 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7857 wxString
*arg2
= 0 ;
7859 bool temp2
= false ;
7860 PyObject
* obj0
= 0 ;
7861 PyObject
* obj1
= 0 ;
7863 (char *) "self",(char *) "location", NULL
7866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7870 arg2
= wxString_in_helper(obj1
);
7871 if (arg2
== NULL
) SWIG_fail
;
7875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7876 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7878 wxPyEndAllowThreads(__tstate
);
7879 if (PyErr_Occurred()) SWIG_fail
;
7882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7898 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7899 PyObject
*resultobj
;
7900 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7901 wxFileSystem
*arg2
= 0 ;
7902 wxString
*arg3
= 0 ;
7904 bool temp3
= false ;
7905 PyObject
* obj0
= 0 ;
7906 PyObject
* obj1
= 0 ;
7907 PyObject
* obj2
= 0 ;
7909 (char *) "self",(char *) "fs",(char *) "location", NULL
7912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7915 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7916 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7919 PyErr_SetString(PyExc_TypeError
,"null reference");
7923 arg3
= wxString_in_helper(obj2
);
7924 if (arg3
== NULL
) SWIG_fail
;
7928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7929 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7931 wxPyEndAllowThreads(__tstate
);
7932 if (PyErr_Occurred()) SWIG_fail
;
7935 resultobj
= wxPyMake_wxObject(result
, 1);
7951 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7952 PyObject
*resultobj
;
7953 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7954 wxString
*arg2
= 0 ;
7955 int arg3
= (int) 0 ;
7957 bool temp2
= false ;
7958 PyObject
* obj0
= 0 ;
7959 PyObject
* obj1
= 0 ;
7960 PyObject
* obj2
= 0 ;
7962 (char *) "self",(char *) "spec",(char *) "flags", NULL
7965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7969 arg2
= wxString_in_helper(obj1
);
7970 if (arg2
== NULL
) SWIG_fail
;
7974 arg3
= (int)SWIG_As_int(obj2
);
7975 if (PyErr_Occurred()) SWIG_fail
;
7978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7979 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7981 wxPyEndAllowThreads(__tstate
);
7982 if (PyErr_Occurred()) SWIG_fail
;
7986 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7988 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8005 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8006 PyObject
*resultobj
;
8007 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
8009 PyObject
* obj0
= 0 ;
8011 (char *) "self", NULL
8014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
8016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8019 result
= (arg1
)->FindNext();
8021 wxPyEndAllowThreads(__tstate
);
8022 if (PyErr_Occurred()) SWIG_fail
;
8026 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8028 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8037 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
8039 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8040 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
8042 return Py_BuildValue((char *)"");
8044 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8045 PyObject
*resultobj
;
8046 wxString
*arg1
= 0 ;
8049 bool temp1
= false ;
8050 PyObject
* obj0
= 0 ;
8051 PyObject
* obj1
= 0 ;
8052 PyObject
* obj2
= 0 ;
8054 (char *) "filename",(char *) "image",(char *) "type", NULL
8057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8059 arg1
= wxString_in_helper(obj0
);
8060 if (arg1
== NULL
) SWIG_fail
;
8063 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
8064 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8067 PyErr_SetString(PyExc_TypeError
,"null reference");
8070 arg3
= (long)SWIG_As_long(obj2
);
8071 if (PyErr_Occurred()) SWIG_fail
;
8073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8074 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
8076 wxPyEndAllowThreads(__tstate
);
8077 if (PyErr_Occurred()) SWIG_fail
;
8079 Py_INCREF(Py_None
); resultobj
= Py_None
;
8094 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8095 PyObject
*resultobj
;
8096 wxString
*arg1
= 0 ;
8097 wxBitmap
*arg2
= 0 ;
8099 bool temp1
= false ;
8100 PyObject
* obj0
= 0 ;
8101 PyObject
* obj1
= 0 ;
8102 PyObject
* obj2
= 0 ;
8104 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
8107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8109 arg1
= wxString_in_helper(obj0
);
8110 if (arg1
== NULL
) SWIG_fail
;
8113 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
8114 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8117 PyErr_SetString(PyExc_TypeError
,"null reference");
8120 arg3
= (long)SWIG_As_long(obj2
);
8121 if (PyErr_Occurred()) SWIG_fail
;
8123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8124 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
8126 wxPyEndAllowThreads(__tstate
);
8127 if (PyErr_Occurred()) SWIG_fail
;
8129 Py_INCREF(Py_None
); resultobj
= Py_None
;
8144 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8145 PyObject
*resultobj
;
8146 wxString
*arg1
= 0 ;
8147 PyObject
*arg2
= (PyObject
*) 0 ;
8148 bool temp1
= false ;
8149 PyObject
* obj0
= 0 ;
8150 PyObject
* obj1
= 0 ;
8152 (char *) "filename",(char *) "data", NULL
8155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
8157 arg1
= wxString_in_helper(obj0
);
8158 if (arg1
== NULL
) SWIG_fail
;
8163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8164 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
8166 wxPyEndAllowThreads(__tstate
);
8167 if (PyErr_Occurred()) SWIG_fail
;
8169 Py_INCREF(Py_None
); resultobj
= Py_None
;
8184 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8185 PyObject
*resultobj
;
8186 wxMemoryFSHandler
*result
;
8191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
8193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8194 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
8196 wxPyEndAllowThreads(__tstate
);
8197 if (PyErr_Occurred()) SWIG_fail
;
8199 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
8206 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8207 PyObject
*resultobj
;
8208 wxString
*arg1
= 0 ;
8209 bool temp1
= false ;
8210 PyObject
* obj0
= 0 ;
8212 (char *) "filename", NULL
8215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
8217 arg1
= wxString_in_helper(obj0
);
8218 if (arg1
== NULL
) SWIG_fail
;
8222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8223 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
8225 wxPyEndAllowThreads(__tstate
);
8226 if (PyErr_Occurred()) SWIG_fail
;
8228 Py_INCREF(Py_None
); resultobj
= Py_None
;
8243 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8244 PyObject
*resultobj
;
8245 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8246 wxString
*arg2
= 0 ;
8248 bool temp2
= false ;
8249 PyObject
* obj0
= 0 ;
8250 PyObject
* obj1
= 0 ;
8252 (char *) "self",(char *) "location", NULL
8255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8259 arg2
= wxString_in_helper(obj1
);
8260 if (arg2
== NULL
) SWIG_fail
;
8264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8265 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8267 wxPyEndAllowThreads(__tstate
);
8268 if (PyErr_Occurred()) SWIG_fail
;
8271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8287 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8288 PyObject
*resultobj
;
8289 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8290 wxFileSystem
*arg2
= 0 ;
8291 wxString
*arg3
= 0 ;
8293 bool temp3
= false ;
8294 PyObject
* obj0
= 0 ;
8295 PyObject
* obj1
= 0 ;
8296 PyObject
* obj2
= 0 ;
8298 (char *) "self",(char *) "fs",(char *) "location", NULL
8301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8304 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
8305 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8308 PyErr_SetString(PyExc_TypeError
,"null reference");
8312 arg3
= wxString_in_helper(obj2
);
8313 if (arg3
== NULL
) SWIG_fail
;
8317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8318 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8320 wxPyEndAllowThreads(__tstate
);
8321 if (PyErr_Occurred()) SWIG_fail
;
8324 resultobj
= wxPyMake_wxObject(result
, 1);
8340 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8341 PyObject
*resultobj
;
8342 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8343 wxString
*arg2
= 0 ;
8344 int arg3
= (int) 0 ;
8346 bool temp2
= false ;
8347 PyObject
* obj0
= 0 ;
8348 PyObject
* obj1
= 0 ;
8349 PyObject
* obj2
= 0 ;
8351 (char *) "self",(char *) "spec",(char *) "flags", NULL
8354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8358 arg2
= wxString_in_helper(obj1
);
8359 if (arg2
== NULL
) SWIG_fail
;
8363 arg3
= (int)SWIG_As_int(obj2
);
8364 if (PyErr_Occurred()) SWIG_fail
;
8367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8368 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8370 wxPyEndAllowThreads(__tstate
);
8371 if (PyErr_Occurred()) SWIG_fail
;
8375 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8377 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8394 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8395 PyObject
*resultobj
;
8396 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8398 PyObject
* obj0
= 0 ;
8400 (char *) "self", NULL
8403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8408 result
= (arg1
)->FindNext();
8410 wxPyEndAllowThreads(__tstate
);
8411 if (PyErr_Occurred()) SWIG_fail
;
8415 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8417 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8426 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
8428 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8429 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
8431 return Py_BuildValue((char *)"");
8433 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8434 PyObject
*resultobj
;
8435 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8437 PyObject
* obj0
= 0 ;
8439 (char *) "self", NULL
8442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
8443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8447 result
= (arg1
)->GetName();
8449 wxPyEndAllowThreads(__tstate
);
8450 if (PyErr_Occurred()) SWIG_fail
;
8454 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8456 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8465 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8466 PyObject
*resultobj
;
8467 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8469 PyObject
* obj0
= 0 ;
8471 (char *) "self", NULL
8474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
8475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8479 result
= (arg1
)->GetExtension();
8481 wxPyEndAllowThreads(__tstate
);
8482 if (PyErr_Occurred()) SWIG_fail
;
8486 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8488 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8497 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8498 PyObject
*resultobj
;
8499 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8501 PyObject
* obj0
= 0 ;
8503 (char *) "self", NULL
8506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8511 result
= (long)(arg1
)->GetType();
8513 wxPyEndAllowThreads(__tstate
);
8514 if (PyErr_Occurred()) SWIG_fail
;
8516 resultobj
= SWIG_From_long((long)result
);
8523 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8524 PyObject
*resultobj
;
8525 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8527 PyObject
* obj0
= 0 ;
8529 (char *) "self", NULL
8532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8537 result
= (arg1
)->GetMimeType();
8539 wxPyEndAllowThreads(__tstate
);
8540 if (PyErr_Occurred()) SWIG_fail
;
8544 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8546 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8555 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8556 PyObject
*resultobj
;
8557 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8558 wxString
*arg2
= 0 ;
8560 bool temp2
= false ;
8561 PyObject
* obj0
= 0 ;
8562 PyObject
* obj1
= 0 ;
8564 (char *) "self",(char *) "name", NULL
8567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8571 arg2
= wxString_in_helper(obj1
);
8572 if (arg2
== NULL
) SWIG_fail
;
8576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8577 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8579 wxPyEndAllowThreads(__tstate
);
8580 if (PyErr_Occurred()) SWIG_fail
;
8583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8599 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8600 PyObject
*resultobj
;
8601 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8602 wxString
*arg2
= 0 ;
8603 bool temp2
= false ;
8604 PyObject
* obj0
= 0 ;
8605 PyObject
* obj1
= 0 ;
8607 (char *) "self",(char *) "name", NULL
8610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8614 arg2
= wxString_in_helper(obj1
);
8615 if (arg2
== NULL
) SWIG_fail
;
8619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8620 (arg1
)->SetName((wxString
const &)*arg2
);
8622 wxPyEndAllowThreads(__tstate
);
8623 if (PyErr_Occurred()) SWIG_fail
;
8625 Py_INCREF(Py_None
); resultobj
= Py_None
;
8640 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8641 PyObject
*resultobj
;
8642 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8643 wxString
*arg2
= 0 ;
8644 bool temp2
= false ;
8645 PyObject
* obj0
= 0 ;
8646 PyObject
* obj1
= 0 ;
8648 (char *) "self",(char *) "extension", NULL
8651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8655 arg2
= wxString_in_helper(obj1
);
8656 if (arg2
== NULL
) SWIG_fail
;
8660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8661 (arg1
)->SetExtension((wxString
const &)*arg2
);
8663 wxPyEndAllowThreads(__tstate
);
8664 if (PyErr_Occurred()) SWIG_fail
;
8666 Py_INCREF(Py_None
); resultobj
= Py_None
;
8681 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8682 PyObject
*resultobj
;
8683 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8685 PyObject
* obj0
= 0 ;
8686 PyObject
* obj1
= 0 ;
8688 (char *) "self",(char *) "type", NULL
8691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8694 arg2
= (long)SWIG_As_long(obj1
);
8695 if (PyErr_Occurred()) SWIG_fail
;
8697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8698 (arg1
)->SetType(arg2
);
8700 wxPyEndAllowThreads(__tstate
);
8701 if (PyErr_Occurred()) SWIG_fail
;
8703 Py_INCREF(Py_None
); resultobj
= Py_None
;
8710 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8711 PyObject
*resultobj
;
8712 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8713 wxString
*arg2
= 0 ;
8714 bool temp2
= false ;
8715 PyObject
* obj0
= 0 ;
8716 PyObject
* obj1
= 0 ;
8718 (char *) "self",(char *) "mimetype", NULL
8721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8725 arg2
= wxString_in_helper(obj1
);
8726 if (arg2
== NULL
) SWIG_fail
;
8730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8731 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8733 wxPyEndAllowThreads(__tstate
);
8734 if (PyErr_Occurred()) SWIG_fail
;
8736 Py_INCREF(Py_None
); resultobj
= Py_None
;
8751 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
8753 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8754 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8756 return Py_BuildValue((char *)"");
8758 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8759 PyObject
*resultobj
;
8760 wxImageHistogram
*result
;
8765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8768 result
= (wxImageHistogram
*)new wxImageHistogram();
8770 wxPyEndAllowThreads(__tstate
);
8771 if (PyErr_Occurred()) SWIG_fail
;
8773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8780 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8781 PyObject
*resultobj
;
8782 unsigned char arg1
;
8783 unsigned char arg2
;
8784 unsigned char arg3
;
8785 unsigned long result
;
8786 PyObject
* obj0
= 0 ;
8787 PyObject
* obj1
= 0 ;
8788 PyObject
* obj2
= 0 ;
8790 (char *) "r",(char *) "g",(char *) "b", NULL
8793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8794 arg1
= (unsigned char)SWIG_As_unsigned_SS_char(obj0
);
8795 if (PyErr_Occurred()) SWIG_fail
;
8796 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
8797 if (PyErr_Occurred()) SWIG_fail
;
8798 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
8799 if (PyErr_Occurred()) SWIG_fail
;
8801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8802 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8804 wxPyEndAllowThreads(__tstate
);
8805 if (PyErr_Occurred()) SWIG_fail
;
8807 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
8814 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8815 PyObject
*resultobj
;
8816 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8817 unsigned char *arg2
= (unsigned char *) 0 ;
8818 unsigned char *arg3
= (unsigned char *) 0 ;
8819 unsigned char *arg4
= (unsigned char *) 0 ;
8820 unsigned char arg5
= (unsigned char) 1 ;
8821 unsigned char arg6
= (unsigned char) 0 ;
8822 unsigned char arg7
= (unsigned char) 0 ;
8824 unsigned char temp2
;
8826 unsigned char temp3
;
8828 unsigned char temp4
;
8830 PyObject
* obj0
= 0 ;
8831 PyObject
* obj1
= 0 ;
8832 PyObject
* obj2
= 0 ;
8833 PyObject
* obj3
= 0 ;
8835 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8838 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
8839 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
8840 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
8841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8845 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
8846 if (PyErr_Occurred()) SWIG_fail
;
8849 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
8850 if (PyErr_Occurred()) SWIG_fail
;
8853 arg7
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
8854 if (PyErr_Occurred()) SWIG_fail
;
8857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8858 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8860 wxPyEndAllowThreads(__tstate
);
8861 if (PyErr_Occurred()) SWIG_fail
;
8864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8866 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
8867 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
8868 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
8869 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
8870 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
8871 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
8878 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
8880 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8881 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8883 return Py_BuildValue((char *)"");
8885 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8886 PyObject
*resultobj
;
8887 wxString
*arg1
= 0 ;
8888 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8889 int arg3
= (int) -1 ;
8891 bool temp1
= false ;
8892 PyObject
* obj0
= 0 ;
8893 PyObject
* obj1
= 0 ;
8894 PyObject
* obj2
= 0 ;
8896 (char *) "name",(char *) "type",(char *) "index", NULL
8899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8901 arg1
= wxString_in_helper(obj0
);
8902 if (arg1
== NULL
) SWIG_fail
;
8906 arg2
= (long)SWIG_As_long(obj1
);
8907 if (PyErr_Occurred()) SWIG_fail
;
8910 arg3
= (int)SWIG_As_int(obj2
);
8911 if (PyErr_Occurred()) SWIG_fail
;
8914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8915 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8917 wxPyEndAllowThreads(__tstate
);
8918 if (PyErr_Occurred()) SWIG_fail
;
8920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8935 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8936 PyObject
*resultobj
;
8937 wxImage
*arg1
= (wxImage
*) 0 ;
8938 PyObject
* obj0
= 0 ;
8940 (char *) "self", NULL
8943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8950 wxPyEndAllowThreads(__tstate
);
8951 if (PyErr_Occurred()) SWIG_fail
;
8953 Py_INCREF(Py_None
); resultobj
= Py_None
;
8960 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8961 PyObject
*resultobj
;
8962 wxString
*arg1
= 0 ;
8963 wxString
*arg2
= 0 ;
8964 int arg3
= (int) -1 ;
8966 bool temp1
= false ;
8967 bool temp2
= false ;
8968 PyObject
* obj0
= 0 ;
8969 PyObject
* obj1
= 0 ;
8970 PyObject
* obj2
= 0 ;
8972 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8977 arg1
= wxString_in_helper(obj0
);
8978 if (arg1
== NULL
) SWIG_fail
;
8982 arg2
= wxString_in_helper(obj1
);
8983 if (arg2
== NULL
) SWIG_fail
;
8987 arg3
= (int)SWIG_As_int(obj2
);
8988 if (PyErr_Occurred()) SWIG_fail
;
8991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8992 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8994 wxPyEndAllowThreads(__tstate
);
8995 if (PyErr_Occurred()) SWIG_fail
;
8997 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9020 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9021 PyObject
*resultobj
;
9022 wxInputStream
*arg1
= 0 ;
9023 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9024 int arg3
= (int) -1 ;
9026 wxPyInputStream
*temp1
;
9028 PyObject
* obj0
= 0 ;
9029 PyObject
* obj1
= 0 ;
9030 PyObject
* obj2
= 0 ;
9032 (char *) "stream",(char *) "type",(char *) "index", NULL
9035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9037 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9038 arg1
= temp1
->m_wxis
;
9041 PyErr_Clear(); // clear the failure of the wxPyConvert above
9042 arg1
= wxPyCBInputStream_create(obj0
, false);
9044 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9051 arg2
= (long)SWIG_As_long(obj1
);
9052 if (PyErr_Occurred()) SWIG_fail
;
9055 arg3
= (int)SWIG_As_int(obj2
);
9056 if (PyErr_Occurred()) SWIG_fail
;
9059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9060 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
9062 wxPyEndAllowThreads(__tstate
);
9063 if (PyErr_Occurred()) SWIG_fail
;
9065 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9080 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9081 PyObject
*resultobj
;
9082 wxInputStream
*arg1
= 0 ;
9083 wxString
*arg2
= 0 ;
9084 int arg3
= (int) -1 ;
9086 wxPyInputStream
*temp1
;
9088 bool temp2
= false ;
9089 PyObject
* obj0
= 0 ;
9090 PyObject
* obj1
= 0 ;
9091 PyObject
* obj2
= 0 ;
9093 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
9096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9098 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9099 arg1
= temp1
->m_wxis
;
9102 PyErr_Clear(); // clear the failure of the wxPyConvert above
9103 arg1
= wxPyCBInputStream_create(obj0
, false);
9105 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9112 arg2
= wxString_in_helper(obj1
);
9113 if (arg2
== NULL
) SWIG_fail
;
9117 arg3
= (int)SWIG_As_int(obj2
);
9118 if (PyErr_Occurred()) SWIG_fail
;
9121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9122 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
9124 wxPyEndAllowThreads(__tstate
);
9125 if (PyErr_Occurred()) SWIG_fail
;
9127 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9150 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9151 PyObject
*resultobj
;
9152 int arg1
= (int) 0 ;
9153 int arg2
= (int) 0 ;
9154 bool arg3
= (bool) true ;
9156 PyObject
* obj0
= 0 ;
9157 PyObject
* obj1
= 0 ;
9158 PyObject
* obj2
= 0 ;
9160 (char *) "width",(char *) "height",(char *) "clear", NULL
9163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9165 arg1
= (int)SWIG_As_int(obj0
);
9166 if (PyErr_Occurred()) SWIG_fail
;
9169 arg2
= (int)SWIG_As_int(obj1
);
9170 if (PyErr_Occurred()) SWIG_fail
;
9173 arg3
= (bool)SWIG_As_bool(obj2
);
9174 if (PyErr_Occurred()) SWIG_fail
;
9177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9178 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
9180 wxPyEndAllowThreads(__tstate
);
9181 if (PyErr_Occurred()) SWIG_fail
;
9183 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9190 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9191 PyObject
*resultobj
;
9192 wxBitmap
*arg1
= 0 ;
9194 PyObject
* obj0
= 0 ;
9196 (char *) "bitmap", NULL
9199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
9200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
9201 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9204 PyErr_SetString(PyExc_TypeError
,"null reference");
9208 if (!wxPyCheckForApp()) SWIG_fail
;
9209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9210 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
9212 wxPyEndAllowThreads(__tstate
);
9213 if (PyErr_Occurred()) SWIG_fail
;
9215 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9222 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9223 PyObject
*resultobj
;
9226 unsigned char *arg3
= (unsigned char *) 0 ;
9228 PyObject
* obj0
= 0 ;
9229 PyObject
* obj1
= 0 ;
9230 PyObject
* obj2
= 0 ;
9232 (char *) "width",(char *) "height",(char *) "data", NULL
9235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9236 arg1
= (int)SWIG_As_int(obj0
);
9237 if (PyErr_Occurred()) SWIG_fail
;
9238 arg2
= (int)SWIG_As_int(obj1
);
9239 if (PyErr_Occurred()) SWIG_fail
;
9240 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
9241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9244 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
9246 wxPyEndAllowThreads(__tstate
);
9247 if (PyErr_Occurred()) SWIG_fail
;
9249 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
9256 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9257 PyObject
*resultobj
;
9258 wxImage
*arg1
= (wxImage
*) 0 ;
9261 PyObject
* obj0
= 0 ;
9262 PyObject
* obj1
= 0 ;
9263 PyObject
* obj2
= 0 ;
9265 (char *) "self",(char *) "width",(char *) "height", NULL
9268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9271 arg2
= (int)SWIG_As_int(obj1
);
9272 if (PyErr_Occurred()) SWIG_fail
;
9273 arg3
= (int)SWIG_As_int(obj2
);
9274 if (PyErr_Occurred()) SWIG_fail
;
9276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9277 (arg1
)->Create(arg2
,arg3
);
9279 wxPyEndAllowThreads(__tstate
);
9280 if (PyErr_Occurred()) SWIG_fail
;
9282 Py_INCREF(Py_None
); resultobj
= Py_None
;
9289 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9290 PyObject
*resultobj
;
9291 wxImage
*arg1
= (wxImage
*) 0 ;
9292 PyObject
* obj0
= 0 ;
9294 (char *) "self", NULL
9297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
9298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9304 wxPyEndAllowThreads(__tstate
);
9305 if (PyErr_Occurred()) SWIG_fail
;
9307 Py_INCREF(Py_None
); resultobj
= Py_None
;
9314 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9315 PyObject
*resultobj
;
9316 wxImage
*arg1
= (wxImage
*) 0 ;
9319 SwigValueWrapper
< wxImage
> result
;
9320 PyObject
* obj0
= 0 ;
9321 PyObject
* obj1
= 0 ;
9322 PyObject
* obj2
= 0 ;
9324 (char *) "self",(char *) "width",(char *) "height", NULL
9327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9330 arg2
= (int)SWIG_As_int(obj1
);
9331 if (PyErr_Occurred()) SWIG_fail
;
9332 arg3
= (int)SWIG_As_int(obj2
);
9333 if (PyErr_Occurred()) SWIG_fail
;
9335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9336 result
= (arg1
)->Scale(arg2
,arg3
);
9338 wxPyEndAllowThreads(__tstate
);
9339 if (PyErr_Occurred()) SWIG_fail
;
9342 wxImage
* resultptr
;
9343 resultptr
= new wxImage((wxImage
&) result
);
9344 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9352 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9353 PyObject
*resultobj
;
9354 wxImage
*arg1
= (wxImage
*) 0 ;
9357 SwigValueWrapper
< wxImage
> result
;
9358 PyObject
* obj0
= 0 ;
9359 PyObject
* obj1
= 0 ;
9360 PyObject
* obj2
= 0 ;
9362 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9368 arg2
= (int)SWIG_As_int(obj1
);
9369 if (PyErr_Occurred()) SWIG_fail
;
9370 arg3
= (int)SWIG_As_int(obj2
);
9371 if (PyErr_Occurred()) SWIG_fail
;
9373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9374 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
9376 wxPyEndAllowThreads(__tstate
);
9377 if (PyErr_Occurred()) SWIG_fail
;
9380 wxImage
* resultptr
;
9381 resultptr
= new wxImage((wxImage
&) result
);
9382 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9390 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9391 PyObject
*resultobj
;
9392 wxImage
*arg1
= (wxImage
*) 0 ;
9396 PyObject
* obj0
= 0 ;
9397 PyObject
* obj1
= 0 ;
9398 PyObject
* obj2
= 0 ;
9400 (char *) "self",(char *) "width",(char *) "height", NULL
9403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9406 arg2
= (int)SWIG_As_int(obj1
);
9407 if (PyErr_Occurred()) SWIG_fail
;
9408 arg3
= (int)SWIG_As_int(obj2
);
9409 if (PyErr_Occurred()) SWIG_fail
;
9411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9413 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
9414 result
= (wxImage
*) &_result_ref
;
9417 wxPyEndAllowThreads(__tstate
);
9418 if (PyErr_Occurred()) SWIG_fail
;
9420 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
9427 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9428 PyObject
*resultobj
;
9429 wxImage
*arg1
= (wxImage
*) 0 ;
9432 unsigned char arg4
;
9433 unsigned char arg5
;
9434 unsigned char arg6
;
9435 PyObject
* obj0
= 0 ;
9436 PyObject
* obj1
= 0 ;
9437 PyObject
* obj2
= 0 ;
9438 PyObject
* obj3
= 0 ;
9439 PyObject
* obj4
= 0 ;
9440 PyObject
* obj5
= 0 ;
9442 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9448 arg2
= (int)SWIG_As_int(obj1
);
9449 if (PyErr_Occurred()) SWIG_fail
;
9450 arg3
= (int)SWIG_As_int(obj2
);
9451 if (PyErr_Occurred()) SWIG_fail
;
9452 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
9453 if (PyErr_Occurred()) SWIG_fail
;
9454 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj4
);
9455 if (PyErr_Occurred()) SWIG_fail
;
9456 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj5
);
9457 if (PyErr_Occurred()) SWIG_fail
;
9459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9460 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
9462 wxPyEndAllowThreads(__tstate
);
9463 if (PyErr_Occurred()) SWIG_fail
;
9465 Py_INCREF(Py_None
); resultobj
= Py_None
;
9472 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9473 PyObject
*resultobj
;
9474 wxImage
*arg1
= (wxImage
*) 0 ;
9477 unsigned char result
;
9478 PyObject
* obj0
= 0 ;
9479 PyObject
* obj1
= 0 ;
9480 PyObject
* obj2
= 0 ;
9482 (char *) "self",(char *) "x",(char *) "y", NULL
9485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9488 arg2
= (int)SWIG_As_int(obj1
);
9489 if (PyErr_Occurred()) SWIG_fail
;
9490 arg3
= (int)SWIG_As_int(obj2
);
9491 if (PyErr_Occurred()) SWIG_fail
;
9493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9494 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
9496 wxPyEndAllowThreads(__tstate
);
9497 if (PyErr_Occurred()) SWIG_fail
;
9499 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9506 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9507 PyObject
*resultobj
;
9508 wxImage
*arg1
= (wxImage
*) 0 ;
9511 unsigned char result
;
9512 PyObject
* obj0
= 0 ;
9513 PyObject
* obj1
= 0 ;
9514 PyObject
* obj2
= 0 ;
9516 (char *) "self",(char *) "x",(char *) "y", NULL
9519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9522 arg2
= (int)SWIG_As_int(obj1
);
9523 if (PyErr_Occurred()) SWIG_fail
;
9524 arg3
= (int)SWIG_As_int(obj2
);
9525 if (PyErr_Occurred()) SWIG_fail
;
9527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9528 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
9530 wxPyEndAllowThreads(__tstate
);
9531 if (PyErr_Occurred()) SWIG_fail
;
9533 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9540 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9541 PyObject
*resultobj
;
9542 wxImage
*arg1
= (wxImage
*) 0 ;
9545 unsigned char result
;
9546 PyObject
* obj0
= 0 ;
9547 PyObject
* obj1
= 0 ;
9548 PyObject
* obj2
= 0 ;
9550 (char *) "self",(char *) "x",(char *) "y", NULL
9553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9556 arg2
= (int)SWIG_As_int(obj1
);
9557 if (PyErr_Occurred()) SWIG_fail
;
9558 arg3
= (int)SWIG_As_int(obj2
);
9559 if (PyErr_Occurred()) SWIG_fail
;
9561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9562 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
9564 wxPyEndAllowThreads(__tstate
);
9565 if (PyErr_Occurred()) SWIG_fail
;
9567 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9574 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9575 PyObject
*resultobj
;
9576 wxImage
*arg1
= (wxImage
*) 0 ;
9579 unsigned char arg4
;
9580 PyObject
* obj0
= 0 ;
9581 PyObject
* obj1
= 0 ;
9582 PyObject
* obj2
= 0 ;
9583 PyObject
* obj3
= 0 ;
9585 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9591 arg2
= (int)SWIG_As_int(obj1
);
9592 if (PyErr_Occurred()) SWIG_fail
;
9593 arg3
= (int)SWIG_As_int(obj2
);
9594 if (PyErr_Occurred()) SWIG_fail
;
9595 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
9596 if (PyErr_Occurred()) SWIG_fail
;
9598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9599 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
9601 wxPyEndAllowThreads(__tstate
);
9602 if (PyErr_Occurred()) SWIG_fail
;
9604 Py_INCREF(Py_None
); resultobj
= Py_None
;
9611 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9612 PyObject
*resultobj
;
9613 wxImage
*arg1
= (wxImage
*) 0 ;
9616 unsigned char result
;
9617 PyObject
* obj0
= 0 ;
9618 PyObject
* obj1
= 0 ;
9619 PyObject
* obj2
= 0 ;
9621 (char *) "self",(char *) "x",(char *) "y", NULL
9624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9627 arg2
= (int)SWIG_As_int(obj1
);
9628 if (PyErr_Occurred()) SWIG_fail
;
9629 arg3
= (int)SWIG_As_int(obj2
);
9630 if (PyErr_Occurred()) SWIG_fail
;
9632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9633 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
9635 wxPyEndAllowThreads(__tstate
);
9636 if (PyErr_Occurred()) SWIG_fail
;
9638 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
9645 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9646 PyObject
*resultobj
;
9647 wxImage
*arg1
= (wxImage
*) 0 ;
9649 PyObject
* obj0
= 0 ;
9651 (char *) "self", NULL
9654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
9655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9659 result
= (bool)(arg1
)->HasAlpha();
9661 wxPyEndAllowThreads(__tstate
);
9662 if (PyErr_Occurred()) SWIG_fail
;
9665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9673 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9674 PyObject
*resultobj
;
9675 wxImage
*arg1
= (wxImage
*) 0 ;
9676 byte
*arg2
= (byte
*) 0 ;
9677 byte
*arg3
= (byte
*) 0 ;
9678 byte
*arg4
= (byte
*) 0 ;
9679 byte arg5
= (byte
) 0 ;
9680 byte arg6
= (byte
) 0 ;
9681 byte arg7
= (byte
) 0 ;
9689 PyObject
* obj0
= 0 ;
9690 PyObject
* obj1
= 0 ;
9691 PyObject
* obj2
= 0 ;
9692 PyObject
* obj3
= 0 ;
9694 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9697 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
9698 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9699 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
9700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9704 arg5
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
9705 if (PyErr_Occurred()) SWIG_fail
;
9708 arg6
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
9709 if (PyErr_Occurred()) SWIG_fail
;
9712 arg7
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
9713 if (PyErr_Occurred()) SWIG_fail
;
9716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9717 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9719 wxPyEndAllowThreads(__tstate
);
9720 if (PyErr_Occurred()) SWIG_fail
;
9723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9725 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
9726 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_byte
, 0)));
9727 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9728 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_byte
, 0)));
9729 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
9730 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_byte
, 0)));
9737 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9738 PyObject
*resultobj
;
9739 wxImage
*arg1
= (wxImage
*) 0 ;
9740 byte arg2
= (byte
) 128 ;
9742 PyObject
* obj0
= 0 ;
9743 PyObject
* obj1
= 0 ;
9745 (char *) "self",(char *) "threshold", NULL
9748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
9749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9752 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
9753 if (PyErr_Occurred()) SWIG_fail
;
9756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9757 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
9759 wxPyEndAllowThreads(__tstate
);
9760 if (PyErr_Occurred()) SWIG_fail
;
9763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9771 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9772 PyObject
*resultobj
;
9773 wxImage
*arg1
= (wxImage
*) 0 ;
9779 PyObject
* obj0
= 0 ;
9780 PyObject
* obj1
= 0 ;
9781 PyObject
* obj2
= 0 ;
9782 PyObject
* obj3
= 0 ;
9783 PyObject
* obj4
= 0 ;
9785 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9791 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9792 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9795 PyErr_SetString(PyExc_TypeError
,"null reference");
9798 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
9799 if (PyErr_Occurred()) SWIG_fail
;
9800 arg4
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
9801 if (PyErr_Occurred()) SWIG_fail
;
9802 arg5
= (byte
)SWIG_As_unsigned_SS_char(obj4
);
9803 if (PyErr_Occurred()) SWIG_fail
;
9805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9806 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9808 wxPyEndAllowThreads(__tstate
);
9809 if (PyErr_Occurred()) SWIG_fail
;
9812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9820 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9821 PyObject
*resultobj
;
9822 wxString
*arg1
= 0 ;
9824 bool temp1
= false ;
9825 PyObject
* obj0
= 0 ;
9827 (char *) "name", NULL
9830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9832 arg1
= wxString_in_helper(obj0
);
9833 if (arg1
== NULL
) SWIG_fail
;
9837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9838 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9840 wxPyEndAllowThreads(__tstate
);
9841 if (PyErr_Occurred()) SWIG_fail
;
9844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9860 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9861 PyObject
*resultobj
;
9862 wxString
*arg1
= 0 ;
9863 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9865 bool temp1
= false ;
9866 PyObject
* obj0
= 0 ;
9867 PyObject
* obj1
= 0 ;
9869 (char *) "name",(char *) "type", NULL
9872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9874 arg1
= wxString_in_helper(obj0
);
9875 if (arg1
== NULL
) SWIG_fail
;
9879 arg2
= (long)SWIG_As_long(obj1
);
9880 if (PyErr_Occurred()) SWIG_fail
;
9883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9884 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9886 wxPyEndAllowThreads(__tstate
);
9887 if (PyErr_Occurred()) SWIG_fail
;
9889 resultobj
= SWIG_From_int((int)result
);
9904 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9905 PyObject
*resultobj
;
9906 wxImage
*arg1
= (wxImage
*) 0 ;
9907 wxString
*arg2
= 0 ;
9908 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9909 int arg4
= (int) -1 ;
9911 bool temp2
= false ;
9912 PyObject
* obj0
= 0 ;
9913 PyObject
* obj1
= 0 ;
9914 PyObject
* obj2
= 0 ;
9915 PyObject
* obj3
= 0 ;
9917 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9924 arg2
= wxString_in_helper(obj1
);
9925 if (arg2
== NULL
) SWIG_fail
;
9929 arg3
= (long)SWIG_As_long(obj2
);
9930 if (PyErr_Occurred()) SWIG_fail
;
9933 arg4
= (int)SWIG_As_int(obj3
);
9934 if (PyErr_Occurred()) SWIG_fail
;
9937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9938 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
9940 wxPyEndAllowThreads(__tstate
);
9941 if (PyErr_Occurred()) SWIG_fail
;
9944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9960 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9961 PyObject
*resultobj
;
9962 wxImage
*arg1
= (wxImage
*) 0 ;
9963 wxString
*arg2
= 0 ;
9964 wxString
*arg3
= 0 ;
9965 int arg4
= (int) -1 ;
9967 bool temp2
= false ;
9968 bool temp3
= false ;
9969 PyObject
* obj0
= 0 ;
9970 PyObject
* obj1
= 0 ;
9971 PyObject
* obj2
= 0 ;
9972 PyObject
* obj3
= 0 ;
9974 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9981 arg2
= wxString_in_helper(obj1
);
9982 if (arg2
== NULL
) SWIG_fail
;
9986 arg3
= wxString_in_helper(obj2
);
9987 if (arg3
== NULL
) SWIG_fail
;
9991 arg4
= (int)SWIG_As_int(obj3
);
9992 if (PyErr_Occurred()) SWIG_fail
;
9995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9996 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9998 wxPyEndAllowThreads(__tstate
);
9999 if (PyErr_Occurred()) SWIG_fail
;
10002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10026 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10027 PyObject
*resultobj
;
10028 wxImage
*arg1
= (wxImage
*) 0 ;
10029 wxString
*arg2
= 0 ;
10032 bool temp2
= false ;
10033 PyObject
* obj0
= 0 ;
10034 PyObject
* obj1
= 0 ;
10035 PyObject
* obj2
= 0 ;
10036 char *kwnames
[] = {
10037 (char *) "self",(char *) "name",(char *) "type", NULL
10040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10044 arg2
= wxString_in_helper(obj1
);
10045 if (arg2
== NULL
) SWIG_fail
;
10048 arg3
= (int)SWIG_As_int(obj2
);
10049 if (PyErr_Occurred()) SWIG_fail
;
10051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10052 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
10054 wxPyEndAllowThreads(__tstate
);
10055 if (PyErr_Occurred()) SWIG_fail
;
10058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10074 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10075 PyObject
*resultobj
;
10076 wxImage
*arg1
= (wxImage
*) 0 ;
10077 wxString
*arg2
= 0 ;
10078 wxString
*arg3
= 0 ;
10080 bool temp2
= false ;
10081 bool temp3
= false ;
10082 PyObject
* obj0
= 0 ;
10083 PyObject
* obj1
= 0 ;
10084 PyObject
* obj2
= 0 ;
10085 char *kwnames
[] = {
10086 (char *) "self",(char *) "name",(char *) "mimetype", NULL
10089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10093 arg2
= wxString_in_helper(obj1
);
10094 if (arg2
== NULL
) SWIG_fail
;
10098 arg3
= wxString_in_helper(obj2
);
10099 if (arg3
== NULL
) SWIG_fail
;
10103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10104 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10106 wxPyEndAllowThreads(__tstate
);
10107 if (PyErr_Occurred()) SWIG_fail
;
10110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10134 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10135 PyObject
*resultobj
;
10136 wxInputStream
*arg1
= 0 ;
10138 wxPyInputStream
*temp1
;
10140 PyObject
* obj0
= 0 ;
10141 char *kwnames
[] = {
10142 (char *) "stream", NULL
10145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
10147 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10148 arg1
= temp1
->m_wxis
;
10151 PyErr_Clear(); // clear the failure of the wxPyConvert above
10152 arg1
= wxPyCBInputStream_create(obj0
, false);
10153 if (arg1
== NULL
) {
10154 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10162 result
= (bool)wxImage::CanRead(*arg1
);
10164 wxPyEndAllowThreads(__tstate
);
10165 if (PyErr_Occurred()) SWIG_fail
;
10168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10184 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10185 PyObject
*resultobj
;
10186 wxImage
*arg1
= (wxImage
*) 0 ;
10187 wxInputStream
*arg2
= 0 ;
10188 long arg3
= (long) wxBITMAP_TYPE_ANY
;
10189 int arg4
= (int) -1 ;
10191 wxPyInputStream
*temp2
;
10193 PyObject
* obj0
= 0 ;
10194 PyObject
* obj1
= 0 ;
10195 PyObject
* obj2
= 0 ;
10196 PyObject
* obj3
= 0 ;
10197 char *kwnames
[] = {
10198 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
10201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10205 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
10206 arg2
= temp2
->m_wxis
;
10209 PyErr_Clear(); // clear the failure of the wxPyConvert above
10210 arg2
= wxPyCBInputStream_create(obj1
, false);
10211 if (arg2
== NULL
) {
10212 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10219 arg3
= (long)SWIG_As_long(obj2
);
10220 if (PyErr_Occurred()) SWIG_fail
;
10223 arg4
= (int)SWIG_As_int(obj3
);
10224 if (PyErr_Occurred()) SWIG_fail
;
10227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10228 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
10230 wxPyEndAllowThreads(__tstate
);
10231 if (PyErr_Occurred()) SWIG_fail
;
10234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10250 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10251 PyObject
*resultobj
;
10252 wxImage
*arg1
= (wxImage
*) 0 ;
10253 wxInputStream
*arg2
= 0 ;
10254 wxString
*arg3
= 0 ;
10255 int arg4
= (int) -1 ;
10257 wxPyInputStream
*temp2
;
10259 bool temp3
= false ;
10260 PyObject
* obj0
= 0 ;
10261 PyObject
* obj1
= 0 ;
10262 PyObject
* obj2
= 0 ;
10263 PyObject
* obj3
= 0 ;
10264 char *kwnames
[] = {
10265 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
10268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10272 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
10273 arg2
= temp2
->m_wxis
;
10276 PyErr_Clear(); // clear the failure of the wxPyConvert above
10277 arg2
= wxPyCBInputStream_create(obj1
, false);
10278 if (arg2
== NULL
) {
10279 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10286 arg3
= wxString_in_helper(obj2
);
10287 if (arg3
== NULL
) SWIG_fail
;
10291 arg4
= (int)SWIG_As_int(obj3
);
10292 if (PyErr_Occurred()) SWIG_fail
;
10295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10296 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
10298 wxPyEndAllowThreads(__tstate
);
10299 if (PyErr_Occurred()) SWIG_fail
;
10302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10326 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10327 PyObject
*resultobj
;
10328 wxImage
*arg1
= (wxImage
*) 0 ;
10330 PyObject
* obj0
= 0 ;
10331 char *kwnames
[] = {
10332 (char *) "self", NULL
10335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
10336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10340 result
= (bool)(arg1
)->Ok();
10342 wxPyEndAllowThreads(__tstate
);
10343 if (PyErr_Occurred()) SWIG_fail
;
10346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10354 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10355 PyObject
*resultobj
;
10356 wxImage
*arg1
= (wxImage
*) 0 ;
10358 PyObject
* obj0
= 0 ;
10359 char *kwnames
[] = {
10360 (char *) "self", NULL
10363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
10364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10368 result
= (int)(arg1
)->GetWidth();
10370 wxPyEndAllowThreads(__tstate
);
10371 if (PyErr_Occurred()) SWIG_fail
;
10373 resultobj
= SWIG_From_int((int)result
);
10380 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10381 PyObject
*resultobj
;
10382 wxImage
*arg1
= (wxImage
*) 0 ;
10384 PyObject
* obj0
= 0 ;
10385 char *kwnames
[] = {
10386 (char *) "self", NULL
10389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
10390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10394 result
= (int)(arg1
)->GetHeight();
10396 wxPyEndAllowThreads(__tstate
);
10397 if (PyErr_Occurred()) SWIG_fail
;
10399 resultobj
= SWIG_From_int((int)result
);
10406 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10407 PyObject
*resultobj
;
10408 wxImage
*arg1
= (wxImage
*) 0 ;
10410 PyObject
* obj0
= 0 ;
10411 char *kwnames
[] = {
10412 (char *) "self", NULL
10415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
10416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10420 result
= wxImage_GetSize(arg1
);
10422 wxPyEndAllowThreads(__tstate
);
10423 if (PyErr_Occurred()) SWIG_fail
;
10426 wxSize
* resultptr
;
10427 resultptr
= new wxSize((wxSize
&) result
);
10428 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10436 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10437 PyObject
*resultobj
;
10438 wxImage
*arg1
= (wxImage
*) 0 ;
10440 SwigValueWrapper
< wxImage
> result
;
10442 PyObject
* obj0
= 0 ;
10443 PyObject
* obj1
= 0 ;
10444 char *kwnames
[] = {
10445 (char *) "self",(char *) "rect", NULL
10448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
10449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10453 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10457 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
10459 wxPyEndAllowThreads(__tstate
);
10460 if (PyErr_Occurred()) SWIG_fail
;
10463 wxImage
* resultptr
;
10464 resultptr
= new wxImage((wxImage
&) result
);
10465 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10473 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10474 PyObject
*resultobj
;
10475 wxImage
*arg1
= (wxImage
*) 0 ;
10476 SwigValueWrapper
< wxImage
> result
;
10477 PyObject
* obj0
= 0 ;
10478 char *kwnames
[] = {
10479 (char *) "self", NULL
10482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
10483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10487 result
= (arg1
)->Copy();
10489 wxPyEndAllowThreads(__tstate
);
10490 if (PyErr_Occurred()) SWIG_fail
;
10493 wxImage
* resultptr
;
10494 resultptr
= new wxImage((wxImage
&) result
);
10495 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10503 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10504 PyObject
*resultobj
;
10505 wxImage
*arg1
= (wxImage
*) 0 ;
10506 wxImage
*arg2
= 0 ;
10509 PyObject
* obj0
= 0 ;
10510 PyObject
* obj1
= 0 ;
10511 PyObject
* obj2
= 0 ;
10512 PyObject
* obj3
= 0 ;
10513 char *kwnames
[] = {
10514 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10520 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
10521 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10523 if (arg2
== NULL
) {
10524 PyErr_SetString(PyExc_TypeError
,"null reference");
10527 arg3
= (int)SWIG_As_int(obj2
);
10528 if (PyErr_Occurred()) SWIG_fail
;
10529 arg4
= (int)SWIG_As_int(obj3
);
10530 if (PyErr_Occurred()) SWIG_fail
;
10532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10533 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
10535 wxPyEndAllowThreads(__tstate
);
10536 if (PyErr_Occurred()) SWIG_fail
;
10538 Py_INCREF(Py_None
); resultobj
= Py_None
;
10545 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10546 PyObject
*resultobj
;
10547 wxImage
*arg1
= (wxImage
*) 0 ;
10549 PyObject
* obj0
= 0 ;
10550 char *kwnames
[] = {
10551 (char *) "self", NULL
10554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
10555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10559 result
= (PyObject
*)wxImage_GetData(arg1
);
10561 wxPyEndAllowThreads(__tstate
);
10562 if (PyErr_Occurred()) SWIG_fail
;
10564 resultobj
= result
;
10571 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10572 PyObject
*resultobj
;
10573 wxImage
*arg1
= (wxImage
*) 0 ;
10574 PyObject
*arg2
= (PyObject
*) 0 ;
10575 PyObject
* obj0
= 0 ;
10576 PyObject
* obj1
= 0 ;
10577 char *kwnames
[] = {
10578 (char *) "self",(char *) "data", NULL
10581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10587 wxImage_SetData(arg1
,arg2
);
10589 wxPyEndAllowThreads(__tstate
);
10590 if (PyErr_Occurred()) SWIG_fail
;
10592 Py_INCREF(Py_None
); resultobj
= Py_None
;
10599 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10600 PyObject
*resultobj
;
10601 wxImage
*arg1
= (wxImage
*) 0 ;
10603 PyObject
* obj0
= 0 ;
10604 char *kwnames
[] = {
10605 (char *) "self", NULL
10608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10613 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10615 wxPyEndAllowThreads(__tstate
);
10616 if (PyErr_Occurred()) SWIG_fail
;
10618 resultobj
= result
;
10625 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10626 PyObject
*resultobj
;
10627 wxImage
*arg1
= (wxImage
*) 0 ;
10628 PyObject
*arg2
= (PyObject
*) 0 ;
10629 PyObject
* obj0
= 0 ;
10630 PyObject
* obj1
= 0 ;
10631 char *kwnames
[] = {
10632 (char *) "self",(char *) "data", NULL
10635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10641 wxImage_SetDataBuffer(arg1
,arg2
);
10643 wxPyEndAllowThreads(__tstate
);
10644 if (PyErr_Occurred()) SWIG_fail
;
10646 Py_INCREF(Py_None
); resultobj
= Py_None
;
10653 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10654 PyObject
*resultobj
;
10655 wxImage
*arg1
= (wxImage
*) 0 ;
10657 PyObject
* obj0
= 0 ;
10658 char *kwnames
[] = {
10659 (char *) "self", NULL
10662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10667 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10669 wxPyEndAllowThreads(__tstate
);
10670 if (PyErr_Occurred()) SWIG_fail
;
10672 resultobj
= result
;
10679 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10680 PyObject
*resultobj
;
10681 wxImage
*arg1
= (wxImage
*) 0 ;
10682 PyObject
*arg2
= (PyObject
*) 0 ;
10683 PyObject
* obj0
= 0 ;
10684 PyObject
* obj1
= 0 ;
10685 char *kwnames
[] = {
10686 (char *) "self",(char *) "data", NULL
10689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10695 wxImage_SetAlphaData(arg1
,arg2
);
10697 wxPyEndAllowThreads(__tstate
);
10698 if (PyErr_Occurred()) SWIG_fail
;
10700 Py_INCREF(Py_None
); resultobj
= Py_None
;
10707 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10708 PyObject
*resultobj
;
10709 wxImage
*arg1
= (wxImage
*) 0 ;
10711 PyObject
* obj0
= 0 ;
10712 char *kwnames
[] = {
10713 (char *) "self", NULL
10716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
10717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10721 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10723 wxPyEndAllowThreads(__tstate
);
10724 if (PyErr_Occurred()) SWIG_fail
;
10726 resultobj
= result
;
10733 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10734 PyObject
*resultobj
;
10735 wxImage
*arg1
= (wxImage
*) 0 ;
10736 PyObject
*arg2
= (PyObject
*) 0 ;
10737 PyObject
* obj0
= 0 ;
10738 PyObject
* obj1
= 0 ;
10739 char *kwnames
[] = {
10740 (char *) "self",(char *) "data", NULL
10743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10749 wxImage_SetAlphaBuffer(arg1
,arg2
);
10751 wxPyEndAllowThreads(__tstate
);
10752 if (PyErr_Occurred()) SWIG_fail
;
10754 Py_INCREF(Py_None
); resultobj
= Py_None
;
10761 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10762 PyObject
*resultobj
;
10763 wxImage
*arg1
= (wxImage
*) 0 ;
10764 unsigned char arg2
;
10765 unsigned char arg3
;
10766 unsigned char arg4
;
10767 PyObject
* obj0
= 0 ;
10768 PyObject
* obj1
= 0 ;
10769 PyObject
* obj2
= 0 ;
10770 PyObject
* obj3
= 0 ;
10771 char *kwnames
[] = {
10772 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10778 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
10779 if (PyErr_Occurred()) SWIG_fail
;
10780 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
10781 if (PyErr_Occurred()) SWIG_fail
;
10782 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
10783 if (PyErr_Occurred()) SWIG_fail
;
10785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10786 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10788 wxPyEndAllowThreads(__tstate
);
10789 if (PyErr_Occurred()) SWIG_fail
;
10791 Py_INCREF(Py_None
); resultobj
= Py_None
;
10798 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10799 PyObject
*resultobj
;
10800 wxImage
*arg1
= (wxImage
*) 0 ;
10801 unsigned char result
;
10802 PyObject
* obj0
= 0 ;
10803 char *kwnames
[] = {
10804 (char *) "self", NULL
10807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10812 result
= (unsigned char)(arg1
)->GetMaskRed();
10814 wxPyEndAllowThreads(__tstate
);
10815 if (PyErr_Occurred()) SWIG_fail
;
10817 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
10824 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10825 PyObject
*resultobj
;
10826 wxImage
*arg1
= (wxImage
*) 0 ;
10827 unsigned char result
;
10828 PyObject
* obj0
= 0 ;
10829 char *kwnames
[] = {
10830 (char *) "self", NULL
10833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10838 result
= (unsigned char)(arg1
)->GetMaskGreen();
10840 wxPyEndAllowThreads(__tstate
);
10841 if (PyErr_Occurred()) SWIG_fail
;
10843 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
10850 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10851 PyObject
*resultobj
;
10852 wxImage
*arg1
= (wxImage
*) 0 ;
10853 unsigned char result
;
10854 PyObject
* obj0
= 0 ;
10855 char *kwnames
[] = {
10856 (char *) "self", NULL
10859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10864 result
= (unsigned char)(arg1
)->GetMaskBlue();
10866 wxPyEndAllowThreads(__tstate
);
10867 if (PyErr_Occurred()) SWIG_fail
;
10869 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
10876 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10877 PyObject
*resultobj
;
10878 wxImage
*arg1
= (wxImage
*) 0 ;
10879 bool arg2
= (bool) true ;
10880 PyObject
* obj0
= 0 ;
10881 PyObject
* obj1
= 0 ;
10882 char *kwnames
[] = {
10883 (char *) "self",(char *) "mask", NULL
10886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10890 arg2
= (bool)SWIG_As_bool(obj1
);
10891 if (PyErr_Occurred()) SWIG_fail
;
10894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10895 (arg1
)->SetMask(arg2
);
10897 wxPyEndAllowThreads(__tstate
);
10898 if (PyErr_Occurred()) SWIG_fail
;
10900 Py_INCREF(Py_None
); resultobj
= Py_None
;
10907 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10908 PyObject
*resultobj
;
10909 wxImage
*arg1
= (wxImage
*) 0 ;
10911 PyObject
* obj0
= 0 ;
10912 char *kwnames
[] = {
10913 (char *) "self", NULL
10916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10921 result
= (bool)(arg1
)->HasMask();
10923 wxPyEndAllowThreads(__tstate
);
10924 if (PyErr_Occurred()) SWIG_fail
;
10927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10935 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10936 PyObject
*resultobj
;
10937 wxImage
*arg1
= (wxImage
*) 0 ;
10939 wxPoint
*arg3
= 0 ;
10940 bool arg4
= (bool) true ;
10941 wxPoint
*arg5
= (wxPoint
*) NULL
;
10942 SwigValueWrapper
< wxImage
> result
;
10944 PyObject
* obj0
= 0 ;
10945 PyObject
* obj1
= 0 ;
10946 PyObject
* obj2
= 0 ;
10947 PyObject
* obj3
= 0 ;
10948 PyObject
* obj4
= 0 ;
10949 char *kwnames
[] = {
10950 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10956 arg2
= (double)SWIG_As_double(obj1
);
10957 if (PyErr_Occurred()) SWIG_fail
;
10960 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10963 arg4
= (bool)SWIG_As_bool(obj3
);
10964 if (PyErr_Occurred()) SWIG_fail
;
10967 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
10968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10972 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
10974 wxPyEndAllowThreads(__tstate
);
10975 if (PyErr_Occurred()) SWIG_fail
;
10978 wxImage
* resultptr
;
10979 resultptr
= new wxImage((wxImage
&) result
);
10980 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10988 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10989 PyObject
*resultobj
;
10990 wxImage
*arg1
= (wxImage
*) 0 ;
10991 bool arg2
= (bool) true ;
10992 SwigValueWrapper
< wxImage
> result
;
10993 PyObject
* obj0
= 0 ;
10994 PyObject
* obj1
= 0 ;
10995 char *kwnames
[] = {
10996 (char *) "self",(char *) "clockwise", NULL
10999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
11000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11003 arg2
= (bool)SWIG_As_bool(obj1
);
11004 if (PyErr_Occurred()) SWIG_fail
;
11007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11008 result
= (arg1
)->Rotate90(arg2
);
11010 wxPyEndAllowThreads(__tstate
);
11011 if (PyErr_Occurred()) SWIG_fail
;
11014 wxImage
* resultptr
;
11015 resultptr
= new wxImage((wxImage
&) result
);
11016 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11024 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11025 PyObject
*resultobj
;
11026 wxImage
*arg1
= (wxImage
*) 0 ;
11027 bool arg2
= (bool) true ;
11028 SwigValueWrapper
< wxImage
> result
;
11029 PyObject
* obj0
= 0 ;
11030 PyObject
* obj1
= 0 ;
11031 char *kwnames
[] = {
11032 (char *) "self",(char *) "horizontally", NULL
11035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
11036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11039 arg2
= (bool)SWIG_As_bool(obj1
);
11040 if (PyErr_Occurred()) SWIG_fail
;
11043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11044 result
= (arg1
)->Mirror(arg2
);
11046 wxPyEndAllowThreads(__tstate
);
11047 if (PyErr_Occurred()) SWIG_fail
;
11050 wxImage
* resultptr
;
11051 resultptr
= new wxImage((wxImage
&) result
);
11052 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11060 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11061 PyObject
*resultobj
;
11062 wxImage
*arg1
= (wxImage
*) 0 ;
11063 unsigned char arg2
;
11064 unsigned char arg3
;
11065 unsigned char arg4
;
11066 unsigned char arg5
;
11067 unsigned char arg6
;
11068 unsigned char arg7
;
11069 PyObject
* obj0
= 0 ;
11070 PyObject
* obj1
= 0 ;
11071 PyObject
* obj2
= 0 ;
11072 PyObject
* obj3
= 0 ;
11073 PyObject
* obj4
= 0 ;
11074 PyObject
* obj5
= 0 ;
11075 PyObject
* obj6
= 0 ;
11076 char *kwnames
[] = {
11077 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
11080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11083 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11084 if (PyErr_Occurred()) SWIG_fail
;
11085 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11086 if (PyErr_Occurred()) SWIG_fail
;
11087 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11088 if (PyErr_Occurred()) SWIG_fail
;
11089 arg5
= (unsigned char)SWIG_As_unsigned_SS_char(obj4
);
11090 if (PyErr_Occurred()) SWIG_fail
;
11091 arg6
= (unsigned char)SWIG_As_unsigned_SS_char(obj5
);
11092 if (PyErr_Occurred()) SWIG_fail
;
11093 arg7
= (unsigned char)SWIG_As_unsigned_SS_char(obj6
);
11094 if (PyErr_Occurred()) SWIG_fail
;
11096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11097 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11099 wxPyEndAllowThreads(__tstate
);
11100 if (PyErr_Occurred()) SWIG_fail
;
11102 Py_INCREF(Py_None
); resultobj
= Py_None
;
11109 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11110 PyObject
*resultobj
;
11111 wxImage
*arg1
= (wxImage
*) 0 ;
11112 unsigned char arg2
;
11113 unsigned char arg3
;
11114 unsigned char arg4
;
11115 SwigValueWrapper
< wxImage
> result
;
11116 PyObject
* obj0
= 0 ;
11117 PyObject
* obj1
= 0 ;
11118 PyObject
* obj2
= 0 ;
11119 PyObject
* obj3
= 0 ;
11120 char *kwnames
[] = {
11121 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11127 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11128 if (PyErr_Occurred()) SWIG_fail
;
11129 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11130 if (PyErr_Occurred()) SWIG_fail
;
11131 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11132 if (PyErr_Occurred()) SWIG_fail
;
11134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11135 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
11137 wxPyEndAllowThreads(__tstate
);
11138 if (PyErr_Occurred()) SWIG_fail
;
11141 wxImage
* resultptr
;
11142 resultptr
= new wxImage((wxImage
&) result
);
11143 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11151 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11152 PyObject
*resultobj
;
11153 wxImage
*arg1
= (wxImage
*) 0 ;
11154 wxString
*arg2
= 0 ;
11155 wxString
*arg3
= 0 ;
11156 bool temp2
= false ;
11157 bool temp3
= false ;
11158 PyObject
* obj0
= 0 ;
11159 PyObject
* obj1
= 0 ;
11160 PyObject
* obj2
= 0 ;
11161 char *kwnames
[] = {
11162 (char *) "self",(char *) "name",(char *) "value", NULL
11165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11169 arg2
= wxString_in_helper(obj1
);
11170 if (arg2
== NULL
) SWIG_fail
;
11174 arg3
= wxString_in_helper(obj2
);
11175 if (arg3
== NULL
) SWIG_fail
;
11179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11180 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
11182 wxPyEndAllowThreads(__tstate
);
11183 if (PyErr_Occurred()) SWIG_fail
;
11185 Py_INCREF(Py_None
); resultobj
= Py_None
;
11208 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11209 PyObject
*resultobj
;
11210 wxImage
*arg1
= (wxImage
*) 0 ;
11211 wxString
*arg2
= 0 ;
11213 bool temp2
= false ;
11214 PyObject
* obj0
= 0 ;
11215 PyObject
* obj1
= 0 ;
11216 PyObject
* obj2
= 0 ;
11217 char *kwnames
[] = {
11218 (char *) "self",(char *) "name",(char *) "value", NULL
11221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11225 arg2
= wxString_in_helper(obj1
);
11226 if (arg2
== NULL
) SWIG_fail
;
11229 arg3
= (int)SWIG_As_int(obj2
);
11230 if (PyErr_Occurred()) SWIG_fail
;
11232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11233 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
11235 wxPyEndAllowThreads(__tstate
);
11236 if (PyErr_Occurred()) SWIG_fail
;
11238 Py_INCREF(Py_None
); resultobj
= Py_None
;
11253 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11254 PyObject
*resultobj
;
11255 wxImage
*arg1
= (wxImage
*) 0 ;
11256 wxString
*arg2
= 0 ;
11258 bool temp2
= false ;
11259 PyObject
* obj0
= 0 ;
11260 PyObject
* obj1
= 0 ;
11261 char *kwnames
[] = {
11262 (char *) "self",(char *) "name", NULL
11265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
11266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11269 arg2
= wxString_in_helper(obj1
);
11270 if (arg2
== NULL
) SWIG_fail
;
11274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11275 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
11277 wxPyEndAllowThreads(__tstate
);
11278 if (PyErr_Occurred()) SWIG_fail
;
11282 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11284 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11301 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11302 PyObject
*resultobj
;
11303 wxImage
*arg1
= (wxImage
*) 0 ;
11304 wxString
*arg2
= 0 ;
11306 bool temp2
= false ;
11307 PyObject
* obj0
= 0 ;
11308 PyObject
* obj1
= 0 ;
11309 char *kwnames
[] = {
11310 (char *) "self",(char *) "name", NULL
11313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
11314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11317 arg2
= wxString_in_helper(obj1
);
11318 if (arg2
== NULL
) SWIG_fail
;
11322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11323 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
11325 wxPyEndAllowThreads(__tstate
);
11326 if (PyErr_Occurred()) SWIG_fail
;
11328 resultobj
= SWIG_From_int((int)result
);
11343 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11344 PyObject
*resultobj
;
11345 wxImage
*arg1
= (wxImage
*) 0 ;
11346 wxString
*arg2
= 0 ;
11348 bool temp2
= false ;
11349 PyObject
* obj0
= 0 ;
11350 PyObject
* obj1
= 0 ;
11351 char *kwnames
[] = {
11352 (char *) "self",(char *) "name", NULL
11355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
11356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11359 arg2
= wxString_in_helper(obj1
);
11360 if (arg2
== NULL
) SWIG_fail
;
11364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11365 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
11367 wxPyEndAllowThreads(__tstate
);
11368 if (PyErr_Occurred()) SWIG_fail
;
11371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11387 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11388 PyObject
*resultobj
;
11389 wxImage
*arg1
= (wxImage
*) 0 ;
11390 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
11391 unsigned long result
;
11392 PyObject
* obj0
= 0 ;
11393 PyObject
* obj1
= 0 ;
11394 char *kwnames
[] = {
11395 (char *) "self",(char *) "stopafter", NULL
11398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
11399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11402 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
11403 if (PyErr_Occurred()) SWIG_fail
;
11406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11407 result
= (unsigned long)(arg1
)->CountColours(arg2
);
11409 wxPyEndAllowThreads(__tstate
);
11410 if (PyErr_Occurred()) SWIG_fail
;
11412 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
11419 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11420 PyObject
*resultobj
;
11421 wxImage
*arg1
= (wxImage
*) 0 ;
11422 wxImageHistogram
*arg2
= 0 ;
11423 unsigned long result
;
11424 PyObject
* obj0
= 0 ;
11425 PyObject
* obj1
= 0 ;
11426 char *kwnames
[] = {
11427 (char *) "self",(char *) "h", NULL
11430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
11431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11433 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
11434 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11436 if (arg2
== NULL
) {
11437 PyErr_SetString(PyExc_TypeError
,"null reference");
11441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11442 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
11444 wxPyEndAllowThreads(__tstate
);
11445 if (PyErr_Occurred()) SWIG_fail
;
11447 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
11454 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11455 PyObject
*resultobj
;
11456 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11457 PyObject
* obj0
= 0 ;
11458 char *kwnames
[] = {
11459 (char *) "handler", NULL
11462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
11463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11467 wxImage::AddHandler(arg1
);
11469 wxPyEndAllowThreads(__tstate
);
11470 if (PyErr_Occurred()) SWIG_fail
;
11472 Py_INCREF(Py_None
); resultobj
= Py_None
;
11479 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11480 PyObject
*resultobj
;
11481 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11482 PyObject
* obj0
= 0 ;
11483 char *kwnames
[] = {
11484 (char *) "handler", NULL
11487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
11488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11492 wxImage::InsertHandler(arg1
);
11494 wxPyEndAllowThreads(__tstate
);
11495 if (PyErr_Occurred()) SWIG_fail
;
11497 Py_INCREF(Py_None
); resultobj
= Py_None
;
11504 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11505 PyObject
*resultobj
;
11506 wxString
*arg1
= 0 ;
11508 bool temp1
= false ;
11509 PyObject
* obj0
= 0 ;
11510 char *kwnames
[] = {
11511 (char *) "name", NULL
11514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
11516 arg1
= wxString_in_helper(obj0
);
11517 if (arg1
== NULL
) SWIG_fail
;
11521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11522 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
11524 wxPyEndAllowThreads(__tstate
);
11525 if (PyErr_Occurred()) SWIG_fail
;
11528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11544 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11545 PyObject
*resultobj
;
11547 char *kwnames
[] = {
11551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
11553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11554 result
= wxImage::GetImageExtWildcard();
11556 wxPyEndAllowThreads(__tstate
);
11557 if (PyErr_Occurred()) SWIG_fail
;
11561 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11563 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11572 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11573 PyObject
*resultobj
;
11574 wxImage
*arg1
= (wxImage
*) 0 ;
11575 int arg2
= (int) -1 ;
11577 PyObject
* obj0
= 0 ;
11578 PyObject
* obj1
= 0 ;
11579 char *kwnames
[] = {
11580 (char *) "self",(char *) "depth", NULL
11583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
11584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11587 arg2
= (int)SWIG_As_int(obj1
);
11588 if (PyErr_Occurred()) SWIG_fail
;
11591 if (!wxPyCheckForApp()) SWIG_fail
;
11592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11593 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
11595 wxPyEndAllowThreads(__tstate
);
11596 if (PyErr_Occurred()) SWIG_fail
;
11599 wxBitmap
* resultptr
;
11600 resultptr
= new wxBitmap((wxBitmap
&) result
);
11601 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11609 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11610 PyObject
*resultobj
;
11611 wxImage
*arg1
= (wxImage
*) 0 ;
11612 unsigned char arg2
;
11613 unsigned char arg3
;
11614 unsigned char arg4
;
11616 PyObject
* obj0
= 0 ;
11617 PyObject
* obj1
= 0 ;
11618 PyObject
* obj2
= 0 ;
11619 PyObject
* obj3
= 0 ;
11620 char *kwnames
[] = {
11621 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11627 arg2
= (unsigned char)SWIG_As_unsigned_SS_char(obj1
);
11628 if (PyErr_Occurred()) SWIG_fail
;
11629 arg3
= (unsigned char)SWIG_As_unsigned_SS_char(obj2
);
11630 if (PyErr_Occurred()) SWIG_fail
;
11631 arg4
= (unsigned char)SWIG_As_unsigned_SS_char(obj3
);
11632 if (PyErr_Occurred()) SWIG_fail
;
11634 if (!wxPyCheckForApp()) SWIG_fail
;
11635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11636 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11638 wxPyEndAllowThreads(__tstate
);
11639 if (PyErr_Occurred()) SWIG_fail
;
11642 wxBitmap
* resultptr
;
11643 resultptr
= new wxBitmap((wxBitmap
&) result
);
11644 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11652 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
11654 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11655 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11657 return Py_BuildValue((char *)"");
11659 static int _wrap_NullImage_set(PyObject
*) {
11660 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11665 static PyObject
*_wrap_NullImage_get() {
11668 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11673 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
11674 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11679 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11684 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11686 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11693 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
11694 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11699 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11704 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11706 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11713 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
11714 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11719 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11724 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11726 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11733 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
11734 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11739 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11744 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11746 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11753 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
11754 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11759 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11764 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11766 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11773 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11774 PyObject
*resultobj
;
11775 wxBMPHandler
*result
;
11776 char *kwnames
[] = {
11780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11783 result
= (wxBMPHandler
*)new wxBMPHandler();
11785 wxPyEndAllowThreads(__tstate
);
11786 if (PyErr_Occurred()) SWIG_fail
;
11788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11795 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
11797 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11798 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11800 return Py_BuildValue((char *)"");
11802 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11803 PyObject
*resultobj
;
11804 wxICOHandler
*result
;
11805 char *kwnames
[] = {
11809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11812 result
= (wxICOHandler
*)new wxICOHandler();
11814 wxPyEndAllowThreads(__tstate
);
11815 if (PyErr_Occurred()) SWIG_fail
;
11817 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11824 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
11826 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11827 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11829 return Py_BuildValue((char *)"");
11831 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11832 PyObject
*resultobj
;
11833 wxCURHandler
*result
;
11834 char *kwnames
[] = {
11838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11841 result
= (wxCURHandler
*)new wxCURHandler();
11843 wxPyEndAllowThreads(__tstate
);
11844 if (PyErr_Occurred()) SWIG_fail
;
11846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11853 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
11855 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11856 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11858 return Py_BuildValue((char *)"");
11860 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11861 PyObject
*resultobj
;
11862 wxANIHandler
*result
;
11863 char *kwnames
[] = {
11867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11870 result
= (wxANIHandler
*)new wxANIHandler();
11872 wxPyEndAllowThreads(__tstate
);
11873 if (PyErr_Occurred()) SWIG_fail
;
11875 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
11882 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
11884 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11885 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11887 return Py_BuildValue((char *)"");
11889 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11890 PyObject
*resultobj
;
11891 wxPNGHandler
*result
;
11892 char *kwnames
[] = {
11896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11899 result
= (wxPNGHandler
*)new wxPNGHandler();
11901 wxPyEndAllowThreads(__tstate
);
11902 if (PyErr_Occurred()) SWIG_fail
;
11904 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
11911 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
11913 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11914 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11916 return Py_BuildValue((char *)"");
11918 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11919 PyObject
*resultobj
;
11920 wxGIFHandler
*result
;
11921 char *kwnames
[] = {
11925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11928 result
= (wxGIFHandler
*)new wxGIFHandler();
11930 wxPyEndAllowThreads(__tstate
);
11931 if (PyErr_Occurred()) SWIG_fail
;
11933 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
11940 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
11942 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11943 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11945 return Py_BuildValue((char *)"");
11947 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11948 PyObject
*resultobj
;
11949 wxPCXHandler
*result
;
11950 char *kwnames
[] = {
11954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11957 result
= (wxPCXHandler
*)new wxPCXHandler();
11959 wxPyEndAllowThreads(__tstate
);
11960 if (PyErr_Occurred()) SWIG_fail
;
11962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
11969 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
11971 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11972 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11974 return Py_BuildValue((char *)"");
11976 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11977 PyObject
*resultobj
;
11978 wxJPEGHandler
*result
;
11979 char *kwnames
[] = {
11983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11986 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11988 wxPyEndAllowThreads(__tstate
);
11989 if (PyErr_Occurred()) SWIG_fail
;
11991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
11998 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
12000 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12001 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
12003 return Py_BuildValue((char *)"");
12005 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12006 PyObject
*resultobj
;
12007 wxPNMHandler
*result
;
12008 char *kwnames
[] = {
12012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
12014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12015 result
= (wxPNMHandler
*)new wxPNMHandler();
12017 wxPyEndAllowThreads(__tstate
);
12018 if (PyErr_Occurred()) SWIG_fail
;
12020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
12027 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
12029 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12030 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
12032 return Py_BuildValue((char *)"");
12034 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12035 PyObject
*resultobj
;
12036 wxXPMHandler
*result
;
12037 char *kwnames
[] = {
12041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
12043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12044 result
= (wxXPMHandler
*)new wxXPMHandler();
12046 wxPyEndAllowThreads(__tstate
);
12047 if (PyErr_Occurred()) SWIG_fail
;
12049 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
12056 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
12058 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12059 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
12061 return Py_BuildValue((char *)"");
12063 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12064 PyObject
*resultobj
;
12065 wxTIFFHandler
*result
;
12066 char *kwnames
[] = {
12070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
12072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12073 result
= (wxTIFFHandler
*)new wxTIFFHandler();
12075 wxPyEndAllowThreads(__tstate
);
12076 if (PyErr_Occurred()) SWIG_fail
;
12078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
12085 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
12087 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12088 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
12090 return Py_BuildValue((char *)"");
12092 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12093 PyObject
*resultobj
;
12094 wxImage
*arg1
= 0 ;
12095 wxImage
*arg2
= 0 ;
12096 int arg3
= (int) 236 ;
12097 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
12099 PyObject
* obj0
= 0 ;
12100 PyObject
* obj1
= 0 ;
12101 PyObject
* obj2
= 0 ;
12102 PyObject
* obj3
= 0 ;
12103 char *kwnames
[] = {
12104 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
12107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
12109 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12111 if (arg1
== NULL
) {
12112 PyErr_SetString(PyExc_TypeError
,"null reference");
12115 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
12116 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12118 if (arg2
== NULL
) {
12119 PyErr_SetString(PyExc_TypeError
,"null reference");
12123 arg3
= (int)SWIG_As_int(obj2
);
12124 if (PyErr_Occurred()) SWIG_fail
;
12127 arg4
= (int)SWIG_As_int(obj3
);
12128 if (PyErr_Occurred()) SWIG_fail
;
12131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12132 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
12134 wxPyEndAllowThreads(__tstate
);
12135 if (PyErr_Occurred()) SWIG_fail
;
12138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12146 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
12148 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12149 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
12151 return Py_BuildValue((char *)"");
12153 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12154 PyObject
*resultobj
;
12155 wxEvtHandler
*result
;
12156 char *kwnames
[] = {
12160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
12162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12163 result
= (wxEvtHandler
*)new wxEvtHandler();
12165 wxPyEndAllowThreads(__tstate
);
12166 if (PyErr_Occurred()) SWIG_fail
;
12168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
12175 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12176 PyObject
*resultobj
;
12177 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12178 wxEvtHandler
*result
;
12179 PyObject
* obj0
= 0 ;
12180 char *kwnames
[] = {
12181 (char *) "self", NULL
12184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
12185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12189 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
12191 wxPyEndAllowThreads(__tstate
);
12192 if (PyErr_Occurred()) SWIG_fail
;
12195 resultobj
= wxPyMake_wxObject(result
, 0);
12203 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12204 PyObject
*resultobj
;
12205 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12206 wxEvtHandler
*result
;
12207 PyObject
* obj0
= 0 ;
12208 char *kwnames
[] = {
12209 (char *) "self", NULL
12212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
12213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12217 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
12219 wxPyEndAllowThreads(__tstate
);
12220 if (PyErr_Occurred()) SWIG_fail
;
12223 resultobj
= wxPyMake_wxObject(result
, 0);
12231 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12232 PyObject
*resultobj
;
12233 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12234 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
12235 PyObject
* obj0
= 0 ;
12236 PyObject
* obj1
= 0 ;
12237 char *kwnames
[] = {
12238 (char *) "self",(char *) "handler", NULL
12241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
12242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12244 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
12245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12248 (arg1
)->SetNextHandler(arg2
);
12250 wxPyEndAllowThreads(__tstate
);
12251 if (PyErr_Occurred()) SWIG_fail
;
12253 Py_INCREF(Py_None
); resultobj
= Py_None
;
12260 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12261 PyObject
*resultobj
;
12262 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12263 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
12264 PyObject
* obj0
= 0 ;
12265 PyObject
* obj1
= 0 ;
12266 char *kwnames
[] = {
12267 (char *) "self",(char *) "handler", NULL
12270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
12271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12273 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
12274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12277 (arg1
)->SetPreviousHandler(arg2
);
12279 wxPyEndAllowThreads(__tstate
);
12280 if (PyErr_Occurred()) SWIG_fail
;
12282 Py_INCREF(Py_None
); resultobj
= Py_None
;
12289 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12290 PyObject
*resultobj
;
12291 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12293 PyObject
* obj0
= 0 ;
12294 char *kwnames
[] = {
12295 (char *) "self", NULL
12298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
12299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12303 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
12305 wxPyEndAllowThreads(__tstate
);
12306 if (PyErr_Occurred()) SWIG_fail
;
12309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12317 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12318 PyObject
*resultobj
;
12319 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12321 PyObject
* obj0
= 0 ;
12322 PyObject
* obj1
= 0 ;
12323 char *kwnames
[] = {
12324 (char *) "self",(char *) "enabled", NULL
12327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
12328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12330 arg2
= (bool)SWIG_As_bool(obj1
);
12331 if (PyErr_Occurred()) SWIG_fail
;
12333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12334 (arg1
)->SetEvtHandlerEnabled(arg2
);
12336 wxPyEndAllowThreads(__tstate
);
12337 if (PyErr_Occurred()) SWIG_fail
;
12339 Py_INCREF(Py_None
); resultobj
= Py_None
;
12346 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12347 PyObject
*resultobj
;
12348 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12349 wxEvent
*arg2
= 0 ;
12351 PyObject
* obj0
= 0 ;
12352 PyObject
* obj1
= 0 ;
12353 char *kwnames
[] = {
12354 (char *) "self",(char *) "event", NULL
12357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12360 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12361 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12363 if (arg2
== NULL
) {
12364 PyErr_SetString(PyExc_TypeError
,"null reference");
12368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12369 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
12371 wxPyEndAllowThreads(__tstate
);
12372 if (PyErr_Occurred()) SWIG_fail
;
12375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12383 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12384 PyObject
*resultobj
;
12385 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12386 wxEvent
*arg2
= 0 ;
12387 PyObject
* obj0
= 0 ;
12388 PyObject
* obj1
= 0 ;
12389 char *kwnames
[] = {
12390 (char *) "self",(char *) "event", NULL
12393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12396 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12397 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12399 if (arg2
== NULL
) {
12400 PyErr_SetString(PyExc_TypeError
,"null reference");
12404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12405 (arg1
)->AddPendingEvent(*arg2
);
12407 wxPyEndAllowThreads(__tstate
);
12408 if (PyErr_Occurred()) SWIG_fail
;
12410 Py_INCREF(Py_None
); resultobj
= Py_None
;
12417 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12418 PyObject
*resultobj
;
12419 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12420 PyObject
* obj0
= 0 ;
12421 char *kwnames
[] = {
12422 (char *) "self", NULL
12425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
12426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12430 (arg1
)->ProcessPendingEvents();
12432 wxPyEndAllowThreads(__tstate
);
12433 if (PyErr_Occurred()) SWIG_fail
;
12435 Py_INCREF(Py_None
); resultobj
= Py_None
;
12442 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12443 PyObject
*resultobj
;
12444 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12448 PyObject
*arg5
= (PyObject
*) 0 ;
12449 PyObject
* obj0
= 0 ;
12450 PyObject
* obj1
= 0 ;
12451 PyObject
* obj2
= 0 ;
12452 PyObject
* obj3
= 0 ;
12453 PyObject
* obj4
= 0 ;
12454 char *kwnames
[] = {
12455 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12461 arg2
= (int)SWIG_As_int(obj1
);
12462 if (PyErr_Occurred()) SWIG_fail
;
12463 arg3
= (int)SWIG_As_int(obj2
);
12464 if (PyErr_Occurred()) SWIG_fail
;
12465 arg4
= (int)SWIG_As_int(obj3
);
12466 if (PyErr_Occurred()) SWIG_fail
;
12469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12470 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
12472 wxPyEndAllowThreads(__tstate
);
12473 if (PyErr_Occurred()) SWIG_fail
;
12475 Py_INCREF(Py_None
); resultobj
= Py_None
;
12482 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12483 PyObject
*resultobj
;
12484 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12486 int arg3
= (int) -1 ;
12487 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
12489 PyObject
* obj0
= 0 ;
12490 PyObject
* obj1
= 0 ;
12491 PyObject
* obj2
= 0 ;
12492 PyObject
* obj3
= 0 ;
12493 char *kwnames
[] = {
12494 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12500 arg2
= (int)SWIG_As_int(obj1
);
12501 if (PyErr_Occurred()) SWIG_fail
;
12503 arg3
= (int)SWIG_As_int(obj2
);
12504 if (PyErr_Occurred()) SWIG_fail
;
12507 arg4
= (wxEventType
)SWIG_As_int(obj3
);
12508 if (PyErr_Occurred()) SWIG_fail
;
12511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12512 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
12514 wxPyEndAllowThreads(__tstate
);
12515 if (PyErr_Occurred()) SWIG_fail
;
12518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12526 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12527 PyObject
*resultobj
;
12528 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12529 PyObject
*arg2
= (PyObject
*) 0 ;
12530 PyObject
* obj0
= 0 ;
12531 PyObject
* obj1
= 0 ;
12532 char *kwnames
[] = {
12533 (char *) "self",(char *) "_self", NULL
12536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
12537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12542 wxEvtHandler__setOORInfo(arg1
,arg2
);
12544 wxPyEndAllowThreads(__tstate
);
12545 if (PyErr_Occurred()) SWIG_fail
;
12547 Py_INCREF(Py_None
); resultobj
= Py_None
;
12554 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
12556 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12557 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12559 return Py_BuildValue((char *)"");
12561 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12562 PyObject
*resultobj
;
12563 wxEventType result
;
12564 char *kwnames
[] = {
12568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12571 result
= (wxEventType
)wxNewEventType();
12573 wxPyEndAllowThreads(__tstate
);
12574 if (PyErr_Occurred()) SWIG_fail
;
12576 resultobj
= SWIG_From_int((int)result
);
12583 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12584 PyObject
*resultobj
;
12585 wxEvent
*arg1
= (wxEvent
*) 0 ;
12586 PyObject
* obj0
= 0 ;
12587 char *kwnames
[] = {
12588 (char *) "self", NULL
12591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",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();
12598 wxPyEndAllowThreads(__tstate
);
12599 if (PyErr_Occurred()) SWIG_fail
;
12601 Py_INCREF(Py_None
); resultobj
= Py_None
;
12608 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12609 PyObject
*resultobj
;
12610 wxEvent
*arg1
= (wxEvent
*) 0 ;
12612 PyObject
* obj0
= 0 ;
12613 PyObject
* obj1
= 0 ;
12614 char *kwnames
[] = {
12615 (char *) "self",(char *) "typ", NULL
12618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12621 arg2
= (wxEventType
)SWIG_As_int(obj1
);
12622 if (PyErr_Occurred()) SWIG_fail
;
12624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12625 (arg1
)->SetEventType(arg2
);
12627 wxPyEndAllowThreads(__tstate
);
12628 if (PyErr_Occurred()) SWIG_fail
;
12630 Py_INCREF(Py_None
); resultobj
= Py_None
;
12637 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12638 PyObject
*resultobj
;
12639 wxEvent
*arg1
= (wxEvent
*) 0 ;
12640 wxEventType result
;
12641 PyObject
* obj0
= 0 ;
12642 char *kwnames
[] = {
12643 (char *) "self", NULL
12646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12651 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12653 wxPyEndAllowThreads(__tstate
);
12654 if (PyErr_Occurred()) SWIG_fail
;
12656 resultobj
= SWIG_From_int((int)result
);
12663 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12664 PyObject
*resultobj
;
12665 wxEvent
*arg1
= (wxEvent
*) 0 ;
12667 PyObject
* obj0
= 0 ;
12668 char *kwnames
[] = {
12669 (char *) "self", NULL
12672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12677 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12679 wxPyEndAllowThreads(__tstate
);
12680 if (PyErr_Occurred()) SWIG_fail
;
12683 resultobj
= wxPyMake_wxObject(result
, 0);
12691 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12692 PyObject
*resultobj
;
12693 wxEvent
*arg1
= (wxEvent
*) 0 ;
12694 wxObject
*arg2
= (wxObject
*) 0 ;
12695 PyObject
* obj0
= 0 ;
12696 PyObject
* obj1
= 0 ;
12697 char *kwnames
[] = {
12698 (char *) "self",(char *) "obj", NULL
12701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12704 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12708 (arg1
)->SetEventObject(arg2
);
12710 wxPyEndAllowThreads(__tstate
);
12711 if (PyErr_Occurred()) SWIG_fail
;
12713 Py_INCREF(Py_None
); resultobj
= Py_None
;
12720 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12721 PyObject
*resultobj
;
12722 wxEvent
*arg1
= (wxEvent
*) 0 ;
12724 PyObject
* obj0
= 0 ;
12725 char *kwnames
[] = {
12726 (char *) "self", NULL
12729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12734 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12736 wxPyEndAllowThreads(__tstate
);
12737 if (PyErr_Occurred()) SWIG_fail
;
12739 resultobj
= SWIG_From_long((long)result
);
12746 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12747 PyObject
*resultobj
;
12748 wxEvent
*arg1
= (wxEvent
*) 0 ;
12749 long arg2
= (long) 0 ;
12750 PyObject
* obj0
= 0 ;
12751 PyObject
* obj1
= 0 ;
12752 char *kwnames
[] = {
12753 (char *) "self",(char *) "ts", NULL
12756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12760 arg2
= (long)SWIG_As_long(obj1
);
12761 if (PyErr_Occurred()) SWIG_fail
;
12764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12765 (arg1
)->SetTimestamp(arg2
);
12767 wxPyEndAllowThreads(__tstate
);
12768 if (PyErr_Occurred()) SWIG_fail
;
12770 Py_INCREF(Py_None
); resultobj
= Py_None
;
12777 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12778 PyObject
*resultobj
;
12779 wxEvent
*arg1
= (wxEvent
*) 0 ;
12781 PyObject
* obj0
= 0 ;
12782 char *kwnames
[] = {
12783 (char *) "self", NULL
12786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12791 result
= (int)((wxEvent
const *)arg1
)->GetId();
12793 wxPyEndAllowThreads(__tstate
);
12794 if (PyErr_Occurred()) SWIG_fail
;
12796 resultobj
= SWIG_From_int((int)result
);
12803 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12804 PyObject
*resultobj
;
12805 wxEvent
*arg1
= (wxEvent
*) 0 ;
12807 PyObject
* obj0
= 0 ;
12808 PyObject
* obj1
= 0 ;
12809 char *kwnames
[] = {
12810 (char *) "self",(char *) "Id", NULL
12813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12816 arg2
= (int)SWIG_As_int(obj1
);
12817 if (PyErr_Occurred()) SWIG_fail
;
12819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12820 (arg1
)->SetId(arg2
);
12822 wxPyEndAllowThreads(__tstate
);
12823 if (PyErr_Occurred()) SWIG_fail
;
12825 Py_INCREF(Py_None
); resultobj
= Py_None
;
12832 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12833 PyObject
*resultobj
;
12834 wxEvent
*arg1
= (wxEvent
*) 0 ;
12836 PyObject
* obj0
= 0 ;
12837 char *kwnames
[] = {
12838 (char *) "self", NULL
12841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12846 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12848 wxPyEndAllowThreads(__tstate
);
12849 if (PyErr_Occurred()) SWIG_fail
;
12852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12860 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12861 PyObject
*resultobj
;
12862 wxEvent
*arg1
= (wxEvent
*) 0 ;
12863 bool arg2
= (bool) true ;
12864 PyObject
* obj0
= 0 ;
12865 PyObject
* obj1
= 0 ;
12866 char *kwnames
[] = {
12867 (char *) "self",(char *) "skip", NULL
12870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12874 arg2
= (bool)SWIG_As_bool(obj1
);
12875 if (PyErr_Occurred()) SWIG_fail
;
12878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12879 (arg1
)->Skip(arg2
);
12881 wxPyEndAllowThreads(__tstate
);
12882 if (PyErr_Occurred()) SWIG_fail
;
12884 Py_INCREF(Py_None
); resultobj
= Py_None
;
12891 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12892 PyObject
*resultobj
;
12893 wxEvent
*arg1
= (wxEvent
*) 0 ;
12895 PyObject
* obj0
= 0 ;
12896 char *kwnames
[] = {
12897 (char *) "self", NULL
12900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12905 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12907 wxPyEndAllowThreads(__tstate
);
12908 if (PyErr_Occurred()) SWIG_fail
;
12911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12919 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12920 PyObject
*resultobj
;
12921 wxEvent
*arg1
= (wxEvent
*) 0 ;
12923 PyObject
* obj0
= 0 ;
12924 char *kwnames
[] = {
12925 (char *) "self", NULL
12928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12933 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12935 wxPyEndAllowThreads(__tstate
);
12936 if (PyErr_Occurred()) SWIG_fail
;
12939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12947 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12948 PyObject
*resultobj
;
12949 wxEvent
*arg1
= (wxEvent
*) 0 ;
12951 PyObject
* obj0
= 0 ;
12952 char *kwnames
[] = {
12953 (char *) "self", NULL
12956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12961 result
= (int)(arg1
)->StopPropagation();
12963 wxPyEndAllowThreads(__tstate
);
12964 if (PyErr_Occurred()) SWIG_fail
;
12966 resultobj
= SWIG_From_int((int)result
);
12973 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12974 PyObject
*resultobj
;
12975 wxEvent
*arg1
= (wxEvent
*) 0 ;
12977 PyObject
* obj0
= 0 ;
12978 PyObject
* obj1
= 0 ;
12979 char *kwnames
[] = {
12980 (char *) "self",(char *) "propagationLevel", NULL
12983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12986 arg2
= (int)SWIG_As_int(obj1
);
12987 if (PyErr_Occurred()) SWIG_fail
;
12989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12990 (arg1
)->ResumePropagation(arg2
);
12992 wxPyEndAllowThreads(__tstate
);
12993 if (PyErr_Occurred()) SWIG_fail
;
12995 Py_INCREF(Py_None
); resultobj
= Py_None
;
13002 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13003 PyObject
*resultobj
;
13004 wxEvent
*arg1
= (wxEvent
*) 0 ;
13006 PyObject
* obj0
= 0 ;
13007 char *kwnames
[] = {
13008 (char *) "self", NULL
13011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
13012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13016 result
= (wxEvent
*)(arg1
)->Clone();
13018 wxPyEndAllowThreads(__tstate
);
13019 if (PyErr_Occurred()) SWIG_fail
;
13021 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13028 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
13030 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13031 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
13033 return Py_BuildValue((char *)"");
13035 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13036 PyObject
*resultobj
;
13037 wxEvent
*arg1
= 0 ;
13038 wxPropagationDisabler
*result
;
13039 PyObject
* obj0
= 0 ;
13040 char *kwnames
[] = {
13041 (char *) "event", NULL
13044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
13045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13046 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13048 if (arg1
== NULL
) {
13049 PyErr_SetString(PyExc_TypeError
,"null reference");
13053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13054 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
13056 wxPyEndAllowThreads(__tstate
);
13057 if (PyErr_Occurred()) SWIG_fail
;
13059 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
13066 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13067 PyObject
*resultobj
;
13068 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
13069 PyObject
* obj0
= 0 ;
13070 char *kwnames
[] = {
13071 (char *) "self", NULL
13074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
13075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
13076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13081 wxPyEndAllowThreads(__tstate
);
13082 if (PyErr_Occurred()) SWIG_fail
;
13084 Py_INCREF(Py_None
); resultobj
= Py_None
;
13091 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
13093 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13094 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
13096 return Py_BuildValue((char *)"");
13098 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13099 PyObject
*resultobj
;
13100 wxEvent
*arg1
= 0 ;
13101 wxPropagateOnce
*result
;
13102 PyObject
* obj0
= 0 ;
13103 char *kwnames
[] = {
13104 (char *) "event", NULL
13107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
13108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
13109 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13111 if (arg1
== NULL
) {
13112 PyErr_SetString(PyExc_TypeError
,"null reference");
13116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13117 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
13119 wxPyEndAllowThreads(__tstate
);
13120 if (PyErr_Occurred()) SWIG_fail
;
13122 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
13129 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13130 PyObject
*resultobj
;
13131 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
13132 PyObject
* obj0
= 0 ;
13133 char *kwnames
[] = {
13134 (char *) "self", NULL
13137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
13138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
13139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13144 wxPyEndAllowThreads(__tstate
);
13145 if (PyErr_Occurred()) SWIG_fail
;
13147 Py_INCREF(Py_None
); resultobj
= Py_None
;
13154 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
13156 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13157 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
13159 return Py_BuildValue((char *)"");
13161 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13162 PyObject
*resultobj
;
13163 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13164 int arg2
= (int) 0 ;
13165 wxCommandEvent
*result
;
13166 PyObject
* obj0
= 0 ;
13167 PyObject
* obj1
= 0 ;
13168 char *kwnames
[] = {
13169 (char *) "commandType",(char *) "winid", NULL
13172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13174 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13175 if (PyErr_Occurred()) SWIG_fail
;
13178 arg2
= (int)SWIG_As_int(obj1
);
13179 if (PyErr_Occurred()) SWIG_fail
;
13182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13183 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
13185 wxPyEndAllowThreads(__tstate
);
13186 if (PyErr_Occurred()) SWIG_fail
;
13188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
13195 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13196 PyObject
*resultobj
;
13197 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13199 PyObject
* obj0
= 0 ;
13200 char *kwnames
[] = {
13201 (char *) "self", NULL
13204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
13205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13209 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
13211 wxPyEndAllowThreads(__tstate
);
13212 if (PyErr_Occurred()) SWIG_fail
;
13214 resultobj
= SWIG_From_int((int)result
);
13221 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13222 PyObject
*resultobj
;
13223 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13224 wxString
*arg2
= 0 ;
13225 bool temp2
= false ;
13226 PyObject
* obj0
= 0 ;
13227 PyObject
* obj1
= 0 ;
13228 char *kwnames
[] = {
13229 (char *) "self",(char *) "s", NULL
13232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
13233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13236 arg2
= wxString_in_helper(obj1
);
13237 if (arg2
== NULL
) SWIG_fail
;
13241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13242 (arg1
)->SetString((wxString
const &)*arg2
);
13244 wxPyEndAllowThreads(__tstate
);
13245 if (PyErr_Occurred()) SWIG_fail
;
13247 Py_INCREF(Py_None
); resultobj
= Py_None
;
13262 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13263 PyObject
*resultobj
;
13264 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13266 PyObject
* obj0
= 0 ;
13267 char *kwnames
[] = {
13268 (char *) "self", NULL
13271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
13272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13276 result
= ((wxCommandEvent
const *)arg1
)->GetString();
13278 wxPyEndAllowThreads(__tstate
);
13279 if (PyErr_Occurred()) SWIG_fail
;
13283 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13285 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13294 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13295 PyObject
*resultobj
;
13296 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13298 PyObject
* obj0
= 0 ;
13299 char *kwnames
[] = {
13300 (char *) "self", NULL
13303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
13304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13308 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
13310 wxPyEndAllowThreads(__tstate
);
13311 if (PyErr_Occurred()) SWIG_fail
;
13314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13322 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13323 PyObject
*resultobj
;
13324 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13326 PyObject
* obj0
= 0 ;
13327 char *kwnames
[] = {
13328 (char *) "self", NULL
13331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
13332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13336 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
13338 wxPyEndAllowThreads(__tstate
);
13339 if (PyErr_Occurred()) SWIG_fail
;
13342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13350 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13351 PyObject
*resultobj
;
13352 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13354 PyObject
* obj0
= 0 ;
13355 PyObject
* obj1
= 0 ;
13356 char *kwnames
[] = {
13357 (char *) "self",(char *) "extraLong", NULL
13360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
13361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13363 arg2
= (long)SWIG_As_long(obj1
);
13364 if (PyErr_Occurred()) SWIG_fail
;
13366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13367 (arg1
)->SetExtraLong(arg2
);
13369 wxPyEndAllowThreads(__tstate
);
13370 if (PyErr_Occurred()) SWIG_fail
;
13372 Py_INCREF(Py_None
); resultobj
= Py_None
;
13379 static PyObject
*_wrap_CommandEvent_GetExtraLong(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_GetExtraLong",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
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
13395 wxPyEndAllowThreads(__tstate
);
13396 if (PyErr_Occurred()) SWIG_fail
;
13398 resultobj
= SWIG_From_long((long)result
);
13405 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13406 PyObject
*resultobj
;
13407 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13409 PyObject
* obj0
= 0 ;
13410 PyObject
* obj1
= 0 ;
13411 char *kwnames
[] = {
13412 (char *) "self",(char *) "i", NULL
13415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13418 arg2
= (int)SWIG_As_int(obj1
);
13419 if (PyErr_Occurred()) SWIG_fail
;
13421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13422 (arg1
)->SetInt(arg2
);
13424 wxPyEndAllowThreads(__tstate
);
13425 if (PyErr_Occurred()) SWIG_fail
;
13427 Py_INCREF(Py_None
); resultobj
= Py_None
;
13434 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13435 PyObject
*resultobj
;
13436 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13438 PyObject
* obj0
= 0 ;
13439 char *kwnames
[] = {
13440 (char *) "self", NULL
13443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
13444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13448 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
13450 wxPyEndAllowThreads(__tstate
);
13451 if (PyErr_Occurred()) SWIG_fail
;
13453 resultobj
= SWIG_From_long((long)result
);
13460 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13461 PyObject
*resultobj
;
13462 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13464 PyObject
* obj0
= 0 ;
13465 char *kwnames
[] = {
13466 (char *) "self", NULL
13469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
13470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13474 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
13476 wxPyEndAllowThreads(__tstate
);
13477 if (PyErr_Occurred()) SWIG_fail
;
13479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13486 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
13488 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13489 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
13491 return Py_BuildValue((char *)"");
13493 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13494 PyObject
*resultobj
;
13495 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13496 int arg2
= (int) 0 ;
13497 wxNotifyEvent
*result
;
13498 PyObject
* obj0
= 0 ;
13499 PyObject
* obj1
= 0 ;
13500 char *kwnames
[] = {
13501 (char *) "commandType",(char *) "winid", NULL
13504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13506 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13507 if (PyErr_Occurred()) SWIG_fail
;
13510 arg2
= (int)SWIG_As_int(obj1
);
13511 if (PyErr_Occurred()) SWIG_fail
;
13514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13515 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
13517 wxPyEndAllowThreads(__tstate
);
13518 if (PyErr_Occurred()) SWIG_fail
;
13520 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
13527 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13528 PyObject
*resultobj
;
13529 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13530 PyObject
* obj0
= 0 ;
13531 char *kwnames
[] = {
13532 (char *) "self", NULL
13535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
13536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13542 wxPyEndAllowThreads(__tstate
);
13543 if (PyErr_Occurred()) SWIG_fail
;
13545 Py_INCREF(Py_None
); resultobj
= Py_None
;
13552 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13553 PyObject
*resultobj
;
13554 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13555 PyObject
* obj0
= 0 ;
13556 char *kwnames
[] = {
13557 (char *) "self", NULL
13560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13567 wxPyEndAllowThreads(__tstate
);
13568 if (PyErr_Occurred()) SWIG_fail
;
13570 Py_INCREF(Py_None
); resultobj
= Py_None
;
13577 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13578 PyObject
*resultobj
;
13579 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13581 PyObject
* obj0
= 0 ;
13582 char *kwnames
[] = {
13583 (char *) "self", NULL
13586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13591 result
= (bool)(arg1
)->IsAllowed();
13593 wxPyEndAllowThreads(__tstate
);
13594 if (PyErr_Occurred()) SWIG_fail
;
13597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13605 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
13607 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13608 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13610 return Py_BuildValue((char *)"");
13612 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13613 PyObject
*resultobj
;
13614 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13615 int arg2
= (int) 0 ;
13616 int arg3
= (int) 0 ;
13617 int arg4
= (int) 0 ;
13618 wxScrollEvent
*result
;
13619 PyObject
* obj0
= 0 ;
13620 PyObject
* obj1
= 0 ;
13621 PyObject
* obj2
= 0 ;
13622 PyObject
* obj3
= 0 ;
13623 char *kwnames
[] = {
13624 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13629 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13630 if (PyErr_Occurred()) SWIG_fail
;
13633 arg2
= (int)SWIG_As_int(obj1
);
13634 if (PyErr_Occurred()) SWIG_fail
;
13637 arg3
= (int)SWIG_As_int(obj2
);
13638 if (PyErr_Occurred()) SWIG_fail
;
13641 arg4
= (int)SWIG_As_int(obj3
);
13642 if (PyErr_Occurred()) SWIG_fail
;
13645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13646 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13648 wxPyEndAllowThreads(__tstate
);
13649 if (PyErr_Occurred()) SWIG_fail
;
13651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13658 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13659 PyObject
*resultobj
;
13660 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13662 PyObject
* obj0
= 0 ;
13663 char *kwnames
[] = {
13664 (char *) "self", NULL
13667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13672 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13674 wxPyEndAllowThreads(__tstate
);
13675 if (PyErr_Occurred()) SWIG_fail
;
13677 resultobj
= SWIG_From_int((int)result
);
13684 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13685 PyObject
*resultobj
;
13686 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13688 PyObject
* obj0
= 0 ;
13689 char *kwnames
[] = {
13690 (char *) "self", NULL
13693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13698 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13700 wxPyEndAllowThreads(__tstate
);
13701 if (PyErr_Occurred()) SWIG_fail
;
13703 resultobj
= SWIG_From_int((int)result
);
13710 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13711 PyObject
*resultobj
;
13712 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13714 PyObject
* obj0
= 0 ;
13715 PyObject
* obj1
= 0 ;
13716 char *kwnames
[] = {
13717 (char *) "self",(char *) "orient", NULL
13720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13723 arg2
= (int)SWIG_As_int(obj1
);
13724 if (PyErr_Occurred()) SWIG_fail
;
13726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13727 (arg1
)->SetOrientation(arg2
);
13729 wxPyEndAllowThreads(__tstate
);
13730 if (PyErr_Occurred()) SWIG_fail
;
13732 Py_INCREF(Py_None
); resultobj
= Py_None
;
13739 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13740 PyObject
*resultobj
;
13741 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13743 PyObject
* obj0
= 0 ;
13744 PyObject
* obj1
= 0 ;
13745 char *kwnames
[] = {
13746 (char *) "self",(char *) "pos", NULL
13749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13752 arg2
= (int)SWIG_As_int(obj1
);
13753 if (PyErr_Occurred()) SWIG_fail
;
13755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13756 (arg1
)->SetPosition(arg2
);
13758 wxPyEndAllowThreads(__tstate
);
13759 if (PyErr_Occurred()) SWIG_fail
;
13761 Py_INCREF(Py_None
); resultobj
= Py_None
;
13768 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
13770 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13771 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13773 return Py_BuildValue((char *)"");
13775 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13776 PyObject
*resultobj
;
13777 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13778 int arg2
= (int) 0 ;
13779 int arg3
= (int) 0 ;
13780 wxScrollWinEvent
*result
;
13781 PyObject
* obj0
= 0 ;
13782 PyObject
* obj1
= 0 ;
13783 PyObject
* obj2
= 0 ;
13784 char *kwnames
[] = {
13785 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13790 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13791 if (PyErr_Occurred()) SWIG_fail
;
13794 arg2
= (int)SWIG_As_int(obj1
);
13795 if (PyErr_Occurred()) SWIG_fail
;
13798 arg3
= (int)SWIG_As_int(obj2
);
13799 if (PyErr_Occurred()) SWIG_fail
;
13802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13803 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13805 wxPyEndAllowThreads(__tstate
);
13806 if (PyErr_Occurred()) SWIG_fail
;
13808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13815 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13816 PyObject
*resultobj
;
13817 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13819 PyObject
* obj0
= 0 ;
13820 char *kwnames
[] = {
13821 (char *) "self", NULL
13824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13829 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13831 wxPyEndAllowThreads(__tstate
);
13832 if (PyErr_Occurred()) SWIG_fail
;
13834 resultobj
= SWIG_From_int((int)result
);
13841 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13842 PyObject
*resultobj
;
13843 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13845 PyObject
* obj0
= 0 ;
13846 char *kwnames
[] = {
13847 (char *) "self", NULL
13850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13855 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13857 wxPyEndAllowThreads(__tstate
);
13858 if (PyErr_Occurred()) SWIG_fail
;
13860 resultobj
= SWIG_From_int((int)result
);
13867 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13868 PyObject
*resultobj
;
13869 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13871 PyObject
* obj0
= 0 ;
13872 PyObject
* obj1
= 0 ;
13873 char *kwnames
[] = {
13874 (char *) "self",(char *) "orient", NULL
13877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13880 arg2
= (int)SWIG_As_int(obj1
);
13881 if (PyErr_Occurred()) SWIG_fail
;
13883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13884 (arg1
)->SetOrientation(arg2
);
13886 wxPyEndAllowThreads(__tstate
);
13887 if (PyErr_Occurred()) SWIG_fail
;
13889 Py_INCREF(Py_None
); resultobj
= Py_None
;
13896 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13897 PyObject
*resultobj
;
13898 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13900 PyObject
* obj0
= 0 ;
13901 PyObject
* obj1
= 0 ;
13902 char *kwnames
[] = {
13903 (char *) "self",(char *) "pos", NULL
13906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13909 arg2
= (int)SWIG_As_int(obj1
);
13910 if (PyErr_Occurred()) SWIG_fail
;
13912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13913 (arg1
)->SetPosition(arg2
);
13915 wxPyEndAllowThreads(__tstate
);
13916 if (PyErr_Occurred()) SWIG_fail
;
13918 Py_INCREF(Py_None
); resultobj
= Py_None
;
13925 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
13927 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13928 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13930 return Py_BuildValue((char *)"");
13932 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13933 PyObject
*resultobj
;
13934 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13935 wxMouseEvent
*result
;
13936 PyObject
* obj0
= 0 ;
13937 char *kwnames
[] = {
13938 (char *) "mouseType", NULL
13941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13943 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13944 if (PyErr_Occurred()) SWIG_fail
;
13947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13948 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13950 wxPyEndAllowThreads(__tstate
);
13951 if (PyErr_Occurred()) SWIG_fail
;
13954 resultobj
= wxPyMake_wxObject(result
, 1);
13962 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13963 PyObject
*resultobj
;
13964 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13966 PyObject
* obj0
= 0 ;
13967 char *kwnames
[] = {
13968 (char *) "self", NULL
13971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13976 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13978 wxPyEndAllowThreads(__tstate
);
13979 if (PyErr_Occurred()) SWIG_fail
;
13982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13990 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13991 PyObject
*resultobj
;
13992 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13993 int arg2
= (int) wxMOUSE_BTN_ANY
;
13995 PyObject
* obj0
= 0 ;
13996 PyObject
* obj1
= 0 ;
13997 char *kwnames
[] = {
13998 (char *) "self",(char *) "but", NULL
14001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
14002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14005 arg2
= (int)SWIG_As_int(obj1
);
14006 if (PyErr_Occurred()) SWIG_fail
;
14009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14010 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
14012 wxPyEndAllowThreads(__tstate
);
14013 if (PyErr_Occurred()) SWIG_fail
;
14016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14024 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14025 PyObject
*resultobj
;
14026 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14027 int arg2
= (int) wxMOUSE_BTN_ANY
;
14029 PyObject
* obj0
= 0 ;
14030 PyObject
* obj1
= 0 ;
14031 char *kwnames
[] = {
14032 (char *) "self",(char *) "but", NULL
14035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
14036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14039 arg2
= (int)SWIG_As_int(obj1
);
14040 if (PyErr_Occurred()) SWIG_fail
;
14043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14044 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
14046 wxPyEndAllowThreads(__tstate
);
14047 if (PyErr_Occurred()) SWIG_fail
;
14050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14058 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14059 PyObject
*resultobj
;
14060 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14061 int arg2
= (int) wxMOUSE_BTN_ANY
;
14063 PyObject
* obj0
= 0 ;
14064 PyObject
* obj1
= 0 ;
14065 char *kwnames
[] = {
14066 (char *) "self",(char *) "but", NULL
14069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
14070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14073 arg2
= (int)SWIG_As_int(obj1
);
14074 if (PyErr_Occurred()) SWIG_fail
;
14077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14078 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
14080 wxPyEndAllowThreads(__tstate
);
14081 if (PyErr_Occurred()) SWIG_fail
;
14084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14092 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14093 PyObject
*resultobj
;
14094 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14097 PyObject
* obj0
= 0 ;
14098 PyObject
* obj1
= 0 ;
14099 char *kwnames
[] = {
14100 (char *) "self",(char *) "but", NULL
14103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
14104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14106 arg2
= (int)SWIG_As_int(obj1
);
14107 if (PyErr_Occurred()) SWIG_fail
;
14109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14110 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
14112 wxPyEndAllowThreads(__tstate
);
14113 if (PyErr_Occurred()) SWIG_fail
;
14116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14124 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14125 PyObject
*resultobj
;
14126 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14129 PyObject
* obj0
= 0 ;
14130 PyObject
* obj1
= 0 ;
14131 char *kwnames
[] = {
14132 (char *) "self",(char *) "but", NULL
14135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
14136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14138 arg2
= (int)SWIG_As_int(obj1
);
14139 if (PyErr_Occurred()) SWIG_fail
;
14141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14142 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
14144 wxPyEndAllowThreads(__tstate
);
14145 if (PyErr_Occurred()) SWIG_fail
;
14148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14156 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14157 PyObject
*resultobj
;
14158 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14160 PyObject
* obj0
= 0 ;
14161 char *kwnames
[] = {
14162 (char *) "self", NULL
14165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
14166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14170 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
14172 wxPyEndAllowThreads(__tstate
);
14173 if (PyErr_Occurred()) SWIG_fail
;
14175 resultobj
= SWIG_From_int((int)result
);
14182 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14183 PyObject
*resultobj
;
14184 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14186 PyObject
* obj0
= 0 ;
14187 char *kwnames
[] = {
14188 (char *) "self", NULL
14191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
14192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14196 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
14198 wxPyEndAllowThreads(__tstate
);
14199 if (PyErr_Occurred()) SWIG_fail
;
14202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14210 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14211 PyObject
*resultobj
;
14212 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14214 PyObject
* obj0
= 0 ;
14215 char *kwnames
[] = {
14216 (char *) "self", NULL
14219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
14220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14224 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
14226 wxPyEndAllowThreads(__tstate
);
14227 if (PyErr_Occurred()) SWIG_fail
;
14230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14238 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14239 PyObject
*resultobj
;
14240 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14242 PyObject
* obj0
= 0 ;
14243 char *kwnames
[] = {
14244 (char *) "self", NULL
14247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
14248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14252 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
14254 wxPyEndAllowThreads(__tstate
);
14255 if (PyErr_Occurred()) SWIG_fail
;
14258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14266 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14267 PyObject
*resultobj
;
14268 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14270 PyObject
* obj0
= 0 ;
14271 char *kwnames
[] = {
14272 (char *) "self", NULL
14275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
14276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14280 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
14282 wxPyEndAllowThreads(__tstate
);
14283 if (PyErr_Occurred()) SWIG_fail
;
14286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14294 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14295 PyObject
*resultobj
;
14296 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14298 PyObject
* obj0
= 0 ;
14299 char *kwnames
[] = {
14300 (char *) "self", NULL
14303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
14304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14308 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
14310 wxPyEndAllowThreads(__tstate
);
14311 if (PyErr_Occurred()) SWIG_fail
;
14314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14322 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14323 PyObject
*resultobj
;
14324 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14326 PyObject
* obj0
= 0 ;
14327 char *kwnames
[] = {
14328 (char *) "self", NULL
14331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
14332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14336 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
14338 wxPyEndAllowThreads(__tstate
);
14339 if (PyErr_Occurred()) SWIG_fail
;
14342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14350 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14351 PyObject
*resultobj
;
14352 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14354 PyObject
* obj0
= 0 ;
14355 char *kwnames
[] = {
14356 (char *) "self", NULL
14359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
14360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14364 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
14366 wxPyEndAllowThreads(__tstate
);
14367 if (PyErr_Occurred()) SWIG_fail
;
14370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14378 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14379 PyObject
*resultobj
;
14380 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14382 PyObject
* obj0
= 0 ;
14383 char *kwnames
[] = {
14384 (char *) "self", NULL
14387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
14388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14392 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
14394 wxPyEndAllowThreads(__tstate
);
14395 if (PyErr_Occurred()) SWIG_fail
;
14398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14406 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14407 PyObject
*resultobj
;
14408 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14410 PyObject
* obj0
= 0 ;
14411 char *kwnames
[] = {
14412 (char *) "self", NULL
14415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
14416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14420 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
14422 wxPyEndAllowThreads(__tstate
);
14423 if (PyErr_Occurred()) SWIG_fail
;
14426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14434 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14435 PyObject
*resultobj
;
14436 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14438 PyObject
* obj0
= 0 ;
14439 char *kwnames
[] = {
14440 (char *) "self", NULL
14443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
14444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14448 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
14450 wxPyEndAllowThreads(__tstate
);
14451 if (PyErr_Occurred()) SWIG_fail
;
14454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14462 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14463 PyObject
*resultobj
;
14464 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14466 PyObject
* obj0
= 0 ;
14467 char *kwnames
[] = {
14468 (char *) "self", NULL
14471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
14472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14476 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
14478 wxPyEndAllowThreads(__tstate
);
14479 if (PyErr_Occurred()) SWIG_fail
;
14482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14490 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14491 PyObject
*resultobj
;
14492 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14494 PyObject
* obj0
= 0 ;
14495 char *kwnames
[] = {
14496 (char *) "self", NULL
14499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
14500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14504 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
14506 wxPyEndAllowThreads(__tstate
);
14507 if (PyErr_Occurred()) SWIG_fail
;
14510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14518 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14519 PyObject
*resultobj
;
14520 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14522 PyObject
* obj0
= 0 ;
14523 char *kwnames
[] = {
14524 (char *) "self", NULL
14527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
14528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14532 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
14534 wxPyEndAllowThreads(__tstate
);
14535 if (PyErr_Occurred()) SWIG_fail
;
14538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14546 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14547 PyObject
*resultobj
;
14548 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14550 PyObject
* obj0
= 0 ;
14551 char *kwnames
[] = {
14552 (char *) "self", NULL
14555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
14556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14560 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
14562 wxPyEndAllowThreads(__tstate
);
14563 if (PyErr_Occurred()) SWIG_fail
;
14566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14574 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14575 PyObject
*resultobj
;
14576 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14578 PyObject
* obj0
= 0 ;
14579 char *kwnames
[] = {
14580 (char *) "self", NULL
14583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14588 result
= (bool)(arg1
)->LeftIsDown();
14590 wxPyEndAllowThreads(__tstate
);
14591 if (PyErr_Occurred()) SWIG_fail
;
14594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14602 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14603 PyObject
*resultobj
;
14604 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14606 PyObject
* obj0
= 0 ;
14607 char *kwnames
[] = {
14608 (char *) "self", NULL
14611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14616 result
= (bool)(arg1
)->MiddleIsDown();
14618 wxPyEndAllowThreads(__tstate
);
14619 if (PyErr_Occurred()) SWIG_fail
;
14622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14630 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14631 PyObject
*resultobj
;
14632 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14634 PyObject
* obj0
= 0 ;
14635 char *kwnames
[] = {
14636 (char *) "self", NULL
14639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14644 result
= (bool)(arg1
)->RightIsDown();
14646 wxPyEndAllowThreads(__tstate
);
14647 if (PyErr_Occurred()) SWIG_fail
;
14650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14658 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14659 PyObject
*resultobj
;
14660 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14662 PyObject
* obj0
= 0 ;
14663 char *kwnames
[] = {
14664 (char *) "self", NULL
14667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14672 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14674 wxPyEndAllowThreads(__tstate
);
14675 if (PyErr_Occurred()) SWIG_fail
;
14678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14686 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14687 PyObject
*resultobj
;
14688 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14690 PyObject
* obj0
= 0 ;
14691 char *kwnames
[] = {
14692 (char *) "self", NULL
14695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14700 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14702 wxPyEndAllowThreads(__tstate
);
14703 if (PyErr_Occurred()) SWIG_fail
;
14706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14714 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14715 PyObject
*resultobj
;
14716 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14718 PyObject
* obj0
= 0 ;
14719 char *kwnames
[] = {
14720 (char *) "self", NULL
14723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14728 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14730 wxPyEndAllowThreads(__tstate
);
14731 if (PyErr_Occurred()) SWIG_fail
;
14734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14742 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14743 PyObject
*resultobj
;
14744 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14746 PyObject
* obj0
= 0 ;
14747 char *kwnames
[] = {
14748 (char *) "self", NULL
14751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14756 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14758 wxPyEndAllowThreads(__tstate
);
14759 if (PyErr_Occurred()) SWIG_fail
;
14762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14770 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14771 PyObject
*resultobj
;
14772 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14774 PyObject
* obj0
= 0 ;
14775 char *kwnames
[] = {
14776 (char *) "self", NULL
14779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14784 result
= (arg1
)->GetPosition();
14786 wxPyEndAllowThreads(__tstate
);
14787 if (PyErr_Occurred()) SWIG_fail
;
14790 wxPoint
* resultptr
;
14791 resultptr
= new wxPoint((wxPoint
&) result
);
14792 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14800 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14801 PyObject
*resultobj
;
14802 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14803 long *arg2
= (long *) 0 ;
14804 long *arg3
= (long *) 0 ;
14809 PyObject
* obj0
= 0 ;
14810 char *kwnames
[] = {
14811 (char *) "self", NULL
14814 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14815 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14821 (arg1
)->GetPosition(arg2
,arg3
);
14823 wxPyEndAllowThreads(__tstate
);
14824 if (PyErr_Occurred()) SWIG_fail
;
14826 Py_INCREF(Py_None
); resultobj
= Py_None
;
14827 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14828 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
14829 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14830 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
14837 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14838 PyObject
*resultobj
;
14839 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14842 PyObject
* obj0
= 0 ;
14843 PyObject
* obj1
= 0 ;
14844 char *kwnames
[] = {
14845 (char *) "self",(char *) "dc", NULL
14848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14851 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14852 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14854 if (arg2
== NULL
) {
14855 PyErr_SetString(PyExc_TypeError
,"null reference");
14859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14860 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14862 wxPyEndAllowThreads(__tstate
);
14863 if (PyErr_Occurred()) SWIG_fail
;
14866 wxPoint
* resultptr
;
14867 resultptr
= new wxPoint((wxPoint
&) result
);
14868 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14876 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14877 PyObject
*resultobj
;
14878 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14880 PyObject
* obj0
= 0 ;
14881 char *kwnames
[] = {
14882 (char *) "self", NULL
14885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
14886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14890 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
14892 wxPyEndAllowThreads(__tstate
);
14893 if (PyErr_Occurred()) SWIG_fail
;
14895 resultobj
= SWIG_From_int((int)result
);
14902 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14903 PyObject
*resultobj
;
14904 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14906 PyObject
* obj0
= 0 ;
14907 char *kwnames
[] = {
14908 (char *) "self", NULL
14911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
14912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14916 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
14918 wxPyEndAllowThreads(__tstate
);
14919 if (PyErr_Occurred()) SWIG_fail
;
14921 resultobj
= SWIG_From_int((int)result
);
14928 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14929 PyObject
*resultobj
;
14930 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14932 PyObject
* obj0
= 0 ;
14933 char *kwnames
[] = {
14934 (char *) "self", NULL
14937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
14938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14942 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
14944 wxPyEndAllowThreads(__tstate
);
14945 if (PyErr_Occurred()) SWIG_fail
;
14947 resultobj
= SWIG_From_int((int)result
);
14954 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14955 PyObject
*resultobj
;
14956 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14958 PyObject
* obj0
= 0 ;
14959 char *kwnames
[] = {
14960 (char *) "self", NULL
14963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
14964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14968 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
14970 wxPyEndAllowThreads(__tstate
);
14971 if (PyErr_Occurred()) SWIG_fail
;
14973 resultobj
= SWIG_From_int((int)result
);
14980 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14981 PyObject
*resultobj
;
14982 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14984 PyObject
* obj0
= 0 ;
14985 char *kwnames
[] = {
14986 (char *) "self", NULL
14989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14994 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14996 wxPyEndAllowThreads(__tstate
);
14997 if (PyErr_Occurred()) SWIG_fail
;
14999 resultobj
= SWIG_From_int((int)result
);
15006 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15007 PyObject
*resultobj
;
15008 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15010 PyObject
* obj0
= 0 ;
15011 char *kwnames
[] = {
15012 (char *) "self", NULL
15015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
15016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15020 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
15022 wxPyEndAllowThreads(__tstate
);
15023 if (PyErr_Occurred()) SWIG_fail
;
15026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15034 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15035 PyObject
*resultobj
;
15036 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15038 PyObject
* obj0
= 0 ;
15039 PyObject
* obj1
= 0 ;
15040 char *kwnames
[] = {
15041 (char *) "self",(char *) "m_x", NULL
15044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15047 arg2
= (int)SWIG_As_int(obj1
);
15048 if (PyErr_Occurred()) SWIG_fail
;
15049 if (arg1
) (arg1
)->m_x
= arg2
;
15051 Py_INCREF(Py_None
); resultobj
= Py_None
;
15058 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15059 PyObject
*resultobj
;
15060 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15062 PyObject
* obj0
= 0 ;
15063 char *kwnames
[] = {
15064 (char *) "self", NULL
15067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15070 result
= (int) ((arg1
)->m_x
);
15072 resultobj
= SWIG_From_int((int)result
);
15079 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15080 PyObject
*resultobj
;
15081 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15083 PyObject
* obj0
= 0 ;
15084 PyObject
* obj1
= 0 ;
15085 char *kwnames
[] = {
15086 (char *) "self",(char *) "m_y", NULL
15089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15092 arg2
= (int)SWIG_As_int(obj1
);
15093 if (PyErr_Occurred()) SWIG_fail
;
15094 if (arg1
) (arg1
)->m_y
= arg2
;
15096 Py_INCREF(Py_None
); resultobj
= Py_None
;
15103 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15104 PyObject
*resultobj
;
15105 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15107 PyObject
* obj0
= 0 ;
15108 char *kwnames
[] = {
15109 (char *) "self", NULL
15112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15115 result
= (int) ((arg1
)->m_y
);
15117 resultobj
= SWIG_From_int((int)result
);
15124 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15125 PyObject
*resultobj
;
15126 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15128 PyObject
* obj0
= 0 ;
15129 PyObject
* obj1
= 0 ;
15130 char *kwnames
[] = {
15131 (char *) "self",(char *) "m_leftDown", NULL
15134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15137 arg2
= (bool)SWIG_As_bool(obj1
);
15138 if (PyErr_Occurred()) SWIG_fail
;
15139 if (arg1
) (arg1
)->m_leftDown
= arg2
;
15141 Py_INCREF(Py_None
); resultobj
= Py_None
;
15148 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15149 PyObject
*resultobj
;
15150 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15152 PyObject
* obj0
= 0 ;
15153 char *kwnames
[] = {
15154 (char *) "self", NULL
15157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
15158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15160 result
= (bool) ((arg1
)->m_leftDown
);
15163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15171 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15172 PyObject
*resultobj
;
15173 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15175 PyObject
* obj0
= 0 ;
15176 PyObject
* obj1
= 0 ;
15177 char *kwnames
[] = {
15178 (char *) "self",(char *) "m_middleDown", NULL
15181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15184 arg2
= (bool)SWIG_As_bool(obj1
);
15185 if (PyErr_Occurred()) SWIG_fail
;
15186 if (arg1
) (arg1
)->m_middleDown
= arg2
;
15188 Py_INCREF(Py_None
); resultobj
= Py_None
;
15195 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15196 PyObject
*resultobj
;
15197 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15199 PyObject
* obj0
= 0 ;
15200 char *kwnames
[] = {
15201 (char *) "self", NULL
15204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
15205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15207 result
= (bool) ((arg1
)->m_middleDown
);
15210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15218 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15219 PyObject
*resultobj
;
15220 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15222 PyObject
* obj0
= 0 ;
15223 PyObject
* obj1
= 0 ;
15224 char *kwnames
[] = {
15225 (char *) "self",(char *) "m_rightDown", NULL
15228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15231 arg2
= (bool)SWIG_As_bool(obj1
);
15232 if (PyErr_Occurred()) SWIG_fail
;
15233 if (arg1
) (arg1
)->m_rightDown
= arg2
;
15235 Py_INCREF(Py_None
); resultobj
= Py_None
;
15242 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15243 PyObject
*resultobj
;
15244 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15246 PyObject
* obj0
= 0 ;
15247 char *kwnames
[] = {
15248 (char *) "self", NULL
15251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
15252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15254 result
= (bool) ((arg1
)->m_rightDown
);
15257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15265 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15266 PyObject
*resultobj
;
15267 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15269 PyObject
* obj0
= 0 ;
15270 PyObject
* obj1
= 0 ;
15271 char *kwnames
[] = {
15272 (char *) "self",(char *) "m_controlDown", NULL
15275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15278 arg2
= (bool)SWIG_As_bool(obj1
);
15279 if (PyErr_Occurred()) SWIG_fail
;
15280 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15282 Py_INCREF(Py_None
); resultobj
= Py_None
;
15289 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15290 PyObject
*resultobj
;
15291 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15293 PyObject
* obj0
= 0 ;
15294 char *kwnames
[] = {
15295 (char *) "self", NULL
15298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15301 result
= (bool) ((arg1
)->m_controlDown
);
15304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15312 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15313 PyObject
*resultobj
;
15314 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15316 PyObject
* obj0
= 0 ;
15317 PyObject
* obj1
= 0 ;
15318 char *kwnames
[] = {
15319 (char *) "self",(char *) "m_shiftDown", NULL
15322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15325 arg2
= (bool)SWIG_As_bool(obj1
);
15326 if (PyErr_Occurred()) SWIG_fail
;
15327 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15329 Py_INCREF(Py_None
); resultobj
= Py_None
;
15336 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15337 PyObject
*resultobj
;
15338 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15340 PyObject
* obj0
= 0 ;
15341 char *kwnames
[] = {
15342 (char *) "self", NULL
15345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
15346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15348 result
= (bool) ((arg1
)->m_shiftDown
);
15351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15359 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15360 PyObject
*resultobj
;
15361 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15363 PyObject
* obj0
= 0 ;
15364 PyObject
* obj1
= 0 ;
15365 char *kwnames
[] = {
15366 (char *) "self",(char *) "m_altDown", NULL
15369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15372 arg2
= (bool)SWIG_As_bool(obj1
);
15373 if (PyErr_Occurred()) SWIG_fail
;
15374 if (arg1
) (arg1
)->m_altDown
= arg2
;
15376 Py_INCREF(Py_None
); resultobj
= Py_None
;
15383 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15384 PyObject
*resultobj
;
15385 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15387 PyObject
* obj0
= 0 ;
15388 char *kwnames
[] = {
15389 (char *) "self", NULL
15392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15395 result
= (bool) ((arg1
)->m_altDown
);
15398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15406 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15407 PyObject
*resultobj
;
15408 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15410 PyObject
* obj0
= 0 ;
15411 PyObject
* obj1
= 0 ;
15412 char *kwnames
[] = {
15413 (char *) "self",(char *) "m_metaDown", NULL
15416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15419 arg2
= (bool)SWIG_As_bool(obj1
);
15420 if (PyErr_Occurred()) SWIG_fail
;
15421 if (arg1
) (arg1
)->m_metaDown
= arg2
;
15423 Py_INCREF(Py_None
); resultobj
= Py_None
;
15430 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15431 PyObject
*resultobj
;
15432 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15434 PyObject
* obj0
= 0 ;
15435 char *kwnames
[] = {
15436 (char *) "self", NULL
15439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
15440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15442 result
= (bool) ((arg1
)->m_metaDown
);
15445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15453 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15454 PyObject
*resultobj
;
15455 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15457 PyObject
* obj0
= 0 ;
15458 PyObject
* obj1
= 0 ;
15459 char *kwnames
[] = {
15460 (char *) "self",(char *) "m_wheelRotation", NULL
15463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15466 arg2
= (int)SWIG_As_int(obj1
);
15467 if (PyErr_Occurred()) SWIG_fail
;
15468 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
15470 Py_INCREF(Py_None
); resultobj
= Py_None
;
15477 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15478 PyObject
*resultobj
;
15479 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15481 PyObject
* obj0
= 0 ;
15482 char *kwnames
[] = {
15483 (char *) "self", NULL
15486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
15487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15489 result
= (int) ((arg1
)->m_wheelRotation
);
15491 resultobj
= SWIG_From_int((int)result
);
15498 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15499 PyObject
*resultobj
;
15500 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15502 PyObject
* obj0
= 0 ;
15503 PyObject
* obj1
= 0 ;
15504 char *kwnames
[] = {
15505 (char *) "self",(char *) "m_wheelDelta", NULL
15508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15511 arg2
= (int)SWIG_As_int(obj1
);
15512 if (PyErr_Occurred()) SWIG_fail
;
15513 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
15515 Py_INCREF(Py_None
); resultobj
= Py_None
;
15522 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15523 PyObject
*resultobj
;
15524 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15526 PyObject
* obj0
= 0 ;
15527 char *kwnames
[] = {
15528 (char *) "self", NULL
15531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
15532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15534 result
= (int) ((arg1
)->m_wheelDelta
);
15536 resultobj
= SWIG_From_int((int)result
);
15543 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15544 PyObject
*resultobj
;
15545 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15547 PyObject
* obj0
= 0 ;
15548 PyObject
* obj1
= 0 ;
15549 char *kwnames
[] = {
15550 (char *) "self",(char *) "m_linesPerAction", NULL
15553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15556 arg2
= (int)SWIG_As_int(obj1
);
15557 if (PyErr_Occurred()) SWIG_fail
;
15558 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
15560 Py_INCREF(Py_None
); resultobj
= Py_None
;
15567 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15568 PyObject
*resultobj
;
15569 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15571 PyObject
* obj0
= 0 ;
15572 char *kwnames
[] = {
15573 (char *) "self", NULL
15576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15579 result
= (int) ((arg1
)->m_linesPerAction
);
15581 resultobj
= SWIG_From_int((int)result
);
15588 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
15590 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15591 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15593 return Py_BuildValue((char *)"");
15595 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15596 PyObject
*resultobj
;
15597 int arg1
= (int) 0 ;
15598 int arg2
= (int) 0 ;
15599 wxSetCursorEvent
*result
;
15600 PyObject
* obj0
= 0 ;
15601 PyObject
* obj1
= 0 ;
15602 char *kwnames
[] = {
15603 (char *) "x",(char *) "y", NULL
15606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15608 arg1
= (int)SWIG_As_int(obj0
);
15609 if (PyErr_Occurred()) SWIG_fail
;
15612 arg2
= (int)SWIG_As_int(obj1
);
15613 if (PyErr_Occurred()) SWIG_fail
;
15616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15617 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15619 wxPyEndAllowThreads(__tstate
);
15620 if (PyErr_Occurred()) SWIG_fail
;
15622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15629 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15630 PyObject
*resultobj
;
15631 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15633 PyObject
* obj0
= 0 ;
15634 char *kwnames
[] = {
15635 (char *) "self", NULL
15638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15643 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15645 wxPyEndAllowThreads(__tstate
);
15646 if (PyErr_Occurred()) SWIG_fail
;
15648 resultobj
= SWIG_From_int((int)result
);
15655 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15656 PyObject
*resultobj
;
15657 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15659 PyObject
* obj0
= 0 ;
15660 char *kwnames
[] = {
15661 (char *) "self", NULL
15664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15669 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15671 wxPyEndAllowThreads(__tstate
);
15672 if (PyErr_Occurred()) SWIG_fail
;
15674 resultobj
= SWIG_From_int((int)result
);
15681 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15682 PyObject
*resultobj
;
15683 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15684 wxCursor
*arg2
= 0 ;
15685 PyObject
* obj0
= 0 ;
15686 PyObject
* obj1
= 0 ;
15687 char *kwnames
[] = {
15688 (char *) "self",(char *) "cursor", NULL
15691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15694 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15695 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15697 if (arg2
== NULL
) {
15698 PyErr_SetString(PyExc_TypeError
,"null reference");
15702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15703 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15705 wxPyEndAllowThreads(__tstate
);
15706 if (PyErr_Occurred()) SWIG_fail
;
15708 Py_INCREF(Py_None
); resultobj
= Py_None
;
15715 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15716 PyObject
*resultobj
;
15717 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15719 PyObject
* obj0
= 0 ;
15720 char *kwnames
[] = {
15721 (char *) "self", NULL
15724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15730 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15731 result
= (wxCursor
*) &_result_ref
;
15734 wxPyEndAllowThreads(__tstate
);
15735 if (PyErr_Occurred()) SWIG_fail
;
15738 wxCursor
* resultptr
= new wxCursor(*result
);
15739 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15747 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15748 PyObject
*resultobj
;
15749 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15751 PyObject
* obj0
= 0 ;
15752 char *kwnames
[] = {
15753 (char *) "self", NULL
15756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15761 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15763 wxPyEndAllowThreads(__tstate
);
15764 if (PyErr_Occurred()) SWIG_fail
;
15767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15775 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
15777 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15778 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15780 return Py_BuildValue((char *)"");
15782 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15783 PyObject
*resultobj
;
15784 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15785 wxKeyEvent
*result
;
15786 PyObject
* obj0
= 0 ;
15787 char *kwnames
[] = {
15788 (char *) "keyType", NULL
15791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15793 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15794 if (PyErr_Occurred()) SWIG_fail
;
15797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15798 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15800 wxPyEndAllowThreads(__tstate
);
15801 if (PyErr_Occurred()) SWIG_fail
;
15803 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15810 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15811 PyObject
*resultobj
;
15812 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15814 PyObject
* obj0
= 0 ;
15815 char *kwnames
[] = {
15816 (char *) "self", NULL
15819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15824 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15826 wxPyEndAllowThreads(__tstate
);
15827 if (PyErr_Occurred()) SWIG_fail
;
15830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15838 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15839 PyObject
*resultobj
;
15840 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15842 PyObject
* obj0
= 0 ;
15843 char *kwnames
[] = {
15844 (char *) "self", NULL
15847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15852 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15854 wxPyEndAllowThreads(__tstate
);
15855 if (PyErr_Occurred()) SWIG_fail
;
15858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15866 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15867 PyObject
*resultobj
;
15868 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15870 PyObject
* obj0
= 0 ;
15871 char *kwnames
[] = {
15872 (char *) "self", NULL
15875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15880 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
15882 wxPyEndAllowThreads(__tstate
);
15883 if (PyErr_Occurred()) SWIG_fail
;
15886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15894 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15895 PyObject
*resultobj
;
15896 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15898 PyObject
* obj0
= 0 ;
15899 char *kwnames
[] = {
15900 (char *) "self", NULL
15903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15908 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
15910 wxPyEndAllowThreads(__tstate
);
15911 if (PyErr_Occurred()) SWIG_fail
;
15914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15922 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15923 PyObject
*resultobj
;
15924 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15926 PyObject
* obj0
= 0 ;
15927 char *kwnames
[] = {
15928 (char *) "self", NULL
15931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
15932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15936 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
15938 wxPyEndAllowThreads(__tstate
);
15939 if (PyErr_Occurred()) SWIG_fail
;
15942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15950 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15951 PyObject
*resultobj
;
15952 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15954 PyObject
* obj0
= 0 ;
15955 char *kwnames
[] = {
15956 (char *) "self", NULL
15959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
15960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15964 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
15966 wxPyEndAllowThreads(__tstate
);
15967 if (PyErr_Occurred()) SWIG_fail
;
15970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15978 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15979 PyObject
*resultobj
;
15980 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15982 PyObject
* obj0
= 0 ;
15983 char *kwnames
[] = {
15984 (char *) "self", NULL
15987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
15988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15992 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
15994 wxPyEndAllowThreads(__tstate
);
15995 if (PyErr_Occurred()) SWIG_fail
;
15997 resultobj
= SWIG_From_int((int)result
);
16004 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16005 PyObject
*resultobj
;
16006 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16008 PyObject
* obj0
= 0 ;
16009 char *kwnames
[] = {
16010 (char *) "self", NULL
16013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
16014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16018 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
16020 wxPyEndAllowThreads(__tstate
);
16021 if (PyErr_Occurred()) SWIG_fail
;
16023 resultobj
= SWIG_From_int((int)result
);
16030 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16031 PyObject
*resultobj
;
16032 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16033 unsigned int result
;
16034 PyObject
* obj0
= 0 ;
16035 char *kwnames
[] = {
16036 (char *) "self", NULL
16039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
16040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16044 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
16046 wxPyEndAllowThreads(__tstate
);
16047 if (PyErr_Occurred()) SWIG_fail
;
16049 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16056 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16057 PyObject
*resultobj
;
16058 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16059 unsigned int result
;
16060 PyObject
* obj0
= 0 ;
16061 char *kwnames
[] = {
16062 (char *) "self", NULL
16065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
16066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16070 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
16072 wxPyEndAllowThreads(__tstate
);
16073 if (PyErr_Occurred()) SWIG_fail
;
16075 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16082 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16083 PyObject
*resultobj
;
16084 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16086 PyObject
* obj0
= 0 ;
16087 char *kwnames
[] = {
16088 (char *) "self", NULL
16091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16096 result
= (arg1
)->GetPosition();
16098 wxPyEndAllowThreads(__tstate
);
16099 if (PyErr_Occurred()) SWIG_fail
;
16102 wxPoint
* resultptr
;
16103 resultptr
= new wxPoint((wxPoint
&) result
);
16104 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16112 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16113 PyObject
*resultobj
;
16114 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16115 long *arg2
= (long *) 0 ;
16116 long *arg3
= (long *) 0 ;
16121 PyObject
* obj0
= 0 ;
16122 char *kwnames
[] = {
16123 (char *) "self", NULL
16126 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16127 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
16129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16133 (arg1
)->GetPosition(arg2
,arg3
);
16135 wxPyEndAllowThreads(__tstate
);
16136 if (PyErr_Occurred()) SWIG_fail
;
16138 Py_INCREF(Py_None
); resultobj
= Py_None
;
16139 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16140 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
16141 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16142 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
16149 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16150 PyObject
*resultobj
;
16151 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16153 PyObject
* obj0
= 0 ;
16154 char *kwnames
[] = {
16155 (char *) "self", NULL
16158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
16159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16163 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
16165 wxPyEndAllowThreads(__tstate
);
16166 if (PyErr_Occurred()) SWIG_fail
;
16168 resultobj
= SWIG_From_int((int)result
);
16175 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16176 PyObject
*resultobj
;
16177 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16179 PyObject
* obj0
= 0 ;
16180 char *kwnames
[] = {
16181 (char *) "self", NULL
16184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
16185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16189 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
16191 wxPyEndAllowThreads(__tstate
);
16192 if (PyErr_Occurred()) SWIG_fail
;
16194 resultobj
= SWIG_From_int((int)result
);
16201 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16202 PyObject
*resultobj
;
16203 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16205 PyObject
* obj0
= 0 ;
16206 PyObject
* obj1
= 0 ;
16207 char *kwnames
[] = {
16208 (char *) "self",(char *) "m_x", NULL
16211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16214 arg2
= (int)SWIG_As_int(obj1
);
16215 if (PyErr_Occurred()) SWIG_fail
;
16216 if (arg1
) (arg1
)->m_x
= arg2
;
16218 Py_INCREF(Py_None
); resultobj
= Py_None
;
16225 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16226 PyObject
*resultobj
;
16227 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16229 PyObject
* obj0
= 0 ;
16230 char *kwnames
[] = {
16231 (char *) "self", NULL
16234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
16235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16237 result
= (int) ((arg1
)->m_x
);
16239 resultobj
= SWIG_From_int((int)result
);
16246 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16247 PyObject
*resultobj
;
16248 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16250 PyObject
* obj0
= 0 ;
16251 PyObject
* obj1
= 0 ;
16252 char *kwnames
[] = {
16253 (char *) "self",(char *) "m_y", NULL
16256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16259 arg2
= (int)SWIG_As_int(obj1
);
16260 if (PyErr_Occurred()) SWIG_fail
;
16261 if (arg1
) (arg1
)->m_y
= arg2
;
16263 Py_INCREF(Py_None
); resultobj
= Py_None
;
16270 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16271 PyObject
*resultobj
;
16272 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16274 PyObject
* obj0
= 0 ;
16275 char *kwnames
[] = {
16276 (char *) "self", NULL
16279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
16280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16282 result
= (int) ((arg1
)->m_y
);
16284 resultobj
= SWIG_From_int((int)result
);
16291 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16292 PyObject
*resultobj
;
16293 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16295 PyObject
* obj0
= 0 ;
16296 PyObject
* obj1
= 0 ;
16297 char *kwnames
[] = {
16298 (char *) "self",(char *) "m_keyCode", NULL
16301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16304 arg2
= (long)SWIG_As_long(obj1
);
16305 if (PyErr_Occurred()) SWIG_fail
;
16306 if (arg1
) (arg1
)->m_keyCode
= arg2
;
16308 Py_INCREF(Py_None
); resultobj
= Py_None
;
16315 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16316 PyObject
*resultobj
;
16317 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16319 PyObject
* obj0
= 0 ;
16320 char *kwnames
[] = {
16321 (char *) "self", NULL
16324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
16325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16327 result
= (long) ((arg1
)->m_keyCode
);
16329 resultobj
= SWIG_From_long((long)result
);
16336 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16337 PyObject
*resultobj
;
16338 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16340 PyObject
* obj0
= 0 ;
16341 PyObject
* obj1
= 0 ;
16342 char *kwnames
[] = {
16343 (char *) "self",(char *) "m_controlDown", NULL
16346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16349 arg2
= (bool)SWIG_As_bool(obj1
);
16350 if (PyErr_Occurred()) SWIG_fail
;
16351 if (arg1
) (arg1
)->m_controlDown
= arg2
;
16353 Py_INCREF(Py_None
); resultobj
= Py_None
;
16360 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16361 PyObject
*resultobj
;
16362 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16364 PyObject
* obj0
= 0 ;
16365 char *kwnames
[] = {
16366 (char *) "self", NULL
16369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
16370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16372 result
= (bool) ((arg1
)->m_controlDown
);
16375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16383 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16384 PyObject
*resultobj
;
16385 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16387 PyObject
* obj0
= 0 ;
16388 PyObject
* obj1
= 0 ;
16389 char *kwnames
[] = {
16390 (char *) "self",(char *) "m_shiftDown", NULL
16393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16396 arg2
= (bool)SWIG_As_bool(obj1
);
16397 if (PyErr_Occurred()) SWIG_fail
;
16398 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
16400 Py_INCREF(Py_None
); resultobj
= Py_None
;
16407 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16408 PyObject
*resultobj
;
16409 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16411 PyObject
* obj0
= 0 ;
16412 char *kwnames
[] = {
16413 (char *) "self", NULL
16416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
16417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16419 result
= (bool) ((arg1
)->m_shiftDown
);
16422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16430 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16431 PyObject
*resultobj
;
16432 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16434 PyObject
* obj0
= 0 ;
16435 PyObject
* obj1
= 0 ;
16436 char *kwnames
[] = {
16437 (char *) "self",(char *) "m_altDown", NULL
16440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16443 arg2
= (bool)SWIG_As_bool(obj1
);
16444 if (PyErr_Occurred()) SWIG_fail
;
16445 if (arg1
) (arg1
)->m_altDown
= arg2
;
16447 Py_INCREF(Py_None
); resultobj
= Py_None
;
16454 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16455 PyObject
*resultobj
;
16456 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16458 PyObject
* obj0
= 0 ;
16459 char *kwnames
[] = {
16460 (char *) "self", NULL
16463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
16464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16466 result
= (bool) ((arg1
)->m_altDown
);
16469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16477 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16478 PyObject
*resultobj
;
16479 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16481 PyObject
* obj0
= 0 ;
16482 PyObject
* obj1
= 0 ;
16483 char *kwnames
[] = {
16484 (char *) "self",(char *) "m_metaDown", NULL
16487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16490 arg2
= (bool)SWIG_As_bool(obj1
);
16491 if (PyErr_Occurred()) SWIG_fail
;
16492 if (arg1
) (arg1
)->m_metaDown
= arg2
;
16494 Py_INCREF(Py_None
); resultobj
= Py_None
;
16501 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16502 PyObject
*resultobj
;
16503 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16505 PyObject
* obj0
= 0 ;
16506 char *kwnames
[] = {
16507 (char *) "self", NULL
16510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
16511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16513 result
= (bool) ((arg1
)->m_metaDown
);
16516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16524 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16525 PyObject
*resultobj
;
16526 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16528 PyObject
* obj0
= 0 ;
16529 PyObject
* obj1
= 0 ;
16530 char *kwnames
[] = {
16531 (char *) "self",(char *) "m_scanCode", NULL
16534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16537 arg2
= (bool)SWIG_As_bool(obj1
);
16538 if (PyErr_Occurred()) SWIG_fail
;
16539 if (arg1
) (arg1
)->m_scanCode
= arg2
;
16541 Py_INCREF(Py_None
); resultobj
= Py_None
;
16548 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16549 PyObject
*resultobj
;
16550 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16552 PyObject
* obj0
= 0 ;
16553 char *kwnames
[] = {
16554 (char *) "self", NULL
16557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
16558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16560 result
= (bool) ((arg1
)->m_scanCode
);
16563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16571 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16572 PyObject
*resultobj
;
16573 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16574 unsigned int arg2
;
16575 PyObject
* obj0
= 0 ;
16576 PyObject
* obj1
= 0 ;
16577 char *kwnames
[] = {
16578 (char *) "self",(char *) "m_rawCode", NULL
16581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16584 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
16585 if (PyErr_Occurred()) SWIG_fail
;
16586 if (arg1
) (arg1
)->m_rawCode
= arg2
;
16588 Py_INCREF(Py_None
); resultobj
= Py_None
;
16595 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16596 PyObject
*resultobj
;
16597 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16598 unsigned int result
;
16599 PyObject
* obj0
= 0 ;
16600 char *kwnames
[] = {
16601 (char *) "self", NULL
16604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16607 result
= (unsigned int) ((arg1
)->m_rawCode
);
16609 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16616 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16617 PyObject
*resultobj
;
16618 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16619 unsigned int arg2
;
16620 PyObject
* obj0
= 0 ;
16621 PyObject
* obj1
= 0 ;
16622 char *kwnames
[] = {
16623 (char *) "self",(char *) "m_rawFlags", NULL
16626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16629 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
16630 if (PyErr_Occurred()) SWIG_fail
;
16631 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16633 Py_INCREF(Py_None
); resultobj
= Py_None
;
16640 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16641 PyObject
*resultobj
;
16642 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16643 unsigned int result
;
16644 PyObject
* obj0
= 0 ;
16645 char *kwnames
[] = {
16646 (char *) "self", NULL
16649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16652 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16654 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
16661 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
16663 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16664 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16666 return Py_BuildValue((char *)"");
16668 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16669 PyObject
*resultobj
;
16670 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16671 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16672 int arg2
= (int) 0 ;
16673 wxSizeEvent
*result
;
16675 PyObject
* obj0
= 0 ;
16676 PyObject
* obj1
= 0 ;
16677 char *kwnames
[] = {
16678 (char *) "sz",(char *) "winid", NULL
16681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16685 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16689 arg2
= (int)SWIG_As_int(obj1
);
16690 if (PyErr_Occurred()) SWIG_fail
;
16693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16694 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16696 wxPyEndAllowThreads(__tstate
);
16697 if (PyErr_Occurred()) SWIG_fail
;
16699 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16706 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16707 PyObject
*resultobj
;
16708 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16710 PyObject
* obj0
= 0 ;
16711 char *kwnames
[] = {
16712 (char *) "self", NULL
16715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16720 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16722 wxPyEndAllowThreads(__tstate
);
16723 if (PyErr_Occurred()) SWIG_fail
;
16726 wxSize
* resultptr
;
16727 resultptr
= new wxSize((wxSize
&) result
);
16728 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16736 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16737 PyObject
*resultobj
;
16738 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16740 PyObject
* obj0
= 0 ;
16741 char *kwnames
[] = {
16742 (char *) "self", NULL
16745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16750 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16752 wxPyEndAllowThreads(__tstate
);
16753 if (PyErr_Occurred()) SWIG_fail
;
16756 wxRect
* resultptr
;
16757 resultptr
= new wxRect((wxRect
&) result
);
16758 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16766 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16767 PyObject
*resultobj
;
16768 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16771 PyObject
* obj0
= 0 ;
16772 PyObject
* obj1
= 0 ;
16773 char *kwnames
[] = {
16774 (char *) "self",(char *) "rect", NULL
16777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16780 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16781 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16785 (arg1
)->SetRect(arg2
);
16787 wxPyEndAllowThreads(__tstate
);
16788 if (PyErr_Occurred()) SWIG_fail
;
16790 Py_INCREF(Py_None
); resultobj
= Py_None
;
16797 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16798 PyObject
*resultobj
;
16799 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16802 PyObject
* obj0
= 0 ;
16803 PyObject
* obj1
= 0 ;
16804 char *kwnames
[] = {
16805 (char *) "self",(char *) "size", NULL
16808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16811 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16812 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16816 wxSizeEvent_SetSize(arg1
,arg2
);
16818 wxPyEndAllowThreads(__tstate
);
16819 if (PyErr_Occurred()) SWIG_fail
;
16821 Py_INCREF(Py_None
); resultobj
= Py_None
;
16828 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16829 PyObject
*resultobj
;
16830 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16831 wxSize
*arg2
= (wxSize
*) 0 ;
16832 PyObject
* obj0
= 0 ;
16833 PyObject
* obj1
= 0 ;
16834 char *kwnames
[] = {
16835 (char *) "self",(char *) "m_size", NULL
16838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16841 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16843 if (arg1
) (arg1
)->m_size
= *arg2
;
16845 Py_INCREF(Py_None
); resultobj
= Py_None
;
16852 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16853 PyObject
*resultobj
;
16854 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16856 PyObject
* obj0
= 0 ;
16857 char *kwnames
[] = {
16858 (char *) "self", NULL
16861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
16862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16864 result
= (wxSize
*)& ((arg1
)->m_size
);
16866 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16873 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16874 PyObject
*resultobj
;
16875 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16876 wxRect
*arg2
= (wxRect
*) 0 ;
16877 PyObject
* obj0
= 0 ;
16878 PyObject
* obj1
= 0 ;
16879 char *kwnames
[] = {
16880 (char *) "self",(char *) "m_rect", NULL
16883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16886 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16888 if (arg1
) (arg1
)->m_rect
= *arg2
;
16890 Py_INCREF(Py_None
); resultobj
= Py_None
;
16897 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16898 PyObject
*resultobj
;
16899 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16901 PyObject
* obj0
= 0 ;
16902 char *kwnames
[] = {
16903 (char *) "self", NULL
16906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16909 result
= (wxRect
*)& ((arg1
)->m_rect
);
16911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16918 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
16920 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16921 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
16923 return Py_BuildValue((char *)"");
16925 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16926 PyObject
*resultobj
;
16927 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
16928 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
16929 int arg2
= (int) 0 ;
16930 wxMoveEvent
*result
;
16932 PyObject
* obj0
= 0 ;
16933 PyObject
* obj1
= 0 ;
16934 char *kwnames
[] = {
16935 (char *) "pos",(char *) "winid", NULL
16938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16942 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
16946 arg2
= (int)SWIG_As_int(obj1
);
16947 if (PyErr_Occurred()) SWIG_fail
;
16950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16951 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
16953 wxPyEndAllowThreads(__tstate
);
16954 if (PyErr_Occurred()) SWIG_fail
;
16956 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
16963 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16964 PyObject
*resultobj
;
16965 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16967 PyObject
* obj0
= 0 ;
16968 char *kwnames
[] = {
16969 (char *) "self", NULL
16972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16977 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
16979 wxPyEndAllowThreads(__tstate
);
16980 if (PyErr_Occurred()) SWIG_fail
;
16983 wxPoint
* resultptr
;
16984 resultptr
= new wxPoint((wxPoint
&) result
);
16985 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16993 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16994 PyObject
*resultobj
;
16995 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16997 PyObject
* obj0
= 0 ;
16998 char *kwnames
[] = {
16999 (char *) "self", NULL
17002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
17003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17007 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
17009 wxPyEndAllowThreads(__tstate
);
17010 if (PyErr_Occurred()) SWIG_fail
;
17013 wxRect
* resultptr
;
17014 resultptr
= new wxRect((wxRect
&) result
);
17015 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
17023 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17024 PyObject
*resultobj
;
17025 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17028 PyObject
* obj0
= 0 ;
17029 PyObject
* obj1
= 0 ;
17030 char *kwnames
[] = {
17031 (char *) "self",(char *) "rect", NULL
17034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
17035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17037 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
17038 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
17041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17042 (arg1
)->SetRect(arg2
);
17044 wxPyEndAllowThreads(__tstate
);
17045 if (PyErr_Occurred()) SWIG_fail
;
17047 Py_INCREF(Py_None
); resultobj
= Py_None
;
17054 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17055 PyObject
*resultobj
;
17056 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17059 PyObject
* obj0
= 0 ;
17060 PyObject
* obj1
= 0 ;
17061 char *kwnames
[] = {
17062 (char *) "self",(char *) "pos", NULL
17065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
17066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17068 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
17069 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
17072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17073 wxMoveEvent_SetPosition(arg1
,arg2
);
17075 wxPyEndAllowThreads(__tstate
);
17076 if (PyErr_Occurred()) SWIG_fail
;
17078 Py_INCREF(Py_None
); resultobj
= Py_None
;
17085 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17086 PyObject
*resultobj
;
17087 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17088 wxPoint
*arg2
= (wxPoint
*) 0 ;
17089 PyObject
* obj0
= 0 ;
17090 PyObject
* obj1
= 0 ;
17091 char *kwnames
[] = {
17092 (char *) "self",(char *) "m_pos", NULL
17095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17098 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
17099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17100 if (arg1
) (arg1
)->m_pos
= *arg2
;
17102 Py_INCREF(Py_None
); resultobj
= Py_None
;
17109 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17110 PyObject
*resultobj
;
17111 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17113 PyObject
* obj0
= 0 ;
17114 char *kwnames
[] = {
17115 (char *) "self", NULL
17118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
17119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17121 result
= (wxPoint
*)& ((arg1
)->m_pos
);
17123 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
17130 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17131 PyObject
*resultobj
;
17132 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17133 wxRect
*arg2
= (wxRect
*) 0 ;
17134 PyObject
* obj0
= 0 ;
17135 PyObject
* obj1
= 0 ;
17136 char *kwnames
[] = {
17137 (char *) "self",(char *) "m_rect", NULL
17140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17143 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
17144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17145 if (arg1
) (arg1
)->m_rect
= *arg2
;
17147 Py_INCREF(Py_None
); resultobj
= Py_None
;
17154 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17155 PyObject
*resultobj
;
17156 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
17158 PyObject
* obj0
= 0 ;
17159 char *kwnames
[] = {
17160 (char *) "self", NULL
17163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
17164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
17165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17166 result
= (wxRect
*)& ((arg1
)->m_rect
);
17168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
17175 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
17177 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17178 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
17180 return Py_BuildValue((char *)"");
17182 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17183 PyObject
*resultobj
;
17184 int arg1
= (int) 0 ;
17185 wxPaintEvent
*result
;
17186 PyObject
* obj0
= 0 ;
17187 char *kwnames
[] = {
17188 (char *) "Id", NULL
17191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
17193 arg1
= (int)SWIG_As_int(obj0
);
17194 if (PyErr_Occurred()) SWIG_fail
;
17197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17198 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
17200 wxPyEndAllowThreads(__tstate
);
17201 if (PyErr_Occurred()) SWIG_fail
;
17203 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
17210 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
17212 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17213 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
17215 return Py_BuildValue((char *)"");
17217 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17218 PyObject
*resultobj
;
17219 int arg1
= (int) 0 ;
17220 wxNcPaintEvent
*result
;
17221 PyObject
* obj0
= 0 ;
17222 char *kwnames
[] = {
17223 (char *) "winid", NULL
17226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
17228 arg1
= (int)SWIG_As_int(obj0
);
17229 if (PyErr_Occurred()) SWIG_fail
;
17232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17233 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
17235 wxPyEndAllowThreads(__tstate
);
17236 if (PyErr_Occurred()) SWIG_fail
;
17238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
17245 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
17247 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17248 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
17250 return Py_BuildValue((char *)"");
17252 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17253 PyObject
*resultobj
;
17254 int arg1
= (int) 0 ;
17255 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
17256 wxEraseEvent
*result
;
17257 PyObject
* obj0
= 0 ;
17258 PyObject
* obj1
= 0 ;
17259 char *kwnames
[] = {
17260 (char *) "Id",(char *) "dc", NULL
17263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17265 arg1
= (int)SWIG_As_int(obj0
);
17266 if (PyErr_Occurred()) SWIG_fail
;
17269 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
17270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17274 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
17276 wxPyEndAllowThreads(__tstate
);
17277 if (PyErr_Occurred()) SWIG_fail
;
17279 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
17286 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17287 PyObject
*resultobj
;
17288 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
17290 PyObject
* obj0
= 0 ;
17291 char *kwnames
[] = {
17292 (char *) "self", NULL
17295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
17296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
17297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17300 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
17302 wxPyEndAllowThreads(__tstate
);
17303 if (PyErr_Occurred()) SWIG_fail
;
17306 resultobj
= wxPyMake_wxObject(result
, 0);
17314 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
17316 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17317 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
17319 return Py_BuildValue((char *)"");
17321 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17322 PyObject
*resultobj
;
17323 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17324 int arg2
= (int) 0 ;
17325 wxFocusEvent
*result
;
17326 PyObject
* obj0
= 0 ;
17327 PyObject
* obj1
= 0 ;
17328 char *kwnames
[] = {
17329 (char *) "type",(char *) "winid", NULL
17332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17334 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17335 if (PyErr_Occurred()) SWIG_fail
;
17338 arg2
= (int)SWIG_As_int(obj1
);
17339 if (PyErr_Occurred()) SWIG_fail
;
17342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17343 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
17345 wxPyEndAllowThreads(__tstate
);
17346 if (PyErr_Occurred()) SWIG_fail
;
17348 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
17355 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17356 PyObject
*resultobj
;
17357 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17359 PyObject
* obj0
= 0 ;
17360 char *kwnames
[] = {
17361 (char *) "self", NULL
17364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17369 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
17371 wxPyEndAllowThreads(__tstate
);
17372 if (PyErr_Occurred()) SWIG_fail
;
17375 resultobj
= wxPyMake_wxObject(result
, 0);
17383 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17384 PyObject
*resultobj
;
17385 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17386 wxWindow
*arg2
= (wxWindow
*) 0 ;
17387 PyObject
* obj0
= 0 ;
17388 PyObject
* obj1
= 0 ;
17389 char *kwnames
[] = {
17390 (char *) "self",(char *) "win", NULL
17393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17396 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17400 (arg1
)->SetWindow(arg2
);
17402 wxPyEndAllowThreads(__tstate
);
17403 if (PyErr_Occurred()) SWIG_fail
;
17405 Py_INCREF(Py_None
); resultobj
= Py_None
;
17412 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
17414 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17415 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
17417 return Py_BuildValue((char *)"");
17419 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17420 PyObject
*resultobj
;
17421 wxWindow
*arg1
= (wxWindow
*) NULL
;
17422 wxChildFocusEvent
*result
;
17423 PyObject
* obj0
= 0 ;
17424 char *kwnames
[] = {
17425 (char *) "win", NULL
17428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
17430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17435 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
17437 wxPyEndAllowThreads(__tstate
);
17438 if (PyErr_Occurred()) SWIG_fail
;
17440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
17447 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17448 PyObject
*resultobj
;
17449 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
17451 PyObject
* obj0
= 0 ;
17452 char *kwnames
[] = {
17453 (char *) "self", NULL
17456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
17458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17461 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
17463 wxPyEndAllowThreads(__tstate
);
17464 if (PyErr_Occurred()) SWIG_fail
;
17467 resultobj
= wxPyMake_wxObject(result
, 0);
17475 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
17477 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17478 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
17480 return Py_BuildValue((char *)"");
17482 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17483 PyObject
*resultobj
;
17484 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17485 bool arg2
= (bool) true ;
17486 int arg3
= (int) 0 ;
17487 wxActivateEvent
*result
;
17488 PyObject
* obj0
= 0 ;
17489 PyObject
* obj1
= 0 ;
17490 PyObject
* obj2
= 0 ;
17491 char *kwnames
[] = {
17492 (char *) "type",(char *) "active",(char *) "Id", NULL
17495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17497 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17498 if (PyErr_Occurred()) SWIG_fail
;
17501 arg2
= (bool)SWIG_As_bool(obj1
);
17502 if (PyErr_Occurred()) SWIG_fail
;
17505 arg3
= (int)SWIG_As_int(obj2
);
17506 if (PyErr_Occurred()) SWIG_fail
;
17509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17510 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
17512 wxPyEndAllowThreads(__tstate
);
17513 if (PyErr_Occurred()) SWIG_fail
;
17515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
17522 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17523 PyObject
*resultobj
;
17524 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
17526 PyObject
* obj0
= 0 ;
17527 char *kwnames
[] = {
17528 (char *) "self", NULL
17531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
17532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
17533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17536 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
17538 wxPyEndAllowThreads(__tstate
);
17539 if (PyErr_Occurred()) SWIG_fail
;
17542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17550 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
17552 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17553 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
17555 return Py_BuildValue((char *)"");
17557 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17558 PyObject
*resultobj
;
17559 int arg1
= (int) 0 ;
17560 wxInitDialogEvent
*result
;
17561 PyObject
* obj0
= 0 ;
17562 char *kwnames
[] = {
17563 (char *) "Id", NULL
17566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
17568 arg1
= (int)SWIG_As_int(obj0
);
17569 if (PyErr_Occurred()) SWIG_fail
;
17572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17573 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
17575 wxPyEndAllowThreads(__tstate
);
17576 if (PyErr_Occurred()) SWIG_fail
;
17578 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
17585 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
17587 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17588 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
17590 return Py_BuildValue((char *)"");
17592 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17593 PyObject
*resultobj
;
17594 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17595 int arg2
= (int) 0 ;
17596 wxMenu
*arg3
= (wxMenu
*) NULL
;
17597 wxMenuEvent
*result
;
17598 PyObject
* obj0
= 0 ;
17599 PyObject
* obj1
= 0 ;
17600 PyObject
* obj2
= 0 ;
17601 char *kwnames
[] = {
17602 (char *) "type",(char *) "winid",(char *) "menu", NULL
17605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17607 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17608 if (PyErr_Occurred()) SWIG_fail
;
17611 arg2
= (int)SWIG_As_int(obj1
);
17612 if (PyErr_Occurred()) SWIG_fail
;
17615 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17620 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17622 wxPyEndAllowThreads(__tstate
);
17623 if (PyErr_Occurred()) SWIG_fail
;
17625 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17632 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17633 PyObject
*resultobj
;
17634 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17636 PyObject
* obj0
= 0 ;
17637 char *kwnames
[] = {
17638 (char *) "self", NULL
17641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17646 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17648 wxPyEndAllowThreads(__tstate
);
17649 if (PyErr_Occurred()) SWIG_fail
;
17651 resultobj
= SWIG_From_int((int)result
);
17658 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17659 PyObject
*resultobj
;
17660 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17662 PyObject
* obj0
= 0 ;
17663 char *kwnames
[] = {
17664 (char *) "self", NULL
17667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
17668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17672 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17674 wxPyEndAllowThreads(__tstate
);
17675 if (PyErr_Occurred()) SWIG_fail
;
17678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17686 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17687 PyObject
*resultobj
;
17688 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17690 PyObject
* obj0
= 0 ;
17691 char *kwnames
[] = {
17692 (char *) "self", NULL
17695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17700 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17702 wxPyEndAllowThreads(__tstate
);
17703 if (PyErr_Occurred()) SWIG_fail
;
17706 resultobj
= wxPyMake_wxObject(result
, 0);
17714 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
17716 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17717 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17719 return Py_BuildValue((char *)"");
17721 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17722 PyObject
*resultobj
;
17723 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17724 int arg2
= (int) 0 ;
17725 wxCloseEvent
*result
;
17726 PyObject
* obj0
= 0 ;
17727 PyObject
* obj1
= 0 ;
17728 char *kwnames
[] = {
17729 (char *) "type",(char *) "winid", NULL
17732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17734 arg1
= (wxEventType
)SWIG_As_int(obj0
);
17735 if (PyErr_Occurred()) SWIG_fail
;
17738 arg2
= (int)SWIG_As_int(obj1
);
17739 if (PyErr_Occurred()) SWIG_fail
;
17742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17743 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17745 wxPyEndAllowThreads(__tstate
);
17746 if (PyErr_Occurred()) SWIG_fail
;
17748 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17755 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17756 PyObject
*resultobj
;
17757 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17759 PyObject
* obj0
= 0 ;
17760 PyObject
* obj1
= 0 ;
17761 char *kwnames
[] = {
17762 (char *) "self",(char *) "logOff", NULL
17765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17768 arg2
= (bool)SWIG_As_bool(obj1
);
17769 if (PyErr_Occurred()) SWIG_fail
;
17771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17772 (arg1
)->SetLoggingOff(arg2
);
17774 wxPyEndAllowThreads(__tstate
);
17775 if (PyErr_Occurred()) SWIG_fail
;
17777 Py_INCREF(Py_None
); resultobj
= Py_None
;
17784 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17785 PyObject
*resultobj
;
17786 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17788 PyObject
* obj0
= 0 ;
17789 char *kwnames
[] = {
17790 (char *) "self", NULL
17793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17798 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17800 wxPyEndAllowThreads(__tstate
);
17801 if (PyErr_Occurred()) SWIG_fail
;
17804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17812 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17813 PyObject
*resultobj
;
17814 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17815 bool arg2
= (bool) true ;
17816 PyObject
* obj0
= 0 ;
17817 PyObject
* obj1
= 0 ;
17818 char *kwnames
[] = {
17819 (char *) "self",(char *) "veto", NULL
17822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17826 arg2
= (bool)SWIG_As_bool(obj1
);
17827 if (PyErr_Occurred()) SWIG_fail
;
17830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17831 (arg1
)->Veto(arg2
);
17833 wxPyEndAllowThreads(__tstate
);
17834 if (PyErr_Occurred()) SWIG_fail
;
17836 Py_INCREF(Py_None
); resultobj
= Py_None
;
17843 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17844 PyObject
*resultobj
;
17845 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17847 PyObject
* obj0
= 0 ;
17848 PyObject
* obj1
= 0 ;
17849 char *kwnames
[] = {
17850 (char *) "self",(char *) "canVeto", NULL
17853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
17854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17856 arg2
= (bool)SWIG_As_bool(obj1
);
17857 if (PyErr_Occurred()) SWIG_fail
;
17859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17860 (arg1
)->SetCanVeto(arg2
);
17862 wxPyEndAllowThreads(__tstate
);
17863 if (PyErr_Occurred()) SWIG_fail
;
17865 Py_INCREF(Py_None
); resultobj
= Py_None
;
17872 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17873 PyObject
*resultobj
;
17874 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17876 PyObject
* obj0
= 0 ;
17877 char *kwnames
[] = {
17878 (char *) "self", NULL
17881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
17882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17886 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
17888 wxPyEndAllowThreads(__tstate
);
17889 if (PyErr_Occurred()) SWIG_fail
;
17892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17900 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17901 PyObject
*resultobj
;
17902 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17904 PyObject
* obj0
= 0 ;
17905 char *kwnames
[] = {
17906 (char *) "self", NULL
17909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
17910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17914 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
17916 wxPyEndAllowThreads(__tstate
);
17917 if (PyErr_Occurred()) SWIG_fail
;
17920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17928 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
17930 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17931 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
17933 return Py_BuildValue((char *)"");
17935 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17936 PyObject
*resultobj
;
17937 int arg1
= (int) 0 ;
17938 bool arg2
= (bool) false ;
17939 wxShowEvent
*result
;
17940 PyObject
* obj0
= 0 ;
17941 PyObject
* obj1
= 0 ;
17942 char *kwnames
[] = {
17943 (char *) "winid",(char *) "show", NULL
17946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17948 arg1
= (int)SWIG_As_int(obj0
);
17949 if (PyErr_Occurred()) SWIG_fail
;
17952 arg2
= (bool)SWIG_As_bool(obj1
);
17953 if (PyErr_Occurred()) SWIG_fail
;
17956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17957 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
17959 wxPyEndAllowThreads(__tstate
);
17960 if (PyErr_Occurred()) SWIG_fail
;
17962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
17969 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17970 PyObject
*resultobj
;
17971 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17973 PyObject
* obj0
= 0 ;
17974 PyObject
* obj1
= 0 ;
17975 char *kwnames
[] = {
17976 (char *) "self",(char *) "show", NULL
17979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
17980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17982 arg2
= (bool)SWIG_As_bool(obj1
);
17983 if (PyErr_Occurred()) SWIG_fail
;
17985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17986 (arg1
)->SetShow(arg2
);
17988 wxPyEndAllowThreads(__tstate
);
17989 if (PyErr_Occurred()) SWIG_fail
;
17991 Py_INCREF(Py_None
); resultobj
= Py_None
;
17998 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17999 PyObject
*resultobj
;
18000 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
18002 PyObject
* obj0
= 0 ;
18003 char *kwnames
[] = {
18004 (char *) "self", NULL
18007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
18008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
18009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18012 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
18014 wxPyEndAllowThreads(__tstate
);
18015 if (PyErr_Occurred()) SWIG_fail
;
18018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18026 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
18028 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18029 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
18031 return Py_BuildValue((char *)"");
18033 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18034 PyObject
*resultobj
;
18035 int arg1
= (int) 0 ;
18036 bool arg2
= (bool) true ;
18037 wxIconizeEvent
*result
;
18038 PyObject
* obj0
= 0 ;
18039 PyObject
* obj1
= 0 ;
18040 char *kwnames
[] = {
18041 (char *) "id",(char *) "iconized", NULL
18044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18046 arg1
= (int)SWIG_As_int(obj0
);
18047 if (PyErr_Occurred()) SWIG_fail
;
18050 arg2
= (bool)SWIG_As_bool(obj1
);
18051 if (PyErr_Occurred()) SWIG_fail
;
18054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18055 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
18057 wxPyEndAllowThreads(__tstate
);
18058 if (PyErr_Occurred()) SWIG_fail
;
18060 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
18067 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18068 PyObject
*resultobj
;
18069 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
18071 PyObject
* obj0
= 0 ;
18072 char *kwnames
[] = {
18073 (char *) "self", NULL
18076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
18077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
18078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18081 result
= (bool)(arg1
)->Iconized();
18083 wxPyEndAllowThreads(__tstate
);
18084 if (PyErr_Occurred()) SWIG_fail
;
18087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18095 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
18097 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18098 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
18100 return Py_BuildValue((char *)"");
18102 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18103 PyObject
*resultobj
;
18104 int arg1
= (int) 0 ;
18105 wxMaximizeEvent
*result
;
18106 PyObject
* obj0
= 0 ;
18107 char *kwnames
[] = {
18108 (char *) "id", NULL
18111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
18113 arg1
= (int)SWIG_As_int(obj0
);
18114 if (PyErr_Occurred()) SWIG_fail
;
18117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18118 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
18120 wxPyEndAllowThreads(__tstate
);
18121 if (PyErr_Occurred()) SWIG_fail
;
18123 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
18130 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
18132 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18133 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
18135 return Py_BuildValue((char *)"");
18137 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18138 PyObject
*resultobj
;
18139 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18141 PyObject
* obj0
= 0 ;
18142 char *kwnames
[] = {
18143 (char *) "self", NULL
18146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18151 result
= (arg1
)->GetPosition();
18153 wxPyEndAllowThreads(__tstate
);
18154 if (PyErr_Occurred()) SWIG_fail
;
18157 wxPoint
* resultptr
;
18158 resultptr
= new wxPoint((wxPoint
&) result
);
18159 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18167 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18168 PyObject
*resultobj
;
18169 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18171 PyObject
* obj0
= 0 ;
18172 char *kwnames
[] = {
18173 (char *) "self", NULL
18176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
18177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18181 result
= (int)(arg1
)->GetNumberOfFiles();
18183 wxPyEndAllowThreads(__tstate
);
18184 if (PyErr_Occurred()) SWIG_fail
;
18186 resultobj
= SWIG_From_int((int)result
);
18193 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18194 PyObject
*resultobj
;
18195 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
18197 PyObject
* obj0
= 0 ;
18198 char *kwnames
[] = {
18199 (char *) "self", NULL
18202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
18203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
18204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18207 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
18209 wxPyEndAllowThreads(__tstate
);
18210 if (PyErr_Occurred()) SWIG_fail
;
18212 resultobj
= result
;
18219 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
18221 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18222 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
18224 return Py_BuildValue((char *)"");
18226 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18227 PyObject
*resultobj
;
18228 int arg1
= (int) 0 ;
18229 wxUpdateUIEvent
*result
;
18230 PyObject
* obj0
= 0 ;
18231 char *kwnames
[] = {
18232 (char *) "commandId", NULL
18235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
18237 arg1
= (int)SWIG_As_int(obj0
);
18238 if (PyErr_Occurred()) SWIG_fail
;
18241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18242 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
18244 wxPyEndAllowThreads(__tstate
);
18245 if (PyErr_Occurred()) SWIG_fail
;
18247 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
18254 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18255 PyObject
*resultobj
;
18256 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18258 PyObject
* obj0
= 0 ;
18259 char *kwnames
[] = {
18260 (char *) "self", NULL
18263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
18264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18268 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
18270 wxPyEndAllowThreads(__tstate
);
18271 if (PyErr_Occurred()) SWIG_fail
;
18274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18282 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18283 PyObject
*resultobj
;
18284 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18286 PyObject
* obj0
= 0 ;
18287 char *kwnames
[] = {
18288 (char *) "self", NULL
18291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
18292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18296 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
18298 wxPyEndAllowThreads(__tstate
);
18299 if (PyErr_Occurred()) SWIG_fail
;
18302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18310 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18311 PyObject
*resultobj
;
18312 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18314 PyObject
* obj0
= 0 ;
18315 char *kwnames
[] = {
18316 (char *) "self", NULL
18319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
18320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18324 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
18326 wxPyEndAllowThreads(__tstate
);
18327 if (PyErr_Occurred()) SWIG_fail
;
18331 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18333 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18342 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18343 PyObject
*resultobj
;
18344 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18346 PyObject
* obj0
= 0 ;
18347 char *kwnames
[] = {
18348 (char *) "self", NULL
18351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
18352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18356 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
18358 wxPyEndAllowThreads(__tstate
);
18359 if (PyErr_Occurred()) SWIG_fail
;
18362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18370 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18371 PyObject
*resultobj
;
18372 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18374 PyObject
* obj0
= 0 ;
18375 char *kwnames
[] = {
18376 (char *) "self", NULL
18379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
18380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18384 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
18386 wxPyEndAllowThreads(__tstate
);
18387 if (PyErr_Occurred()) SWIG_fail
;
18390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18398 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18399 PyObject
*resultobj
;
18400 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18402 PyObject
* obj0
= 0 ;
18403 char *kwnames
[] = {
18404 (char *) "self", NULL
18407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
18408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18412 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
18414 wxPyEndAllowThreads(__tstate
);
18415 if (PyErr_Occurred()) SWIG_fail
;
18418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18426 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18427 PyObject
*resultobj
;
18428 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18430 PyObject
* obj0
= 0 ;
18431 PyObject
* obj1
= 0 ;
18432 char *kwnames
[] = {
18433 (char *) "self",(char *) "check", NULL
18436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
18437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18439 arg2
= (bool)SWIG_As_bool(obj1
);
18440 if (PyErr_Occurred()) SWIG_fail
;
18442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18443 (arg1
)->Check(arg2
);
18445 wxPyEndAllowThreads(__tstate
);
18446 if (PyErr_Occurred()) SWIG_fail
;
18448 Py_INCREF(Py_None
); resultobj
= Py_None
;
18455 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18456 PyObject
*resultobj
;
18457 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18459 PyObject
* obj0
= 0 ;
18460 PyObject
* obj1
= 0 ;
18461 char *kwnames
[] = {
18462 (char *) "self",(char *) "enable", NULL
18465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18468 arg2
= (bool)SWIG_As_bool(obj1
);
18469 if (PyErr_Occurred()) SWIG_fail
;
18471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18472 (arg1
)->Enable(arg2
);
18474 wxPyEndAllowThreads(__tstate
);
18475 if (PyErr_Occurred()) SWIG_fail
;
18477 Py_INCREF(Py_None
); resultobj
= Py_None
;
18484 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18485 PyObject
*resultobj
;
18486 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18487 wxString
*arg2
= 0 ;
18488 bool temp2
= false ;
18489 PyObject
* obj0
= 0 ;
18490 PyObject
* obj1
= 0 ;
18491 char *kwnames
[] = {
18492 (char *) "self",(char *) "text", NULL
18495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18499 arg2
= wxString_in_helper(obj1
);
18500 if (arg2
== NULL
) SWIG_fail
;
18504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18505 (arg1
)->SetText((wxString
const &)*arg2
);
18507 wxPyEndAllowThreads(__tstate
);
18508 if (PyErr_Occurred()) SWIG_fail
;
18510 Py_INCREF(Py_None
); resultobj
= Py_None
;
18525 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18526 PyObject
*resultobj
;
18528 PyObject
* obj0
= 0 ;
18529 char *kwnames
[] = {
18530 (char *) "updateInterval", NULL
18533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
18534 arg1
= (long)SWIG_As_long(obj0
);
18535 if (PyErr_Occurred()) SWIG_fail
;
18537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18538 wxUpdateUIEvent::SetUpdateInterval(arg1
);
18540 wxPyEndAllowThreads(__tstate
);
18541 if (PyErr_Occurred()) SWIG_fail
;
18543 Py_INCREF(Py_None
); resultobj
= Py_None
;
18550 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18551 PyObject
*resultobj
;
18553 char *kwnames
[] = {
18557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
18559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18560 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
18562 wxPyEndAllowThreads(__tstate
);
18563 if (PyErr_Occurred()) SWIG_fail
;
18565 resultobj
= SWIG_From_long((long)result
);
18572 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18573 PyObject
*resultobj
;
18574 wxWindow
*arg1
= (wxWindow
*) 0 ;
18576 PyObject
* obj0
= 0 ;
18577 char *kwnames
[] = {
18578 (char *) "win", NULL
18581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
18582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18586 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
18588 wxPyEndAllowThreads(__tstate
);
18589 if (PyErr_Occurred()) SWIG_fail
;
18592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18600 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18601 PyObject
*resultobj
;
18602 char *kwnames
[] = {
18606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18609 wxUpdateUIEvent::ResetUpdateTime();
18611 wxPyEndAllowThreads(__tstate
);
18612 if (PyErr_Occurred()) SWIG_fail
;
18614 Py_INCREF(Py_None
); resultobj
= Py_None
;
18621 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18622 PyObject
*resultobj
;
18624 PyObject
* obj0
= 0 ;
18625 char *kwnames
[] = {
18626 (char *) "mode", NULL
18629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18630 arg1
= (int)SWIG_As_int(obj0
);
18631 if (PyErr_Occurred()) SWIG_fail
;
18633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18634 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18636 wxPyEndAllowThreads(__tstate
);
18637 if (PyErr_Occurred()) SWIG_fail
;
18639 Py_INCREF(Py_None
); resultobj
= Py_None
;
18646 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18647 PyObject
*resultobj
;
18649 char *kwnames
[] = {
18653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18656 result
= (int)wxUpdateUIEvent::GetMode();
18658 wxPyEndAllowThreads(__tstate
);
18659 if (PyErr_Occurred()) SWIG_fail
;
18661 resultobj
= SWIG_From_int((int)result
);
18668 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
18670 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18671 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18673 return Py_BuildValue((char *)"");
18675 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18676 PyObject
*resultobj
;
18677 wxSysColourChangedEvent
*result
;
18678 char *kwnames
[] = {
18682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18685 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18687 wxPyEndAllowThreads(__tstate
);
18688 if (PyErr_Occurred()) SWIG_fail
;
18690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18697 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18699 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18700 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18702 return Py_BuildValue((char *)"");
18704 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18705 PyObject
*resultobj
;
18706 int arg1
= (int) 0 ;
18707 wxWindow
*arg2
= (wxWindow
*) NULL
;
18708 wxMouseCaptureChangedEvent
*result
;
18709 PyObject
* obj0
= 0 ;
18710 PyObject
* obj1
= 0 ;
18711 char *kwnames
[] = {
18712 (char *) "winid",(char *) "gainedCapture", NULL
18715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18717 arg1
= (int)SWIG_As_int(obj0
);
18718 if (PyErr_Occurred()) SWIG_fail
;
18721 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18726 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18728 wxPyEndAllowThreads(__tstate
);
18729 if (PyErr_Occurred()) SWIG_fail
;
18731 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18738 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18739 PyObject
*resultobj
;
18740 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18742 PyObject
* obj0
= 0 ;
18743 char *kwnames
[] = {
18744 (char *) "self", NULL
18747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18752 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18754 wxPyEndAllowThreads(__tstate
);
18755 if (PyErr_Occurred()) SWIG_fail
;
18758 resultobj
= wxPyMake_wxObject(result
, 0);
18766 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18768 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18769 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18771 return Py_BuildValue((char *)"");
18773 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18774 PyObject
*resultobj
;
18775 wxDisplayChangedEvent
*result
;
18776 char *kwnames
[] = {
18780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18783 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18785 wxPyEndAllowThreads(__tstate
);
18786 if (PyErr_Occurred()) SWIG_fail
;
18788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18795 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18797 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18798 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
18800 return Py_BuildValue((char *)"");
18802 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18803 PyObject
*resultobj
;
18804 int arg1
= (int) 0 ;
18805 wxPaletteChangedEvent
*result
;
18806 PyObject
* obj0
= 0 ;
18807 char *kwnames
[] = {
18808 (char *) "id", NULL
18811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
18813 arg1
= (int)SWIG_As_int(obj0
);
18814 if (PyErr_Occurred()) SWIG_fail
;
18817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18818 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
18820 wxPyEndAllowThreads(__tstate
);
18821 if (PyErr_Occurred()) SWIG_fail
;
18823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18830 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18831 PyObject
*resultobj
;
18832 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18833 wxWindow
*arg2
= (wxWindow
*) 0 ;
18834 PyObject
* obj0
= 0 ;
18835 PyObject
* obj1
= 0 ;
18836 char *kwnames
[] = {
18837 (char *) "self",(char *) "win", NULL
18840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18843 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18847 (arg1
)->SetChangedWindow(arg2
);
18849 wxPyEndAllowThreads(__tstate
);
18850 if (PyErr_Occurred()) SWIG_fail
;
18852 Py_INCREF(Py_None
); resultobj
= Py_None
;
18859 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18860 PyObject
*resultobj
;
18861 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18863 PyObject
* obj0
= 0 ;
18864 char *kwnames
[] = {
18865 (char *) "self", NULL
18868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18873 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18875 wxPyEndAllowThreads(__tstate
);
18876 if (PyErr_Occurred()) SWIG_fail
;
18879 resultobj
= wxPyMake_wxObject(result
, 0);
18887 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18889 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18890 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
18892 return Py_BuildValue((char *)"");
18894 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18895 PyObject
*resultobj
;
18896 int arg1
= (int) 0 ;
18897 wxQueryNewPaletteEvent
*result
;
18898 PyObject
* obj0
= 0 ;
18899 char *kwnames
[] = {
18900 (char *) "winid", NULL
18903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
18905 arg1
= (int)SWIG_As_int(obj0
);
18906 if (PyErr_Occurred()) SWIG_fail
;
18909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18910 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
18912 wxPyEndAllowThreads(__tstate
);
18913 if (PyErr_Occurred()) SWIG_fail
;
18915 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
18922 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18923 PyObject
*resultobj
;
18924 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18926 PyObject
* obj0
= 0 ;
18927 PyObject
* obj1
= 0 ;
18928 char *kwnames
[] = {
18929 (char *) "self",(char *) "realized", NULL
18932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
18933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18935 arg2
= (bool)SWIG_As_bool(obj1
);
18936 if (PyErr_Occurred()) SWIG_fail
;
18938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18939 (arg1
)->SetPaletteRealized(arg2
);
18941 wxPyEndAllowThreads(__tstate
);
18942 if (PyErr_Occurred()) SWIG_fail
;
18944 Py_INCREF(Py_None
); resultobj
= Py_None
;
18951 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18952 PyObject
*resultobj
;
18953 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18955 PyObject
* obj0
= 0 ;
18956 char *kwnames
[] = {
18957 (char *) "self", NULL
18960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
18961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18965 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
18967 wxPyEndAllowThreads(__tstate
);
18968 if (PyErr_Occurred()) SWIG_fail
;
18971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18979 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
18981 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18982 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
18984 return Py_BuildValue((char *)"");
18986 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18987 PyObject
*resultobj
;
18988 wxNavigationKeyEvent
*result
;
18989 char *kwnames
[] = {
18993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
18995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18996 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
18998 wxPyEndAllowThreads(__tstate
);
18999 if (PyErr_Occurred()) SWIG_fail
;
19001 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
19008 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19009 PyObject
*resultobj
;
19010 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19012 PyObject
* obj0
= 0 ;
19013 char *kwnames
[] = {
19014 (char *) "self", NULL
19017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
19018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19022 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
19024 wxPyEndAllowThreads(__tstate
);
19025 if (PyErr_Occurred()) SWIG_fail
;
19028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19036 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19037 PyObject
*resultobj
;
19038 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19040 PyObject
* obj0
= 0 ;
19041 PyObject
* obj1
= 0 ;
19042 char *kwnames
[] = {
19043 (char *) "self",(char *) "forward", NULL
19046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
19047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19049 arg2
= (bool)SWIG_As_bool(obj1
);
19050 if (PyErr_Occurred()) SWIG_fail
;
19052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19053 (arg1
)->SetDirection(arg2
);
19055 wxPyEndAllowThreads(__tstate
);
19056 if (PyErr_Occurred()) SWIG_fail
;
19058 Py_INCREF(Py_None
); resultobj
= Py_None
;
19065 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19066 PyObject
*resultobj
;
19067 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19069 PyObject
* obj0
= 0 ;
19070 char *kwnames
[] = {
19071 (char *) "self", NULL
19074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
19075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19079 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
19081 wxPyEndAllowThreads(__tstate
);
19082 if (PyErr_Occurred()) SWIG_fail
;
19085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19093 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19094 PyObject
*resultobj
;
19095 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19097 PyObject
* obj0
= 0 ;
19098 PyObject
* obj1
= 0 ;
19099 char *kwnames
[] = {
19100 (char *) "self",(char *) "ischange", NULL
19103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
19104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19106 arg2
= (bool)SWIG_As_bool(obj1
);
19107 if (PyErr_Occurred()) SWIG_fail
;
19109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19110 (arg1
)->SetWindowChange(arg2
);
19112 wxPyEndAllowThreads(__tstate
);
19113 if (PyErr_Occurred()) SWIG_fail
;
19115 Py_INCREF(Py_None
); resultobj
= Py_None
;
19122 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19123 PyObject
*resultobj
;
19124 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19126 PyObject
* obj0
= 0 ;
19127 PyObject
* obj1
= 0 ;
19128 char *kwnames
[] = {
19129 (char *) "self",(char *) "flags", NULL
19132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
19133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19135 arg2
= (long)SWIG_As_long(obj1
);
19136 if (PyErr_Occurred()) SWIG_fail
;
19138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19139 (arg1
)->SetFlags(arg2
);
19141 wxPyEndAllowThreads(__tstate
);
19142 if (PyErr_Occurred()) SWIG_fail
;
19144 Py_INCREF(Py_None
); resultobj
= Py_None
;
19151 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19152 PyObject
*resultobj
;
19153 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19155 PyObject
* obj0
= 0 ;
19156 char *kwnames
[] = {
19157 (char *) "self", NULL
19160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
19161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19165 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
19167 wxPyEndAllowThreads(__tstate
);
19168 if (PyErr_Occurred()) SWIG_fail
;
19171 resultobj
= wxPyMake_wxObject(result
, 0);
19179 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19180 PyObject
*resultobj
;
19181 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
19182 wxWindow
*arg2
= (wxWindow
*) 0 ;
19183 PyObject
* obj0
= 0 ;
19184 PyObject
* obj1
= 0 ;
19185 char *kwnames
[] = {
19186 (char *) "self",(char *) "win", NULL
19189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
19190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
19191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19192 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19196 (arg1
)->SetCurrentFocus(arg2
);
19198 wxPyEndAllowThreads(__tstate
);
19199 if (PyErr_Occurred()) SWIG_fail
;
19201 Py_INCREF(Py_None
); resultobj
= Py_None
;
19208 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
19210 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19211 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
19213 return Py_BuildValue((char *)"");
19215 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19216 PyObject
*resultobj
;
19217 wxWindow
*arg1
= (wxWindow
*) NULL
;
19218 wxWindowCreateEvent
*result
;
19219 PyObject
* obj0
= 0 ;
19220 char *kwnames
[] = {
19221 (char *) "win", NULL
19224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
19226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19231 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
19233 wxPyEndAllowThreads(__tstate
);
19234 if (PyErr_Occurred()) SWIG_fail
;
19236 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
19243 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19244 PyObject
*resultobj
;
19245 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
19247 PyObject
* obj0
= 0 ;
19248 char *kwnames
[] = {
19249 (char *) "self", NULL
19252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
19254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19257 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
19259 wxPyEndAllowThreads(__tstate
);
19260 if (PyErr_Occurred()) SWIG_fail
;
19263 resultobj
= wxPyMake_wxObject(result
, 0);
19271 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
19273 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19274 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
19276 return Py_BuildValue((char *)"");
19278 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19279 PyObject
*resultobj
;
19280 wxWindow
*arg1
= (wxWindow
*) NULL
;
19281 wxWindowDestroyEvent
*result
;
19282 PyObject
* obj0
= 0 ;
19283 char *kwnames
[] = {
19284 (char *) "win", NULL
19287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
19289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19294 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
19296 wxPyEndAllowThreads(__tstate
);
19297 if (PyErr_Occurred()) SWIG_fail
;
19299 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
19306 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19307 PyObject
*resultobj
;
19308 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
19310 PyObject
* obj0
= 0 ;
19311 char *kwnames
[] = {
19312 (char *) "self", NULL
19315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
19317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19320 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
19322 wxPyEndAllowThreads(__tstate
);
19323 if (PyErr_Occurred()) SWIG_fail
;
19326 resultobj
= wxPyMake_wxObject(result
, 0);
19334 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
19336 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19337 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
19339 return Py_BuildValue((char *)"");
19341 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19342 PyObject
*resultobj
;
19343 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19344 int arg2
= (int) 0 ;
19345 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19346 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19347 wxContextMenuEvent
*result
;
19349 PyObject
* obj0
= 0 ;
19350 PyObject
* obj1
= 0 ;
19351 PyObject
* obj2
= 0 ;
19352 char *kwnames
[] = {
19353 (char *) "type",(char *) "winid",(char *) "pt", NULL
19356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19358 arg1
= (wxEventType
)SWIG_As_int(obj0
);
19359 if (PyErr_Occurred()) SWIG_fail
;
19362 arg2
= (int)SWIG_As_int(obj1
);
19363 if (PyErr_Occurred()) SWIG_fail
;
19368 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19373 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
19375 wxPyEndAllowThreads(__tstate
);
19376 if (PyErr_Occurred()) SWIG_fail
;
19378 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
19385 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19386 PyObject
*resultobj
;
19387 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19389 PyObject
* obj0
= 0 ;
19390 char *kwnames
[] = {
19391 (char *) "self", NULL
19394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19400 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
19401 result
= (wxPoint
*) &_result_ref
;
19404 wxPyEndAllowThreads(__tstate
);
19405 if (PyErr_Occurred()) SWIG_fail
;
19407 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19414 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19415 PyObject
*resultobj
;
19416 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19417 wxPoint
*arg2
= 0 ;
19419 PyObject
* obj0
= 0 ;
19420 PyObject
* obj1
= 0 ;
19421 char *kwnames
[] = {
19422 (char *) "self",(char *) "pos", NULL
19425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19430 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19434 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19436 wxPyEndAllowThreads(__tstate
);
19437 if (PyErr_Occurred()) SWIG_fail
;
19439 Py_INCREF(Py_None
); resultobj
= Py_None
;
19446 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
19448 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19449 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
19451 return Py_BuildValue((char *)"");
19453 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19454 PyObject
*resultobj
;
19455 wxIdleEvent
*result
;
19456 char *kwnames
[] = {
19460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
19462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19463 result
= (wxIdleEvent
*)new wxIdleEvent();
19465 wxPyEndAllowThreads(__tstate
);
19466 if (PyErr_Occurred()) SWIG_fail
;
19468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
19475 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19476 PyObject
*resultobj
;
19477 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19478 bool arg2
= (bool) true ;
19479 PyObject
* obj0
= 0 ;
19480 PyObject
* obj1
= 0 ;
19481 char *kwnames
[] = {
19482 (char *) "self",(char *) "needMore", NULL
19485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
19486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19489 arg2
= (bool)SWIG_As_bool(obj1
);
19490 if (PyErr_Occurred()) SWIG_fail
;
19493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19494 (arg1
)->RequestMore(arg2
);
19496 wxPyEndAllowThreads(__tstate
);
19497 if (PyErr_Occurred()) SWIG_fail
;
19499 Py_INCREF(Py_None
); resultobj
= Py_None
;
19506 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19507 PyObject
*resultobj
;
19508 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19510 PyObject
* obj0
= 0 ;
19511 char *kwnames
[] = {
19512 (char *) "self", NULL
19515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
19516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19520 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
19522 wxPyEndAllowThreads(__tstate
);
19523 if (PyErr_Occurred()) SWIG_fail
;
19526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19534 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19535 PyObject
*resultobj
;
19537 PyObject
* obj0
= 0 ;
19538 char *kwnames
[] = {
19539 (char *) "mode", NULL
19542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
19543 arg1
= (int)SWIG_As_int(obj0
);
19544 if (PyErr_Occurred()) SWIG_fail
;
19546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19547 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
19549 wxPyEndAllowThreads(__tstate
);
19550 if (PyErr_Occurred()) SWIG_fail
;
19552 Py_INCREF(Py_None
); resultobj
= Py_None
;
19559 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19560 PyObject
*resultobj
;
19562 char *kwnames
[] = {
19566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
19568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19569 result
= (int)wxIdleEvent::GetMode();
19571 wxPyEndAllowThreads(__tstate
);
19572 if (PyErr_Occurred()) SWIG_fail
;
19574 resultobj
= SWIG_From_int((int)result
);
19581 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19582 PyObject
*resultobj
;
19583 wxWindow
*arg1
= (wxWindow
*) 0 ;
19585 PyObject
* obj0
= 0 ;
19586 char *kwnames
[] = {
19587 (char *) "win", NULL
19590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
19591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19595 result
= (bool)wxIdleEvent::CanSend(arg1
);
19597 wxPyEndAllowThreads(__tstate
);
19598 if (PyErr_Occurred()) SWIG_fail
;
19601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19609 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
19611 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19612 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
19614 return Py_BuildValue((char *)"");
19616 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19617 PyObject
*resultobj
;
19618 int arg1
= (int) 0 ;
19619 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
19621 PyObject
* obj0
= 0 ;
19622 PyObject
* obj1
= 0 ;
19623 char *kwnames
[] = {
19624 (char *) "winid",(char *) "commandType", NULL
19627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19629 arg1
= (int)SWIG_As_int(obj0
);
19630 if (PyErr_Occurred()) SWIG_fail
;
19633 arg2
= (wxEventType
)SWIG_As_int(obj1
);
19634 if (PyErr_Occurred()) SWIG_fail
;
19637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19638 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19640 wxPyEndAllowThreads(__tstate
);
19641 if (PyErr_Occurred()) SWIG_fail
;
19643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19650 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19651 PyObject
*resultobj
;
19652 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19653 PyObject
* obj0
= 0 ;
19654 char *kwnames
[] = {
19655 (char *) "self", NULL
19658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19665 wxPyEndAllowThreads(__tstate
);
19666 if (PyErr_Occurred()) SWIG_fail
;
19668 Py_INCREF(Py_None
); resultobj
= Py_None
;
19675 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19676 PyObject
*resultobj
;
19677 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19678 PyObject
*arg2
= (PyObject
*) 0 ;
19679 PyObject
* obj0
= 0 ;
19680 PyObject
* obj1
= 0 ;
19681 char *kwnames
[] = {
19682 (char *) "self",(char *) "self", NULL
19685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19691 (arg1
)->SetSelf(arg2
);
19693 wxPyEndAllowThreads(__tstate
);
19694 if (PyErr_Occurred()) SWIG_fail
;
19696 Py_INCREF(Py_None
); resultobj
= Py_None
;
19703 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19704 PyObject
*resultobj
;
19705 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19707 PyObject
* obj0
= 0 ;
19708 char *kwnames
[] = {
19709 (char *) "self", NULL
19712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19717 result
= (PyObject
*)(arg1
)->GetSelf();
19719 wxPyEndAllowThreads(__tstate
);
19720 if (PyErr_Occurred()) SWIG_fail
;
19722 resultobj
= result
;
19729 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
19731 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19732 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19734 return Py_BuildValue((char *)"");
19736 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19737 PyObject
*resultobj
;
19738 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19739 int arg2
= (int) 0 ;
19740 wxPyCommandEvent
*result
;
19741 PyObject
* obj0
= 0 ;
19742 PyObject
* obj1
= 0 ;
19743 char *kwnames
[] = {
19744 (char *) "commandType",(char *) "id", NULL
19747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19749 arg1
= (wxEventType
)SWIG_As_int(obj0
);
19750 if (PyErr_Occurred()) SWIG_fail
;
19753 arg2
= (int)SWIG_As_int(obj1
);
19754 if (PyErr_Occurred()) SWIG_fail
;
19757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19758 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19760 wxPyEndAllowThreads(__tstate
);
19761 if (PyErr_Occurred()) SWIG_fail
;
19763 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19770 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19771 PyObject
*resultobj
;
19772 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19773 PyObject
* obj0
= 0 ;
19774 char *kwnames
[] = {
19775 (char *) "self", NULL
19778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19785 wxPyEndAllowThreads(__tstate
);
19786 if (PyErr_Occurred()) SWIG_fail
;
19788 Py_INCREF(Py_None
); resultobj
= Py_None
;
19795 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19796 PyObject
*resultobj
;
19797 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19798 PyObject
*arg2
= (PyObject
*) 0 ;
19799 PyObject
* obj0
= 0 ;
19800 PyObject
* obj1
= 0 ;
19801 char *kwnames
[] = {
19802 (char *) "self",(char *) "self", NULL
19805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19811 (arg1
)->SetSelf(arg2
);
19813 wxPyEndAllowThreads(__tstate
);
19814 if (PyErr_Occurred()) SWIG_fail
;
19816 Py_INCREF(Py_None
); resultobj
= Py_None
;
19823 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19824 PyObject
*resultobj
;
19825 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19827 PyObject
* obj0
= 0 ;
19828 char *kwnames
[] = {
19829 (char *) "self", NULL
19832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19837 result
= (PyObject
*)(arg1
)->GetSelf();
19839 wxPyEndAllowThreads(__tstate
);
19840 if (PyErr_Occurred()) SWIG_fail
;
19842 resultobj
= result
;
19849 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
19851 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19852 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
19854 return Py_BuildValue((char *)"");
19856 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19857 PyObject
*resultobj
;
19859 char *kwnames
[] = {
19863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19866 result
= (wxPyApp
*)new_wxPyApp();
19868 wxPyEndAllowThreads(__tstate
);
19869 if (PyErr_Occurred()) SWIG_fail
;
19871 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
19878 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19879 PyObject
*resultobj
;
19880 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19881 PyObject
* obj0
= 0 ;
19882 char *kwnames
[] = {
19883 (char *) "self", NULL
19886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
19887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19893 wxPyEndAllowThreads(__tstate
);
19894 if (PyErr_Occurred()) SWIG_fail
;
19896 Py_INCREF(Py_None
); resultobj
= Py_None
;
19903 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19904 PyObject
*resultobj
;
19905 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19906 PyObject
*arg2
= (PyObject
*) 0 ;
19907 PyObject
*arg3
= (PyObject
*) 0 ;
19908 PyObject
* obj0
= 0 ;
19909 PyObject
* obj1
= 0 ;
19910 PyObject
* obj2
= 0 ;
19911 char *kwnames
[] = {
19912 (char *) "self",(char *) "self",(char *) "_class", NULL
19915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19922 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19924 wxPyEndAllowThreads(__tstate
);
19925 if (PyErr_Occurred()) SWIG_fail
;
19927 Py_INCREF(Py_None
); resultobj
= Py_None
;
19934 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19935 PyObject
*resultobj
;
19936 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19938 PyObject
* obj0
= 0 ;
19939 char *kwnames
[] = {
19940 (char *) "self", NULL
19943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
19944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19948 result
= ((wxPyApp
const *)arg1
)->GetAppName();
19950 wxPyEndAllowThreads(__tstate
);
19951 if (PyErr_Occurred()) SWIG_fail
;
19955 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19957 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19966 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19967 PyObject
*resultobj
;
19968 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19969 wxString
*arg2
= 0 ;
19970 bool temp2
= false ;
19971 PyObject
* obj0
= 0 ;
19972 PyObject
* obj1
= 0 ;
19973 char *kwnames
[] = {
19974 (char *) "self",(char *) "name", NULL
19977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19981 arg2
= wxString_in_helper(obj1
);
19982 if (arg2
== NULL
) SWIG_fail
;
19986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19987 (arg1
)->SetAppName((wxString
const &)*arg2
);
19989 wxPyEndAllowThreads(__tstate
);
19990 if (PyErr_Occurred()) SWIG_fail
;
19992 Py_INCREF(Py_None
); resultobj
= Py_None
;
20007 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20008 PyObject
*resultobj
;
20009 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20011 PyObject
* obj0
= 0 ;
20012 char *kwnames
[] = {
20013 (char *) "self", NULL
20016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
20017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20021 result
= ((wxPyApp
const *)arg1
)->GetClassName();
20023 wxPyEndAllowThreads(__tstate
);
20024 if (PyErr_Occurred()) SWIG_fail
;
20028 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20030 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20039 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20040 PyObject
*resultobj
;
20041 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20042 wxString
*arg2
= 0 ;
20043 bool temp2
= false ;
20044 PyObject
* obj0
= 0 ;
20045 PyObject
* obj1
= 0 ;
20046 char *kwnames
[] = {
20047 (char *) "self",(char *) "name", NULL
20050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
20051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20054 arg2
= wxString_in_helper(obj1
);
20055 if (arg2
== NULL
) SWIG_fail
;
20059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20060 (arg1
)->SetClassName((wxString
const &)*arg2
);
20062 wxPyEndAllowThreads(__tstate
);
20063 if (PyErr_Occurred()) SWIG_fail
;
20065 Py_INCREF(Py_None
); resultobj
= Py_None
;
20080 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20081 PyObject
*resultobj
;
20082 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20084 PyObject
* obj0
= 0 ;
20085 char *kwnames
[] = {
20086 (char *) "self", NULL
20089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
20090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20095 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
20096 result
= (wxString
*) &_result_ref
;
20099 wxPyEndAllowThreads(__tstate
);
20100 if (PyErr_Occurred()) SWIG_fail
;
20104 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20106 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20115 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20116 PyObject
*resultobj
;
20117 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20118 wxString
*arg2
= 0 ;
20119 bool temp2
= false ;
20120 PyObject
* obj0
= 0 ;
20121 PyObject
* obj1
= 0 ;
20122 char *kwnames
[] = {
20123 (char *) "self",(char *) "name", NULL
20126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
20127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20130 arg2
= wxString_in_helper(obj1
);
20131 if (arg2
== NULL
) SWIG_fail
;
20135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20136 (arg1
)->SetVendorName((wxString
const &)*arg2
);
20138 wxPyEndAllowThreads(__tstate
);
20139 if (PyErr_Occurred()) SWIG_fail
;
20141 Py_INCREF(Py_None
); resultobj
= Py_None
;
20156 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20157 PyObject
*resultobj
;
20158 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20159 wxAppTraits
*result
;
20160 PyObject
* obj0
= 0 ;
20161 char *kwnames
[] = {
20162 (char *) "self", NULL
20165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
20166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20170 result
= (wxAppTraits
*)(arg1
)->GetTraits();
20172 wxPyEndAllowThreads(__tstate
);
20173 if (PyErr_Occurred()) SWIG_fail
;
20175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
20182 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20183 PyObject
*resultobj
;
20184 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20185 PyObject
* obj0
= 0 ;
20186 char *kwnames
[] = {
20187 (char *) "self", NULL
20190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
20191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20195 (arg1
)->ProcessPendingEvents();
20197 wxPyEndAllowThreads(__tstate
);
20198 if (PyErr_Occurred()) SWIG_fail
;
20200 Py_INCREF(Py_None
); resultobj
= Py_None
;
20207 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20208 PyObject
*resultobj
;
20209 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20210 bool arg2
= (bool) false ;
20212 PyObject
* obj0
= 0 ;
20213 PyObject
* obj1
= 0 ;
20214 char *kwnames
[] = {
20215 (char *) "self",(char *) "onlyIfNeeded", NULL
20218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
20219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20222 arg2
= (bool)SWIG_As_bool(obj1
);
20223 if (PyErr_Occurred()) SWIG_fail
;
20226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20227 result
= (bool)(arg1
)->Yield(arg2
);
20229 wxPyEndAllowThreads(__tstate
);
20230 if (PyErr_Occurred()) SWIG_fail
;
20233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20241 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20242 PyObject
*resultobj
;
20243 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20244 PyObject
* obj0
= 0 ;
20245 char *kwnames
[] = {
20246 (char *) "self", NULL
20249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
20250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20254 (arg1
)->WakeUpIdle();
20256 wxPyEndAllowThreads(__tstate
);
20257 if (PyErr_Occurred()) SWIG_fail
;
20259 Py_INCREF(Py_None
); resultobj
= Py_None
;
20266 static PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20267 PyObject
*resultobj
;
20269 char *kwnames
[] = {
20273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_IsMainLoopRunning",kwnames
)) goto fail
;
20275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20276 result
= (bool)wxPyApp::IsMainLoopRunning();
20278 wxPyEndAllowThreads(__tstate
);
20279 if (PyErr_Occurred()) SWIG_fail
;
20282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20290 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20291 PyObject
*resultobj
;
20292 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20294 PyObject
* obj0
= 0 ;
20295 char *kwnames
[] = {
20296 (char *) "self", NULL
20299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
20300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20304 result
= (int)(arg1
)->MainLoop();
20306 wxPyEndAllowThreads(__tstate
);
20307 if (PyErr_Occurred()) SWIG_fail
;
20309 resultobj
= SWIG_From_int((int)result
);
20316 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20317 PyObject
*resultobj
;
20318 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20319 PyObject
* obj0
= 0 ;
20320 char *kwnames
[] = {
20321 (char *) "self", NULL
20324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
20325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20331 wxPyEndAllowThreads(__tstate
);
20332 if (PyErr_Occurred()) SWIG_fail
;
20334 Py_INCREF(Py_None
); resultobj
= Py_None
;
20341 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20342 PyObject
*resultobj
;
20343 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20344 PyObject
* obj0
= 0 ;
20345 char *kwnames
[] = {
20346 (char *) "self", NULL
20349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
20350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20354 (arg1
)->ExitMainLoop();
20356 wxPyEndAllowThreads(__tstate
);
20357 if (PyErr_Occurred()) SWIG_fail
;
20359 Py_INCREF(Py_None
); resultobj
= Py_None
;
20366 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20367 PyObject
*resultobj
;
20368 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20370 PyObject
* obj0
= 0 ;
20371 char *kwnames
[] = {
20372 (char *) "self", NULL
20375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
20376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20380 result
= (bool)(arg1
)->Pending();
20382 wxPyEndAllowThreads(__tstate
);
20383 if (PyErr_Occurred()) SWIG_fail
;
20386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20394 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20395 PyObject
*resultobj
;
20396 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20398 PyObject
* obj0
= 0 ;
20399 char *kwnames
[] = {
20400 (char *) "self", NULL
20403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
20404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20408 result
= (bool)(arg1
)->Dispatch();
20410 wxPyEndAllowThreads(__tstate
);
20411 if (PyErr_Occurred()) SWIG_fail
;
20414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20422 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20423 PyObject
*resultobj
;
20424 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20426 PyObject
* obj0
= 0 ;
20427 char *kwnames
[] = {
20428 (char *) "self", NULL
20431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
20432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20436 result
= (bool)(arg1
)->ProcessIdle();
20438 wxPyEndAllowThreads(__tstate
);
20439 if (PyErr_Occurred()) SWIG_fail
;
20442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20450 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20451 PyObject
*resultobj
;
20452 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20453 wxWindow
*arg2
= (wxWindow
*) 0 ;
20454 wxIdleEvent
*arg3
= 0 ;
20456 PyObject
* obj0
= 0 ;
20457 PyObject
* obj1
= 0 ;
20458 PyObject
* obj2
= 0 ;
20459 char *kwnames
[] = {
20460 (char *) "self",(char *) "win",(char *) "event", NULL
20463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20466 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20468 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
20469 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20471 if (arg3
== NULL
) {
20472 PyErr_SetString(PyExc_TypeError
,"null reference");
20476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20477 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
20479 wxPyEndAllowThreads(__tstate
);
20480 if (PyErr_Occurred()) SWIG_fail
;
20483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20491 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20492 PyObject
*resultobj
;
20493 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20495 PyObject
* obj0
= 0 ;
20496 char *kwnames
[] = {
20497 (char *) "self", NULL
20500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
20501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20505 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
20507 wxPyEndAllowThreads(__tstate
);
20508 if (PyErr_Occurred()) SWIG_fail
;
20511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20519 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20520 PyObject
*resultobj
;
20521 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20522 wxWindow
*arg2
= (wxWindow
*) 0 ;
20523 PyObject
* obj0
= 0 ;
20524 PyObject
* obj1
= 0 ;
20525 char *kwnames
[] = {
20526 (char *) "self",(char *) "win", NULL
20529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20532 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20536 (arg1
)->SetTopWindow(arg2
);
20538 wxPyEndAllowThreads(__tstate
);
20539 if (PyErr_Occurred()) SWIG_fail
;
20541 Py_INCREF(Py_None
); resultobj
= Py_None
;
20548 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20549 PyObject
*resultobj
;
20550 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20552 PyObject
* obj0
= 0 ;
20553 char *kwnames
[] = {
20554 (char *) "self", NULL
20557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
20558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20562 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
20564 wxPyEndAllowThreads(__tstate
);
20565 if (PyErr_Occurred()) SWIG_fail
;
20568 resultobj
= wxPyMake_wxObject(result
, 0);
20576 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20577 PyObject
*resultobj
;
20578 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20580 PyObject
* obj0
= 0 ;
20581 PyObject
* obj1
= 0 ;
20582 char *kwnames
[] = {
20583 (char *) "self",(char *) "flag", NULL
20586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
20587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20589 arg2
= (bool)SWIG_As_bool(obj1
);
20590 if (PyErr_Occurred()) SWIG_fail
;
20592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20593 (arg1
)->SetExitOnFrameDelete(arg2
);
20595 wxPyEndAllowThreads(__tstate
);
20596 if (PyErr_Occurred()) SWIG_fail
;
20598 Py_INCREF(Py_None
); resultobj
= Py_None
;
20605 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20606 PyObject
*resultobj
;
20607 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20609 PyObject
* obj0
= 0 ;
20610 char *kwnames
[] = {
20611 (char *) "self", NULL
20614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
20615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20619 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
20621 wxPyEndAllowThreads(__tstate
);
20622 if (PyErr_Occurred()) SWIG_fail
;
20625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20633 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20634 PyObject
*resultobj
;
20635 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20637 PyObject
* obj0
= 0 ;
20638 PyObject
* obj1
= 0 ;
20639 char *kwnames
[] = {
20640 (char *) "self",(char *) "flag", NULL
20643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
20644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20646 arg2
= (bool)SWIG_As_bool(obj1
);
20647 if (PyErr_Occurred()) SWIG_fail
;
20649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20650 (arg1
)->SetUseBestVisual(arg2
);
20652 wxPyEndAllowThreads(__tstate
);
20653 if (PyErr_Occurred()) SWIG_fail
;
20655 Py_INCREF(Py_None
); resultobj
= Py_None
;
20662 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20663 PyObject
*resultobj
;
20664 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20666 PyObject
* obj0
= 0 ;
20667 char *kwnames
[] = {
20668 (char *) "self", NULL
20671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20676 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20678 wxPyEndAllowThreads(__tstate
);
20679 if (PyErr_Occurred()) SWIG_fail
;
20682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20690 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20691 PyObject
*resultobj
;
20692 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20694 PyObject
* obj0
= 0 ;
20695 PyObject
* obj1
= 0 ;
20696 char *kwnames
[] = {
20697 (char *) "self",(char *) "mode", NULL
20700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20703 arg2
= (int)SWIG_As_int(obj1
);
20704 if (PyErr_Occurred()) SWIG_fail
;
20706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20707 (arg1
)->SetPrintMode(arg2
);
20709 wxPyEndAllowThreads(__tstate
);
20710 if (PyErr_Occurred()) SWIG_fail
;
20712 Py_INCREF(Py_None
); resultobj
= Py_None
;
20719 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20720 PyObject
*resultobj
;
20721 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20723 PyObject
* obj0
= 0 ;
20724 char *kwnames
[] = {
20725 (char *) "self", NULL
20728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20733 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
20735 wxPyEndAllowThreads(__tstate
);
20736 if (PyErr_Occurred()) SWIG_fail
;
20738 resultobj
= SWIG_From_int((int)result
);
20745 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20746 PyObject
*resultobj
;
20747 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20749 PyObject
* obj0
= 0 ;
20750 PyObject
* obj1
= 0 ;
20751 char *kwnames
[] = {
20752 (char *) "self",(char *) "mode", NULL
20755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20758 arg2
= (int)SWIG_As_int(obj1
);
20759 if (PyErr_Occurred()) SWIG_fail
;
20761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20762 (arg1
)->SetAssertMode(arg2
);
20764 wxPyEndAllowThreads(__tstate
);
20765 if (PyErr_Occurred()) SWIG_fail
;
20767 Py_INCREF(Py_None
); resultobj
= Py_None
;
20774 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20775 PyObject
*resultobj
;
20776 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20778 PyObject
* obj0
= 0 ;
20779 char *kwnames
[] = {
20780 (char *) "self", NULL
20783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20788 result
= (int)(arg1
)->GetAssertMode();
20790 wxPyEndAllowThreads(__tstate
);
20791 if (PyErr_Occurred()) SWIG_fail
;
20793 resultobj
= SWIG_From_int((int)result
);
20800 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20801 PyObject
*resultobj
;
20803 char *kwnames
[] = {
20807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
20809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20810 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20812 wxPyEndAllowThreads(__tstate
);
20813 if (PyErr_Occurred()) SWIG_fail
;
20816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20824 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20825 PyObject
*resultobj
;
20827 char *kwnames
[] = {
20831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
20833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20834 result
= (long)wxPyApp::GetMacAboutMenuItemId();
20836 wxPyEndAllowThreads(__tstate
);
20837 if (PyErr_Occurred()) SWIG_fail
;
20839 resultobj
= SWIG_From_long((long)result
);
20846 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20847 PyObject
*resultobj
;
20849 char *kwnames
[] = {
20853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
20855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20856 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
20858 wxPyEndAllowThreads(__tstate
);
20859 if (PyErr_Occurred()) SWIG_fail
;
20861 resultobj
= SWIG_From_long((long)result
);
20868 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20869 PyObject
*resultobj
;
20871 char *kwnames
[] = {
20875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
20877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20878 result
= (long)wxPyApp::GetMacExitMenuItemId();
20880 wxPyEndAllowThreads(__tstate
);
20881 if (PyErr_Occurred()) SWIG_fail
;
20883 resultobj
= SWIG_From_long((long)result
);
20890 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20891 PyObject
*resultobj
;
20893 char *kwnames
[] = {
20897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
20899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20900 result
= wxPyApp::GetMacHelpMenuTitleName();
20902 wxPyEndAllowThreads(__tstate
);
20903 if (PyErr_Occurred()) SWIG_fail
;
20907 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20909 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20918 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20919 PyObject
*resultobj
;
20921 PyObject
* obj0
= 0 ;
20922 char *kwnames
[] = {
20923 (char *) "val", NULL
20926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
20927 arg1
= (bool)SWIG_As_bool(obj0
);
20928 if (PyErr_Occurred()) SWIG_fail
;
20930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20931 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
20933 wxPyEndAllowThreads(__tstate
);
20934 if (PyErr_Occurred()) SWIG_fail
;
20936 Py_INCREF(Py_None
); resultobj
= Py_None
;
20943 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20944 PyObject
*resultobj
;
20946 PyObject
* obj0
= 0 ;
20947 char *kwnames
[] = {
20948 (char *) "val", NULL
20951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
20952 arg1
= (long)SWIG_As_long(obj0
);
20953 if (PyErr_Occurred()) SWIG_fail
;
20955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20956 wxPyApp::SetMacAboutMenuItemId(arg1
);
20958 wxPyEndAllowThreads(__tstate
);
20959 if (PyErr_Occurred()) SWIG_fail
;
20961 Py_INCREF(Py_None
); resultobj
= Py_None
;
20968 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20969 PyObject
*resultobj
;
20971 PyObject
* obj0
= 0 ;
20972 char *kwnames
[] = {
20973 (char *) "val", NULL
20976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
20977 arg1
= (long)SWIG_As_long(obj0
);
20978 if (PyErr_Occurred()) SWIG_fail
;
20980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20981 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
20983 wxPyEndAllowThreads(__tstate
);
20984 if (PyErr_Occurred()) SWIG_fail
;
20986 Py_INCREF(Py_None
); resultobj
= Py_None
;
20993 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20994 PyObject
*resultobj
;
20996 PyObject
* obj0
= 0 ;
20997 char *kwnames
[] = {
20998 (char *) "val", NULL
21001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
21002 arg1
= (long)SWIG_As_long(obj0
);
21003 if (PyErr_Occurred()) SWIG_fail
;
21005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21006 wxPyApp::SetMacExitMenuItemId(arg1
);
21008 wxPyEndAllowThreads(__tstate
);
21009 if (PyErr_Occurred()) SWIG_fail
;
21011 Py_INCREF(Py_None
); resultobj
= Py_None
;
21018 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21019 PyObject
*resultobj
;
21020 wxString
*arg1
= 0 ;
21021 bool temp1
= false ;
21022 PyObject
* obj0
= 0 ;
21023 char *kwnames
[] = {
21024 (char *) "val", NULL
21027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
21029 arg1
= wxString_in_helper(obj0
);
21030 if (arg1
== NULL
) SWIG_fail
;
21034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21035 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
21037 wxPyEndAllowThreads(__tstate
);
21038 if (PyErr_Occurred()) SWIG_fail
;
21040 Py_INCREF(Py_None
); resultobj
= Py_None
;
21055 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21056 PyObject
*resultobj
;
21057 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
21058 PyObject
* obj0
= 0 ;
21059 char *kwnames
[] = {
21060 (char *) "self", NULL
21063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
21064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
21065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21068 (arg1
)->_BootstrapApp();
21070 wxPyEndAllowThreads(__tstate
);
21071 if (PyErr_Occurred()) SWIG_fail
;
21073 Py_INCREF(Py_None
); resultobj
= Py_None
;
21080 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21081 PyObject
*resultobj
;
21083 char *kwnames
[] = {
21087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
21089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21090 result
= (int)PyApp_GetComCtl32Version();
21092 wxPyEndAllowThreads(__tstate
);
21093 if (PyErr_Occurred()) SWIG_fail
;
21095 resultobj
= SWIG_From_int((int)result
);
21102 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
21104 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21105 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
21107 return Py_BuildValue((char *)"");
21109 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21110 PyObject
*resultobj
;
21111 char *kwnames
[] = {
21115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",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_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21131 PyObject
*resultobj
;
21133 char *kwnames
[] = {
21137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
21139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21140 result
= (bool)wxYield();
21142 wxPyEndAllowThreads(__tstate
);
21143 if (PyErr_Occurred()) SWIG_fail
;
21146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21154 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21155 PyObject
*resultobj
;
21157 char *kwnames
[] = {
21161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
21163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21164 result
= (bool)wxYieldIfNeeded();
21166 wxPyEndAllowThreads(__tstate
);
21167 if (PyErr_Occurred()) SWIG_fail
;
21170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21178 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21179 PyObject
*resultobj
;
21180 wxWindow
*arg1
= (wxWindow
*) NULL
;
21181 bool arg2
= (bool) false ;
21183 PyObject
* obj0
= 0 ;
21184 PyObject
* obj1
= 0 ;
21185 char *kwnames
[] = {
21186 (char *) "win",(char *) "onlyIfNeeded", NULL
21189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
21191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21195 arg2
= (bool)SWIG_As_bool(obj1
);
21196 if (PyErr_Occurred()) SWIG_fail
;
21199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21200 result
= (bool)wxSafeYield(arg1
,arg2
);
21202 wxPyEndAllowThreads(__tstate
);
21203 if (PyErr_Occurred()) SWIG_fail
;
21206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21214 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21215 PyObject
*resultobj
;
21216 char *kwnames
[] = {
21220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
21222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21225 wxPyEndAllowThreads(__tstate
);
21226 if (PyErr_Occurred()) SWIG_fail
;
21228 Py_INCREF(Py_None
); resultobj
= Py_None
;
21235 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21236 PyObject
*resultobj
;
21237 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
21238 wxEvent
*arg2
= 0 ;
21239 PyObject
* obj0
= 0 ;
21240 PyObject
* obj1
= 0 ;
21241 char *kwnames
[] = {
21242 (char *) "dest",(char *) "event", NULL
21245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
21247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21248 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
21249 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21251 if (arg2
== NULL
) {
21252 PyErr_SetString(PyExc_TypeError
,"null reference");
21256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21257 wxPostEvent(arg1
,*arg2
);
21259 wxPyEndAllowThreads(__tstate
);
21260 if (PyErr_Occurred()) SWIG_fail
;
21262 Py_INCREF(Py_None
); resultobj
= Py_None
;
21269 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21270 PyObject
*resultobj
;
21271 char *kwnames
[] = {
21275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
21277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21280 wxPyEndAllowThreads(__tstate
);
21281 if (PyErr_Occurred()) SWIG_fail
;
21283 Py_INCREF(Py_None
); resultobj
= Py_None
;
21290 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21291 PyObject
*resultobj
;
21293 char *kwnames
[] = {
21297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
21299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21300 result
= (wxPyApp
*)wxPyGetApp();
21302 wxPyEndAllowThreads(__tstate
);
21303 if (PyErr_Occurred()) SWIG_fail
;
21306 resultobj
= wxPyMake_wxObject(result
, 0);
21314 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21315 PyObject
*resultobj
;
21316 wxEventLoop
*result
;
21317 char *kwnames
[] = {
21321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
21323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21324 result
= (wxEventLoop
*)new wxEventLoop();
21326 wxPyEndAllowThreads(__tstate
);
21327 if (PyErr_Occurred()) SWIG_fail
;
21329 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
21336 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21337 PyObject
*resultobj
;
21338 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21339 PyObject
* obj0
= 0 ;
21340 char *kwnames
[] = {
21341 (char *) "self", NULL
21344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
21345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21351 wxPyEndAllowThreads(__tstate
);
21352 if (PyErr_Occurred()) SWIG_fail
;
21354 Py_INCREF(Py_None
); resultobj
= Py_None
;
21361 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21362 PyObject
*resultobj
;
21363 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21365 PyObject
* obj0
= 0 ;
21366 char *kwnames
[] = {
21367 (char *) "self", NULL
21370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
21371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21375 result
= (int)(arg1
)->Run();
21377 wxPyEndAllowThreads(__tstate
);
21378 if (PyErr_Occurred()) SWIG_fail
;
21380 resultobj
= SWIG_From_int((int)result
);
21387 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21388 PyObject
*resultobj
;
21389 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21390 int arg2
= (int) 0 ;
21391 PyObject
* obj0
= 0 ;
21392 PyObject
* obj1
= 0 ;
21393 char *kwnames
[] = {
21394 (char *) "self",(char *) "rc", NULL
21397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
21398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21401 arg2
= (int)SWIG_As_int(obj1
);
21402 if (PyErr_Occurred()) SWIG_fail
;
21405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21406 (arg1
)->Exit(arg2
);
21408 wxPyEndAllowThreads(__tstate
);
21409 if (PyErr_Occurred()) SWIG_fail
;
21411 Py_INCREF(Py_None
); resultobj
= Py_None
;
21418 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21419 PyObject
*resultobj
;
21420 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21422 PyObject
* obj0
= 0 ;
21423 char *kwnames
[] = {
21424 (char *) "self", NULL
21427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
21428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21432 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
21434 wxPyEndAllowThreads(__tstate
);
21435 if (PyErr_Occurred()) SWIG_fail
;
21438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21446 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21447 PyObject
*resultobj
;
21448 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21450 PyObject
* obj0
= 0 ;
21451 char *kwnames
[] = {
21452 (char *) "self", NULL
21455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
21456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21460 result
= (bool)(arg1
)->Dispatch();
21462 wxPyEndAllowThreads(__tstate
);
21463 if (PyErr_Occurred()) SWIG_fail
;
21466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21474 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21475 PyObject
*resultobj
;
21476 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21478 PyObject
* obj0
= 0 ;
21479 char *kwnames
[] = {
21480 (char *) "self", NULL
21483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
21484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21488 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
21490 wxPyEndAllowThreads(__tstate
);
21491 if (PyErr_Occurred()) SWIG_fail
;
21494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21502 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21503 PyObject
*resultobj
;
21504 wxEventLoop
*result
;
21505 char *kwnames
[] = {
21509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
21511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21512 result
= (wxEventLoop
*)wxEventLoop::GetActive();
21514 wxPyEndAllowThreads(__tstate
);
21515 if (PyErr_Occurred()) SWIG_fail
;
21517 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
21524 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21525 PyObject
*resultobj
;
21526 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
21527 PyObject
* obj0
= 0 ;
21528 char *kwnames
[] = {
21529 (char *) "loop", NULL
21532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
21533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEventLoop
,
21534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21537 wxEventLoop::SetActive(arg1
);
21539 wxPyEndAllowThreads(__tstate
);
21540 if (PyErr_Occurred()) SWIG_fail
;
21542 Py_INCREF(Py_None
); resultobj
= Py_None
;
21549 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
21551 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21552 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
21554 return Py_BuildValue((char *)"");
21556 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21557 PyObject
*resultobj
;
21558 int arg1
= (int) 0 ;
21559 int arg2
= (int) 0 ;
21560 int arg3
= (int) 0 ;
21561 wxAcceleratorEntry
*result
;
21562 PyObject
* obj0
= 0 ;
21563 PyObject
* obj1
= 0 ;
21564 PyObject
* obj2
= 0 ;
21565 char *kwnames
[] = {
21566 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
21569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21571 arg1
= (int)SWIG_As_int(obj0
);
21572 if (PyErr_Occurred()) SWIG_fail
;
21575 arg2
= (int)SWIG_As_int(obj1
);
21576 if (PyErr_Occurred()) SWIG_fail
;
21579 arg3
= (int)SWIG_As_int(obj2
);
21580 if (PyErr_Occurred()) SWIG_fail
;
21583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21584 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
21586 wxPyEndAllowThreads(__tstate
);
21587 if (PyErr_Occurred()) SWIG_fail
;
21589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
21596 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21597 PyObject
*resultobj
;
21598 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21599 PyObject
* obj0
= 0 ;
21600 char *kwnames
[] = {
21601 (char *) "self", NULL
21604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
21605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21611 wxPyEndAllowThreads(__tstate
);
21612 if (PyErr_Occurred()) SWIG_fail
;
21614 Py_INCREF(Py_None
); resultobj
= Py_None
;
21621 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21622 PyObject
*resultobj
;
21623 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21627 PyObject
* obj0
= 0 ;
21628 PyObject
* obj1
= 0 ;
21629 PyObject
* obj2
= 0 ;
21630 PyObject
* obj3
= 0 ;
21631 char *kwnames
[] = {
21632 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
21635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21638 arg2
= (int)SWIG_As_int(obj1
);
21639 if (PyErr_Occurred()) SWIG_fail
;
21640 arg3
= (int)SWIG_As_int(obj2
);
21641 if (PyErr_Occurred()) SWIG_fail
;
21642 arg4
= (int)SWIG_As_int(obj3
);
21643 if (PyErr_Occurred()) SWIG_fail
;
21645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21646 (arg1
)->Set(arg2
,arg3
,arg4
);
21648 wxPyEndAllowThreads(__tstate
);
21649 if (PyErr_Occurred()) SWIG_fail
;
21651 Py_INCREF(Py_None
); resultobj
= Py_None
;
21658 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21659 PyObject
*resultobj
;
21660 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21662 PyObject
* obj0
= 0 ;
21663 char *kwnames
[] = {
21664 (char *) "self", NULL
21667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
21668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21672 result
= (int)(arg1
)->GetFlags();
21674 wxPyEndAllowThreads(__tstate
);
21675 if (PyErr_Occurred()) SWIG_fail
;
21677 resultobj
= SWIG_From_int((int)result
);
21684 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21685 PyObject
*resultobj
;
21686 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21688 PyObject
* obj0
= 0 ;
21689 char *kwnames
[] = {
21690 (char *) "self", NULL
21693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
21694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21698 result
= (int)(arg1
)->GetKeyCode();
21700 wxPyEndAllowThreads(__tstate
);
21701 if (PyErr_Occurred()) SWIG_fail
;
21703 resultobj
= SWIG_From_int((int)result
);
21710 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21711 PyObject
*resultobj
;
21712 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21714 PyObject
* obj0
= 0 ;
21715 char *kwnames
[] = {
21716 (char *) "self", NULL
21719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
21720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21724 result
= (int)(arg1
)->GetCommand();
21726 wxPyEndAllowThreads(__tstate
);
21727 if (PyErr_Occurred()) SWIG_fail
;
21729 resultobj
= SWIG_From_int((int)result
);
21736 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
21738 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21739 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
21741 return Py_BuildValue((char *)"");
21743 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21744 PyObject
*resultobj
;
21746 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
21747 wxAcceleratorTable
*result
;
21748 PyObject
* obj0
= 0 ;
21749 char *kwnames
[] = {
21753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21755 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
21756 if (arg2
) arg1
= PyList_Size(obj0
);
21760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21761 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
21763 wxPyEndAllowThreads(__tstate
);
21764 if (PyErr_Occurred()) SWIG_fail
;
21766 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
21779 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21780 PyObject
*resultobj
;
21781 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21782 PyObject
* obj0
= 0 ;
21783 char *kwnames
[] = {
21784 (char *) "self", NULL
21787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21794 wxPyEndAllowThreads(__tstate
);
21795 if (PyErr_Occurred()) SWIG_fail
;
21797 Py_INCREF(Py_None
); resultobj
= Py_None
;
21804 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21805 PyObject
*resultobj
;
21806 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21808 PyObject
* obj0
= 0 ;
21809 char *kwnames
[] = {
21810 (char *) "self", NULL
21813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
21814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21818 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
21820 wxPyEndAllowThreads(__tstate
);
21821 if (PyErr_Occurred()) SWIG_fail
;
21824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21832 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
21834 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21835 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
21837 return Py_BuildValue((char *)"");
21839 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
21840 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
21845 static PyObject
*_wrap_NullAcceleratorTable_get() {
21848 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
21853 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21854 PyObject
*resultobj
;
21855 wxString
*arg1
= 0 ;
21856 wxAcceleratorEntry
*result
;
21857 bool temp1
= false ;
21858 PyObject
* obj0
= 0 ;
21859 char *kwnames
[] = {
21860 (char *) "label", NULL
21863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
21865 arg1
= wxString_in_helper(obj0
);
21866 if (arg1
== NULL
) SWIG_fail
;
21870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21871 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
21873 wxPyEndAllowThreads(__tstate
);
21874 if (PyErr_Occurred()) SWIG_fail
;
21876 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
21891 static int _wrap_PanelNameStr_set(PyObject
*) {
21892 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
21897 static PyObject
*_wrap_PanelNameStr_get() {
21902 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21904 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21911 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21912 PyObject
*resultobj
;
21913 wxVisualAttributes
*result
;
21914 char *kwnames
[] = {
21918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
21920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21921 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
21923 wxPyEndAllowThreads(__tstate
);
21924 if (PyErr_Occurred()) SWIG_fail
;
21926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
21933 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21934 PyObject
*resultobj
;
21935 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21936 PyObject
* obj0
= 0 ;
21937 char *kwnames
[] = {
21938 (char *) "self", NULL
21941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
21942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21946 delete_wxVisualAttributes(arg1
);
21948 wxPyEndAllowThreads(__tstate
);
21949 if (PyErr_Occurred()) SWIG_fail
;
21951 Py_INCREF(Py_None
); resultobj
= Py_None
;
21958 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21959 PyObject
*resultobj
;
21960 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21961 wxFont
*arg2
= (wxFont
*) 0 ;
21962 PyObject
* obj0
= 0 ;
21963 PyObject
* obj1
= 0 ;
21964 char *kwnames
[] = {
21965 (char *) "self",(char *) "font", NULL
21968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21971 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
21972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21973 if (arg1
) (arg1
)->font
= *arg2
;
21975 Py_INCREF(Py_None
); resultobj
= Py_None
;
21982 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21983 PyObject
*resultobj
;
21984 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21986 PyObject
* obj0
= 0 ;
21987 char *kwnames
[] = {
21988 (char *) "self", NULL
21991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
21992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21994 result
= (wxFont
*)& ((arg1
)->font
);
21996 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
22003 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22004 PyObject
*resultobj
;
22005 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22006 wxColour
*arg2
= (wxColour
*) 0 ;
22007 PyObject
* obj0
= 0 ;
22008 PyObject
* obj1
= 0 ;
22009 char *kwnames
[] = {
22010 (char *) "self",(char *) "colFg", NULL
22013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22016 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
22017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22018 if (arg1
) (arg1
)->colFg
= *arg2
;
22020 Py_INCREF(Py_None
); resultobj
= Py_None
;
22027 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22028 PyObject
*resultobj
;
22029 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22031 PyObject
* obj0
= 0 ;
22032 char *kwnames
[] = {
22033 (char *) "self", NULL
22036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
22037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22039 result
= (wxColour
*)& ((arg1
)->colFg
);
22041 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
22048 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22049 PyObject
*resultobj
;
22050 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22051 wxColour
*arg2
= (wxColour
*) 0 ;
22052 PyObject
* obj0
= 0 ;
22053 PyObject
* obj1
= 0 ;
22054 char *kwnames
[] = {
22055 (char *) "self",(char *) "colBg", NULL
22058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22061 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
22062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22063 if (arg1
) (arg1
)->colBg
= *arg2
;
22065 Py_INCREF(Py_None
); resultobj
= Py_None
;
22072 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22073 PyObject
*resultobj
;
22074 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
22076 PyObject
* obj0
= 0 ;
22077 char *kwnames
[] = {
22078 (char *) "self", NULL
22081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
22082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
22083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22084 result
= (wxColour
*)& ((arg1
)->colBg
);
22086 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
22093 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
22095 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22096 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
22098 return Py_BuildValue((char *)"");
22100 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22101 PyObject
*resultobj
;
22102 wxWindow
*arg1
= (wxWindow
*) 0 ;
22103 int arg2
= (int) (int)-1 ;
22104 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22105 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22106 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22107 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22108 long arg5
= (long) 0 ;
22109 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22110 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22114 bool temp6
= false ;
22115 PyObject
* obj0
= 0 ;
22116 PyObject
* obj1
= 0 ;
22117 PyObject
* obj2
= 0 ;
22118 PyObject
* obj3
= 0 ;
22119 PyObject
* obj4
= 0 ;
22120 PyObject
* obj5
= 0 ;
22121 char *kwnames
[] = {
22122 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22129 arg2
= (int)SWIG_As_int(obj1
);
22130 if (PyErr_Occurred()) SWIG_fail
;
22135 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22141 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22145 arg5
= (long)SWIG_As_long(obj4
);
22146 if (PyErr_Occurred()) SWIG_fail
;
22150 arg6
= wxString_in_helper(obj5
);
22151 if (arg6
== NULL
) SWIG_fail
;
22156 if (!wxPyCheckForApp()) SWIG_fail
;
22157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22158 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22160 wxPyEndAllowThreads(__tstate
);
22161 if (PyErr_Occurred()) SWIG_fail
;
22163 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
22178 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22179 PyObject
*resultobj
;
22181 char *kwnames
[] = {
22185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
22187 if (!wxPyCheckForApp()) SWIG_fail
;
22188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22189 result
= (wxWindow
*)new wxWindow();
22191 wxPyEndAllowThreads(__tstate
);
22192 if (PyErr_Occurred()) SWIG_fail
;
22194 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
22201 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22202 PyObject
*resultobj
;
22203 wxWindow
*arg1
= (wxWindow
*) 0 ;
22204 wxWindow
*arg2
= (wxWindow
*) 0 ;
22205 int arg3
= (int) (int)-1 ;
22206 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22207 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22208 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22209 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22210 long arg6
= (long) 0 ;
22211 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22212 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22216 bool temp7
= false ;
22217 PyObject
* obj0
= 0 ;
22218 PyObject
* obj1
= 0 ;
22219 PyObject
* obj2
= 0 ;
22220 PyObject
* obj3
= 0 ;
22221 PyObject
* obj4
= 0 ;
22222 PyObject
* obj5
= 0 ;
22223 PyObject
* obj6
= 0 ;
22224 char *kwnames
[] = {
22225 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22231 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22234 arg3
= (int)SWIG_As_int(obj2
);
22235 if (PyErr_Occurred()) SWIG_fail
;
22240 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22246 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22250 arg6
= (long)SWIG_As_long(obj5
);
22251 if (PyErr_Occurred()) SWIG_fail
;
22255 arg7
= wxString_in_helper(obj6
);
22256 if (arg7
== NULL
) SWIG_fail
;
22261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22262 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22264 wxPyEndAllowThreads(__tstate
);
22265 if (PyErr_Occurred()) SWIG_fail
;
22268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22284 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22285 PyObject
*resultobj
;
22286 wxWindow
*arg1
= (wxWindow
*) 0 ;
22287 bool arg2
= (bool) false ;
22289 PyObject
* obj0
= 0 ;
22290 PyObject
* obj1
= 0 ;
22291 char *kwnames
[] = {
22292 (char *) "self",(char *) "force", NULL
22295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
22296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22299 arg2
= (bool)SWIG_As_bool(obj1
);
22300 if (PyErr_Occurred()) SWIG_fail
;
22303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22304 result
= (bool)(arg1
)->Close(arg2
);
22306 wxPyEndAllowThreads(__tstate
);
22307 if (PyErr_Occurred()) SWIG_fail
;
22310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22318 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22319 PyObject
*resultobj
;
22320 wxWindow
*arg1
= (wxWindow
*) 0 ;
22322 PyObject
* obj0
= 0 ;
22323 char *kwnames
[] = {
22324 (char *) "self", NULL
22327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
22328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22332 result
= (bool)(arg1
)->Destroy();
22334 wxPyEndAllowThreads(__tstate
);
22335 if (PyErr_Occurred()) SWIG_fail
;
22338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22346 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22347 PyObject
*resultobj
;
22348 wxWindow
*arg1
= (wxWindow
*) 0 ;
22350 PyObject
* obj0
= 0 ;
22351 char *kwnames
[] = {
22352 (char *) "self", NULL
22355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
22356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22360 result
= (bool)(arg1
)->DestroyChildren();
22362 wxPyEndAllowThreads(__tstate
);
22363 if (PyErr_Occurred()) SWIG_fail
;
22366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22374 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22375 PyObject
*resultobj
;
22376 wxWindow
*arg1
= (wxWindow
*) 0 ;
22378 PyObject
* obj0
= 0 ;
22379 char *kwnames
[] = {
22380 (char *) "self", NULL
22383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
22384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22388 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
22390 wxPyEndAllowThreads(__tstate
);
22391 if (PyErr_Occurred()) SWIG_fail
;
22394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22402 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22403 PyObject
*resultobj
;
22404 wxWindow
*arg1
= (wxWindow
*) 0 ;
22405 wxString
*arg2
= 0 ;
22406 bool temp2
= false ;
22407 PyObject
* obj0
= 0 ;
22408 PyObject
* obj1
= 0 ;
22409 char *kwnames
[] = {
22410 (char *) "self",(char *) "title", NULL
22413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
22414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22417 arg2
= wxString_in_helper(obj1
);
22418 if (arg2
== NULL
) SWIG_fail
;
22422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22423 (arg1
)->SetTitle((wxString
const &)*arg2
);
22425 wxPyEndAllowThreads(__tstate
);
22426 if (PyErr_Occurred()) SWIG_fail
;
22428 Py_INCREF(Py_None
); resultobj
= Py_None
;
22443 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22444 PyObject
*resultobj
;
22445 wxWindow
*arg1
= (wxWindow
*) 0 ;
22447 PyObject
* obj0
= 0 ;
22448 char *kwnames
[] = {
22449 (char *) "self", NULL
22452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
22453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22457 result
= ((wxWindow
const *)arg1
)->GetTitle();
22459 wxPyEndAllowThreads(__tstate
);
22460 if (PyErr_Occurred()) SWIG_fail
;
22464 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22466 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22475 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22476 PyObject
*resultobj
;
22477 wxWindow
*arg1
= (wxWindow
*) 0 ;
22478 wxString
*arg2
= 0 ;
22479 bool temp2
= false ;
22480 PyObject
* obj0
= 0 ;
22481 PyObject
* obj1
= 0 ;
22482 char *kwnames
[] = {
22483 (char *) "self",(char *) "label", NULL
22486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22490 arg2
= wxString_in_helper(obj1
);
22491 if (arg2
== NULL
) SWIG_fail
;
22495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22496 (arg1
)->SetLabel((wxString
const &)*arg2
);
22498 wxPyEndAllowThreads(__tstate
);
22499 if (PyErr_Occurred()) SWIG_fail
;
22501 Py_INCREF(Py_None
); resultobj
= Py_None
;
22516 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22517 PyObject
*resultobj
;
22518 wxWindow
*arg1
= (wxWindow
*) 0 ;
22520 PyObject
* obj0
= 0 ;
22521 char *kwnames
[] = {
22522 (char *) "self", NULL
22525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
22526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22530 result
= ((wxWindow
const *)arg1
)->GetLabel();
22532 wxPyEndAllowThreads(__tstate
);
22533 if (PyErr_Occurred()) SWIG_fail
;
22537 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22539 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22548 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22549 PyObject
*resultobj
;
22550 wxWindow
*arg1
= (wxWindow
*) 0 ;
22551 wxString
*arg2
= 0 ;
22552 bool temp2
= false ;
22553 PyObject
* obj0
= 0 ;
22554 PyObject
* obj1
= 0 ;
22555 char *kwnames
[] = {
22556 (char *) "self",(char *) "name", NULL
22559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
22560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22563 arg2
= wxString_in_helper(obj1
);
22564 if (arg2
== NULL
) SWIG_fail
;
22568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22569 (arg1
)->SetName((wxString
const &)*arg2
);
22571 wxPyEndAllowThreads(__tstate
);
22572 if (PyErr_Occurred()) SWIG_fail
;
22574 Py_INCREF(Py_None
); resultobj
= Py_None
;
22589 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22590 PyObject
*resultobj
;
22591 wxWindow
*arg1
= (wxWindow
*) 0 ;
22593 PyObject
* obj0
= 0 ;
22594 char *kwnames
[] = {
22595 (char *) "self", NULL
22598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
22599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22603 result
= ((wxWindow
const *)arg1
)->GetName();
22605 wxPyEndAllowThreads(__tstate
);
22606 if (PyErr_Occurred()) SWIG_fail
;
22610 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22612 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22621 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22622 PyObject
*resultobj
;
22623 wxWindow
*arg1
= (wxWindow
*) 0 ;
22625 PyObject
* obj0
= 0 ;
22626 PyObject
* obj1
= 0 ;
22627 char *kwnames
[] = {
22628 (char *) "self",(char *) "variant", NULL
22631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
22632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22634 arg2
= (int)SWIG_As_int(obj1
);
22635 if (PyErr_Occurred()) SWIG_fail
;
22637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22638 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
22640 wxPyEndAllowThreads(__tstate
);
22641 if (PyErr_Occurred()) SWIG_fail
;
22643 Py_INCREF(Py_None
); resultobj
= Py_None
;
22650 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22651 PyObject
*resultobj
;
22652 wxWindow
*arg1
= (wxWindow
*) 0 ;
22654 PyObject
* obj0
= 0 ;
22655 char *kwnames
[] = {
22656 (char *) "self", NULL
22659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
22660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22664 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
22666 wxPyEndAllowThreads(__tstate
);
22667 if (PyErr_Occurred()) SWIG_fail
;
22669 resultobj
= SWIG_From_int((int)result
);
22676 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22677 PyObject
*resultobj
;
22678 wxWindow
*arg1
= (wxWindow
*) 0 ;
22680 PyObject
* obj0
= 0 ;
22681 PyObject
* obj1
= 0 ;
22682 char *kwnames
[] = {
22683 (char *) "self",(char *) "winid", NULL
22686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
22687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22689 arg2
= (int)SWIG_As_int(obj1
);
22690 if (PyErr_Occurred()) SWIG_fail
;
22692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22693 (arg1
)->SetId(arg2
);
22695 wxPyEndAllowThreads(__tstate
);
22696 if (PyErr_Occurred()) SWIG_fail
;
22698 Py_INCREF(Py_None
); resultobj
= Py_None
;
22705 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22706 PyObject
*resultobj
;
22707 wxWindow
*arg1
= (wxWindow
*) 0 ;
22709 PyObject
* obj0
= 0 ;
22710 char *kwnames
[] = {
22711 (char *) "self", NULL
22714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
22715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22719 result
= (int)((wxWindow
const *)arg1
)->GetId();
22721 wxPyEndAllowThreads(__tstate
);
22722 if (PyErr_Occurred()) SWIG_fail
;
22724 resultobj
= SWIG_From_int((int)result
);
22731 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22732 PyObject
*resultobj
;
22734 char *kwnames
[] = {
22738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
22740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22741 result
= (int)wxWindow::NewControlId();
22743 wxPyEndAllowThreads(__tstate
);
22744 if (PyErr_Occurred()) SWIG_fail
;
22746 resultobj
= SWIG_From_int((int)result
);
22753 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22754 PyObject
*resultobj
;
22757 PyObject
* obj0
= 0 ;
22758 char *kwnames
[] = {
22759 (char *) "winid", NULL
22762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
22763 arg1
= (int)SWIG_As_int(obj0
);
22764 if (PyErr_Occurred()) SWIG_fail
;
22766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22767 result
= (int)wxWindow::NextControlId(arg1
);
22769 wxPyEndAllowThreads(__tstate
);
22770 if (PyErr_Occurred()) SWIG_fail
;
22772 resultobj
= SWIG_From_int((int)result
);
22779 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22780 PyObject
*resultobj
;
22783 PyObject
* obj0
= 0 ;
22784 char *kwnames
[] = {
22785 (char *) "winid", NULL
22788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
22789 arg1
= (int)SWIG_As_int(obj0
);
22790 if (PyErr_Occurred()) SWIG_fail
;
22792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22793 result
= (int)wxWindow::PrevControlId(arg1
);
22795 wxPyEndAllowThreads(__tstate
);
22796 if (PyErr_Occurred()) SWIG_fail
;
22798 resultobj
= SWIG_From_int((int)result
);
22805 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22806 PyObject
*resultobj
;
22807 wxWindow
*arg1
= (wxWindow
*) 0 ;
22810 PyObject
* obj0
= 0 ;
22811 PyObject
* obj1
= 0 ;
22812 char *kwnames
[] = {
22813 (char *) "self",(char *) "size", NULL
22816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22821 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22825 (arg1
)->SetSize((wxSize
const &)*arg2
);
22827 wxPyEndAllowThreads(__tstate
);
22828 if (PyErr_Occurred()) SWIG_fail
;
22830 Py_INCREF(Py_None
); resultobj
= Py_None
;
22837 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22838 PyObject
*resultobj
;
22839 wxWindow
*arg1
= (wxWindow
*) 0 ;
22844 int arg6
= (int) wxSIZE_AUTO
;
22845 PyObject
* obj0
= 0 ;
22846 PyObject
* obj1
= 0 ;
22847 PyObject
* obj2
= 0 ;
22848 PyObject
* obj3
= 0 ;
22849 PyObject
* obj4
= 0 ;
22850 PyObject
* obj5
= 0 ;
22851 char *kwnames
[] = {
22852 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22858 arg2
= (int)SWIG_As_int(obj1
);
22859 if (PyErr_Occurred()) SWIG_fail
;
22860 arg3
= (int)SWIG_As_int(obj2
);
22861 if (PyErr_Occurred()) SWIG_fail
;
22862 arg4
= (int)SWIG_As_int(obj3
);
22863 if (PyErr_Occurred()) SWIG_fail
;
22864 arg5
= (int)SWIG_As_int(obj4
);
22865 if (PyErr_Occurred()) SWIG_fail
;
22867 arg6
= (int)SWIG_As_int(obj5
);
22868 if (PyErr_Occurred()) SWIG_fail
;
22871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22872 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22874 wxPyEndAllowThreads(__tstate
);
22875 if (PyErr_Occurred()) SWIG_fail
;
22877 Py_INCREF(Py_None
); resultobj
= Py_None
;
22884 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22885 PyObject
*resultobj
;
22886 wxWindow
*arg1
= (wxWindow
*) 0 ;
22888 int arg3
= (int) wxSIZE_AUTO
;
22890 PyObject
* obj0
= 0 ;
22891 PyObject
* obj1
= 0 ;
22892 PyObject
* obj2
= 0 ;
22893 char *kwnames
[] = {
22894 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22902 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22905 arg3
= (int)SWIG_As_int(obj2
);
22906 if (PyErr_Occurred()) SWIG_fail
;
22909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22910 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
22912 wxPyEndAllowThreads(__tstate
);
22913 if (PyErr_Occurred()) SWIG_fail
;
22915 Py_INCREF(Py_None
); resultobj
= Py_None
;
22922 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22923 PyObject
*resultobj
;
22924 wxWindow
*arg1
= (wxWindow
*) 0 ;
22927 PyObject
* obj0
= 0 ;
22928 PyObject
* obj1
= 0 ;
22929 PyObject
* obj2
= 0 ;
22930 char *kwnames
[] = {
22931 (char *) "self",(char *) "width",(char *) "height", NULL
22934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22937 arg2
= (int)SWIG_As_int(obj1
);
22938 if (PyErr_Occurred()) SWIG_fail
;
22939 arg3
= (int)SWIG_As_int(obj2
);
22940 if (PyErr_Occurred()) SWIG_fail
;
22942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22943 (arg1
)->SetSize(arg2
,arg3
);
22945 wxPyEndAllowThreads(__tstate
);
22946 if (PyErr_Occurred()) SWIG_fail
;
22948 Py_INCREF(Py_None
); resultobj
= Py_None
;
22955 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22956 PyObject
*resultobj
;
22957 wxWindow
*arg1
= (wxWindow
*) 0 ;
22958 wxPoint
*arg2
= 0 ;
22959 int arg3
= (int) wxSIZE_USE_EXISTING
;
22961 PyObject
* obj0
= 0 ;
22962 PyObject
* obj1
= 0 ;
22963 PyObject
* obj2
= 0 ;
22964 char *kwnames
[] = {
22965 (char *) "self",(char *) "pt",(char *) "flags", NULL
22968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22973 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22976 arg3
= (int)SWIG_As_int(obj2
);
22977 if (PyErr_Occurred()) SWIG_fail
;
22980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22981 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
22983 wxPyEndAllowThreads(__tstate
);
22984 if (PyErr_Occurred()) SWIG_fail
;
22986 Py_INCREF(Py_None
); resultobj
= Py_None
;
22993 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22994 PyObject
*resultobj
;
22995 wxWindow
*arg1
= (wxWindow
*) 0 ;
22998 int arg4
= (int) wxSIZE_USE_EXISTING
;
22999 PyObject
* obj0
= 0 ;
23000 PyObject
* obj1
= 0 ;
23001 PyObject
* obj2
= 0 ;
23002 PyObject
* obj3
= 0 ;
23003 char *kwnames
[] = {
23004 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
23007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23010 arg2
= (int)SWIG_As_int(obj1
);
23011 if (PyErr_Occurred()) SWIG_fail
;
23012 arg3
= (int)SWIG_As_int(obj2
);
23013 if (PyErr_Occurred()) SWIG_fail
;
23015 arg4
= (int)SWIG_As_int(obj3
);
23016 if (PyErr_Occurred()) SWIG_fail
;
23019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23020 (arg1
)->Move(arg2
,arg3
,arg4
);
23022 wxPyEndAllowThreads(__tstate
);
23023 if (PyErr_Occurred()) SWIG_fail
;
23025 Py_INCREF(Py_None
); resultobj
= Py_None
;
23032 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23033 PyObject
*resultobj
;
23034 wxWindow
*arg1
= (wxWindow
*) 0 ;
23035 wxSize
const &arg2_defvalue
= wxDefaultSize
;
23036 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
23038 PyObject
* obj0
= 0 ;
23039 PyObject
* obj1
= 0 ;
23040 char *kwnames
[] = {
23041 (char *) "self",(char *) "size", NULL
23044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23050 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23055 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
23057 wxPyEndAllowThreads(__tstate
);
23058 if (PyErr_Occurred()) SWIG_fail
;
23060 Py_INCREF(Py_None
); resultobj
= Py_None
;
23067 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23068 PyObject
*resultobj
;
23069 wxWindow
*arg1
= (wxWindow
*) 0 ;
23070 PyObject
* obj0
= 0 ;
23071 char *kwnames
[] = {
23072 (char *) "self", NULL
23075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
23076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23082 wxPyEndAllowThreads(__tstate
);
23083 if (PyErr_Occurred()) SWIG_fail
;
23085 Py_INCREF(Py_None
); resultobj
= Py_None
;
23092 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23093 PyObject
*resultobj
;
23094 wxWindow
*arg1
= (wxWindow
*) 0 ;
23095 PyObject
* obj0
= 0 ;
23096 char *kwnames
[] = {
23097 (char *) "self", NULL
23100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
23101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23107 wxPyEndAllowThreads(__tstate
);
23108 if (PyErr_Occurred()) SWIG_fail
;
23110 Py_INCREF(Py_None
); resultobj
= Py_None
;
23117 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23118 PyObject
*resultobj
;
23119 wxWindow
*arg1
= (wxWindow
*) 0 ;
23122 PyObject
* obj0
= 0 ;
23123 PyObject
* obj1
= 0 ;
23124 char *kwnames
[] = {
23125 (char *) "self",(char *) "size", NULL
23128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23133 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23137 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
23139 wxPyEndAllowThreads(__tstate
);
23140 if (PyErr_Occurred()) SWIG_fail
;
23142 Py_INCREF(Py_None
); resultobj
= Py_None
;
23149 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23150 PyObject
*resultobj
;
23151 wxWindow
*arg1
= (wxWindow
*) 0 ;
23154 PyObject
* obj0
= 0 ;
23155 PyObject
* obj1
= 0 ;
23156 PyObject
* obj2
= 0 ;
23157 char *kwnames
[] = {
23158 (char *) "self",(char *) "width",(char *) "height", NULL
23161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23164 arg2
= (int)SWIG_As_int(obj1
);
23165 if (PyErr_Occurred()) SWIG_fail
;
23166 arg3
= (int)SWIG_As_int(obj2
);
23167 if (PyErr_Occurred()) SWIG_fail
;
23169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23170 (arg1
)->SetClientSize(arg2
,arg3
);
23172 wxPyEndAllowThreads(__tstate
);
23173 if (PyErr_Occurred()) SWIG_fail
;
23175 Py_INCREF(Py_None
); resultobj
= Py_None
;
23182 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23183 PyObject
*resultobj
;
23184 wxWindow
*arg1
= (wxWindow
*) 0 ;
23187 PyObject
* obj0
= 0 ;
23188 PyObject
* obj1
= 0 ;
23189 char *kwnames
[] = {
23190 (char *) "self",(char *) "rect", NULL
23193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
23194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23198 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
23201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23202 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
23204 wxPyEndAllowThreads(__tstate
);
23205 if (PyErr_Occurred()) SWIG_fail
;
23207 Py_INCREF(Py_None
); resultobj
= Py_None
;
23214 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23215 PyObject
*resultobj
;
23216 wxWindow
*arg1
= (wxWindow
*) 0 ;
23218 PyObject
* obj0
= 0 ;
23219 char *kwnames
[] = {
23220 (char *) "self", NULL
23223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
23224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23228 result
= (arg1
)->GetPosition();
23230 wxPyEndAllowThreads(__tstate
);
23231 if (PyErr_Occurred()) SWIG_fail
;
23234 wxPoint
* resultptr
;
23235 resultptr
= new wxPoint((wxPoint
&) result
);
23236 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23244 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23245 PyObject
*resultobj
;
23246 wxWindow
*arg1
= (wxWindow
*) 0 ;
23247 int *arg2
= (int *) 0 ;
23248 int *arg3
= (int *) 0 ;
23253 PyObject
* obj0
= 0 ;
23254 char *kwnames
[] = {
23255 (char *) "self", NULL
23258 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23259 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
23261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23265 (arg1
)->GetPosition(arg2
,arg3
);
23267 wxPyEndAllowThreads(__tstate
);
23268 if (PyErr_Occurred()) SWIG_fail
;
23270 Py_INCREF(Py_None
); resultobj
= Py_None
;
23271 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23272 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23273 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23274 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23281 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23282 PyObject
*resultobj
;
23283 wxWindow
*arg1
= (wxWindow
*) 0 ;
23285 PyObject
* obj0
= 0 ;
23286 char *kwnames
[] = {
23287 (char *) "self", NULL
23290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
23291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23295 result
= ((wxWindow
const *)arg1
)->GetSize();
23297 wxPyEndAllowThreads(__tstate
);
23298 if (PyErr_Occurred()) SWIG_fail
;
23301 wxSize
* resultptr
;
23302 resultptr
= new wxSize((wxSize
&) result
);
23303 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23311 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23312 PyObject
*resultobj
;
23313 wxWindow
*arg1
= (wxWindow
*) 0 ;
23314 int *arg2
= (int *) 0 ;
23315 int *arg3
= (int *) 0 ;
23320 PyObject
* obj0
= 0 ;
23321 char *kwnames
[] = {
23322 (char *) "self", NULL
23325 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23326 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
23328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23332 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
23334 wxPyEndAllowThreads(__tstate
);
23335 if (PyErr_Occurred()) SWIG_fail
;
23337 Py_INCREF(Py_None
); resultobj
= Py_None
;
23338 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23339 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23340 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23341 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23348 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23349 PyObject
*resultobj
;
23350 wxWindow
*arg1
= (wxWindow
*) 0 ;
23352 PyObject
* obj0
= 0 ;
23353 char *kwnames
[] = {
23354 (char *) "self", NULL
23357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
23358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23362 result
= ((wxWindow
const *)arg1
)->GetRect();
23364 wxPyEndAllowThreads(__tstate
);
23365 if (PyErr_Occurred()) SWIG_fail
;
23368 wxRect
* resultptr
;
23369 resultptr
= new wxRect((wxRect
&) result
);
23370 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
23378 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23379 PyObject
*resultobj
;
23380 wxWindow
*arg1
= (wxWindow
*) 0 ;
23382 PyObject
* obj0
= 0 ;
23383 char *kwnames
[] = {
23384 (char *) "self", NULL
23387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
23388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23392 result
= ((wxWindow
const *)arg1
)->GetClientSize();
23394 wxPyEndAllowThreads(__tstate
);
23395 if (PyErr_Occurred()) SWIG_fail
;
23398 wxSize
* resultptr
;
23399 resultptr
= new wxSize((wxSize
&) result
);
23400 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23408 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23409 PyObject
*resultobj
;
23410 wxWindow
*arg1
= (wxWindow
*) 0 ;
23411 int *arg2
= (int *) 0 ;
23412 int *arg3
= (int *) 0 ;
23417 PyObject
* obj0
= 0 ;
23418 char *kwnames
[] = {
23419 (char *) "self", NULL
23422 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23423 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
23425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23429 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
23431 wxPyEndAllowThreads(__tstate
);
23432 if (PyErr_Occurred()) SWIG_fail
;
23434 Py_INCREF(Py_None
); resultobj
= Py_None
;
23435 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23436 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23437 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23438 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23445 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23446 PyObject
*resultobj
;
23447 wxWindow
*arg1
= (wxWindow
*) 0 ;
23449 PyObject
* obj0
= 0 ;
23450 char *kwnames
[] = {
23451 (char *) "self", NULL
23454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
23455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23459 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
23461 wxPyEndAllowThreads(__tstate
);
23462 if (PyErr_Occurred()) SWIG_fail
;
23465 wxPoint
* resultptr
;
23466 resultptr
= new wxPoint((wxPoint
&) result
);
23467 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23475 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23476 PyObject
*resultobj
;
23477 wxWindow
*arg1
= (wxWindow
*) 0 ;
23479 PyObject
* obj0
= 0 ;
23480 char *kwnames
[] = {
23481 (char *) "self", NULL
23484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
23485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23489 result
= ((wxWindow
const *)arg1
)->GetClientRect();
23491 wxPyEndAllowThreads(__tstate
);
23492 if (PyErr_Occurred()) SWIG_fail
;
23495 wxRect
* resultptr
;
23496 resultptr
= new wxRect((wxRect
&) result
);
23497 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
23505 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23506 PyObject
*resultobj
;
23507 wxWindow
*arg1
= (wxWindow
*) 0 ;
23509 PyObject
* obj0
= 0 ;
23510 char *kwnames
[] = {
23511 (char *) "self", NULL
23514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
23515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23519 result
= ((wxWindow
const *)arg1
)->GetBestSize();
23521 wxPyEndAllowThreads(__tstate
);
23522 if (PyErr_Occurred()) SWIG_fail
;
23525 wxSize
* resultptr
;
23526 resultptr
= new wxSize((wxSize
&) result
);
23527 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23535 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23536 PyObject
*resultobj
;
23537 wxWindow
*arg1
= (wxWindow
*) 0 ;
23538 int *arg2
= (int *) 0 ;
23539 int *arg3
= (int *) 0 ;
23544 PyObject
* obj0
= 0 ;
23545 char *kwnames
[] = {
23546 (char *) "self", NULL
23549 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23550 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
23552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23556 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
23558 wxPyEndAllowThreads(__tstate
);
23559 if (PyErr_Occurred()) SWIG_fail
;
23561 Py_INCREF(Py_None
); resultobj
= Py_None
;
23562 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23563 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23564 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23565 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23572 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23573 PyObject
*resultobj
;
23574 wxWindow
*arg1
= (wxWindow
*) 0 ;
23575 PyObject
* obj0
= 0 ;
23576 char *kwnames
[] = {
23577 (char *) "self", NULL
23580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
23581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23585 (arg1
)->InvalidateBestSize();
23587 wxPyEndAllowThreads(__tstate
);
23588 if (PyErr_Occurred()) SWIG_fail
;
23590 Py_INCREF(Py_None
); resultobj
= Py_None
;
23597 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23598 PyObject
*resultobj
;
23599 wxWindow
*arg1
= (wxWindow
*) 0 ;
23601 PyObject
* obj0
= 0 ;
23602 char *kwnames
[] = {
23603 (char *) "self", NULL
23606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
23607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23611 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
23613 wxPyEndAllowThreads(__tstate
);
23614 if (PyErr_Occurred()) SWIG_fail
;
23617 wxSize
* resultptr
;
23618 resultptr
= new wxSize((wxSize
&) result
);
23619 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23627 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23628 PyObject
*resultobj
;
23629 wxWindow
*arg1
= (wxWindow
*) 0 ;
23631 PyObject
* obj0
= 0 ;
23632 char *kwnames
[] = {
23633 (char *) "self", NULL
23636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
23637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23641 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
23643 wxPyEndAllowThreads(__tstate
);
23644 if (PyErr_Occurred()) SWIG_fail
;
23647 wxSize
* resultptr
;
23648 resultptr
= new wxSize((wxSize
&) result
);
23649 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23657 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23658 PyObject
*resultobj
;
23659 wxWindow
*arg1
= (wxWindow
*) 0 ;
23660 int arg2
= (int) wxBOTH
;
23661 PyObject
* obj0
= 0 ;
23662 PyObject
* obj1
= 0 ;
23663 char *kwnames
[] = {
23664 (char *) "self",(char *) "direction", NULL
23667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
23668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23671 arg2
= (int)SWIG_As_int(obj1
);
23672 if (PyErr_Occurred()) SWIG_fail
;
23675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23676 (arg1
)->Center(arg2
);
23678 wxPyEndAllowThreads(__tstate
);
23679 if (PyErr_Occurred()) SWIG_fail
;
23681 Py_INCREF(Py_None
); resultobj
= Py_None
;
23688 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23689 PyObject
*resultobj
;
23690 wxWindow
*arg1
= (wxWindow
*) 0 ;
23691 int arg2
= (int) wxBOTH
;
23692 PyObject
* obj0
= 0 ;
23693 PyObject
* obj1
= 0 ;
23694 char *kwnames
[] = {
23695 (char *) "self",(char *) "dir", NULL
23698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
23699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23702 arg2
= (int)SWIG_As_int(obj1
);
23703 if (PyErr_Occurred()) SWIG_fail
;
23706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23707 (arg1
)->CenterOnScreen(arg2
);
23709 wxPyEndAllowThreads(__tstate
);
23710 if (PyErr_Occurred()) SWIG_fail
;
23712 Py_INCREF(Py_None
); resultobj
= Py_None
;
23719 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23720 PyObject
*resultobj
;
23721 wxWindow
*arg1
= (wxWindow
*) 0 ;
23722 int arg2
= (int) wxBOTH
;
23723 PyObject
* obj0
= 0 ;
23724 PyObject
* obj1
= 0 ;
23725 char *kwnames
[] = {
23726 (char *) "self",(char *) "dir", NULL
23729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
23730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23733 arg2
= (int)SWIG_As_int(obj1
);
23734 if (PyErr_Occurred()) SWIG_fail
;
23737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23738 (arg1
)->CenterOnParent(arg2
);
23740 wxPyEndAllowThreads(__tstate
);
23741 if (PyErr_Occurred()) SWIG_fail
;
23743 Py_INCREF(Py_None
); resultobj
= Py_None
;
23750 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23751 PyObject
*resultobj
;
23752 wxWindow
*arg1
= (wxWindow
*) 0 ;
23753 PyObject
* obj0
= 0 ;
23754 char *kwnames
[] = {
23755 (char *) "self", NULL
23758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
23759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23765 wxPyEndAllowThreads(__tstate
);
23766 if (PyErr_Occurred()) SWIG_fail
;
23768 Py_INCREF(Py_None
); resultobj
= Py_None
;
23775 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23776 PyObject
*resultobj
;
23777 wxWindow
*arg1
= (wxWindow
*) 0 ;
23778 PyObject
* obj0
= 0 ;
23779 char *kwnames
[] = {
23780 (char *) "self", NULL
23783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
23784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23788 (arg1
)->FitInside();
23790 wxPyEndAllowThreads(__tstate
);
23791 if (PyErr_Occurred()) SWIG_fail
;
23793 Py_INCREF(Py_None
); resultobj
= Py_None
;
23800 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23801 PyObject
*resultobj
;
23802 wxWindow
*arg1
= (wxWindow
*) 0 ;
23805 int arg4
= (int) -1 ;
23806 int arg5
= (int) -1 ;
23807 int arg6
= (int) -1 ;
23808 int arg7
= (int) -1 ;
23809 PyObject
* obj0
= 0 ;
23810 PyObject
* obj1
= 0 ;
23811 PyObject
* obj2
= 0 ;
23812 PyObject
* obj3
= 0 ;
23813 PyObject
* obj4
= 0 ;
23814 PyObject
* obj5
= 0 ;
23815 PyObject
* obj6
= 0 ;
23816 char *kwnames
[] = {
23817 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
23820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23823 arg2
= (int)SWIG_As_int(obj1
);
23824 if (PyErr_Occurred()) SWIG_fail
;
23825 arg3
= (int)SWIG_As_int(obj2
);
23826 if (PyErr_Occurred()) SWIG_fail
;
23828 arg4
= (int)SWIG_As_int(obj3
);
23829 if (PyErr_Occurred()) SWIG_fail
;
23832 arg5
= (int)SWIG_As_int(obj4
);
23833 if (PyErr_Occurred()) SWIG_fail
;
23836 arg6
= (int)SWIG_As_int(obj5
);
23837 if (PyErr_Occurred()) SWIG_fail
;
23840 arg7
= (int)SWIG_As_int(obj6
);
23841 if (PyErr_Occurred()) SWIG_fail
;
23844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23845 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23847 wxPyEndAllowThreads(__tstate
);
23848 if (PyErr_Occurred()) SWIG_fail
;
23850 Py_INCREF(Py_None
); resultobj
= Py_None
;
23857 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23858 PyObject
*resultobj
;
23859 wxWindow
*arg1
= (wxWindow
*) 0 ;
23861 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23862 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23863 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23864 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23868 PyObject
* obj0
= 0 ;
23869 PyObject
* obj1
= 0 ;
23870 PyObject
* obj2
= 0 ;
23871 PyObject
* obj3
= 0 ;
23872 char *kwnames
[] = {
23873 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
23876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23881 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23886 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23892 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23897 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
23899 wxPyEndAllowThreads(__tstate
);
23900 if (PyErr_Occurred()) SWIG_fail
;
23902 Py_INCREF(Py_None
); resultobj
= Py_None
;
23909 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23910 PyObject
*resultobj
;
23911 wxWindow
*arg1
= (wxWindow
*) 0 ;
23914 int arg4
= (int) -1 ;
23915 int arg5
= (int) -1 ;
23916 PyObject
* obj0
= 0 ;
23917 PyObject
* obj1
= 0 ;
23918 PyObject
* obj2
= 0 ;
23919 PyObject
* obj3
= 0 ;
23920 PyObject
* obj4
= 0 ;
23921 char *kwnames
[] = {
23922 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
23925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23928 arg2
= (int)SWIG_As_int(obj1
);
23929 if (PyErr_Occurred()) SWIG_fail
;
23930 arg3
= (int)SWIG_As_int(obj2
);
23931 if (PyErr_Occurred()) SWIG_fail
;
23933 arg4
= (int)SWIG_As_int(obj3
);
23934 if (PyErr_Occurred()) SWIG_fail
;
23937 arg5
= (int)SWIG_As_int(obj4
);
23938 if (PyErr_Occurred()) SWIG_fail
;
23941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23942 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
23944 wxPyEndAllowThreads(__tstate
);
23945 if (PyErr_Occurred()) SWIG_fail
;
23947 Py_INCREF(Py_None
); resultobj
= Py_None
;
23954 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23955 PyObject
*resultobj
;
23956 wxWindow
*arg1
= (wxWindow
*) 0 ;
23958 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23959 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23962 PyObject
* obj0
= 0 ;
23963 PyObject
* obj1
= 0 ;
23964 PyObject
* obj2
= 0 ;
23965 char *kwnames
[] = {
23966 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
23969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23974 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23979 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23984 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
23986 wxPyEndAllowThreads(__tstate
);
23987 if (PyErr_Occurred()) SWIG_fail
;
23989 Py_INCREF(Py_None
); resultobj
= Py_None
;
23996 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23997 PyObject
*resultobj
;
23998 wxWindow
*arg1
= (wxWindow
*) 0 ;
24000 PyObject
* obj0
= 0 ;
24001 char *kwnames
[] = {
24002 (char *) "self", NULL
24005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
24006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24010 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
24012 wxPyEndAllowThreads(__tstate
);
24013 if (PyErr_Occurred()) SWIG_fail
;
24016 wxSize
* resultptr
;
24017 resultptr
= new wxSize((wxSize
&) result
);
24018 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24026 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24027 PyObject
*resultobj
;
24028 wxWindow
*arg1
= (wxWindow
*) 0 ;
24030 PyObject
* obj0
= 0 ;
24031 char *kwnames
[] = {
24032 (char *) "self", NULL
24035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
24036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24040 result
= ((wxWindow
const *)arg1
)->GetMinSize();
24042 wxPyEndAllowThreads(__tstate
);
24043 if (PyErr_Occurred()) SWIG_fail
;
24046 wxSize
* resultptr
;
24047 resultptr
= new wxSize((wxSize
&) result
);
24048 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24056 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24057 PyObject
*resultobj
;
24058 wxWindow
*arg1
= (wxWindow
*) 0 ;
24061 PyObject
* obj0
= 0 ;
24062 PyObject
* obj1
= 0 ;
24063 char *kwnames
[] = {
24064 (char *) "self",(char *) "minSize", NULL
24067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24072 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24076 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
24078 wxPyEndAllowThreads(__tstate
);
24079 if (PyErr_Occurred()) SWIG_fail
;
24081 Py_INCREF(Py_None
); resultobj
= Py_None
;
24088 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24089 PyObject
*resultobj
;
24090 wxWindow
*arg1
= (wxWindow
*) 0 ;
24093 PyObject
* obj0
= 0 ;
24094 PyObject
* obj1
= 0 ;
24095 char *kwnames
[] = {
24096 (char *) "self",(char *) "maxSize", NULL
24099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24104 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24108 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
24110 wxPyEndAllowThreads(__tstate
);
24111 if (PyErr_Occurred()) SWIG_fail
;
24113 Py_INCREF(Py_None
); resultobj
= Py_None
;
24120 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24121 PyObject
*resultobj
;
24122 wxWindow
*arg1
= (wxWindow
*) 0 ;
24124 PyObject
* obj0
= 0 ;
24125 char *kwnames
[] = {
24126 (char *) "self", NULL
24129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
24130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24134 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
24136 wxPyEndAllowThreads(__tstate
);
24137 if (PyErr_Occurred()) SWIG_fail
;
24139 resultobj
= SWIG_From_int((int)result
);
24146 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24147 PyObject
*resultobj
;
24148 wxWindow
*arg1
= (wxWindow
*) 0 ;
24150 PyObject
* obj0
= 0 ;
24151 char *kwnames
[] = {
24152 (char *) "self", NULL
24155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
24156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24160 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
24162 wxPyEndAllowThreads(__tstate
);
24163 if (PyErr_Occurred()) SWIG_fail
;
24165 resultobj
= SWIG_From_int((int)result
);
24172 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24173 PyObject
*resultobj
;
24174 wxWindow
*arg1
= (wxWindow
*) 0 ;
24176 PyObject
* obj0
= 0 ;
24177 char *kwnames
[] = {
24178 (char *) "self", NULL
24181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
24182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24186 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
24188 wxPyEndAllowThreads(__tstate
);
24189 if (PyErr_Occurred()) SWIG_fail
;
24191 resultobj
= SWIG_From_int((int)result
);
24198 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24199 PyObject
*resultobj
;
24200 wxWindow
*arg1
= (wxWindow
*) 0 ;
24202 PyObject
* obj0
= 0 ;
24203 char *kwnames
[] = {
24204 (char *) "self", NULL
24207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
24208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24212 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
24214 wxPyEndAllowThreads(__tstate
);
24215 if (PyErr_Occurred()) SWIG_fail
;
24217 resultobj
= SWIG_From_int((int)result
);
24224 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24225 PyObject
*resultobj
;
24226 wxWindow
*arg1
= (wxWindow
*) 0 ;
24229 PyObject
* obj0
= 0 ;
24230 PyObject
* obj1
= 0 ;
24231 char *kwnames
[] = {
24232 (char *) "self",(char *) "size", NULL
24235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24240 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24244 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
24246 wxPyEndAllowThreads(__tstate
);
24247 if (PyErr_Occurred()) SWIG_fail
;
24249 Py_INCREF(Py_None
); resultobj
= Py_None
;
24256 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24257 PyObject
*resultobj
;
24258 wxWindow
*arg1
= (wxWindow
*) 0 ;
24261 PyObject
* obj0
= 0 ;
24262 PyObject
* obj1
= 0 ;
24263 PyObject
* obj2
= 0 ;
24264 char *kwnames
[] = {
24265 (char *) "self",(char *) "w",(char *) "h", NULL
24268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24271 arg2
= (int)SWIG_As_int(obj1
);
24272 if (PyErr_Occurred()) SWIG_fail
;
24273 arg3
= (int)SWIG_As_int(obj2
);
24274 if (PyErr_Occurred()) SWIG_fail
;
24276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24277 (arg1
)->SetVirtualSize(arg2
,arg3
);
24279 wxPyEndAllowThreads(__tstate
);
24280 if (PyErr_Occurred()) SWIG_fail
;
24282 Py_INCREF(Py_None
); resultobj
= Py_None
;
24289 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24290 PyObject
*resultobj
;
24291 wxWindow
*arg1
= (wxWindow
*) 0 ;
24293 PyObject
* obj0
= 0 ;
24294 char *kwnames
[] = {
24295 (char *) "self", NULL
24298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
24299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24303 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
24305 wxPyEndAllowThreads(__tstate
);
24306 if (PyErr_Occurred()) SWIG_fail
;
24309 wxSize
* resultptr
;
24310 resultptr
= new wxSize((wxSize
&) result
);
24311 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24319 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24320 PyObject
*resultobj
;
24321 wxWindow
*arg1
= (wxWindow
*) 0 ;
24322 int *arg2
= (int *) 0 ;
24323 int *arg3
= (int *) 0 ;
24328 PyObject
* obj0
= 0 ;
24329 char *kwnames
[] = {
24330 (char *) "self", NULL
24333 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24334 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
24336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24340 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
24342 wxPyEndAllowThreads(__tstate
);
24343 if (PyErr_Occurred()) SWIG_fail
;
24345 Py_INCREF(Py_None
); resultobj
= Py_None
;
24346 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24347 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24348 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24349 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24356 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24357 PyObject
*resultobj
;
24358 wxWindow
*arg1
= (wxWindow
*) 0 ;
24360 PyObject
* obj0
= 0 ;
24361 char *kwnames
[] = {
24362 (char *) "self", NULL
24365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
24366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24370 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
24372 wxPyEndAllowThreads(__tstate
);
24373 if (PyErr_Occurred()) SWIG_fail
;
24376 wxSize
* resultptr
;
24377 resultptr
= new wxSize((wxSize
&) result
);
24378 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24386 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24387 PyObject
*resultobj
;
24388 wxWindow
*arg1
= (wxWindow
*) 0 ;
24389 bool arg2
= (bool) true ;
24391 PyObject
* obj0
= 0 ;
24392 PyObject
* obj1
= 0 ;
24393 char *kwnames
[] = {
24394 (char *) "self",(char *) "show", NULL
24397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
24398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24401 arg2
= (bool)SWIG_As_bool(obj1
);
24402 if (PyErr_Occurred()) SWIG_fail
;
24405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24406 result
= (bool)(arg1
)->Show(arg2
);
24408 wxPyEndAllowThreads(__tstate
);
24409 if (PyErr_Occurred()) SWIG_fail
;
24412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24420 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24421 PyObject
*resultobj
;
24422 wxWindow
*arg1
= (wxWindow
*) 0 ;
24424 PyObject
* obj0
= 0 ;
24425 char *kwnames
[] = {
24426 (char *) "self", NULL
24429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
24430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24434 result
= (bool)(arg1
)->Hide();
24436 wxPyEndAllowThreads(__tstate
);
24437 if (PyErr_Occurred()) SWIG_fail
;
24440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24448 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24449 PyObject
*resultobj
;
24450 wxWindow
*arg1
= (wxWindow
*) 0 ;
24451 bool arg2
= (bool) true ;
24453 PyObject
* obj0
= 0 ;
24454 PyObject
* obj1
= 0 ;
24455 char *kwnames
[] = {
24456 (char *) "self",(char *) "enable", NULL
24459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
24460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24463 arg2
= (bool)SWIG_As_bool(obj1
);
24464 if (PyErr_Occurred()) SWIG_fail
;
24467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24468 result
= (bool)(arg1
)->Enable(arg2
);
24470 wxPyEndAllowThreads(__tstate
);
24471 if (PyErr_Occurred()) SWIG_fail
;
24474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24482 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24483 PyObject
*resultobj
;
24484 wxWindow
*arg1
= (wxWindow
*) 0 ;
24486 PyObject
* obj0
= 0 ;
24487 char *kwnames
[] = {
24488 (char *) "self", NULL
24491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
24492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24496 result
= (bool)(arg1
)->Disable();
24498 wxPyEndAllowThreads(__tstate
);
24499 if (PyErr_Occurred()) SWIG_fail
;
24502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24510 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24511 PyObject
*resultobj
;
24512 wxWindow
*arg1
= (wxWindow
*) 0 ;
24514 PyObject
* obj0
= 0 ;
24515 char *kwnames
[] = {
24516 (char *) "self", NULL
24519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
24520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24524 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
24526 wxPyEndAllowThreads(__tstate
);
24527 if (PyErr_Occurred()) SWIG_fail
;
24530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24538 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24539 PyObject
*resultobj
;
24540 wxWindow
*arg1
= (wxWindow
*) 0 ;
24542 PyObject
* obj0
= 0 ;
24543 char *kwnames
[] = {
24544 (char *) "self", NULL
24547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
24548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24552 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
24554 wxPyEndAllowThreads(__tstate
);
24555 if (PyErr_Occurred()) SWIG_fail
;
24558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24566 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24567 PyObject
*resultobj
;
24568 wxWindow
*arg1
= (wxWindow
*) 0 ;
24570 PyObject
* obj0
= 0 ;
24571 PyObject
* obj1
= 0 ;
24572 char *kwnames
[] = {
24573 (char *) "self",(char *) "style", NULL
24576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24579 arg2
= (long)SWIG_As_long(obj1
);
24580 if (PyErr_Occurred()) SWIG_fail
;
24582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24583 (arg1
)->SetWindowStyleFlag(arg2
);
24585 wxPyEndAllowThreads(__tstate
);
24586 if (PyErr_Occurred()) SWIG_fail
;
24588 Py_INCREF(Py_None
); resultobj
= Py_None
;
24595 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24596 PyObject
*resultobj
;
24597 wxWindow
*arg1
= (wxWindow
*) 0 ;
24599 PyObject
* obj0
= 0 ;
24600 char *kwnames
[] = {
24601 (char *) "self", NULL
24604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
24605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24609 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
24611 wxPyEndAllowThreads(__tstate
);
24612 if (PyErr_Occurred()) SWIG_fail
;
24614 resultobj
= SWIG_From_long((long)result
);
24621 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24622 PyObject
*resultobj
;
24623 wxWindow
*arg1
= (wxWindow
*) 0 ;
24626 PyObject
* obj0
= 0 ;
24627 PyObject
* obj1
= 0 ;
24628 char *kwnames
[] = {
24629 (char *) "self",(char *) "flag", NULL
24632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24635 arg2
= (int)SWIG_As_int(obj1
);
24636 if (PyErr_Occurred()) SWIG_fail
;
24638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24639 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
24641 wxPyEndAllowThreads(__tstate
);
24642 if (PyErr_Occurred()) SWIG_fail
;
24645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24653 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24654 PyObject
*resultobj
;
24655 wxWindow
*arg1
= (wxWindow
*) 0 ;
24657 PyObject
* obj0
= 0 ;
24658 char *kwnames
[] = {
24659 (char *) "self", NULL
24662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
24663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24667 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
24669 wxPyEndAllowThreads(__tstate
);
24670 if (PyErr_Occurred()) SWIG_fail
;
24673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24681 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24682 PyObject
*resultobj
;
24683 wxWindow
*arg1
= (wxWindow
*) 0 ;
24685 PyObject
* obj0
= 0 ;
24686 PyObject
* obj1
= 0 ;
24687 char *kwnames
[] = {
24688 (char *) "self",(char *) "exStyle", NULL
24691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
24692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24694 arg2
= (long)SWIG_As_long(obj1
);
24695 if (PyErr_Occurred()) SWIG_fail
;
24697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24698 (arg1
)->SetExtraStyle(arg2
);
24700 wxPyEndAllowThreads(__tstate
);
24701 if (PyErr_Occurred()) SWIG_fail
;
24703 Py_INCREF(Py_None
); resultobj
= Py_None
;
24710 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24711 PyObject
*resultobj
;
24712 wxWindow
*arg1
= (wxWindow
*) 0 ;
24714 PyObject
* obj0
= 0 ;
24715 char *kwnames
[] = {
24716 (char *) "self", NULL
24719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
24720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24724 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
24726 wxPyEndAllowThreads(__tstate
);
24727 if (PyErr_Occurred()) SWIG_fail
;
24729 resultobj
= SWIG_From_long((long)result
);
24736 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24737 PyObject
*resultobj
;
24738 wxWindow
*arg1
= (wxWindow
*) 0 ;
24739 bool arg2
= (bool) true ;
24740 PyObject
* obj0
= 0 ;
24741 PyObject
* obj1
= 0 ;
24742 char *kwnames
[] = {
24743 (char *) "self",(char *) "modal", NULL
24746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
24747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24750 arg2
= (bool)SWIG_As_bool(obj1
);
24751 if (PyErr_Occurred()) SWIG_fail
;
24754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24755 (arg1
)->MakeModal(arg2
);
24757 wxPyEndAllowThreads(__tstate
);
24758 if (PyErr_Occurred()) SWIG_fail
;
24760 Py_INCREF(Py_None
); resultobj
= Py_None
;
24767 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24768 PyObject
*resultobj
;
24769 wxWindow
*arg1
= (wxWindow
*) 0 ;
24771 PyObject
* obj0
= 0 ;
24772 PyObject
* obj1
= 0 ;
24773 char *kwnames
[] = {
24774 (char *) "self",(char *) "enableTheme", NULL
24777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
24778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24780 arg2
= (bool)SWIG_As_bool(obj1
);
24781 if (PyErr_Occurred()) SWIG_fail
;
24783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24784 (arg1
)->SetThemeEnabled(arg2
);
24786 wxPyEndAllowThreads(__tstate
);
24787 if (PyErr_Occurred()) SWIG_fail
;
24789 Py_INCREF(Py_None
); resultobj
= Py_None
;
24796 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24797 PyObject
*resultobj
;
24798 wxWindow
*arg1
= (wxWindow
*) 0 ;
24800 PyObject
* obj0
= 0 ;
24801 char *kwnames
[] = {
24802 (char *) "self", NULL
24805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
24806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24810 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
24812 wxPyEndAllowThreads(__tstate
);
24813 if (PyErr_Occurred()) SWIG_fail
;
24816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24824 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24825 PyObject
*resultobj
;
24826 wxWindow
*arg1
= (wxWindow
*) 0 ;
24827 PyObject
* obj0
= 0 ;
24828 char *kwnames
[] = {
24829 (char *) "self", NULL
24832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
24833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24837 (arg1
)->SetFocus();
24839 wxPyEndAllowThreads(__tstate
);
24840 if (PyErr_Occurred()) SWIG_fail
;
24842 Py_INCREF(Py_None
); resultobj
= Py_None
;
24849 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24850 PyObject
*resultobj
;
24851 wxWindow
*arg1
= (wxWindow
*) 0 ;
24852 PyObject
* obj0
= 0 ;
24853 char *kwnames
[] = {
24854 (char *) "self", NULL
24857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
24858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24862 (arg1
)->SetFocusFromKbd();
24864 wxPyEndAllowThreads(__tstate
);
24865 if (PyErr_Occurred()) SWIG_fail
;
24867 Py_INCREF(Py_None
); resultobj
= Py_None
;
24874 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24875 PyObject
*resultobj
;
24877 char *kwnames
[] = {
24881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
24883 if (!wxPyCheckForApp()) SWIG_fail
;
24884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24885 result
= (wxWindow
*)wxWindow::FindFocus();
24887 wxPyEndAllowThreads(__tstate
);
24888 if (PyErr_Occurred()) SWIG_fail
;
24891 resultobj
= wxPyMake_wxObject(result
, 0);
24899 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24900 PyObject
*resultobj
;
24901 wxWindow
*arg1
= (wxWindow
*) 0 ;
24903 PyObject
* obj0
= 0 ;
24904 char *kwnames
[] = {
24905 (char *) "self", NULL
24908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
24909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24913 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
24915 wxPyEndAllowThreads(__tstate
);
24916 if (PyErr_Occurred()) SWIG_fail
;
24919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24927 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24928 PyObject
*resultobj
;
24929 wxWindow
*arg1
= (wxWindow
*) 0 ;
24931 PyObject
* obj0
= 0 ;
24932 char *kwnames
[] = {
24933 (char *) "self", NULL
24936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
24937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24941 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
24943 wxPyEndAllowThreads(__tstate
);
24944 if (PyErr_Occurred()) SWIG_fail
;
24947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24955 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24956 PyObject
*resultobj
;
24957 wxWindow
*arg1
= (wxWindow
*) 0 ;
24959 PyObject
* obj0
= 0 ;
24960 char *kwnames
[] = {
24961 (char *) "self", NULL
24964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
24965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24969 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
24971 wxPyEndAllowThreads(__tstate
);
24972 if (PyErr_Occurred()) SWIG_fail
;
24975 resultobj
= wxPyMake_wxObject(result
, 0);
24983 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24984 PyObject
*resultobj
;
24985 wxWindow
*arg1
= (wxWindow
*) 0 ;
24986 wxWindow
*arg2
= (wxWindow
*) 0 ;
24988 PyObject
* obj0
= 0 ;
24989 PyObject
* obj1
= 0 ;
24990 char *kwnames
[] = {
24991 (char *) "self",(char *) "child", NULL
24994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24997 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25001 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
25003 wxPyEndAllowThreads(__tstate
);
25004 if (PyErr_Occurred()) SWIG_fail
;
25007 resultobj
= wxPyMake_wxObject(result
, 0);
25015 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25016 PyObject
*resultobj
;
25017 wxWindow
*arg1
= (wxWindow
*) 0 ;
25018 wxWindow
*arg2
= (wxWindow
*) 0 ;
25019 PyObject
* obj0
= 0 ;
25020 PyObject
* obj1
= 0 ;
25021 char *kwnames
[] = {
25022 (char *) "self",(char *) "win", NULL
25025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25028 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25032 (arg1
)->SetTmpDefaultItem(arg2
);
25034 wxPyEndAllowThreads(__tstate
);
25035 if (PyErr_Occurred()) SWIG_fail
;
25037 Py_INCREF(Py_None
); resultobj
= Py_None
;
25044 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25045 PyObject
*resultobj
;
25046 wxWindow
*arg1
= (wxWindow
*) 0 ;
25047 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
25049 PyObject
* obj0
= 0 ;
25050 PyObject
* obj1
= 0 ;
25051 char *kwnames
[] = {
25052 (char *) "self",(char *) "flags", NULL
25055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
25056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25059 arg2
= (int)SWIG_As_int(obj1
);
25060 if (PyErr_Occurred()) SWIG_fail
;
25063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25064 result
= (bool)(arg1
)->Navigate(arg2
);
25066 wxPyEndAllowThreads(__tstate
);
25067 if (PyErr_Occurred()) SWIG_fail
;
25070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25078 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25079 PyObject
*resultobj
;
25080 wxWindow
*arg1
= (wxWindow
*) 0 ;
25081 wxWindow
*arg2
= (wxWindow
*) 0 ;
25082 PyObject
* obj0
= 0 ;
25083 PyObject
* obj1
= 0 ;
25084 char *kwnames
[] = {
25085 (char *) "self",(char *) "win", NULL
25088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
25089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25091 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25095 (arg1
)->MoveAfterInTabOrder(arg2
);
25097 wxPyEndAllowThreads(__tstate
);
25098 if (PyErr_Occurred()) SWIG_fail
;
25100 Py_INCREF(Py_None
); resultobj
= Py_None
;
25107 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25108 PyObject
*resultobj
;
25109 wxWindow
*arg1
= (wxWindow
*) 0 ;
25110 wxWindow
*arg2
= (wxWindow
*) 0 ;
25111 PyObject
* obj0
= 0 ;
25112 PyObject
* obj1
= 0 ;
25113 char *kwnames
[] = {
25114 (char *) "self",(char *) "win", NULL
25117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
25118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25120 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25124 (arg1
)->MoveBeforeInTabOrder(arg2
);
25126 wxPyEndAllowThreads(__tstate
);
25127 if (PyErr_Occurred()) SWIG_fail
;
25129 Py_INCREF(Py_None
); resultobj
= Py_None
;
25136 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25137 PyObject
*resultobj
;
25138 wxWindow
*arg1
= (wxWindow
*) 0 ;
25140 PyObject
* obj0
= 0 ;
25141 char *kwnames
[] = {
25142 (char *) "self", NULL
25145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
25146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25150 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
25152 wxPyEndAllowThreads(__tstate
);
25153 if (PyErr_Occurred()) SWIG_fail
;
25155 resultobj
= result
;
25162 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25163 PyObject
*resultobj
;
25164 wxWindow
*arg1
= (wxWindow
*) 0 ;
25166 PyObject
* obj0
= 0 ;
25167 char *kwnames
[] = {
25168 (char *) "self", NULL
25171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
25172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25176 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
25178 wxPyEndAllowThreads(__tstate
);
25179 if (PyErr_Occurred()) SWIG_fail
;
25182 resultobj
= wxPyMake_wxObject(result
, 0);
25190 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25191 PyObject
*resultobj
;
25192 wxWindow
*arg1
= (wxWindow
*) 0 ;
25194 PyObject
* obj0
= 0 ;
25195 char *kwnames
[] = {
25196 (char *) "self", NULL
25199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
25200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25204 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
25206 wxPyEndAllowThreads(__tstate
);
25207 if (PyErr_Occurred()) SWIG_fail
;
25210 resultobj
= wxPyMake_wxObject(result
, 0);
25218 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25219 PyObject
*resultobj
;
25220 wxWindow
*arg1
= (wxWindow
*) 0 ;
25222 PyObject
* obj0
= 0 ;
25223 char *kwnames
[] = {
25224 (char *) "self", NULL
25227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
25228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25232 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
25234 wxPyEndAllowThreads(__tstate
);
25235 if (PyErr_Occurred()) SWIG_fail
;
25238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25246 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25247 PyObject
*resultobj
;
25248 wxWindow
*arg1
= (wxWindow
*) 0 ;
25249 wxWindow
*arg2
= (wxWindow
*) 0 ;
25251 PyObject
* obj0
= 0 ;
25252 PyObject
* obj1
= 0 ;
25253 char *kwnames
[] = {
25254 (char *) "self",(char *) "newParent", NULL
25257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
25258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25260 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25264 result
= (bool)(arg1
)->Reparent(arg2
);
25266 wxPyEndAllowThreads(__tstate
);
25267 if (PyErr_Occurred()) SWIG_fail
;
25270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25278 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25279 PyObject
*resultobj
;
25280 wxWindow
*arg1
= (wxWindow
*) 0 ;
25281 wxWindow
*arg2
= (wxWindow
*) 0 ;
25282 PyObject
* obj0
= 0 ;
25283 PyObject
* obj1
= 0 ;
25284 char *kwnames
[] = {
25285 (char *) "self",(char *) "child", NULL
25288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25291 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25295 (arg1
)->AddChild(arg2
);
25297 wxPyEndAllowThreads(__tstate
);
25298 if (PyErr_Occurred()) SWIG_fail
;
25300 Py_INCREF(Py_None
); resultobj
= Py_None
;
25307 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25308 PyObject
*resultobj
;
25309 wxWindow
*arg1
= (wxWindow
*) 0 ;
25310 wxWindow
*arg2
= (wxWindow
*) 0 ;
25311 PyObject
* obj0
= 0 ;
25312 PyObject
* obj1
= 0 ;
25313 char *kwnames
[] = {
25314 (char *) "self",(char *) "child", NULL
25317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25320 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25324 (arg1
)->RemoveChild(arg2
);
25326 wxPyEndAllowThreads(__tstate
);
25327 if (PyErr_Occurred()) SWIG_fail
;
25329 Py_INCREF(Py_None
); resultobj
= Py_None
;
25336 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25337 PyObject
*resultobj
;
25338 wxWindow
*arg1
= (wxWindow
*) 0 ;
25341 PyObject
* obj0
= 0 ;
25342 PyObject
* obj1
= 0 ;
25343 char *kwnames
[] = {
25344 (char *) "self",(char *) "winid", NULL
25347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
25348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25350 arg2
= (long)SWIG_As_long(obj1
);
25351 if (PyErr_Occurred()) SWIG_fail
;
25353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25354 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
25356 wxPyEndAllowThreads(__tstate
);
25357 if (PyErr_Occurred()) SWIG_fail
;
25360 resultobj
= wxPyMake_wxObject(result
, 0);
25368 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25369 PyObject
*resultobj
;
25370 wxWindow
*arg1
= (wxWindow
*) 0 ;
25371 wxString
*arg2
= 0 ;
25373 bool temp2
= false ;
25374 PyObject
* obj0
= 0 ;
25375 PyObject
* obj1
= 0 ;
25376 char *kwnames
[] = {
25377 (char *) "self",(char *) "name", NULL
25380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
25381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25384 arg2
= wxString_in_helper(obj1
);
25385 if (arg2
== NULL
) SWIG_fail
;
25389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25390 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
25392 wxPyEndAllowThreads(__tstate
);
25393 if (PyErr_Occurred()) SWIG_fail
;
25396 resultobj
= wxPyMake_wxObject(result
, 0);
25412 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25413 PyObject
*resultobj
;
25414 wxWindow
*arg1
= (wxWindow
*) 0 ;
25415 wxEvtHandler
*result
;
25416 PyObject
* obj0
= 0 ;
25417 char *kwnames
[] = {
25418 (char *) "self", NULL
25421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
25422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25426 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
25428 wxPyEndAllowThreads(__tstate
);
25429 if (PyErr_Occurred()) SWIG_fail
;
25432 resultobj
= wxPyMake_wxObject(result
, 0);
25440 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25441 PyObject
*resultobj
;
25442 wxWindow
*arg1
= (wxWindow
*) 0 ;
25443 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25444 PyObject
* obj0
= 0 ;
25445 PyObject
* obj1
= 0 ;
25446 char *kwnames
[] = {
25447 (char *) "self",(char *) "handler", NULL
25450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25453 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25457 (arg1
)->SetEventHandler(arg2
);
25459 wxPyEndAllowThreads(__tstate
);
25460 if (PyErr_Occurred()) SWIG_fail
;
25462 Py_INCREF(Py_None
); resultobj
= Py_None
;
25469 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25470 PyObject
*resultobj
;
25471 wxWindow
*arg1
= (wxWindow
*) 0 ;
25472 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25473 PyObject
* obj0
= 0 ;
25474 PyObject
* obj1
= 0 ;
25475 char *kwnames
[] = {
25476 (char *) "self",(char *) "handler", NULL
25479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25482 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25486 (arg1
)->PushEventHandler(arg2
);
25488 wxPyEndAllowThreads(__tstate
);
25489 if (PyErr_Occurred()) SWIG_fail
;
25491 Py_INCREF(Py_None
); resultobj
= Py_None
;
25498 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25499 PyObject
*resultobj
;
25500 wxWindow
*arg1
= (wxWindow
*) 0 ;
25501 bool arg2
= (bool) false ;
25502 wxEvtHandler
*result
;
25503 PyObject
* obj0
= 0 ;
25504 PyObject
* obj1
= 0 ;
25505 char *kwnames
[] = {
25506 (char *) "self",(char *) "deleteHandler", NULL
25509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25513 arg2
= (bool)SWIG_As_bool(obj1
);
25514 if (PyErr_Occurred()) SWIG_fail
;
25517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25518 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
25520 wxPyEndAllowThreads(__tstate
);
25521 if (PyErr_Occurred()) SWIG_fail
;
25524 resultobj
= wxPyMake_wxObject(result
, 0);
25532 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25533 PyObject
*resultobj
;
25534 wxWindow
*arg1
= (wxWindow
*) 0 ;
25535 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25537 PyObject
* obj0
= 0 ;
25538 PyObject
* obj1
= 0 ;
25539 char *kwnames
[] = {
25540 (char *) "self",(char *) "handler", NULL
25543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25546 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25550 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
25552 wxPyEndAllowThreads(__tstate
);
25553 if (PyErr_Occurred()) SWIG_fail
;
25556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25564 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25565 PyObject
*resultobj
;
25566 wxWindow
*arg1
= (wxWindow
*) 0 ;
25567 wxValidator
*arg2
= 0 ;
25568 PyObject
* obj0
= 0 ;
25569 PyObject
* obj1
= 0 ;
25570 char *kwnames
[] = {
25571 (char *) "self",(char *) "validator", NULL
25574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
25575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25577 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
25578 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25580 if (arg2
== NULL
) {
25581 PyErr_SetString(PyExc_TypeError
,"null reference");
25585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25586 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
25588 wxPyEndAllowThreads(__tstate
);
25589 if (PyErr_Occurred()) SWIG_fail
;
25591 Py_INCREF(Py_None
); resultobj
= Py_None
;
25598 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25599 PyObject
*resultobj
;
25600 wxWindow
*arg1
= (wxWindow
*) 0 ;
25601 wxValidator
*result
;
25602 PyObject
* obj0
= 0 ;
25603 char *kwnames
[] = {
25604 (char *) "self", NULL
25607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
25608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25612 result
= (wxValidator
*)(arg1
)->GetValidator();
25614 wxPyEndAllowThreads(__tstate
);
25615 if (PyErr_Occurred()) SWIG_fail
;
25618 resultobj
= wxPyMake_wxObject(result
, 0);
25626 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25627 PyObject
*resultobj
;
25628 wxWindow
*arg1
= (wxWindow
*) 0 ;
25630 PyObject
* obj0
= 0 ;
25631 char *kwnames
[] = {
25632 (char *) "self", NULL
25635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
25636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25640 result
= (bool)(arg1
)->Validate();
25642 wxPyEndAllowThreads(__tstate
);
25643 if (PyErr_Occurred()) SWIG_fail
;
25646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25654 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25655 PyObject
*resultobj
;
25656 wxWindow
*arg1
= (wxWindow
*) 0 ;
25658 PyObject
* obj0
= 0 ;
25659 char *kwnames
[] = {
25660 (char *) "self", NULL
25663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
25664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25668 result
= (bool)(arg1
)->TransferDataToWindow();
25670 wxPyEndAllowThreads(__tstate
);
25671 if (PyErr_Occurred()) SWIG_fail
;
25674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25682 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25683 PyObject
*resultobj
;
25684 wxWindow
*arg1
= (wxWindow
*) 0 ;
25686 PyObject
* obj0
= 0 ;
25687 char *kwnames
[] = {
25688 (char *) "self", NULL
25691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
25692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25696 result
= (bool)(arg1
)->TransferDataFromWindow();
25698 wxPyEndAllowThreads(__tstate
);
25699 if (PyErr_Occurred()) SWIG_fail
;
25702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25710 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25711 PyObject
*resultobj
;
25712 wxWindow
*arg1
= (wxWindow
*) 0 ;
25713 PyObject
* obj0
= 0 ;
25714 char *kwnames
[] = {
25715 (char *) "self", NULL
25718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
25719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25723 (arg1
)->InitDialog();
25725 wxPyEndAllowThreads(__tstate
);
25726 if (PyErr_Occurred()) SWIG_fail
;
25728 Py_INCREF(Py_None
); resultobj
= Py_None
;
25735 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25736 PyObject
*resultobj
;
25737 wxWindow
*arg1
= (wxWindow
*) 0 ;
25738 wxAcceleratorTable
*arg2
= 0 ;
25739 PyObject
* obj0
= 0 ;
25740 PyObject
* obj1
= 0 ;
25741 char *kwnames
[] = {
25742 (char *) "self",(char *) "accel", NULL
25745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
25746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25748 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
25749 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25751 if (arg2
== NULL
) {
25752 PyErr_SetString(PyExc_TypeError
,"null reference");
25756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25757 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
25759 wxPyEndAllowThreads(__tstate
);
25760 if (PyErr_Occurred()) SWIG_fail
;
25762 Py_INCREF(Py_None
); resultobj
= Py_None
;
25769 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25770 PyObject
*resultobj
;
25771 wxWindow
*arg1
= (wxWindow
*) 0 ;
25772 wxAcceleratorTable
*result
;
25773 PyObject
* obj0
= 0 ;
25774 char *kwnames
[] = {
25775 (char *) "self", NULL
25778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
25779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25783 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
25785 wxPyEndAllowThreads(__tstate
);
25786 if (PyErr_Occurred()) SWIG_fail
;
25788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
25795 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25796 PyObject
*resultobj
;
25797 wxWindow
*arg1
= (wxWindow
*) 0 ;
25802 PyObject
* obj0
= 0 ;
25803 PyObject
* obj1
= 0 ;
25804 PyObject
* obj2
= 0 ;
25805 PyObject
* obj3
= 0 ;
25806 char *kwnames
[] = {
25807 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
25810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25813 arg2
= (int)SWIG_As_int(obj1
);
25814 if (PyErr_Occurred()) SWIG_fail
;
25815 arg3
= (int)SWIG_As_int(obj2
);
25816 if (PyErr_Occurred()) SWIG_fail
;
25817 arg4
= (int)SWIG_As_int(obj3
);
25818 if (PyErr_Occurred()) SWIG_fail
;
25820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25821 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
25823 wxPyEndAllowThreads(__tstate
);
25824 if (PyErr_Occurred()) SWIG_fail
;
25827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25835 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25836 PyObject
*resultobj
;
25837 wxWindow
*arg1
= (wxWindow
*) 0 ;
25840 PyObject
* obj0
= 0 ;
25841 PyObject
* obj1
= 0 ;
25842 char *kwnames
[] = {
25843 (char *) "self",(char *) "hotkeyId", NULL
25846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
25847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25849 arg2
= (int)SWIG_As_int(obj1
);
25850 if (PyErr_Occurred()) SWIG_fail
;
25852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25853 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
25855 wxPyEndAllowThreads(__tstate
);
25856 if (PyErr_Occurred()) SWIG_fail
;
25859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25867 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25868 PyObject
*resultobj
;
25869 wxWindow
*arg1
= (wxWindow
*) 0 ;
25870 wxPoint
*arg2
= 0 ;
25873 PyObject
* obj0
= 0 ;
25874 PyObject
* obj1
= 0 ;
25875 char *kwnames
[] = {
25876 (char *) "self",(char *) "pt", NULL
25879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25884 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25888 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25890 wxPyEndAllowThreads(__tstate
);
25891 if (PyErr_Occurred()) SWIG_fail
;
25894 wxPoint
* resultptr
;
25895 resultptr
= new wxPoint((wxPoint
&) result
);
25896 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25904 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25905 PyObject
*resultobj
;
25906 wxWindow
*arg1
= (wxWindow
*) 0 ;
25910 PyObject
* obj0
= 0 ;
25911 PyObject
* obj1
= 0 ;
25912 char *kwnames
[] = {
25913 (char *) "self",(char *) "sz", NULL
25916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25921 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25925 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25927 wxPyEndAllowThreads(__tstate
);
25928 if (PyErr_Occurred()) SWIG_fail
;
25931 wxSize
* resultptr
;
25932 resultptr
= new wxSize((wxSize
&) result
);
25933 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25941 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25942 PyObject
*resultobj
;
25943 wxWindow
*arg1
= (wxWindow
*) 0 ;
25944 wxPoint
*arg2
= 0 ;
25947 PyObject
* obj0
= 0 ;
25948 PyObject
* obj1
= 0 ;
25949 char *kwnames
[] = {
25950 (char *) "self",(char *) "pt", NULL
25953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
25954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25958 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25962 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25964 wxPyEndAllowThreads(__tstate
);
25965 if (PyErr_Occurred()) SWIG_fail
;
25968 wxPoint
* resultptr
;
25969 resultptr
= new wxPoint((wxPoint
&) result
);
25970 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25978 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25979 PyObject
*resultobj
;
25980 wxWindow
*arg1
= (wxWindow
*) 0 ;
25984 PyObject
* obj0
= 0 ;
25985 PyObject
* obj1
= 0 ;
25986 char *kwnames
[] = {
25987 (char *) "self",(char *) "sz", NULL
25990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
25991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25995 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25999 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
26001 wxPyEndAllowThreads(__tstate
);
26002 if (PyErr_Occurred()) SWIG_fail
;
26005 wxSize
* resultptr
;
26006 resultptr
= new wxSize((wxSize
&) result
);
26007 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26015 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26016 PyObject
*resultobj
;
26017 wxWindow
*arg1
= (wxWindow
*) 0 ;
26018 wxPoint
*arg2
= 0 ;
26021 PyObject
* obj0
= 0 ;
26022 PyObject
* obj1
= 0 ;
26023 char *kwnames
[] = {
26024 (char *) "self",(char *) "pt", NULL
26027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
26028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26032 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26036 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
26038 wxPyEndAllowThreads(__tstate
);
26039 if (PyErr_Occurred()) SWIG_fail
;
26042 wxPoint
* resultptr
;
26043 resultptr
= new wxPoint((wxPoint
&) result
);
26044 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26052 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26053 PyObject
*resultobj
;
26054 wxWindow
*arg1
= (wxWindow
*) 0 ;
26058 PyObject
* obj0
= 0 ;
26059 PyObject
* obj1
= 0 ;
26060 char *kwnames
[] = {
26061 (char *) "self",(char *) "sz", NULL
26064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
26065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26069 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26073 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
26075 wxPyEndAllowThreads(__tstate
);
26076 if (PyErr_Occurred()) SWIG_fail
;
26079 wxSize
* resultptr
;
26080 resultptr
= new wxSize((wxSize
&) result
);
26081 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26089 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26090 PyObject
*resultobj
;
26091 wxWindow
*arg1
= (wxWindow
*) 0 ;
26094 PyObject
* obj0
= 0 ;
26095 PyObject
* obj1
= 0 ;
26096 PyObject
* obj2
= 0 ;
26097 char *kwnames
[] = {
26098 (char *) "self",(char *) "x",(char *) "y", NULL
26101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26104 arg2
= (int)SWIG_As_int(obj1
);
26105 if (PyErr_Occurred()) SWIG_fail
;
26106 arg3
= (int)SWIG_As_int(obj2
);
26107 if (PyErr_Occurred()) SWIG_fail
;
26109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26110 (arg1
)->WarpPointer(arg2
,arg3
);
26112 wxPyEndAllowThreads(__tstate
);
26113 if (PyErr_Occurred()) SWIG_fail
;
26115 Py_INCREF(Py_None
); resultobj
= Py_None
;
26122 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26123 PyObject
*resultobj
;
26124 wxWindow
*arg1
= (wxWindow
*) 0 ;
26125 PyObject
* obj0
= 0 ;
26126 char *kwnames
[] = {
26127 (char *) "self", NULL
26130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
26131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26135 (arg1
)->CaptureMouse();
26137 wxPyEndAllowThreads(__tstate
);
26138 if (PyErr_Occurred()) SWIG_fail
;
26140 Py_INCREF(Py_None
); resultobj
= Py_None
;
26147 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26148 PyObject
*resultobj
;
26149 wxWindow
*arg1
= (wxWindow
*) 0 ;
26150 PyObject
* obj0
= 0 ;
26151 char *kwnames
[] = {
26152 (char *) "self", NULL
26155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
26156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26160 (arg1
)->ReleaseMouse();
26162 wxPyEndAllowThreads(__tstate
);
26163 if (PyErr_Occurred()) SWIG_fail
;
26165 Py_INCREF(Py_None
); resultobj
= Py_None
;
26172 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26173 PyObject
*resultobj
;
26175 char *kwnames
[] = {
26179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
26181 if (!wxPyCheckForApp()) SWIG_fail
;
26182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26183 result
= (wxWindow
*)wxWindow::GetCapture();
26185 wxPyEndAllowThreads(__tstate
);
26186 if (PyErr_Occurred()) SWIG_fail
;
26189 resultobj
= wxPyMake_wxObject(result
, 0);
26197 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26198 PyObject
*resultobj
;
26199 wxWindow
*arg1
= (wxWindow
*) 0 ;
26201 PyObject
* obj0
= 0 ;
26202 char *kwnames
[] = {
26203 (char *) "self", NULL
26206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
26207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26211 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
26213 wxPyEndAllowThreads(__tstate
);
26214 if (PyErr_Occurred()) SWIG_fail
;
26217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26225 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26226 PyObject
*resultobj
;
26227 wxWindow
*arg1
= (wxWindow
*) 0 ;
26228 bool arg2
= (bool) true ;
26229 wxRect
*arg3
= (wxRect
*) NULL
;
26230 PyObject
* obj0
= 0 ;
26231 PyObject
* obj1
= 0 ;
26232 PyObject
* obj2
= 0 ;
26233 char *kwnames
[] = {
26234 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
26237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26241 arg2
= (bool)SWIG_As_bool(obj1
);
26242 if (PyErr_Occurred()) SWIG_fail
;
26245 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
26246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26250 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
26252 wxPyEndAllowThreads(__tstate
);
26253 if (PyErr_Occurred()) SWIG_fail
;
26255 Py_INCREF(Py_None
); resultobj
= Py_None
;
26262 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26263 PyObject
*resultobj
;
26264 wxWindow
*arg1
= (wxWindow
*) 0 ;
26267 PyObject
* obj0
= 0 ;
26268 PyObject
* obj1
= 0 ;
26269 char *kwnames
[] = {
26270 (char *) "self",(char *) "rect", NULL
26273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26278 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26282 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
26284 wxPyEndAllowThreads(__tstate
);
26285 if (PyErr_Occurred()) SWIG_fail
;
26287 Py_INCREF(Py_None
); resultobj
= Py_None
;
26294 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26295 PyObject
*resultobj
;
26296 wxWindow
*arg1
= (wxWindow
*) 0 ;
26297 PyObject
* obj0
= 0 ;
26298 char *kwnames
[] = {
26299 (char *) "self", NULL
26302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
26303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26309 wxPyEndAllowThreads(__tstate
);
26310 if (PyErr_Occurred()) SWIG_fail
;
26312 Py_INCREF(Py_None
); resultobj
= Py_None
;
26319 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26320 PyObject
*resultobj
;
26321 wxWindow
*arg1
= (wxWindow
*) 0 ;
26322 PyObject
* obj0
= 0 ;
26323 char *kwnames
[] = {
26324 (char *) "self", NULL
26327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
26328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26332 (arg1
)->ClearBackground();
26334 wxPyEndAllowThreads(__tstate
);
26335 if (PyErr_Occurred()) SWIG_fail
;
26337 Py_INCREF(Py_None
); resultobj
= Py_None
;
26344 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26345 PyObject
*resultobj
;
26346 wxWindow
*arg1
= (wxWindow
*) 0 ;
26347 PyObject
* obj0
= 0 ;
26348 char *kwnames
[] = {
26349 (char *) "self", NULL
26352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
26353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26359 wxPyEndAllowThreads(__tstate
);
26360 if (PyErr_Occurred()) SWIG_fail
;
26362 Py_INCREF(Py_None
); resultobj
= Py_None
;
26369 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26370 PyObject
*resultobj
;
26371 wxWindow
*arg1
= (wxWindow
*) 0 ;
26372 PyObject
* obj0
= 0 ;
26373 char *kwnames
[] = {
26374 (char *) "self", NULL
26377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
26378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26384 wxPyEndAllowThreads(__tstate
);
26385 if (PyErr_Occurred()) SWIG_fail
;
26387 Py_INCREF(Py_None
); resultobj
= Py_None
;
26394 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26395 PyObject
*resultobj
;
26396 wxWindow
*arg1
= (wxWindow
*) 0 ;
26398 PyObject
* obj0
= 0 ;
26399 PyObject
* obj1
= 0 ;
26400 char *kwnames
[] = {
26401 (char *) "self",(char *) "dc", NULL
26404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
26405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26407 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
26408 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26410 if (arg2
== NULL
) {
26411 PyErr_SetString(PyExc_TypeError
,"null reference");
26415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26416 (arg1
)->PrepareDC(*arg2
);
26418 wxPyEndAllowThreads(__tstate
);
26419 if (PyErr_Occurred()) SWIG_fail
;
26421 Py_INCREF(Py_None
); resultobj
= Py_None
;
26428 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26429 PyObject
*resultobj
;
26430 wxWindow
*arg1
= (wxWindow
*) 0 ;
26432 PyObject
* obj0
= 0 ;
26433 char *kwnames
[] = {
26434 (char *) "self", NULL
26437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
26438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26443 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
26444 result
= (wxRegion
*) &_result_ref
;
26447 wxPyEndAllowThreads(__tstate
);
26448 if (PyErr_Occurred()) SWIG_fail
;
26450 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
26457 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26458 PyObject
*resultobj
;
26459 wxWindow
*arg1
= (wxWindow
*) 0 ;
26461 PyObject
* obj0
= 0 ;
26462 char *kwnames
[] = {
26463 (char *) "self", NULL
26466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
26467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26471 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
26473 wxPyEndAllowThreads(__tstate
);
26474 if (PyErr_Occurred()) SWIG_fail
;
26477 wxRect
* resultptr
;
26478 resultptr
= new wxRect((wxRect
&) result
);
26479 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26487 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26488 PyObject
*resultobj
;
26489 wxWindow
*arg1
= (wxWindow
*) 0 ;
26492 int arg4
= (int) 1 ;
26493 int arg5
= (int) 1 ;
26495 PyObject
* obj0
= 0 ;
26496 PyObject
* obj1
= 0 ;
26497 PyObject
* obj2
= 0 ;
26498 PyObject
* obj3
= 0 ;
26499 PyObject
* obj4
= 0 ;
26500 char *kwnames
[] = {
26501 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26507 arg2
= (int)SWIG_As_int(obj1
);
26508 if (PyErr_Occurred()) SWIG_fail
;
26509 arg3
= (int)SWIG_As_int(obj2
);
26510 if (PyErr_Occurred()) SWIG_fail
;
26512 arg4
= (int)SWIG_As_int(obj3
);
26513 if (PyErr_Occurred()) SWIG_fail
;
26516 arg5
= (int)SWIG_As_int(obj4
);
26517 if (PyErr_Occurred()) SWIG_fail
;
26520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26521 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
26523 wxPyEndAllowThreads(__tstate
);
26524 if (PyErr_Occurred()) SWIG_fail
;
26527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26535 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26536 PyObject
*resultobj
;
26537 wxWindow
*arg1
= (wxWindow
*) 0 ;
26538 wxPoint
*arg2
= 0 ;
26541 PyObject
* obj0
= 0 ;
26542 PyObject
* obj1
= 0 ;
26543 char *kwnames
[] = {
26544 (char *) "self",(char *) "pt", NULL
26547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
26548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26552 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26556 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
26558 wxPyEndAllowThreads(__tstate
);
26559 if (PyErr_Occurred()) SWIG_fail
;
26562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26570 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26571 PyObject
*resultobj
;
26572 wxWindow
*arg1
= (wxWindow
*) 0 ;
26576 PyObject
* obj0
= 0 ;
26577 PyObject
* obj1
= 0 ;
26578 char *kwnames
[] = {
26579 (char *) "self",(char *) "rect", NULL
26582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26587 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26591 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
26593 wxPyEndAllowThreads(__tstate
);
26594 if (PyErr_Occurred()) SWIG_fail
;
26597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26605 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26606 PyObject
*resultobj
;
26607 wxWindow
*arg1
= (wxWindow
*) 0 ;
26608 wxVisualAttributes result
;
26609 PyObject
* obj0
= 0 ;
26610 char *kwnames
[] = {
26611 (char *) "self", NULL
26614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26619 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
26621 wxPyEndAllowThreads(__tstate
);
26622 if (PyErr_Occurred()) SWIG_fail
;
26625 wxVisualAttributes
* resultptr
;
26626 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26627 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26635 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26636 PyObject
*resultobj
;
26637 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
26638 wxVisualAttributes result
;
26639 PyObject
* obj0
= 0 ;
26640 char *kwnames
[] = {
26641 (char *) "variant", NULL
26644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26646 arg1
= (int)SWIG_As_int(obj0
);
26647 if (PyErr_Occurred()) SWIG_fail
;
26650 if (!wxPyCheckForApp()) SWIG_fail
;
26651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26652 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26654 wxPyEndAllowThreads(__tstate
);
26655 if (PyErr_Occurred()) SWIG_fail
;
26658 wxVisualAttributes
* resultptr
;
26659 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26660 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26668 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26669 PyObject
*resultobj
;
26670 wxWindow
*arg1
= (wxWindow
*) 0 ;
26671 wxColour
*arg2
= 0 ;
26674 PyObject
* obj0
= 0 ;
26675 PyObject
* obj1
= 0 ;
26676 char *kwnames
[] = {
26677 (char *) "self",(char *) "colour", NULL
26680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26685 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26689 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26691 wxPyEndAllowThreads(__tstate
);
26692 if (PyErr_Occurred()) SWIG_fail
;
26695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26703 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26704 PyObject
*resultobj
;
26705 wxWindow
*arg1
= (wxWindow
*) 0 ;
26706 wxColour
*arg2
= 0 ;
26708 PyObject
* obj0
= 0 ;
26709 PyObject
* obj1
= 0 ;
26710 char *kwnames
[] = {
26711 (char *) "self",(char *) "colour", NULL
26714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26719 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26723 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
26725 wxPyEndAllowThreads(__tstate
);
26726 if (PyErr_Occurred()) SWIG_fail
;
26728 Py_INCREF(Py_None
); resultobj
= Py_None
;
26735 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26736 PyObject
*resultobj
;
26737 wxWindow
*arg1
= (wxWindow
*) 0 ;
26738 wxColour
*arg2
= 0 ;
26741 PyObject
* obj0
= 0 ;
26742 PyObject
* obj1
= 0 ;
26743 char *kwnames
[] = {
26744 (char *) "self",(char *) "colour", NULL
26747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26752 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26756 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
26758 wxPyEndAllowThreads(__tstate
);
26759 if (PyErr_Occurred()) SWIG_fail
;
26762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26770 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26771 PyObject
*resultobj
;
26772 wxWindow
*arg1
= (wxWindow
*) 0 ;
26773 wxColour
*arg2
= 0 ;
26775 PyObject
* obj0
= 0 ;
26776 PyObject
* obj1
= 0 ;
26777 char *kwnames
[] = {
26778 (char *) "self",(char *) "colour", NULL
26781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26786 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26790 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
26792 wxPyEndAllowThreads(__tstate
);
26793 if (PyErr_Occurred()) SWIG_fail
;
26795 Py_INCREF(Py_None
); resultobj
= Py_None
;
26802 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26803 PyObject
*resultobj
;
26804 wxWindow
*arg1
= (wxWindow
*) 0 ;
26806 PyObject
* obj0
= 0 ;
26807 char *kwnames
[] = {
26808 (char *) "self", NULL
26811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
26812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26816 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
26818 wxPyEndAllowThreads(__tstate
);
26819 if (PyErr_Occurred()) SWIG_fail
;
26822 wxColour
* resultptr
;
26823 resultptr
= new wxColour((wxColour
&) result
);
26824 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26832 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26833 PyObject
*resultobj
;
26834 wxWindow
*arg1
= (wxWindow
*) 0 ;
26836 PyObject
* obj0
= 0 ;
26837 char *kwnames
[] = {
26838 (char *) "self", NULL
26841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
26842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26846 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
26848 wxPyEndAllowThreads(__tstate
);
26849 if (PyErr_Occurred()) SWIG_fail
;
26852 wxColour
* resultptr
;
26853 resultptr
= new wxColour((wxColour
&) result
);
26854 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26862 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26863 PyObject
*resultobj
;
26864 wxWindow
*arg1
= (wxWindow
*) 0 ;
26867 PyObject
* obj0
= 0 ;
26868 PyObject
* obj1
= 0 ;
26869 char *kwnames
[] = {
26870 (char *) "self",(char *) "style", NULL
26873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
26874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26876 arg2
= (int)SWIG_As_int(obj1
);
26877 if (PyErr_Occurred()) SWIG_fail
;
26879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26880 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
26882 wxPyEndAllowThreads(__tstate
);
26883 if (PyErr_Occurred()) SWIG_fail
;
26886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26894 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26895 PyObject
*resultobj
;
26896 wxWindow
*arg1
= (wxWindow
*) 0 ;
26898 PyObject
* obj0
= 0 ;
26899 char *kwnames
[] = {
26900 (char *) "self", NULL
26903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
26904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26908 result
= (int)((wxWindow
const *)arg1
)->GetBackgroundStyle();
26910 wxPyEndAllowThreads(__tstate
);
26911 if (PyErr_Occurred()) SWIG_fail
;
26913 resultobj
= SWIG_From_int((int)result
);
26920 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26921 PyObject
*resultobj
;
26922 wxWindow
*arg1
= (wxWindow
*) 0 ;
26923 wxCursor
*arg2
= 0 ;
26925 PyObject
* obj0
= 0 ;
26926 PyObject
* obj1
= 0 ;
26927 char *kwnames
[] = {
26928 (char *) "self",(char *) "cursor", NULL
26931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
26932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26934 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
26935 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26937 if (arg2
== NULL
) {
26938 PyErr_SetString(PyExc_TypeError
,"null reference");
26942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26943 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
26945 wxPyEndAllowThreads(__tstate
);
26946 if (PyErr_Occurred()) SWIG_fail
;
26949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26957 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26958 PyObject
*resultobj
;
26959 wxWindow
*arg1
= (wxWindow
*) 0 ;
26961 PyObject
* obj0
= 0 ;
26962 char *kwnames
[] = {
26963 (char *) "self", NULL
26966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
26967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26971 result
= (arg1
)->GetCursor();
26973 wxPyEndAllowThreads(__tstate
);
26974 if (PyErr_Occurred()) SWIG_fail
;
26977 wxCursor
* resultptr
;
26978 resultptr
= new wxCursor((wxCursor
&) result
);
26979 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
26987 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26988 PyObject
*resultobj
;
26989 wxWindow
*arg1
= (wxWindow
*) 0 ;
26992 PyObject
* obj0
= 0 ;
26993 PyObject
* obj1
= 0 ;
26994 char *kwnames
[] = {
26995 (char *) "self",(char *) "font", NULL
26998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27001 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
27002 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27004 if (arg2
== NULL
) {
27005 PyErr_SetString(PyExc_TypeError
,"null reference");
27009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27010 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
27012 wxPyEndAllowThreads(__tstate
);
27013 if (PyErr_Occurred()) SWIG_fail
;
27016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27024 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27025 PyObject
*resultobj
;
27026 wxWindow
*arg1
= (wxWindow
*) 0 ;
27028 PyObject
* obj0
= 0 ;
27029 PyObject
* obj1
= 0 ;
27030 char *kwnames
[] = {
27031 (char *) "self",(char *) "font", NULL
27034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
27035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27037 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
27038 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27040 if (arg2
== NULL
) {
27041 PyErr_SetString(PyExc_TypeError
,"null reference");
27045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27046 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
27048 wxPyEndAllowThreads(__tstate
);
27049 if (PyErr_Occurred()) SWIG_fail
;
27051 Py_INCREF(Py_None
); resultobj
= Py_None
;
27058 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27059 PyObject
*resultobj
;
27060 wxWindow
*arg1
= (wxWindow
*) 0 ;
27062 PyObject
* obj0
= 0 ;
27063 char *kwnames
[] = {
27064 (char *) "self", NULL
27067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
27068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27072 result
= (arg1
)->GetFont();
27074 wxPyEndAllowThreads(__tstate
);
27075 if (PyErr_Occurred()) SWIG_fail
;
27078 wxFont
* resultptr
;
27079 resultptr
= new wxFont((wxFont
&) result
);
27080 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
27088 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27089 PyObject
*resultobj
;
27090 wxWindow
*arg1
= (wxWindow
*) 0 ;
27091 wxCaret
*arg2
= (wxCaret
*) 0 ;
27092 PyObject
* obj0
= 0 ;
27093 PyObject
* obj1
= 0 ;
27094 char *kwnames
[] = {
27095 (char *) "self",(char *) "caret", NULL
27098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
27099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27101 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
27102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27105 (arg1
)->SetCaret(arg2
);
27107 wxPyEndAllowThreads(__tstate
);
27108 if (PyErr_Occurred()) SWIG_fail
;
27110 Py_INCREF(Py_None
); resultobj
= Py_None
;
27117 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27118 PyObject
*resultobj
;
27119 wxWindow
*arg1
= (wxWindow
*) 0 ;
27121 PyObject
* obj0
= 0 ;
27122 char *kwnames
[] = {
27123 (char *) "self", NULL
27126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
27127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27131 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
27133 wxPyEndAllowThreads(__tstate
);
27134 if (PyErr_Occurred()) SWIG_fail
;
27136 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
27143 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27144 PyObject
*resultobj
;
27145 wxWindow
*arg1
= (wxWindow
*) 0 ;
27147 PyObject
* obj0
= 0 ;
27148 char *kwnames
[] = {
27149 (char *) "self", NULL
27152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
27153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27157 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
27159 wxPyEndAllowThreads(__tstate
);
27160 if (PyErr_Occurred()) SWIG_fail
;
27162 resultobj
= SWIG_From_int((int)result
);
27169 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27170 PyObject
*resultobj
;
27171 wxWindow
*arg1
= (wxWindow
*) 0 ;
27173 PyObject
* obj0
= 0 ;
27174 char *kwnames
[] = {
27175 (char *) "self", NULL
27178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
27179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27183 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
27185 wxPyEndAllowThreads(__tstate
);
27186 if (PyErr_Occurred()) SWIG_fail
;
27188 resultobj
= SWIG_From_int((int)result
);
27195 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27196 PyObject
*resultobj
;
27197 wxWindow
*arg1
= (wxWindow
*) 0 ;
27198 wxString
*arg2
= 0 ;
27199 int *arg3
= (int *) 0 ;
27200 int *arg4
= (int *) 0 ;
27201 bool temp2
= false ;
27206 PyObject
* obj0
= 0 ;
27207 PyObject
* obj1
= 0 ;
27208 char *kwnames
[] = {
27209 (char *) "self",(char *) "string", NULL
27212 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27213 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
27214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
27215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27218 arg2
= wxString_in_helper(obj1
);
27219 if (arg2
== NULL
) SWIG_fail
;
27223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27224 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
27226 wxPyEndAllowThreads(__tstate
);
27227 if (PyErr_Occurred()) SWIG_fail
;
27229 Py_INCREF(Py_None
); resultobj
= Py_None
;
27230 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27231 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27232 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
27233 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
27248 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27249 PyObject
*resultobj
;
27250 wxWindow
*arg1
= (wxWindow
*) 0 ;
27251 wxString
*arg2
= 0 ;
27252 int *arg3
= (int *) 0 ;
27253 int *arg4
= (int *) 0 ;
27254 int *arg5
= (int *) 0 ;
27255 int *arg6
= (int *) 0 ;
27256 wxFont
*arg7
= (wxFont
*) NULL
;
27257 bool temp2
= false ;
27266 PyObject
* obj0
= 0 ;
27267 PyObject
* obj1
= 0 ;
27268 PyObject
* obj2
= 0 ;
27269 char *kwnames
[] = {
27270 (char *) "self",(char *) "string",(char *) "font", NULL
27273 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27274 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
27275 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
27276 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
27277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27281 arg2
= wxString_in_helper(obj1
);
27282 if (arg2
== NULL
) SWIG_fail
;
27286 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
27287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27291 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
27293 wxPyEndAllowThreads(__tstate
);
27294 if (PyErr_Occurred()) SWIG_fail
;
27296 Py_INCREF(Py_None
); resultobj
= Py_None
;
27297 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27298 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27299 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
27300 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
27301 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
27302 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
27303 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
27304 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
27319 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27320 PyObject
*resultobj
;
27321 wxWindow
*arg1
= (wxWindow
*) 0 ;
27322 int *arg2
= (int *) 0 ;
27323 int *arg3
= (int *) 0 ;
27328 PyObject
* obj0
= 0 ;
27329 PyObject
* obj1
= 0 ;
27330 PyObject
* obj2
= 0 ;
27331 char *kwnames
[] = {
27332 (char *) "self",(char *) "x",(char *) "y", NULL
27335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27339 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
27340 temp2
= SWIG_As_int(obj1
);
27341 if (PyErr_Occurred()) SWIG_fail
;
27343 res2
= SWIG_NEWOBJ
;
27347 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
27348 temp3
= SWIG_As_int(obj2
);
27349 if (PyErr_Occurred()) SWIG_fail
;
27351 res3
= SWIG_NEWOBJ
;
27355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27356 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
27358 wxPyEndAllowThreads(__tstate
);
27359 if (PyErr_Occurred()) SWIG_fail
;
27361 Py_INCREF(Py_None
); resultobj
= Py_None
;
27362 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27363 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27364 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27365 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27372 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27373 PyObject
*resultobj
;
27374 wxWindow
*arg1
= (wxWindow
*) 0 ;
27375 int *arg2
= (int *) 0 ;
27376 int *arg3
= (int *) 0 ;
27381 PyObject
* obj0
= 0 ;
27382 PyObject
* obj1
= 0 ;
27383 PyObject
* obj2
= 0 ;
27384 char *kwnames
[] = {
27385 (char *) "self",(char *) "x",(char *) "y", NULL
27388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27392 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
27393 temp2
= SWIG_As_int(obj1
);
27394 if (PyErr_Occurred()) SWIG_fail
;
27396 res2
= SWIG_NEWOBJ
;
27400 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
27401 temp3
= SWIG_As_int(obj2
);
27402 if (PyErr_Occurred()) SWIG_fail
;
27404 res3
= SWIG_NEWOBJ
;
27408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27409 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
27411 wxPyEndAllowThreads(__tstate
);
27412 if (PyErr_Occurred()) SWIG_fail
;
27414 Py_INCREF(Py_None
); resultobj
= Py_None
;
27415 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27416 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27417 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27418 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27425 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27426 PyObject
*resultobj
;
27427 wxWindow
*arg1
= (wxWindow
*) 0 ;
27428 wxPoint
*arg2
= 0 ;
27431 PyObject
* obj0
= 0 ;
27432 PyObject
* obj1
= 0 ;
27433 char *kwnames
[] = {
27434 (char *) "self",(char *) "pt", NULL
27437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
27438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27442 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27446 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
27448 wxPyEndAllowThreads(__tstate
);
27449 if (PyErr_Occurred()) SWIG_fail
;
27452 wxPoint
* resultptr
;
27453 resultptr
= new wxPoint((wxPoint
&) result
);
27454 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27462 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27463 PyObject
*resultobj
;
27464 wxWindow
*arg1
= (wxWindow
*) 0 ;
27465 wxPoint
*arg2
= 0 ;
27468 PyObject
* obj0
= 0 ;
27469 PyObject
* obj1
= 0 ;
27470 char *kwnames
[] = {
27471 (char *) "self",(char *) "pt", NULL
27474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
27475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27479 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27483 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
27485 wxPyEndAllowThreads(__tstate
);
27486 if (PyErr_Occurred()) SWIG_fail
;
27489 wxPoint
* resultptr
;
27490 resultptr
= new wxPoint((wxPoint
&) result
);
27491 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
27499 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27500 PyObject
*resultobj
;
27501 wxWindow
*arg1
= (wxWindow
*) 0 ;
27505 PyObject
* obj0
= 0 ;
27506 PyObject
* obj1
= 0 ;
27507 PyObject
* obj2
= 0 ;
27508 char *kwnames
[] = {
27509 (char *) "self",(char *) "x",(char *) "y", NULL
27512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27515 arg2
= (int)SWIG_As_int(obj1
);
27516 if (PyErr_Occurred()) SWIG_fail
;
27517 arg3
= (int)SWIG_As_int(obj2
);
27518 if (PyErr_Occurred()) SWIG_fail
;
27520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27521 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
27523 wxPyEndAllowThreads(__tstate
);
27524 if (PyErr_Occurred()) SWIG_fail
;
27526 resultobj
= SWIG_From_int((int)result
);
27533 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27534 PyObject
*resultobj
;
27535 wxWindow
*arg1
= (wxWindow
*) 0 ;
27536 wxPoint
*arg2
= 0 ;
27539 PyObject
* obj0
= 0 ;
27540 PyObject
* obj1
= 0 ;
27541 char *kwnames
[] = {
27542 (char *) "self",(char *) "pt", NULL
27545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27550 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27554 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
27556 wxPyEndAllowThreads(__tstate
);
27557 if (PyErr_Occurred()) SWIG_fail
;
27559 resultobj
= SWIG_From_int((int)result
);
27566 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
27567 PyObject
*resultobj
;
27568 wxWindow
*arg1
= (wxWindow
*) 0 ;
27571 PyObject
* obj0
= 0 ;
27572 PyObject
* obj1
= 0 ;
27574 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
27575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27577 arg2
= (long)SWIG_As_long(obj1
);
27578 if (PyErr_Occurred()) SWIG_fail
;
27580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27581 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
27583 wxPyEndAllowThreads(__tstate
);
27584 if (PyErr_Occurred()) SWIG_fail
;
27586 resultobj
= SWIG_From_int((int)result
);
27593 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
27594 PyObject
*resultobj
;
27595 wxWindow
*arg1
= (wxWindow
*) 0 ;
27597 PyObject
* obj0
= 0 ;
27599 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
27600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27604 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
27606 wxPyEndAllowThreads(__tstate
);
27607 if (PyErr_Occurred()) SWIG_fail
;
27609 resultobj
= SWIG_From_int((int)result
);
27616 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
27621 argc
= PyObject_Length(args
);
27622 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
27623 argv
[ii
] = PyTuple_GetItem(args
,ii
);
27629 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27637 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
27644 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27652 _v
= SWIG_Check_long(argv
[1]);
27654 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
27659 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
27664 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27665 PyObject
*resultobj
;
27666 wxWindow
*arg1
= (wxWindow
*) 0 ;
27667 long arg2
= (long) wxUPDATE_UI_NONE
;
27668 PyObject
* obj0
= 0 ;
27669 PyObject
* obj1
= 0 ;
27670 char *kwnames
[] = {
27671 (char *) "self",(char *) "flags", NULL
27674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
27675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27678 arg2
= (long)SWIG_As_long(obj1
);
27679 if (PyErr_Occurred()) SWIG_fail
;
27682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27683 (arg1
)->UpdateWindowUI(arg2
);
27685 wxPyEndAllowThreads(__tstate
);
27686 if (PyErr_Occurred()) SWIG_fail
;
27688 Py_INCREF(Py_None
); resultobj
= Py_None
;
27695 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27696 PyObject
*resultobj
;
27697 wxWindow
*arg1
= (wxWindow
*) 0 ;
27698 wxMenu
*arg2
= (wxMenu
*) 0 ;
27699 int arg3
= (int) -1 ;
27700 int arg4
= (int) -1 ;
27702 PyObject
* obj0
= 0 ;
27703 PyObject
* obj1
= 0 ;
27704 PyObject
* obj2
= 0 ;
27705 PyObject
* obj3
= 0 ;
27706 char *kwnames
[] = {
27707 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
27710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27713 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27716 arg3
= (int)SWIG_As_int(obj2
);
27717 if (PyErr_Occurred()) SWIG_fail
;
27720 arg4
= (int)SWIG_As_int(obj3
);
27721 if (PyErr_Occurred()) SWIG_fail
;
27724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27725 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
27727 wxPyEndAllowThreads(__tstate
);
27728 if (PyErr_Occurred()) SWIG_fail
;
27731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27739 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27740 PyObject
*resultobj
;
27741 wxWindow
*arg1
= (wxWindow
*) 0 ;
27742 wxMenu
*arg2
= (wxMenu
*) 0 ;
27743 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27744 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27747 PyObject
* obj0
= 0 ;
27748 PyObject
* obj1
= 0 ;
27749 PyObject
* obj2
= 0 ;
27750 char *kwnames
[] = {
27751 (char *) "self",(char *) "menu",(char *) "pos", NULL
27754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27757 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27762 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27767 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
27769 wxPyEndAllowThreads(__tstate
);
27770 if (PyErr_Occurred()) SWIG_fail
;
27773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27781 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27782 PyObject
*resultobj
;
27783 wxWindow
*arg1
= (wxWindow
*) 0 ;
27785 PyObject
* obj0
= 0 ;
27786 char *kwnames
[] = {
27787 (char *) "self", NULL
27790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
27791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27795 result
= (long)wxWindow_GetHandle(arg1
);
27797 wxPyEndAllowThreads(__tstate
);
27798 if (PyErr_Occurred()) SWIG_fail
;
27800 resultobj
= SWIG_From_long((long)result
);
27807 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27808 PyObject
*resultobj
;
27809 wxWindow
*arg1
= (wxWindow
*) 0 ;
27811 PyObject
* obj0
= 0 ;
27812 PyObject
* obj1
= 0 ;
27813 char *kwnames
[] = {
27814 (char *) "self",(char *) "handle", NULL
27817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
27818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27820 arg2
= (long)SWIG_As_long(obj1
);
27821 if (PyErr_Occurred()) SWIG_fail
;
27823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27824 wxWindow_AssociateHandle(arg1
,arg2
);
27826 wxPyEndAllowThreads(__tstate
);
27827 if (PyErr_Occurred()) SWIG_fail
;
27829 Py_INCREF(Py_None
); resultobj
= Py_None
;
27836 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27837 PyObject
*resultobj
;
27838 wxWindow
*arg1
= (wxWindow
*) 0 ;
27839 PyObject
* obj0
= 0 ;
27840 char *kwnames
[] = {
27841 (char *) "self", NULL
27844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
27845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27849 (arg1
)->DissociateHandle();
27851 wxPyEndAllowThreads(__tstate
);
27852 if (PyErr_Occurred()) SWIG_fail
;
27854 Py_INCREF(Py_None
); resultobj
= Py_None
;
27861 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27862 PyObject
*resultobj
;
27863 wxWindow
*arg1
= (wxWindow
*) 0 ;
27866 PyObject
* obj0
= 0 ;
27867 PyObject
* obj1
= 0 ;
27868 char *kwnames
[] = {
27869 (char *) "self",(char *) "orient", NULL
27872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
27873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27875 arg2
= (int)SWIG_As_int(obj1
);
27876 if (PyErr_Occurred()) SWIG_fail
;
27878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27879 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
27881 wxPyEndAllowThreads(__tstate
);
27882 if (PyErr_Occurred()) SWIG_fail
;
27885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27893 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27894 PyObject
*resultobj
;
27895 wxWindow
*arg1
= (wxWindow
*) 0 ;
27900 bool arg6
= (bool) true ;
27901 PyObject
* obj0
= 0 ;
27902 PyObject
* obj1
= 0 ;
27903 PyObject
* obj2
= 0 ;
27904 PyObject
* obj3
= 0 ;
27905 PyObject
* obj4
= 0 ;
27906 PyObject
* obj5
= 0 ;
27907 char *kwnames
[] = {
27908 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
27911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27914 arg2
= (int)SWIG_As_int(obj1
);
27915 if (PyErr_Occurred()) SWIG_fail
;
27916 arg3
= (int)SWIG_As_int(obj2
);
27917 if (PyErr_Occurred()) SWIG_fail
;
27918 arg4
= (int)SWIG_As_int(obj3
);
27919 if (PyErr_Occurred()) SWIG_fail
;
27920 arg5
= (int)SWIG_As_int(obj4
);
27921 if (PyErr_Occurred()) SWIG_fail
;
27923 arg6
= (bool)SWIG_As_bool(obj5
);
27924 if (PyErr_Occurred()) SWIG_fail
;
27927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27928 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
27930 wxPyEndAllowThreads(__tstate
);
27931 if (PyErr_Occurred()) SWIG_fail
;
27933 Py_INCREF(Py_None
); resultobj
= Py_None
;
27940 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27941 PyObject
*resultobj
;
27942 wxWindow
*arg1
= (wxWindow
*) 0 ;
27945 bool arg4
= (bool) true ;
27946 PyObject
* obj0
= 0 ;
27947 PyObject
* obj1
= 0 ;
27948 PyObject
* obj2
= 0 ;
27949 PyObject
* obj3
= 0 ;
27950 char *kwnames
[] = {
27951 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
27954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27957 arg2
= (int)SWIG_As_int(obj1
);
27958 if (PyErr_Occurred()) SWIG_fail
;
27959 arg3
= (int)SWIG_As_int(obj2
);
27960 if (PyErr_Occurred()) SWIG_fail
;
27962 arg4
= (bool)SWIG_As_bool(obj3
);
27963 if (PyErr_Occurred()) SWIG_fail
;
27966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27967 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
27969 wxPyEndAllowThreads(__tstate
);
27970 if (PyErr_Occurred()) SWIG_fail
;
27972 Py_INCREF(Py_None
); resultobj
= Py_None
;
27979 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27980 PyObject
*resultobj
;
27981 wxWindow
*arg1
= (wxWindow
*) 0 ;
27984 PyObject
* obj0
= 0 ;
27985 PyObject
* obj1
= 0 ;
27986 char *kwnames
[] = {
27987 (char *) "self",(char *) "orientation", NULL
27990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
27991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27993 arg2
= (int)SWIG_As_int(obj1
);
27994 if (PyErr_Occurred()) SWIG_fail
;
27996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27997 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
27999 wxPyEndAllowThreads(__tstate
);
28000 if (PyErr_Occurred()) SWIG_fail
;
28002 resultobj
= SWIG_From_int((int)result
);
28009 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28010 PyObject
*resultobj
;
28011 wxWindow
*arg1
= (wxWindow
*) 0 ;
28014 PyObject
* obj0
= 0 ;
28015 PyObject
* obj1
= 0 ;
28016 char *kwnames
[] = {
28017 (char *) "self",(char *) "orientation", NULL
28020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
28021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28023 arg2
= (int)SWIG_As_int(obj1
);
28024 if (PyErr_Occurred()) SWIG_fail
;
28026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28027 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
28029 wxPyEndAllowThreads(__tstate
);
28030 if (PyErr_Occurred()) SWIG_fail
;
28032 resultobj
= SWIG_From_int((int)result
);
28039 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28040 PyObject
*resultobj
;
28041 wxWindow
*arg1
= (wxWindow
*) 0 ;
28044 PyObject
* obj0
= 0 ;
28045 PyObject
* obj1
= 0 ;
28046 char *kwnames
[] = {
28047 (char *) "self",(char *) "orientation", NULL
28050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
28051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28053 arg2
= (int)SWIG_As_int(obj1
);
28054 if (PyErr_Occurred()) SWIG_fail
;
28056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28057 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
28059 wxPyEndAllowThreads(__tstate
);
28060 if (PyErr_Occurred()) SWIG_fail
;
28062 resultobj
= SWIG_From_int((int)result
);
28069 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28070 PyObject
*resultobj
;
28071 wxWindow
*arg1
= (wxWindow
*) 0 ;
28074 wxRect
*arg4
= (wxRect
*) NULL
;
28075 PyObject
* obj0
= 0 ;
28076 PyObject
* obj1
= 0 ;
28077 PyObject
* obj2
= 0 ;
28078 PyObject
* obj3
= 0 ;
28079 char *kwnames
[] = {
28080 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
28083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28086 arg2
= (int)SWIG_As_int(obj1
);
28087 if (PyErr_Occurred()) SWIG_fail
;
28088 arg3
= (int)SWIG_As_int(obj2
);
28089 if (PyErr_Occurred()) SWIG_fail
;
28091 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
28092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28096 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
28098 wxPyEndAllowThreads(__tstate
);
28099 if (PyErr_Occurred()) SWIG_fail
;
28101 Py_INCREF(Py_None
); resultobj
= Py_None
;
28108 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28109 PyObject
*resultobj
;
28110 wxWindow
*arg1
= (wxWindow
*) 0 ;
28113 PyObject
* obj0
= 0 ;
28114 PyObject
* obj1
= 0 ;
28115 char *kwnames
[] = {
28116 (char *) "self",(char *) "lines", NULL
28119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
28120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28122 arg2
= (int)SWIG_As_int(obj1
);
28123 if (PyErr_Occurred()) SWIG_fail
;
28125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28126 result
= (bool)(arg1
)->ScrollLines(arg2
);
28128 wxPyEndAllowThreads(__tstate
);
28129 if (PyErr_Occurred()) SWIG_fail
;
28132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28140 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28141 PyObject
*resultobj
;
28142 wxWindow
*arg1
= (wxWindow
*) 0 ;
28145 PyObject
* obj0
= 0 ;
28146 PyObject
* obj1
= 0 ;
28147 char *kwnames
[] = {
28148 (char *) "self",(char *) "pages", NULL
28151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
28152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28154 arg2
= (int)SWIG_As_int(obj1
);
28155 if (PyErr_Occurred()) SWIG_fail
;
28157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28158 result
= (bool)(arg1
)->ScrollPages(arg2
);
28160 wxPyEndAllowThreads(__tstate
);
28161 if (PyErr_Occurred()) SWIG_fail
;
28164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28172 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28173 PyObject
*resultobj
;
28174 wxWindow
*arg1
= (wxWindow
*) 0 ;
28176 PyObject
* obj0
= 0 ;
28177 char *kwnames
[] = {
28178 (char *) "self", NULL
28181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
28182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28186 result
= (bool)(arg1
)->LineUp();
28188 wxPyEndAllowThreads(__tstate
);
28189 if (PyErr_Occurred()) SWIG_fail
;
28192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28200 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28201 PyObject
*resultobj
;
28202 wxWindow
*arg1
= (wxWindow
*) 0 ;
28204 PyObject
* obj0
= 0 ;
28205 char *kwnames
[] = {
28206 (char *) "self", NULL
28209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
28210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28214 result
= (bool)(arg1
)->LineDown();
28216 wxPyEndAllowThreads(__tstate
);
28217 if (PyErr_Occurred()) SWIG_fail
;
28220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28228 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28229 PyObject
*resultobj
;
28230 wxWindow
*arg1
= (wxWindow
*) 0 ;
28232 PyObject
* obj0
= 0 ;
28233 char *kwnames
[] = {
28234 (char *) "self", NULL
28237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
28238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28242 result
= (bool)(arg1
)->PageUp();
28244 wxPyEndAllowThreads(__tstate
);
28245 if (PyErr_Occurred()) SWIG_fail
;
28248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28256 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28257 PyObject
*resultobj
;
28258 wxWindow
*arg1
= (wxWindow
*) 0 ;
28260 PyObject
* obj0
= 0 ;
28261 char *kwnames
[] = {
28262 (char *) "self", NULL
28265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
28266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28270 result
= (bool)(arg1
)->PageDown();
28272 wxPyEndAllowThreads(__tstate
);
28273 if (PyErr_Occurred()) SWIG_fail
;
28276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28284 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28285 PyObject
*resultobj
;
28286 wxWindow
*arg1
= (wxWindow
*) 0 ;
28287 wxString
*arg2
= 0 ;
28288 bool temp2
= false ;
28289 PyObject
* obj0
= 0 ;
28290 PyObject
* obj1
= 0 ;
28291 char *kwnames
[] = {
28292 (char *) "self",(char *) "text", NULL
28295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
28296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28299 arg2
= wxString_in_helper(obj1
);
28300 if (arg2
== NULL
) SWIG_fail
;
28304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28305 (arg1
)->SetHelpText((wxString
const &)*arg2
);
28307 wxPyEndAllowThreads(__tstate
);
28308 if (PyErr_Occurred()) SWIG_fail
;
28310 Py_INCREF(Py_None
); resultobj
= Py_None
;
28325 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28326 PyObject
*resultobj
;
28327 wxWindow
*arg1
= (wxWindow
*) 0 ;
28328 wxString
*arg2
= 0 ;
28329 bool temp2
= false ;
28330 PyObject
* obj0
= 0 ;
28331 PyObject
* obj1
= 0 ;
28332 char *kwnames
[] = {
28333 (char *) "self",(char *) "text", NULL
28336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
28337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28340 arg2
= wxString_in_helper(obj1
);
28341 if (arg2
== NULL
) SWIG_fail
;
28345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28346 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
28348 wxPyEndAllowThreads(__tstate
);
28349 if (PyErr_Occurred()) SWIG_fail
;
28351 Py_INCREF(Py_None
); resultobj
= Py_None
;
28366 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28367 PyObject
*resultobj
;
28368 wxWindow
*arg1
= (wxWindow
*) 0 ;
28370 PyObject
* obj0
= 0 ;
28371 char *kwnames
[] = {
28372 (char *) "self", NULL
28375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
28376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28380 result
= ((wxWindow
const *)arg1
)->GetHelpText();
28382 wxPyEndAllowThreads(__tstate
);
28383 if (PyErr_Occurred()) SWIG_fail
;
28387 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28389 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28398 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28399 PyObject
*resultobj
;
28400 wxWindow
*arg1
= (wxWindow
*) 0 ;
28401 wxString
*arg2
= 0 ;
28402 bool temp2
= false ;
28403 PyObject
* obj0
= 0 ;
28404 PyObject
* obj1
= 0 ;
28405 char *kwnames
[] = {
28406 (char *) "self",(char *) "tip", NULL
28409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
28410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28413 arg2
= wxString_in_helper(obj1
);
28414 if (arg2
== NULL
) SWIG_fail
;
28418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28419 (arg1
)->SetToolTip((wxString
const &)*arg2
);
28421 wxPyEndAllowThreads(__tstate
);
28422 if (PyErr_Occurred()) SWIG_fail
;
28424 Py_INCREF(Py_None
); resultobj
= Py_None
;
28439 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28440 PyObject
*resultobj
;
28441 wxWindow
*arg1
= (wxWindow
*) 0 ;
28442 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
28443 PyObject
* obj0
= 0 ;
28444 PyObject
* obj1
= 0 ;
28445 char *kwnames
[] = {
28446 (char *) "self",(char *) "tip", NULL
28449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
28450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28452 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
28453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28456 (arg1
)->SetToolTip(arg2
);
28458 wxPyEndAllowThreads(__tstate
);
28459 if (PyErr_Occurred()) SWIG_fail
;
28461 Py_INCREF(Py_None
); resultobj
= Py_None
;
28468 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28469 PyObject
*resultobj
;
28470 wxWindow
*arg1
= (wxWindow
*) 0 ;
28472 PyObject
* obj0
= 0 ;
28473 char *kwnames
[] = {
28474 (char *) "self", NULL
28477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
28478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28482 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
28484 wxPyEndAllowThreads(__tstate
);
28485 if (PyErr_Occurred()) SWIG_fail
;
28488 resultobj
= wxPyMake_wxObject(result
, 0);
28496 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28497 PyObject
*resultobj
;
28498 wxWindow
*arg1
= (wxWindow
*) 0 ;
28499 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
28500 PyObject
* obj0
= 0 ;
28501 PyObject
* obj1
= 0 ;
28502 char *kwnames
[] = {
28503 (char *) "self",(char *) "dropTarget", NULL
28506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
28507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28509 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
28510 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
28512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28513 (arg1
)->SetDropTarget(arg2
);
28515 wxPyEndAllowThreads(__tstate
);
28516 if (PyErr_Occurred()) SWIG_fail
;
28518 Py_INCREF(Py_None
); resultobj
= Py_None
;
28525 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28526 PyObject
*resultobj
;
28527 wxWindow
*arg1
= (wxWindow
*) 0 ;
28528 wxPyDropTarget
*result
;
28529 PyObject
* obj0
= 0 ;
28530 char *kwnames
[] = {
28531 (char *) "self", NULL
28534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
28535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28539 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
28541 wxPyEndAllowThreads(__tstate
);
28542 if (PyErr_Occurred()) SWIG_fail
;
28544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
28551 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28552 PyObject
*resultobj
;
28553 wxWindow
*arg1
= (wxWindow
*) 0 ;
28554 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
28555 PyObject
* obj0
= 0 ;
28556 PyObject
* obj1
= 0 ;
28557 char *kwnames
[] = {
28558 (char *) "self",(char *) "constraints", NULL
28561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
28562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28564 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
28565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28568 (arg1
)->SetConstraints(arg2
);
28570 wxPyEndAllowThreads(__tstate
);
28571 if (PyErr_Occurred()) SWIG_fail
;
28573 Py_INCREF(Py_None
); resultobj
= Py_None
;
28580 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28581 PyObject
*resultobj
;
28582 wxWindow
*arg1
= (wxWindow
*) 0 ;
28583 wxLayoutConstraints
*result
;
28584 PyObject
* obj0
= 0 ;
28585 char *kwnames
[] = {
28586 (char *) "self", NULL
28589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
28590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28594 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
28596 wxPyEndAllowThreads(__tstate
);
28597 if (PyErr_Occurred()) SWIG_fail
;
28599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
28606 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28607 PyObject
*resultobj
;
28608 wxWindow
*arg1
= (wxWindow
*) 0 ;
28610 PyObject
* obj0
= 0 ;
28611 PyObject
* obj1
= 0 ;
28612 char *kwnames
[] = {
28613 (char *) "self",(char *) "autoLayout", NULL
28616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
28617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28619 arg2
= (bool)SWIG_As_bool(obj1
);
28620 if (PyErr_Occurred()) SWIG_fail
;
28622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28623 (arg1
)->SetAutoLayout(arg2
);
28625 wxPyEndAllowThreads(__tstate
);
28626 if (PyErr_Occurred()) SWIG_fail
;
28628 Py_INCREF(Py_None
); resultobj
= Py_None
;
28635 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28636 PyObject
*resultobj
;
28637 wxWindow
*arg1
= (wxWindow
*) 0 ;
28639 PyObject
* obj0
= 0 ;
28640 char *kwnames
[] = {
28641 (char *) "self", NULL
28644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
28645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28649 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
28651 wxPyEndAllowThreads(__tstate
);
28652 if (PyErr_Occurred()) SWIG_fail
;
28655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28663 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28664 PyObject
*resultobj
;
28665 wxWindow
*arg1
= (wxWindow
*) 0 ;
28667 PyObject
* obj0
= 0 ;
28668 char *kwnames
[] = {
28669 (char *) "self", NULL
28672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
28673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28677 result
= (bool)(arg1
)->Layout();
28679 wxPyEndAllowThreads(__tstate
);
28680 if (PyErr_Occurred()) SWIG_fail
;
28683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28691 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28692 PyObject
*resultobj
;
28693 wxWindow
*arg1
= (wxWindow
*) 0 ;
28694 wxSizer
*arg2
= (wxSizer
*) 0 ;
28695 bool arg3
= (bool) true ;
28696 PyObject
* obj0
= 0 ;
28697 PyObject
* obj1
= 0 ;
28698 PyObject
* obj2
= 0 ;
28699 char *kwnames
[] = {
28700 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28706 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28709 arg3
= (bool)SWIG_As_bool(obj2
);
28710 if (PyErr_Occurred()) SWIG_fail
;
28713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28714 (arg1
)->SetSizer(arg2
,arg3
);
28716 wxPyEndAllowThreads(__tstate
);
28717 if (PyErr_Occurred()) SWIG_fail
;
28719 Py_INCREF(Py_None
); resultobj
= Py_None
;
28726 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28727 PyObject
*resultobj
;
28728 wxWindow
*arg1
= (wxWindow
*) 0 ;
28729 wxSizer
*arg2
= (wxSizer
*) 0 ;
28730 bool arg3
= (bool) true ;
28731 PyObject
* obj0
= 0 ;
28732 PyObject
* obj1
= 0 ;
28733 PyObject
* obj2
= 0 ;
28734 char *kwnames
[] = {
28735 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28741 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28744 arg3
= (bool)SWIG_As_bool(obj2
);
28745 if (PyErr_Occurred()) SWIG_fail
;
28748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28749 (arg1
)->SetSizerAndFit(arg2
,arg3
);
28751 wxPyEndAllowThreads(__tstate
);
28752 if (PyErr_Occurred()) SWIG_fail
;
28754 Py_INCREF(Py_None
); resultobj
= Py_None
;
28761 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28762 PyObject
*resultobj
;
28763 wxWindow
*arg1
= (wxWindow
*) 0 ;
28765 PyObject
* obj0
= 0 ;
28766 char *kwnames
[] = {
28767 (char *) "self", NULL
28770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
28771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28775 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
28777 wxPyEndAllowThreads(__tstate
);
28778 if (PyErr_Occurred()) SWIG_fail
;
28781 resultobj
= wxPyMake_wxSizer(result
, 0);
28789 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28790 PyObject
*resultobj
;
28791 wxWindow
*arg1
= (wxWindow
*) 0 ;
28792 wxSizer
*arg2
= (wxSizer
*) 0 ;
28793 PyObject
* obj0
= 0 ;
28794 PyObject
* obj1
= 0 ;
28795 char *kwnames
[] = {
28796 (char *) "self",(char *) "sizer", NULL
28799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
28800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28802 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28806 (arg1
)->SetContainingSizer(arg2
);
28808 wxPyEndAllowThreads(__tstate
);
28809 if (PyErr_Occurred()) SWIG_fail
;
28811 Py_INCREF(Py_None
); resultobj
= Py_None
;
28818 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28819 PyObject
*resultobj
;
28820 wxWindow
*arg1
= (wxWindow
*) 0 ;
28822 PyObject
* obj0
= 0 ;
28823 char *kwnames
[] = {
28824 (char *) "self", NULL
28827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
28828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28832 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
28834 wxPyEndAllowThreads(__tstate
);
28835 if (PyErr_Occurred()) SWIG_fail
;
28838 resultobj
= wxPyMake_wxSizer(result
, 0);
28846 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28847 PyObject
*resultobj
;
28848 wxWindow
*arg1
= (wxWindow
*) 0 ;
28849 PyObject
* obj0
= 0 ;
28850 char *kwnames
[] = {
28851 (char *) "self", NULL
28854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
28855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28859 (arg1
)->InheritAttributes();
28861 wxPyEndAllowThreads(__tstate
);
28862 if (PyErr_Occurred()) SWIG_fail
;
28864 Py_INCREF(Py_None
); resultobj
= Py_None
;
28871 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28872 PyObject
*resultobj
;
28873 wxWindow
*arg1
= (wxWindow
*) 0 ;
28875 PyObject
* obj0
= 0 ;
28876 char *kwnames
[] = {
28877 (char *) "self", NULL
28880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
28881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28885 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
28887 wxPyEndAllowThreads(__tstate
);
28888 if (PyErr_Occurred()) SWIG_fail
;
28891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28899 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
28901 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28902 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
28904 return Py_BuildValue((char *)"");
28906 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28907 PyObject
*resultobj
;
28909 wxWindow
*arg2
= (wxWindow
*) NULL
;
28911 PyObject
* obj0
= 0 ;
28912 PyObject
* obj1
= 0 ;
28913 char *kwnames
[] = {
28914 (char *) "id",(char *) "parent", NULL
28917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28918 arg1
= (long)SWIG_As_long(obj0
);
28919 if (PyErr_Occurred()) SWIG_fail
;
28921 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28925 if (!wxPyCheckForApp()) SWIG_fail
;
28926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28927 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
28929 wxPyEndAllowThreads(__tstate
);
28930 if (PyErr_Occurred()) SWIG_fail
;
28933 resultobj
= wxPyMake_wxObject(result
, 0);
28941 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28942 PyObject
*resultobj
;
28943 wxString
*arg1
= 0 ;
28944 wxWindow
*arg2
= (wxWindow
*) NULL
;
28946 bool temp1
= false ;
28947 PyObject
* obj0
= 0 ;
28948 PyObject
* obj1
= 0 ;
28949 char *kwnames
[] = {
28950 (char *) "name",(char *) "parent", NULL
28953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28955 arg1
= wxString_in_helper(obj0
);
28956 if (arg1
== NULL
) SWIG_fail
;
28960 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28964 if (!wxPyCheckForApp()) SWIG_fail
;
28965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28966 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28968 wxPyEndAllowThreads(__tstate
);
28969 if (PyErr_Occurred()) SWIG_fail
;
28972 resultobj
= wxPyMake_wxObject(result
, 0);
28988 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28989 PyObject
*resultobj
;
28990 wxString
*arg1
= 0 ;
28991 wxWindow
*arg2
= (wxWindow
*) NULL
;
28993 bool temp1
= false ;
28994 PyObject
* obj0
= 0 ;
28995 PyObject
* obj1
= 0 ;
28996 char *kwnames
[] = {
28997 (char *) "label",(char *) "parent", NULL
29000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
29002 arg1
= wxString_in_helper(obj0
);
29003 if (arg1
== NULL
) SWIG_fail
;
29007 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29011 if (!wxPyCheckForApp()) SWIG_fail
;
29012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29013 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
29015 wxPyEndAllowThreads(__tstate
);
29016 if (PyErr_Occurred()) SWIG_fail
;
29019 resultobj
= wxPyMake_wxObject(result
, 0);
29035 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29036 PyObject
*resultobj
;
29037 wxWindow
*arg1
= (wxWindow
*) 0 ;
29038 unsigned long arg2
;
29040 PyObject
* obj0
= 0 ;
29041 PyObject
* obj1
= 0 ;
29042 char *kwnames
[] = {
29043 (char *) "parent",(char *) "_hWnd", NULL
29046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
29047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29049 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
29050 if (PyErr_Occurred()) SWIG_fail
;
29052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29053 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
29055 wxPyEndAllowThreads(__tstate
);
29056 if (PyErr_Occurred()) SWIG_fail
;
29059 resultobj
= wxPyMake_wxObject(result
, 0);
29067 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29068 PyObject
*resultobj
;
29069 wxValidator
*result
;
29070 char *kwnames
[] = {
29074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
29076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29077 result
= (wxValidator
*)new wxValidator();
29079 wxPyEndAllowThreads(__tstate
);
29080 if (PyErr_Occurred()) SWIG_fail
;
29082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
29089 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29090 PyObject
*resultobj
;
29091 wxValidator
*arg1
= (wxValidator
*) 0 ;
29092 wxValidator
*result
;
29093 PyObject
* obj0
= 0 ;
29094 char *kwnames
[] = {
29095 (char *) "self", NULL
29098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
29099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29103 result
= (wxValidator
*)(arg1
)->Clone();
29105 wxPyEndAllowThreads(__tstate
);
29106 if (PyErr_Occurred()) SWIG_fail
;
29109 resultobj
= wxPyMake_wxObject(result
, 0);
29117 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29118 PyObject
*resultobj
;
29119 wxValidator
*arg1
= (wxValidator
*) 0 ;
29120 wxWindow
*arg2
= (wxWindow
*) 0 ;
29122 PyObject
* obj0
= 0 ;
29123 PyObject
* obj1
= 0 ;
29124 char *kwnames
[] = {
29125 (char *) "self",(char *) "parent", NULL
29128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
29129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29131 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29135 result
= (bool)(arg1
)->Validate(arg2
);
29137 wxPyEndAllowThreads(__tstate
);
29138 if (PyErr_Occurred()) SWIG_fail
;
29141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29149 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29150 PyObject
*resultobj
;
29151 wxValidator
*arg1
= (wxValidator
*) 0 ;
29153 PyObject
* obj0
= 0 ;
29154 char *kwnames
[] = {
29155 (char *) "self", NULL
29158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
29159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29163 result
= (bool)(arg1
)->TransferToWindow();
29165 wxPyEndAllowThreads(__tstate
);
29166 if (PyErr_Occurred()) SWIG_fail
;
29169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29177 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29178 PyObject
*resultobj
;
29179 wxValidator
*arg1
= (wxValidator
*) 0 ;
29181 PyObject
* obj0
= 0 ;
29182 char *kwnames
[] = {
29183 (char *) "self", NULL
29186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
29187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29191 result
= (bool)(arg1
)->TransferFromWindow();
29193 wxPyEndAllowThreads(__tstate
);
29194 if (PyErr_Occurred()) SWIG_fail
;
29197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29205 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29206 PyObject
*resultobj
;
29207 wxValidator
*arg1
= (wxValidator
*) 0 ;
29209 PyObject
* obj0
= 0 ;
29210 char *kwnames
[] = {
29211 (char *) "self", NULL
29214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
29215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29219 result
= (wxWindow
*)(arg1
)->GetWindow();
29221 wxPyEndAllowThreads(__tstate
);
29222 if (PyErr_Occurred()) SWIG_fail
;
29225 resultobj
= wxPyMake_wxObject(result
, 0);
29233 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29234 PyObject
*resultobj
;
29235 wxValidator
*arg1
= (wxValidator
*) 0 ;
29236 wxWindow
*arg2
= (wxWindow
*) 0 ;
29237 PyObject
* obj0
= 0 ;
29238 PyObject
* obj1
= 0 ;
29239 char *kwnames
[] = {
29240 (char *) "self",(char *) "window", NULL
29243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
29244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
29245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29246 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29250 (arg1
)->SetWindow(arg2
);
29252 wxPyEndAllowThreads(__tstate
);
29253 if (PyErr_Occurred()) SWIG_fail
;
29255 Py_INCREF(Py_None
); resultobj
= Py_None
;
29262 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29263 PyObject
*resultobj
;
29265 char *kwnames
[] = {
29269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
29271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29272 result
= (bool)wxValidator::IsSilent();
29274 wxPyEndAllowThreads(__tstate
);
29275 if (PyErr_Occurred()) SWIG_fail
;
29278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29286 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29287 PyObject
*resultobj
;
29288 int arg1
= (int) true ;
29289 PyObject
* obj0
= 0 ;
29290 char *kwnames
[] = {
29291 (char *) "doIt", NULL
29294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
29296 arg1
= (int)SWIG_As_int(obj0
);
29297 if (PyErr_Occurred()) SWIG_fail
;
29300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29301 wxValidator::SetBellOnError(arg1
);
29303 wxPyEndAllowThreads(__tstate
);
29304 if (PyErr_Occurred()) SWIG_fail
;
29306 Py_INCREF(Py_None
); resultobj
= Py_None
;
29313 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
29315 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29316 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
29318 return Py_BuildValue((char *)"");
29320 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29321 PyObject
*resultobj
;
29322 wxPyValidator
*result
;
29323 char *kwnames
[] = {
29327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
29329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29330 result
= (wxPyValidator
*)new wxPyValidator();
29332 wxPyEndAllowThreads(__tstate
);
29333 if (PyErr_Occurred()) SWIG_fail
;
29335 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
29342 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29343 PyObject
*resultobj
;
29344 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
29345 PyObject
*arg2
= (PyObject
*) 0 ;
29346 PyObject
*arg3
= (PyObject
*) 0 ;
29347 int arg4
= (int) true ;
29348 PyObject
* obj0
= 0 ;
29349 PyObject
* obj1
= 0 ;
29350 PyObject
* obj2
= 0 ;
29351 PyObject
* obj3
= 0 ;
29352 char *kwnames
[] = {
29353 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
29356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
29358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29362 arg4
= (int)SWIG_As_int(obj3
);
29363 if (PyErr_Occurred()) SWIG_fail
;
29366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29367 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
29369 wxPyEndAllowThreads(__tstate
);
29370 if (PyErr_Occurred()) SWIG_fail
;
29372 Py_INCREF(Py_None
); resultobj
= Py_None
;
29379 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
29381 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29382 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
29384 return Py_BuildValue((char *)"");
29386 static int _wrap_DefaultValidator_set(PyObject
*) {
29387 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
29392 static PyObject
*_wrap_DefaultValidator_get() {
29395 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
29400 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29401 PyObject
*resultobj
;
29402 wxString
const &arg1_defvalue
= wxPyEmptyString
;
29403 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
29404 long arg2
= (long) 0 ;
29406 bool temp1
= false ;
29407 PyObject
* obj0
= 0 ;
29408 PyObject
* obj1
= 0 ;
29409 char *kwnames
[] = {
29410 (char *) "title",(char *) "style", NULL
29413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
29416 arg1
= wxString_in_helper(obj0
);
29417 if (arg1
== NULL
) SWIG_fail
;
29422 arg2
= (long)SWIG_As_long(obj1
);
29423 if (PyErr_Occurred()) SWIG_fail
;
29426 if (!wxPyCheckForApp()) SWIG_fail
;
29427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29428 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
29430 wxPyEndAllowThreads(__tstate
);
29431 if (PyErr_Occurred()) SWIG_fail
;
29433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
29448 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29449 PyObject
*resultobj
;
29450 wxMenu
*arg1
= (wxMenu
*) 0 ;
29452 wxString
*arg3
= 0 ;
29453 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29454 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29455 int arg5
= (int) wxITEM_NORMAL
;
29456 wxMenuItem
*result
;
29457 bool temp3
= false ;
29458 bool temp4
= false ;
29459 PyObject
* obj0
= 0 ;
29460 PyObject
* obj1
= 0 ;
29461 PyObject
* obj2
= 0 ;
29462 PyObject
* obj3
= 0 ;
29463 PyObject
* obj4
= 0 ;
29464 char *kwnames
[] = {
29465 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29471 arg2
= (int)SWIG_As_int(obj1
);
29472 if (PyErr_Occurred()) SWIG_fail
;
29474 arg3
= wxString_in_helper(obj2
);
29475 if (arg3
== NULL
) SWIG_fail
;
29480 arg4
= wxString_in_helper(obj3
);
29481 if (arg4
== NULL
) SWIG_fail
;
29486 arg5
= (int)SWIG_As_int(obj4
);
29487 if (PyErr_Occurred()) SWIG_fail
;
29490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29491 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29493 wxPyEndAllowThreads(__tstate
);
29494 if (PyErr_Occurred()) SWIG_fail
;
29497 resultobj
= wxPyMake_wxObject(result
, 0);
29521 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29522 PyObject
*resultobj
;
29523 wxMenu
*arg1
= (wxMenu
*) 0 ;
29524 wxMenuItem
*result
;
29525 PyObject
* obj0
= 0 ;
29526 char *kwnames
[] = {
29527 (char *) "self", NULL
29530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
29531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29535 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
29537 wxPyEndAllowThreads(__tstate
);
29538 if (PyErr_Occurred()) SWIG_fail
;
29541 resultobj
= wxPyMake_wxObject(result
, 0);
29549 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29550 PyObject
*resultobj
;
29551 wxMenu
*arg1
= (wxMenu
*) 0 ;
29553 wxString
*arg3
= 0 ;
29554 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29555 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29556 wxMenuItem
*result
;
29557 bool temp3
= false ;
29558 bool temp4
= false ;
29559 PyObject
* obj0
= 0 ;
29560 PyObject
* obj1
= 0 ;
29561 PyObject
* obj2
= 0 ;
29562 PyObject
* obj3
= 0 ;
29563 char *kwnames
[] = {
29564 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29570 arg2
= (int)SWIG_As_int(obj1
);
29571 if (PyErr_Occurred()) SWIG_fail
;
29573 arg3
= wxString_in_helper(obj2
);
29574 if (arg3
== NULL
) SWIG_fail
;
29579 arg4
= wxString_in_helper(obj3
);
29580 if (arg4
== NULL
) SWIG_fail
;
29585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29586 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29588 wxPyEndAllowThreads(__tstate
);
29589 if (PyErr_Occurred()) SWIG_fail
;
29592 resultobj
= wxPyMake_wxObject(result
, 0);
29616 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29617 PyObject
*resultobj
;
29618 wxMenu
*arg1
= (wxMenu
*) 0 ;
29620 wxString
*arg3
= 0 ;
29621 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29622 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29623 wxMenuItem
*result
;
29624 bool temp3
= false ;
29625 bool temp4
= false ;
29626 PyObject
* obj0
= 0 ;
29627 PyObject
* obj1
= 0 ;
29628 PyObject
* obj2
= 0 ;
29629 PyObject
* obj3
= 0 ;
29630 char *kwnames
[] = {
29631 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29637 arg2
= (int)SWIG_As_int(obj1
);
29638 if (PyErr_Occurred()) SWIG_fail
;
29640 arg3
= wxString_in_helper(obj2
);
29641 if (arg3
== NULL
) SWIG_fail
;
29646 arg4
= wxString_in_helper(obj3
);
29647 if (arg4
== NULL
) SWIG_fail
;
29652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29653 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29655 wxPyEndAllowThreads(__tstate
);
29656 if (PyErr_Occurred()) SWIG_fail
;
29659 resultobj
= wxPyMake_wxObject(result
, 0);
29683 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29684 PyObject
*resultobj
;
29685 wxMenu
*arg1
= (wxMenu
*) 0 ;
29687 wxString
*arg3
= 0 ;
29688 wxMenu
*arg4
= (wxMenu
*) 0 ;
29689 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29690 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29691 wxMenuItem
*result
;
29692 bool temp3
= false ;
29693 bool temp5
= false ;
29694 PyObject
* obj0
= 0 ;
29695 PyObject
* obj1
= 0 ;
29696 PyObject
* obj2
= 0 ;
29697 PyObject
* obj3
= 0 ;
29698 PyObject
* obj4
= 0 ;
29699 char *kwnames
[] = {
29700 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29706 arg2
= (int)SWIG_As_int(obj1
);
29707 if (PyErr_Occurred()) SWIG_fail
;
29709 arg3
= wxString_in_helper(obj2
);
29710 if (arg3
== NULL
) SWIG_fail
;
29713 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29717 arg5
= wxString_in_helper(obj4
);
29718 if (arg5
== NULL
) SWIG_fail
;
29723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29724 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29726 wxPyEndAllowThreads(__tstate
);
29727 if (PyErr_Occurred()) SWIG_fail
;
29730 resultobj
= wxPyMake_wxObject(result
, 0);
29754 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29755 PyObject
*resultobj
;
29756 wxMenu
*arg1
= (wxMenu
*) 0 ;
29757 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29758 wxMenuItem
*result
;
29759 PyObject
* obj0
= 0 ;
29760 PyObject
* obj1
= 0 ;
29761 char *kwnames
[] = {
29762 (char *) "self",(char *) "item", NULL
29765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29768 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29772 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
29774 wxPyEndAllowThreads(__tstate
);
29775 if (PyErr_Occurred()) SWIG_fail
;
29778 resultobj
= wxPyMake_wxObject(result
, 0);
29786 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29787 PyObject
*resultobj
;
29788 wxMenu
*arg1
= (wxMenu
*) 0 ;
29789 PyObject
* obj0
= 0 ;
29790 char *kwnames
[] = {
29791 (char *) "self", NULL
29794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
29795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29801 wxPyEndAllowThreads(__tstate
);
29802 if (PyErr_Occurred()) SWIG_fail
;
29804 Py_INCREF(Py_None
); resultobj
= Py_None
;
29811 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29812 PyObject
*resultobj
;
29813 wxMenu
*arg1
= (wxMenu
*) 0 ;
29815 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
29816 wxMenuItem
*result
;
29817 PyObject
* obj0
= 0 ;
29818 PyObject
* obj1
= 0 ;
29819 PyObject
* obj2
= 0 ;
29820 char *kwnames
[] = {
29821 (char *) "self",(char *) "pos",(char *) "item", NULL
29824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29827 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29828 if (PyErr_Occurred()) SWIG_fail
;
29829 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
29830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29833 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
29835 wxPyEndAllowThreads(__tstate
);
29836 if (PyErr_Occurred()) SWIG_fail
;
29839 resultobj
= wxPyMake_wxObject(result
, 0);
29847 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29848 PyObject
*resultobj
;
29849 wxMenu
*arg1
= (wxMenu
*) 0 ;
29852 wxString
*arg4
= 0 ;
29853 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29854 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29855 int arg6
= (int) wxITEM_NORMAL
;
29856 wxMenuItem
*result
;
29857 bool temp4
= false ;
29858 bool temp5
= false ;
29859 PyObject
* obj0
= 0 ;
29860 PyObject
* obj1
= 0 ;
29861 PyObject
* obj2
= 0 ;
29862 PyObject
* obj3
= 0 ;
29863 PyObject
* obj4
= 0 ;
29864 PyObject
* obj5
= 0 ;
29865 char *kwnames
[] = {
29866 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29872 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29873 if (PyErr_Occurred()) SWIG_fail
;
29874 arg3
= (int)SWIG_As_int(obj2
);
29875 if (PyErr_Occurred()) SWIG_fail
;
29877 arg4
= wxString_in_helper(obj3
);
29878 if (arg4
== NULL
) SWIG_fail
;
29883 arg5
= wxString_in_helper(obj4
);
29884 if (arg5
== NULL
) SWIG_fail
;
29889 arg6
= (int)SWIG_As_int(obj5
);
29890 if (PyErr_Occurred()) SWIG_fail
;
29893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29894 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
29896 wxPyEndAllowThreads(__tstate
);
29897 if (PyErr_Occurred()) SWIG_fail
;
29900 resultobj
= wxPyMake_wxObject(result
, 0);
29924 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29925 PyObject
*resultobj
;
29926 wxMenu
*arg1
= (wxMenu
*) 0 ;
29928 wxMenuItem
*result
;
29929 PyObject
* obj0
= 0 ;
29930 PyObject
* obj1
= 0 ;
29931 char *kwnames
[] = {
29932 (char *) "self",(char *) "pos", NULL
29935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
29936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29938 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29939 if (PyErr_Occurred()) SWIG_fail
;
29941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29942 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
29944 wxPyEndAllowThreads(__tstate
);
29945 if (PyErr_Occurred()) SWIG_fail
;
29948 resultobj
= wxPyMake_wxObject(result
, 0);
29956 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29957 PyObject
*resultobj
;
29958 wxMenu
*arg1
= (wxMenu
*) 0 ;
29961 wxString
*arg4
= 0 ;
29962 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29963 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29964 wxMenuItem
*result
;
29965 bool temp4
= false ;
29966 bool temp5
= false ;
29967 PyObject
* obj0
= 0 ;
29968 PyObject
* obj1
= 0 ;
29969 PyObject
* obj2
= 0 ;
29970 PyObject
* obj3
= 0 ;
29971 PyObject
* obj4
= 0 ;
29972 char *kwnames
[] = {
29973 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29979 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
29980 if (PyErr_Occurred()) SWIG_fail
;
29981 arg3
= (int)SWIG_As_int(obj2
);
29982 if (PyErr_Occurred()) SWIG_fail
;
29984 arg4
= wxString_in_helper(obj3
);
29985 if (arg4
== NULL
) SWIG_fail
;
29990 arg5
= wxString_in_helper(obj4
);
29991 if (arg5
== NULL
) SWIG_fail
;
29996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29997 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29999 wxPyEndAllowThreads(__tstate
);
30000 if (PyErr_Occurred()) SWIG_fail
;
30003 resultobj
= wxPyMake_wxObject(result
, 0);
30027 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30028 PyObject
*resultobj
;
30029 wxMenu
*arg1
= (wxMenu
*) 0 ;
30032 wxString
*arg4
= 0 ;
30033 wxString
const &arg5_defvalue
= wxPyEmptyString
;
30034 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
30035 wxMenuItem
*result
;
30036 bool temp4
= false ;
30037 bool temp5
= false ;
30038 PyObject
* obj0
= 0 ;
30039 PyObject
* obj1
= 0 ;
30040 PyObject
* obj2
= 0 ;
30041 PyObject
* obj3
= 0 ;
30042 PyObject
* obj4
= 0 ;
30043 char *kwnames
[] = {
30044 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
30047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30050 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30051 if (PyErr_Occurred()) SWIG_fail
;
30052 arg3
= (int)SWIG_As_int(obj2
);
30053 if (PyErr_Occurred()) SWIG_fail
;
30055 arg4
= wxString_in_helper(obj3
);
30056 if (arg4
== NULL
) SWIG_fail
;
30061 arg5
= wxString_in_helper(obj4
);
30062 if (arg5
== NULL
) SWIG_fail
;
30067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30068 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
30070 wxPyEndAllowThreads(__tstate
);
30071 if (PyErr_Occurred()) SWIG_fail
;
30074 resultobj
= wxPyMake_wxObject(result
, 0);
30098 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30099 PyObject
*resultobj
;
30100 wxMenu
*arg1
= (wxMenu
*) 0 ;
30103 wxString
*arg4
= 0 ;
30104 wxMenu
*arg5
= (wxMenu
*) 0 ;
30105 wxString
const &arg6_defvalue
= wxPyEmptyString
;
30106 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
30107 wxMenuItem
*result
;
30108 bool temp4
= false ;
30109 bool temp6
= false ;
30110 PyObject
* obj0
= 0 ;
30111 PyObject
* obj1
= 0 ;
30112 PyObject
* obj2
= 0 ;
30113 PyObject
* obj3
= 0 ;
30114 PyObject
* obj4
= 0 ;
30115 PyObject
* obj5
= 0 ;
30116 char *kwnames
[] = {
30117 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
30120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30123 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30124 if (PyErr_Occurred()) SWIG_fail
;
30125 arg3
= (int)SWIG_As_int(obj2
);
30126 if (PyErr_Occurred()) SWIG_fail
;
30128 arg4
= wxString_in_helper(obj3
);
30129 if (arg4
== NULL
) SWIG_fail
;
30132 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
30133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30136 arg6
= wxString_in_helper(obj5
);
30137 if (arg6
== NULL
) SWIG_fail
;
30142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30143 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
30145 wxPyEndAllowThreads(__tstate
);
30146 if (PyErr_Occurred()) SWIG_fail
;
30149 resultobj
= wxPyMake_wxObject(result
, 0);
30173 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30174 PyObject
*resultobj
;
30175 wxMenu
*arg1
= (wxMenu
*) 0 ;
30176 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30177 wxMenuItem
*result
;
30178 PyObject
* obj0
= 0 ;
30179 PyObject
* obj1
= 0 ;
30180 char *kwnames
[] = {
30181 (char *) "self",(char *) "item", NULL
30184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30187 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30191 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
30193 wxPyEndAllowThreads(__tstate
);
30194 if (PyErr_Occurred()) SWIG_fail
;
30197 resultobj
= wxPyMake_wxObject(result
, 0);
30205 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30206 PyObject
*resultobj
;
30207 wxMenu
*arg1
= (wxMenu
*) 0 ;
30209 wxString
*arg3
= 0 ;
30210 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30211 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30212 int arg5
= (int) wxITEM_NORMAL
;
30213 wxMenuItem
*result
;
30214 bool temp3
= false ;
30215 bool temp4
= false ;
30216 PyObject
* obj0
= 0 ;
30217 PyObject
* obj1
= 0 ;
30218 PyObject
* obj2
= 0 ;
30219 PyObject
* obj3
= 0 ;
30220 PyObject
* obj4
= 0 ;
30221 char *kwnames
[] = {
30222 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
30225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30228 arg2
= (int)SWIG_As_int(obj1
);
30229 if (PyErr_Occurred()) SWIG_fail
;
30231 arg3
= wxString_in_helper(obj2
);
30232 if (arg3
== NULL
) SWIG_fail
;
30237 arg4
= wxString_in_helper(obj3
);
30238 if (arg4
== NULL
) SWIG_fail
;
30243 arg5
= (int)SWIG_As_int(obj4
);
30244 if (PyErr_Occurred()) SWIG_fail
;
30247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30248 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
30250 wxPyEndAllowThreads(__tstate
);
30251 if (PyErr_Occurred()) SWIG_fail
;
30254 resultobj
= wxPyMake_wxObject(result
, 0);
30278 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30279 PyObject
*resultobj
;
30280 wxMenu
*arg1
= (wxMenu
*) 0 ;
30281 wxMenuItem
*result
;
30282 PyObject
* obj0
= 0 ;
30283 char *kwnames
[] = {
30284 (char *) "self", NULL
30287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
30288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30292 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
30294 wxPyEndAllowThreads(__tstate
);
30295 if (PyErr_Occurred()) SWIG_fail
;
30298 resultobj
= wxPyMake_wxObject(result
, 0);
30306 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30307 PyObject
*resultobj
;
30308 wxMenu
*arg1
= (wxMenu
*) 0 ;
30310 wxString
*arg3
= 0 ;
30311 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30312 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30313 wxMenuItem
*result
;
30314 bool temp3
= false ;
30315 bool temp4
= false ;
30316 PyObject
* obj0
= 0 ;
30317 PyObject
* obj1
= 0 ;
30318 PyObject
* obj2
= 0 ;
30319 PyObject
* obj3
= 0 ;
30320 char *kwnames
[] = {
30321 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
30324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30327 arg2
= (int)SWIG_As_int(obj1
);
30328 if (PyErr_Occurred()) SWIG_fail
;
30330 arg3
= wxString_in_helper(obj2
);
30331 if (arg3
== NULL
) SWIG_fail
;
30336 arg4
= wxString_in_helper(obj3
);
30337 if (arg4
== NULL
) SWIG_fail
;
30342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30343 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
30345 wxPyEndAllowThreads(__tstate
);
30346 if (PyErr_Occurred()) SWIG_fail
;
30349 resultobj
= wxPyMake_wxObject(result
, 0);
30373 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30374 PyObject
*resultobj
;
30375 wxMenu
*arg1
= (wxMenu
*) 0 ;
30377 wxString
*arg3
= 0 ;
30378 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30379 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30380 wxMenuItem
*result
;
30381 bool temp3
= false ;
30382 bool temp4
= false ;
30383 PyObject
* obj0
= 0 ;
30384 PyObject
* obj1
= 0 ;
30385 PyObject
* obj2
= 0 ;
30386 PyObject
* obj3
= 0 ;
30387 char *kwnames
[] = {
30388 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
30391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30394 arg2
= (int)SWIG_As_int(obj1
);
30395 if (PyErr_Occurred()) SWIG_fail
;
30397 arg3
= wxString_in_helper(obj2
);
30398 if (arg3
== NULL
) SWIG_fail
;
30403 arg4
= wxString_in_helper(obj3
);
30404 if (arg4
== NULL
) SWIG_fail
;
30409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30410 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
30412 wxPyEndAllowThreads(__tstate
);
30413 if (PyErr_Occurred()) SWIG_fail
;
30416 resultobj
= wxPyMake_wxObject(result
, 0);
30440 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30441 PyObject
*resultobj
;
30442 wxMenu
*arg1
= (wxMenu
*) 0 ;
30444 wxString
*arg3
= 0 ;
30445 wxMenu
*arg4
= (wxMenu
*) 0 ;
30446 wxString
const &arg5_defvalue
= wxPyEmptyString
;
30447 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
30448 wxMenuItem
*result
;
30449 bool temp3
= false ;
30450 bool temp5
= false ;
30451 PyObject
* obj0
= 0 ;
30452 PyObject
* obj1
= 0 ;
30453 PyObject
* obj2
= 0 ;
30454 PyObject
* obj3
= 0 ;
30455 PyObject
* obj4
= 0 ;
30456 char *kwnames
[] = {
30457 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
30460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30463 arg2
= (int)SWIG_As_int(obj1
);
30464 if (PyErr_Occurred()) SWIG_fail
;
30466 arg3
= wxString_in_helper(obj2
);
30467 if (arg3
== NULL
) SWIG_fail
;
30470 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
30471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30474 arg5
= wxString_in_helper(obj4
);
30475 if (arg5
== NULL
) SWIG_fail
;
30480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30481 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
30483 wxPyEndAllowThreads(__tstate
);
30484 if (PyErr_Occurred()) SWIG_fail
;
30487 resultobj
= wxPyMake_wxObject(result
, 0);
30511 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30512 PyObject
*resultobj
;
30513 wxMenu
*arg1
= (wxMenu
*) 0 ;
30515 wxMenuItem
*result
;
30516 PyObject
* obj0
= 0 ;
30517 PyObject
* obj1
= 0 ;
30518 char *kwnames
[] = {
30519 (char *) "self",(char *) "id", NULL
30522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
30523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30525 arg2
= (int)SWIG_As_int(obj1
);
30526 if (PyErr_Occurred()) SWIG_fail
;
30528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30529 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
30531 wxPyEndAllowThreads(__tstate
);
30532 if (PyErr_Occurred()) SWIG_fail
;
30535 resultobj
= wxPyMake_wxObject(result
, 0);
30543 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30544 PyObject
*resultobj
;
30545 wxMenu
*arg1
= (wxMenu
*) 0 ;
30546 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30547 wxMenuItem
*result
;
30548 PyObject
* obj0
= 0 ;
30549 PyObject
* obj1
= 0 ;
30550 char *kwnames
[] = {
30551 (char *) "self",(char *) "item", NULL
30554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30557 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30561 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
30563 wxPyEndAllowThreads(__tstate
);
30564 if (PyErr_Occurred()) SWIG_fail
;
30567 resultobj
= wxPyMake_wxObject(result
, 0);
30575 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30576 PyObject
*resultobj
;
30577 wxMenu
*arg1
= (wxMenu
*) 0 ;
30580 PyObject
* obj0
= 0 ;
30581 PyObject
* obj1
= 0 ;
30582 char *kwnames
[] = {
30583 (char *) "self",(char *) "id", NULL
30586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30589 arg2
= (int)SWIG_As_int(obj1
);
30590 if (PyErr_Occurred()) SWIG_fail
;
30592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30593 result
= (bool)(arg1
)->Delete(arg2
);
30595 wxPyEndAllowThreads(__tstate
);
30596 if (PyErr_Occurred()) SWIG_fail
;
30599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30607 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30608 PyObject
*resultobj
;
30609 wxMenu
*arg1
= (wxMenu
*) 0 ;
30610 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30612 PyObject
* obj0
= 0 ;
30613 PyObject
* obj1
= 0 ;
30614 char *kwnames
[] = {
30615 (char *) "self",(char *) "item", NULL
30618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30621 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30625 result
= (bool)(arg1
)->Delete(arg2
);
30627 wxPyEndAllowThreads(__tstate
);
30628 if (PyErr_Occurred()) SWIG_fail
;
30631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30639 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30640 PyObject
*resultobj
;
30641 wxMenu
*arg1
= (wxMenu
*) 0 ;
30642 PyObject
* obj0
= 0 ;
30643 char *kwnames
[] = {
30644 (char *) "self", NULL
30647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
30648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30652 wxMenu_Destroy(arg1
);
30654 wxPyEndAllowThreads(__tstate
);
30655 if (PyErr_Occurred()) SWIG_fail
;
30657 Py_INCREF(Py_None
); resultobj
= Py_None
;
30664 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30665 PyObject
*resultobj
;
30666 wxMenu
*arg1
= (wxMenu
*) 0 ;
30669 PyObject
* obj0
= 0 ;
30670 PyObject
* obj1
= 0 ;
30671 char *kwnames
[] = {
30672 (char *) "self",(char *) "id", NULL
30675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
30676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30678 arg2
= (int)SWIG_As_int(obj1
);
30679 if (PyErr_Occurred()) SWIG_fail
;
30681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30682 result
= (bool)(arg1
)->Destroy(arg2
);
30684 wxPyEndAllowThreads(__tstate
);
30685 if (PyErr_Occurred()) SWIG_fail
;
30688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30696 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30697 PyObject
*resultobj
;
30698 wxMenu
*arg1
= (wxMenu
*) 0 ;
30699 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30701 PyObject
* obj0
= 0 ;
30702 PyObject
* obj1
= 0 ;
30703 char *kwnames
[] = {
30704 (char *) "self",(char *) "item", NULL
30707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30710 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30714 result
= (bool)(arg1
)->Destroy(arg2
);
30716 wxPyEndAllowThreads(__tstate
);
30717 if (PyErr_Occurred()) SWIG_fail
;
30720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30728 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30729 PyObject
*resultobj
;
30730 wxMenu
*arg1
= (wxMenu
*) 0 ;
30732 PyObject
* obj0
= 0 ;
30733 char *kwnames
[] = {
30734 (char *) "self", NULL
30737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
30738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30742 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
30744 wxPyEndAllowThreads(__tstate
);
30745 if (PyErr_Occurred()) SWIG_fail
;
30747 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
30754 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30755 PyObject
*resultobj
;
30756 wxMenu
*arg1
= (wxMenu
*) 0 ;
30758 PyObject
* obj0
= 0 ;
30759 char *kwnames
[] = {
30760 (char *) "self", NULL
30763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
30764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30768 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
30770 wxPyEndAllowThreads(__tstate
);
30771 if (PyErr_Occurred()) SWIG_fail
;
30773 resultobj
= result
;
30780 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30781 PyObject
*resultobj
;
30782 wxMenu
*arg1
= (wxMenu
*) 0 ;
30783 wxString
*arg2
= 0 ;
30785 bool temp2
= false ;
30786 PyObject
* obj0
= 0 ;
30787 PyObject
* obj1
= 0 ;
30788 char *kwnames
[] = {
30789 (char *) "self",(char *) "item", NULL
30792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30796 arg2
= wxString_in_helper(obj1
);
30797 if (arg2
== NULL
) SWIG_fail
;
30801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30802 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
30804 wxPyEndAllowThreads(__tstate
);
30805 if (PyErr_Occurred()) SWIG_fail
;
30807 resultobj
= SWIG_From_int((int)result
);
30822 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30823 PyObject
*resultobj
;
30824 wxMenu
*arg1
= (wxMenu
*) 0 ;
30826 wxMenuItem
*result
;
30827 PyObject
* obj0
= 0 ;
30828 PyObject
* obj1
= 0 ;
30829 char *kwnames
[] = {
30830 (char *) "self",(char *) "id", NULL
30833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
30834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30836 arg2
= (int)SWIG_As_int(obj1
);
30837 if (PyErr_Occurred()) SWIG_fail
;
30839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30840 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
30842 wxPyEndAllowThreads(__tstate
);
30843 if (PyErr_Occurred()) SWIG_fail
;
30846 resultobj
= wxPyMake_wxObject(result
, 0);
30854 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30855 PyObject
*resultobj
;
30856 wxMenu
*arg1
= (wxMenu
*) 0 ;
30858 wxMenuItem
*result
;
30859 PyObject
* obj0
= 0 ;
30860 PyObject
* obj1
= 0 ;
30861 char *kwnames
[] = {
30862 (char *) "self",(char *) "position", NULL
30865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
30866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30868 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
30869 if (PyErr_Occurred()) SWIG_fail
;
30871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30872 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
30874 wxPyEndAllowThreads(__tstate
);
30875 if (PyErr_Occurred()) SWIG_fail
;
30878 resultobj
= wxPyMake_wxObject(result
, 0);
30886 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30887 PyObject
*resultobj
;
30888 wxMenu
*arg1
= (wxMenu
*) 0 ;
30891 PyObject
* obj0
= 0 ;
30892 PyObject
* obj1
= 0 ;
30893 PyObject
* obj2
= 0 ;
30894 char *kwnames
[] = {
30895 (char *) "self",(char *) "id",(char *) "enable", NULL
30898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30901 arg2
= (int)SWIG_As_int(obj1
);
30902 if (PyErr_Occurred()) SWIG_fail
;
30903 arg3
= (bool)SWIG_As_bool(obj2
);
30904 if (PyErr_Occurred()) SWIG_fail
;
30906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30907 (arg1
)->Enable(arg2
,arg3
);
30909 wxPyEndAllowThreads(__tstate
);
30910 if (PyErr_Occurred()) SWIG_fail
;
30912 Py_INCREF(Py_None
); resultobj
= Py_None
;
30919 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30920 PyObject
*resultobj
;
30921 wxMenu
*arg1
= (wxMenu
*) 0 ;
30924 PyObject
* obj0
= 0 ;
30925 PyObject
* obj1
= 0 ;
30926 char *kwnames
[] = {
30927 (char *) "self",(char *) "id", NULL
30930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
30931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30933 arg2
= (int)SWIG_As_int(obj1
);
30934 if (PyErr_Occurred()) SWIG_fail
;
30936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30937 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
30939 wxPyEndAllowThreads(__tstate
);
30940 if (PyErr_Occurred()) SWIG_fail
;
30943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30951 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30952 PyObject
*resultobj
;
30953 wxMenu
*arg1
= (wxMenu
*) 0 ;
30956 PyObject
* obj0
= 0 ;
30957 PyObject
* obj1
= 0 ;
30958 PyObject
* obj2
= 0 ;
30959 char *kwnames
[] = {
30960 (char *) "self",(char *) "id",(char *) "check", NULL
30963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30966 arg2
= (int)SWIG_As_int(obj1
);
30967 if (PyErr_Occurred()) SWIG_fail
;
30968 arg3
= (bool)SWIG_As_bool(obj2
);
30969 if (PyErr_Occurred()) SWIG_fail
;
30971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30972 (arg1
)->Check(arg2
,arg3
);
30974 wxPyEndAllowThreads(__tstate
);
30975 if (PyErr_Occurred()) SWIG_fail
;
30977 Py_INCREF(Py_None
); resultobj
= Py_None
;
30984 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30985 PyObject
*resultobj
;
30986 wxMenu
*arg1
= (wxMenu
*) 0 ;
30989 PyObject
* obj0
= 0 ;
30990 PyObject
* obj1
= 0 ;
30991 char *kwnames
[] = {
30992 (char *) "self",(char *) "id", NULL
30995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
30996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30998 arg2
= (int)SWIG_As_int(obj1
);
30999 if (PyErr_Occurred()) SWIG_fail
;
31001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31002 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
31004 wxPyEndAllowThreads(__tstate
);
31005 if (PyErr_Occurred()) SWIG_fail
;
31008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31016 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31017 PyObject
*resultobj
;
31018 wxMenu
*arg1
= (wxMenu
*) 0 ;
31020 wxString
*arg3
= 0 ;
31021 bool temp3
= false ;
31022 PyObject
* obj0
= 0 ;
31023 PyObject
* obj1
= 0 ;
31024 PyObject
* obj2
= 0 ;
31025 char *kwnames
[] = {
31026 (char *) "self",(char *) "id",(char *) "label", NULL
31029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31032 arg2
= (int)SWIG_As_int(obj1
);
31033 if (PyErr_Occurred()) SWIG_fail
;
31035 arg3
= wxString_in_helper(obj2
);
31036 if (arg3
== NULL
) SWIG_fail
;
31040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31041 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
31043 wxPyEndAllowThreads(__tstate
);
31044 if (PyErr_Occurred()) SWIG_fail
;
31046 Py_INCREF(Py_None
); resultobj
= Py_None
;
31061 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31062 PyObject
*resultobj
;
31063 wxMenu
*arg1
= (wxMenu
*) 0 ;
31066 PyObject
* obj0
= 0 ;
31067 PyObject
* obj1
= 0 ;
31068 char *kwnames
[] = {
31069 (char *) "self",(char *) "id", NULL
31072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31075 arg2
= (int)SWIG_As_int(obj1
);
31076 if (PyErr_Occurred()) SWIG_fail
;
31078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31079 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
31081 wxPyEndAllowThreads(__tstate
);
31082 if (PyErr_Occurred()) SWIG_fail
;
31086 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31088 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31097 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31098 PyObject
*resultobj
;
31099 wxMenu
*arg1
= (wxMenu
*) 0 ;
31101 wxString
*arg3
= 0 ;
31102 bool temp3
= false ;
31103 PyObject
* obj0
= 0 ;
31104 PyObject
* obj1
= 0 ;
31105 PyObject
* obj2
= 0 ;
31106 char *kwnames
[] = {
31107 (char *) "self",(char *) "id",(char *) "helpString", NULL
31110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31113 arg2
= (int)SWIG_As_int(obj1
);
31114 if (PyErr_Occurred()) SWIG_fail
;
31116 arg3
= wxString_in_helper(obj2
);
31117 if (arg3
== NULL
) SWIG_fail
;
31121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31122 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
31124 wxPyEndAllowThreads(__tstate
);
31125 if (PyErr_Occurred()) SWIG_fail
;
31127 Py_INCREF(Py_None
); resultobj
= Py_None
;
31142 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31143 PyObject
*resultobj
;
31144 wxMenu
*arg1
= (wxMenu
*) 0 ;
31147 PyObject
* obj0
= 0 ;
31148 PyObject
* obj1
= 0 ;
31149 char *kwnames
[] = {
31150 (char *) "self",(char *) "id", NULL
31153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
31154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31156 arg2
= (int)SWIG_As_int(obj1
);
31157 if (PyErr_Occurred()) SWIG_fail
;
31159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31160 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
31162 wxPyEndAllowThreads(__tstate
);
31163 if (PyErr_Occurred()) SWIG_fail
;
31167 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31169 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31178 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31179 PyObject
*resultobj
;
31180 wxMenu
*arg1
= (wxMenu
*) 0 ;
31181 wxString
*arg2
= 0 ;
31182 bool temp2
= false ;
31183 PyObject
* obj0
= 0 ;
31184 PyObject
* obj1
= 0 ;
31185 char *kwnames
[] = {
31186 (char *) "self",(char *) "title", NULL
31189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
31190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31193 arg2
= wxString_in_helper(obj1
);
31194 if (arg2
== NULL
) SWIG_fail
;
31198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31199 (arg1
)->SetTitle((wxString
const &)*arg2
);
31201 wxPyEndAllowThreads(__tstate
);
31202 if (PyErr_Occurred()) SWIG_fail
;
31204 Py_INCREF(Py_None
); resultobj
= Py_None
;
31219 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31220 PyObject
*resultobj
;
31221 wxMenu
*arg1
= (wxMenu
*) 0 ;
31223 PyObject
* obj0
= 0 ;
31224 char *kwnames
[] = {
31225 (char *) "self", NULL
31228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
31229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31233 result
= ((wxMenu
const *)arg1
)->GetTitle();
31235 wxPyEndAllowThreads(__tstate
);
31236 if (PyErr_Occurred()) SWIG_fail
;
31240 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31242 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31251 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31252 PyObject
*resultobj
;
31253 wxMenu
*arg1
= (wxMenu
*) 0 ;
31254 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
31255 PyObject
* obj0
= 0 ;
31256 PyObject
* obj1
= 0 ;
31257 char *kwnames
[] = {
31258 (char *) "self",(char *) "handler", NULL
31261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
31262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31264 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
31265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31268 (arg1
)->SetEventHandler(arg2
);
31270 wxPyEndAllowThreads(__tstate
);
31271 if (PyErr_Occurred()) SWIG_fail
;
31273 Py_INCREF(Py_None
); resultobj
= Py_None
;
31280 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31281 PyObject
*resultobj
;
31282 wxMenu
*arg1
= (wxMenu
*) 0 ;
31283 wxEvtHandler
*result
;
31284 PyObject
* obj0
= 0 ;
31285 char *kwnames
[] = {
31286 (char *) "self", NULL
31289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
31290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31294 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
31296 wxPyEndAllowThreads(__tstate
);
31297 if (PyErr_Occurred()) SWIG_fail
;
31300 resultobj
= wxPyMake_wxObject(result
, 0);
31308 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31309 PyObject
*resultobj
;
31310 wxMenu
*arg1
= (wxMenu
*) 0 ;
31311 wxWindow
*arg2
= (wxWindow
*) 0 ;
31312 PyObject
* obj0
= 0 ;
31313 PyObject
* obj1
= 0 ;
31314 char *kwnames
[] = {
31315 (char *) "self",(char *) "win", NULL
31318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
31319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31321 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
31322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31325 (arg1
)->SetInvokingWindow(arg2
);
31327 wxPyEndAllowThreads(__tstate
);
31328 if (PyErr_Occurred()) SWIG_fail
;
31330 Py_INCREF(Py_None
); resultobj
= Py_None
;
31337 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31338 PyObject
*resultobj
;
31339 wxMenu
*arg1
= (wxMenu
*) 0 ;
31341 PyObject
* obj0
= 0 ;
31342 char *kwnames
[] = {
31343 (char *) "self", NULL
31346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
31347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31351 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
31353 wxPyEndAllowThreads(__tstate
);
31354 if (PyErr_Occurred()) SWIG_fail
;
31357 resultobj
= wxPyMake_wxObject(result
, 0);
31365 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31366 PyObject
*resultobj
;
31367 wxMenu
*arg1
= (wxMenu
*) 0 ;
31369 PyObject
* obj0
= 0 ;
31370 char *kwnames
[] = {
31371 (char *) "self", NULL
31374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
31375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31379 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
31381 wxPyEndAllowThreads(__tstate
);
31382 if (PyErr_Occurred()) SWIG_fail
;
31384 resultobj
= SWIG_From_long((long)result
);
31391 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31392 PyObject
*resultobj
;
31393 wxMenu
*arg1
= (wxMenu
*) 0 ;
31394 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
31395 PyObject
* obj0
= 0 ;
31396 PyObject
* obj1
= 0 ;
31397 char *kwnames
[] = {
31398 (char *) "self",(char *) "source", NULL
31401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
31402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31405 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
31406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31410 (arg1
)->UpdateUI(arg2
);
31412 wxPyEndAllowThreads(__tstate
);
31413 if (PyErr_Occurred()) SWIG_fail
;
31415 Py_INCREF(Py_None
); resultobj
= Py_None
;
31422 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31423 PyObject
*resultobj
;
31424 wxMenu
*arg1
= (wxMenu
*) 0 ;
31426 PyObject
* obj0
= 0 ;
31427 char *kwnames
[] = {
31428 (char *) "self", NULL
31431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
31432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31436 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
31438 wxPyEndAllowThreads(__tstate
);
31439 if (PyErr_Occurred()) SWIG_fail
;
31442 resultobj
= wxPyMake_wxObject(result
, 0);
31450 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31451 PyObject
*resultobj
;
31452 wxMenu
*arg1
= (wxMenu
*) 0 ;
31453 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
31454 PyObject
* obj0
= 0 ;
31455 PyObject
* obj1
= 0 ;
31456 char *kwnames
[] = {
31457 (char *) "self",(char *) "menubar", NULL
31460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
31461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31463 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
31464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31467 (arg1
)->Attach(arg2
);
31469 wxPyEndAllowThreads(__tstate
);
31470 if (PyErr_Occurred()) SWIG_fail
;
31472 Py_INCREF(Py_None
); resultobj
= Py_None
;
31479 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31480 PyObject
*resultobj
;
31481 wxMenu
*arg1
= (wxMenu
*) 0 ;
31482 PyObject
* obj0
= 0 ;
31483 char *kwnames
[] = {
31484 (char *) "self", NULL
31487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
31488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31494 wxPyEndAllowThreads(__tstate
);
31495 if (PyErr_Occurred()) SWIG_fail
;
31497 Py_INCREF(Py_None
); resultobj
= Py_None
;
31504 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31505 PyObject
*resultobj
;
31506 wxMenu
*arg1
= (wxMenu
*) 0 ;
31508 PyObject
* obj0
= 0 ;
31509 char *kwnames
[] = {
31510 (char *) "self", NULL
31513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
31514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31518 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
31520 wxPyEndAllowThreads(__tstate
);
31521 if (PyErr_Occurred()) SWIG_fail
;
31524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31532 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31533 PyObject
*resultobj
;
31534 wxMenu
*arg1
= (wxMenu
*) 0 ;
31535 wxMenu
*arg2
= (wxMenu
*) 0 ;
31536 PyObject
* obj0
= 0 ;
31537 PyObject
* obj1
= 0 ;
31538 char *kwnames
[] = {
31539 (char *) "self",(char *) "parent", NULL
31542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
31543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31545 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31549 (arg1
)->SetParent(arg2
);
31551 wxPyEndAllowThreads(__tstate
);
31552 if (PyErr_Occurred()) SWIG_fail
;
31554 Py_INCREF(Py_None
); resultobj
= Py_None
;
31561 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31562 PyObject
*resultobj
;
31563 wxMenu
*arg1
= (wxMenu
*) 0 ;
31565 PyObject
* obj0
= 0 ;
31566 char *kwnames
[] = {
31567 (char *) "self", NULL
31570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
31571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31575 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
31577 wxPyEndAllowThreads(__tstate
);
31578 if (PyErr_Occurred()) SWIG_fail
;
31581 resultobj
= wxPyMake_wxObject(result
, 0);
31589 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
31591 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31592 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
31594 return Py_BuildValue((char *)"");
31596 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31597 PyObject
*resultobj
;
31598 long arg1
= (long) 0 ;
31600 PyObject
* obj0
= 0 ;
31601 char *kwnames
[] = {
31602 (char *) "style", NULL
31605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
31607 arg1
= (long)SWIG_As_long(obj0
);
31608 if (PyErr_Occurred()) SWIG_fail
;
31611 if (!wxPyCheckForApp()) SWIG_fail
;
31612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31613 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
31615 wxPyEndAllowThreads(__tstate
);
31616 if (PyErr_Occurred()) SWIG_fail
;
31618 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
31625 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31626 PyObject
*resultobj
;
31627 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31628 wxMenu
*arg2
= (wxMenu
*) 0 ;
31629 wxString
*arg3
= 0 ;
31631 bool temp3
= false ;
31632 PyObject
* obj0
= 0 ;
31633 PyObject
* obj1
= 0 ;
31634 PyObject
* obj2
= 0 ;
31635 char *kwnames
[] = {
31636 (char *) "self",(char *) "menu",(char *) "title", NULL
31639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31642 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31645 arg3
= wxString_in_helper(obj2
);
31646 if (arg3
== NULL
) SWIG_fail
;
31650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31651 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
31653 wxPyEndAllowThreads(__tstate
);
31654 if (PyErr_Occurred()) SWIG_fail
;
31657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31673 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31674 PyObject
*resultobj
;
31675 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31677 wxMenu
*arg3
= (wxMenu
*) 0 ;
31678 wxString
*arg4
= 0 ;
31680 bool temp4
= false ;
31681 PyObject
* obj0
= 0 ;
31682 PyObject
* obj1
= 0 ;
31683 PyObject
* obj2
= 0 ;
31684 PyObject
* obj3
= 0 ;
31685 char *kwnames
[] = {
31686 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31692 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31693 if (PyErr_Occurred()) SWIG_fail
;
31694 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31697 arg4
= wxString_in_helper(obj3
);
31698 if (arg4
== NULL
) SWIG_fail
;
31702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31703 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
31705 wxPyEndAllowThreads(__tstate
);
31706 if (PyErr_Occurred()) SWIG_fail
;
31709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31725 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31726 PyObject
*resultobj
;
31727 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31729 PyObject
* obj0
= 0 ;
31730 char *kwnames
[] = {
31731 (char *) "self", NULL
31734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
31735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31739 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
31741 wxPyEndAllowThreads(__tstate
);
31742 if (PyErr_Occurred()) SWIG_fail
;
31744 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
31751 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31752 PyObject
*resultobj
;
31753 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31756 PyObject
* obj0
= 0 ;
31757 PyObject
* obj1
= 0 ;
31758 char *kwnames
[] = {
31759 (char *) "self",(char *) "pos", NULL
31762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31765 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31766 if (PyErr_Occurred()) SWIG_fail
;
31768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31769 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
31771 wxPyEndAllowThreads(__tstate
);
31772 if (PyErr_Occurred()) SWIG_fail
;
31775 resultobj
= wxPyMake_wxObject(result
, 0);
31783 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31784 PyObject
*resultobj
;
31785 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31787 wxMenu
*arg3
= (wxMenu
*) 0 ;
31788 wxString
*arg4
= 0 ;
31790 bool temp4
= false ;
31791 PyObject
* obj0
= 0 ;
31792 PyObject
* obj1
= 0 ;
31793 PyObject
* obj2
= 0 ;
31794 PyObject
* obj3
= 0 ;
31795 char *kwnames
[] = {
31796 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31802 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31803 if (PyErr_Occurred()) SWIG_fail
;
31804 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31807 arg4
= wxString_in_helper(obj3
);
31808 if (arg4
== NULL
) SWIG_fail
;
31812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31813 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
31815 wxPyEndAllowThreads(__tstate
);
31816 if (PyErr_Occurred()) SWIG_fail
;
31819 resultobj
= wxPyMake_wxObject(result
, 0);
31835 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31836 PyObject
*resultobj
;
31837 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31840 PyObject
* obj0
= 0 ;
31841 PyObject
* obj1
= 0 ;
31842 char *kwnames
[] = {
31843 (char *) "self",(char *) "pos", NULL
31846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
31847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31849 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31850 if (PyErr_Occurred()) SWIG_fail
;
31852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31853 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
31855 wxPyEndAllowThreads(__tstate
);
31856 if (PyErr_Occurred()) SWIG_fail
;
31859 resultobj
= wxPyMake_wxObject(result
, 0);
31867 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31868 PyObject
*resultobj
;
31869 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31872 PyObject
* obj0
= 0 ;
31873 PyObject
* obj1
= 0 ;
31874 PyObject
* obj2
= 0 ;
31875 char *kwnames
[] = {
31876 (char *) "self",(char *) "pos",(char *) "enable", NULL
31879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31882 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31883 if (PyErr_Occurred()) SWIG_fail
;
31884 arg3
= (bool)SWIG_As_bool(obj2
);
31885 if (PyErr_Occurred()) SWIG_fail
;
31887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31888 (arg1
)->EnableTop(arg2
,arg3
);
31890 wxPyEndAllowThreads(__tstate
);
31891 if (PyErr_Occurred()) SWIG_fail
;
31893 Py_INCREF(Py_None
); resultobj
= Py_None
;
31900 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31901 PyObject
*resultobj
;
31902 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31905 PyObject
* obj0
= 0 ;
31906 PyObject
* obj1
= 0 ;
31907 char *kwnames
[] = {
31908 (char *) "self",(char *) "pos", NULL
31911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31914 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31915 if (PyErr_Occurred()) SWIG_fail
;
31917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31918 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
31920 wxPyEndAllowThreads(__tstate
);
31921 if (PyErr_Occurred()) SWIG_fail
;
31924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31932 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31933 PyObject
*resultobj
;
31934 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31936 wxString
*arg3
= 0 ;
31937 bool temp3
= false ;
31938 PyObject
* obj0
= 0 ;
31939 PyObject
* obj1
= 0 ;
31940 PyObject
* obj2
= 0 ;
31941 char *kwnames
[] = {
31942 (char *) "self",(char *) "pos",(char *) "label", NULL
31945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31948 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31949 if (PyErr_Occurred()) SWIG_fail
;
31951 arg3
= wxString_in_helper(obj2
);
31952 if (arg3
== NULL
) SWIG_fail
;
31956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31957 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
31959 wxPyEndAllowThreads(__tstate
);
31960 if (PyErr_Occurred()) SWIG_fail
;
31962 Py_INCREF(Py_None
); resultobj
= Py_None
;
31977 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31978 PyObject
*resultobj
;
31979 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31982 PyObject
* obj0
= 0 ;
31983 PyObject
* obj1
= 0 ;
31984 char *kwnames
[] = {
31985 (char *) "self",(char *) "pos", NULL
31988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31991 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
31992 if (PyErr_Occurred()) SWIG_fail
;
31994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31995 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
31997 wxPyEndAllowThreads(__tstate
);
31998 if (PyErr_Occurred()) SWIG_fail
;
32002 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32004 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32013 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32014 PyObject
*resultobj
;
32015 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32016 wxString
*arg2
= 0 ;
32017 wxString
*arg3
= 0 ;
32019 bool temp2
= false ;
32020 bool temp3
= false ;
32021 PyObject
* obj0
= 0 ;
32022 PyObject
* obj1
= 0 ;
32023 PyObject
* obj2
= 0 ;
32024 char *kwnames
[] = {
32025 (char *) "self",(char *) "menu",(char *) "item", NULL
32028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32032 arg2
= wxString_in_helper(obj1
);
32033 if (arg2
== NULL
) SWIG_fail
;
32037 arg3
= wxString_in_helper(obj2
);
32038 if (arg3
== NULL
) SWIG_fail
;
32042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32043 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
32045 wxPyEndAllowThreads(__tstate
);
32046 if (PyErr_Occurred()) SWIG_fail
;
32048 resultobj
= SWIG_From_int((int)result
);
32071 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32072 PyObject
*resultobj
;
32073 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32075 wxMenuItem
*result
;
32076 PyObject
* obj0
= 0 ;
32077 PyObject
* obj1
= 0 ;
32078 char *kwnames
[] = {
32079 (char *) "self",(char *) "id", NULL
32082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
32083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32085 arg2
= (int)SWIG_As_int(obj1
);
32086 if (PyErr_Occurred()) SWIG_fail
;
32088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32089 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
32091 wxPyEndAllowThreads(__tstate
);
32092 if (PyErr_Occurred()) SWIG_fail
;
32095 resultobj
= wxPyMake_wxObject(result
, 0);
32103 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32104 PyObject
*resultobj
;
32105 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32106 wxString
*arg2
= 0 ;
32108 bool temp2
= false ;
32109 PyObject
* obj0
= 0 ;
32110 PyObject
* obj1
= 0 ;
32111 char *kwnames
[] = {
32112 (char *) "self",(char *) "title", NULL
32115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32119 arg2
= wxString_in_helper(obj1
);
32120 if (arg2
== NULL
) SWIG_fail
;
32124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32125 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
32127 wxPyEndAllowThreads(__tstate
);
32128 if (PyErr_Occurred()) SWIG_fail
;
32130 resultobj
= SWIG_From_int((int)result
);
32145 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32146 PyObject
*resultobj
;
32147 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32150 PyObject
* obj0
= 0 ;
32151 PyObject
* obj1
= 0 ;
32152 PyObject
* obj2
= 0 ;
32153 char *kwnames
[] = {
32154 (char *) "self",(char *) "id",(char *) "enable", NULL
32157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32160 arg2
= (int)SWIG_As_int(obj1
);
32161 if (PyErr_Occurred()) SWIG_fail
;
32162 arg3
= (bool)SWIG_As_bool(obj2
);
32163 if (PyErr_Occurred()) SWIG_fail
;
32165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32166 (arg1
)->Enable(arg2
,arg3
);
32168 wxPyEndAllowThreads(__tstate
);
32169 if (PyErr_Occurred()) SWIG_fail
;
32171 Py_INCREF(Py_None
); resultobj
= Py_None
;
32178 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32179 PyObject
*resultobj
;
32180 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32183 PyObject
* obj0
= 0 ;
32184 PyObject
* obj1
= 0 ;
32185 PyObject
* obj2
= 0 ;
32186 char *kwnames
[] = {
32187 (char *) "self",(char *) "id",(char *) "check", NULL
32190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32193 arg2
= (int)SWIG_As_int(obj1
);
32194 if (PyErr_Occurred()) SWIG_fail
;
32195 arg3
= (bool)SWIG_As_bool(obj2
);
32196 if (PyErr_Occurred()) SWIG_fail
;
32198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32199 (arg1
)->Check(arg2
,arg3
);
32201 wxPyEndAllowThreads(__tstate
);
32202 if (PyErr_Occurred()) SWIG_fail
;
32204 Py_INCREF(Py_None
); resultobj
= Py_None
;
32211 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32212 PyObject
*resultobj
;
32213 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32216 PyObject
* obj0
= 0 ;
32217 PyObject
* obj1
= 0 ;
32218 char *kwnames
[] = {
32219 (char *) "self",(char *) "id", NULL
32222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
32223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32225 arg2
= (int)SWIG_As_int(obj1
);
32226 if (PyErr_Occurred()) SWIG_fail
;
32228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32229 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
32231 wxPyEndAllowThreads(__tstate
);
32232 if (PyErr_Occurred()) SWIG_fail
;
32235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32243 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32244 PyObject
*resultobj
;
32245 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32248 PyObject
* obj0
= 0 ;
32249 PyObject
* obj1
= 0 ;
32250 char *kwnames
[] = {
32251 (char *) "self",(char *) "id", NULL
32254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
32255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32257 arg2
= (int)SWIG_As_int(obj1
);
32258 if (PyErr_Occurred()) SWIG_fail
;
32260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32261 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
32263 wxPyEndAllowThreads(__tstate
);
32264 if (PyErr_Occurred()) SWIG_fail
;
32267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32275 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32276 PyObject
*resultobj
;
32277 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32279 wxString
*arg3
= 0 ;
32280 bool temp3
= false ;
32281 PyObject
* obj0
= 0 ;
32282 PyObject
* obj1
= 0 ;
32283 PyObject
* obj2
= 0 ;
32284 char *kwnames
[] = {
32285 (char *) "self",(char *) "id",(char *) "label", NULL
32288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32291 arg2
= (int)SWIG_As_int(obj1
);
32292 if (PyErr_Occurred()) SWIG_fail
;
32294 arg3
= wxString_in_helper(obj2
);
32295 if (arg3
== NULL
) SWIG_fail
;
32299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32300 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
32302 wxPyEndAllowThreads(__tstate
);
32303 if (PyErr_Occurred()) SWIG_fail
;
32305 Py_INCREF(Py_None
); resultobj
= Py_None
;
32320 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32321 PyObject
*resultobj
;
32322 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32325 PyObject
* obj0
= 0 ;
32326 PyObject
* obj1
= 0 ;
32327 char *kwnames
[] = {
32328 (char *) "self",(char *) "id", NULL
32331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32334 arg2
= (int)SWIG_As_int(obj1
);
32335 if (PyErr_Occurred()) SWIG_fail
;
32337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32338 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
32340 wxPyEndAllowThreads(__tstate
);
32341 if (PyErr_Occurred()) SWIG_fail
;
32345 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32347 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32356 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32357 PyObject
*resultobj
;
32358 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32360 wxString
*arg3
= 0 ;
32361 bool temp3
= false ;
32362 PyObject
* obj0
= 0 ;
32363 PyObject
* obj1
= 0 ;
32364 PyObject
* obj2
= 0 ;
32365 char *kwnames
[] = {
32366 (char *) "self",(char *) "id",(char *) "helpString", NULL
32369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32372 arg2
= (int)SWIG_As_int(obj1
);
32373 if (PyErr_Occurred()) SWIG_fail
;
32375 arg3
= wxString_in_helper(obj2
);
32376 if (arg3
== NULL
) SWIG_fail
;
32380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32381 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
32383 wxPyEndAllowThreads(__tstate
);
32384 if (PyErr_Occurred()) SWIG_fail
;
32386 Py_INCREF(Py_None
); resultobj
= Py_None
;
32401 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32402 PyObject
*resultobj
;
32403 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32406 PyObject
* obj0
= 0 ;
32407 PyObject
* obj1
= 0 ;
32408 char *kwnames
[] = {
32409 (char *) "self",(char *) "id", NULL
32412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
32413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32415 arg2
= (int)SWIG_As_int(obj1
);
32416 if (PyErr_Occurred()) SWIG_fail
;
32418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32419 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
32421 wxPyEndAllowThreads(__tstate
);
32422 if (PyErr_Occurred()) SWIG_fail
;
32426 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32428 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32437 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32438 PyObject
*resultobj
;
32439 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32441 PyObject
* obj0
= 0 ;
32442 char *kwnames
[] = {
32443 (char *) "self", NULL
32446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
32447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32451 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
32453 wxPyEndAllowThreads(__tstate
);
32454 if (PyErr_Occurred()) SWIG_fail
;
32457 resultobj
= wxPyMake_wxObject(result
, 0);
32465 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32466 PyObject
*resultobj
;
32467 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32469 PyObject
* obj0
= 0 ;
32470 char *kwnames
[] = {
32471 (char *) "self", NULL
32474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
32475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32479 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
32481 wxPyEndAllowThreads(__tstate
);
32482 if (PyErr_Occurred()) SWIG_fail
;
32485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32493 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32494 PyObject
*resultobj
;
32495 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32496 wxFrame
*arg2
= (wxFrame
*) 0 ;
32497 PyObject
* obj0
= 0 ;
32498 PyObject
* obj1
= 0 ;
32499 char *kwnames
[] = {
32500 (char *) "self",(char *) "frame", NULL
32503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
32504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32506 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
32507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32510 (arg1
)->Attach(arg2
);
32512 wxPyEndAllowThreads(__tstate
);
32513 if (PyErr_Occurred()) SWIG_fail
;
32515 Py_INCREF(Py_None
); resultobj
= Py_None
;
32522 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32523 PyObject
*resultobj
;
32524 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
32525 PyObject
* obj0
= 0 ;
32526 char *kwnames
[] = {
32527 (char *) "self", NULL
32530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
32531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
32532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32537 wxPyEndAllowThreads(__tstate
);
32538 if (PyErr_Occurred()) SWIG_fail
;
32540 Py_INCREF(Py_None
); resultobj
= Py_None
;
32547 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
32549 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32550 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
32552 return Py_BuildValue((char *)"");
32554 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32555 PyObject
*resultobj
;
32556 wxMenu
*arg1
= (wxMenu
*) NULL
;
32557 int arg2
= (int) wxID_ANY
;
32558 wxString
const &arg3_defvalue
= wxPyEmptyString
;
32559 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
32560 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32561 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32562 int arg5
= (int) wxITEM_NORMAL
;
32563 wxMenu
*arg6
= (wxMenu
*) NULL
;
32564 wxMenuItem
*result
;
32565 bool temp3
= false ;
32566 bool temp4
= false ;
32567 PyObject
* obj0
= 0 ;
32568 PyObject
* obj1
= 0 ;
32569 PyObject
* obj2
= 0 ;
32570 PyObject
* obj3
= 0 ;
32571 PyObject
* obj4
= 0 ;
32572 PyObject
* obj5
= 0 ;
32573 char *kwnames
[] = {
32574 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
32577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
32580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32583 arg2
= (int)SWIG_As_int(obj1
);
32584 if (PyErr_Occurred()) SWIG_fail
;
32588 arg3
= wxString_in_helper(obj2
);
32589 if (arg3
== NULL
) SWIG_fail
;
32595 arg4
= wxString_in_helper(obj3
);
32596 if (arg4
== NULL
) SWIG_fail
;
32601 arg5
= (int)SWIG_As_int(obj4
);
32602 if (PyErr_Occurred()) SWIG_fail
;
32605 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
32606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32610 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
32612 wxPyEndAllowThreads(__tstate
);
32613 if (PyErr_Occurred()) SWIG_fail
;
32616 resultobj
= wxPyMake_wxObject(result
, 1);
32640 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32641 PyObject
*resultobj
;
32642 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32644 PyObject
* obj0
= 0 ;
32645 char *kwnames
[] = {
32646 (char *) "self", NULL
32649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
32650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32654 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
32656 wxPyEndAllowThreads(__tstate
);
32657 if (PyErr_Occurred()) SWIG_fail
;
32660 resultobj
= wxPyMake_wxObject(result
, 0);
32668 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32669 PyObject
*resultobj
;
32670 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32671 wxMenu
*arg2
= (wxMenu
*) 0 ;
32672 PyObject
* obj0
= 0 ;
32673 PyObject
* obj1
= 0 ;
32674 char *kwnames
[] = {
32675 (char *) "self",(char *) "menu", NULL
32678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32681 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32685 (arg1
)->SetMenu(arg2
);
32687 wxPyEndAllowThreads(__tstate
);
32688 if (PyErr_Occurred()) SWIG_fail
;
32690 Py_INCREF(Py_None
); resultobj
= Py_None
;
32697 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32698 PyObject
*resultobj
;
32699 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32701 PyObject
* obj0
= 0 ;
32702 PyObject
* obj1
= 0 ;
32703 char *kwnames
[] = {
32704 (char *) "self",(char *) "id", NULL
32707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
32708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32710 arg2
= (int)SWIG_As_int(obj1
);
32711 if (PyErr_Occurred()) SWIG_fail
;
32713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32714 (arg1
)->SetId(arg2
);
32716 wxPyEndAllowThreads(__tstate
);
32717 if (PyErr_Occurred()) SWIG_fail
;
32719 Py_INCREF(Py_None
); resultobj
= Py_None
;
32726 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32727 PyObject
*resultobj
;
32728 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32730 PyObject
* obj0
= 0 ;
32731 char *kwnames
[] = {
32732 (char *) "self", NULL
32735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
32736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32740 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
32742 wxPyEndAllowThreads(__tstate
);
32743 if (PyErr_Occurred()) SWIG_fail
;
32745 resultobj
= SWIG_From_int((int)result
);
32752 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32753 PyObject
*resultobj
;
32754 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32756 PyObject
* obj0
= 0 ;
32757 char *kwnames
[] = {
32758 (char *) "self", NULL
32761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
32762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32766 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
32768 wxPyEndAllowThreads(__tstate
);
32769 if (PyErr_Occurred()) SWIG_fail
;
32772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32780 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32781 PyObject
*resultobj
;
32782 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32783 wxString
*arg2
= 0 ;
32784 bool temp2
= false ;
32785 PyObject
* obj0
= 0 ;
32786 PyObject
* obj1
= 0 ;
32787 char *kwnames
[] = {
32788 (char *) "self",(char *) "str", NULL
32791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
32792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32795 arg2
= wxString_in_helper(obj1
);
32796 if (arg2
== NULL
) SWIG_fail
;
32800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32801 (arg1
)->SetText((wxString
const &)*arg2
);
32803 wxPyEndAllowThreads(__tstate
);
32804 if (PyErr_Occurred()) SWIG_fail
;
32806 Py_INCREF(Py_None
); resultobj
= Py_None
;
32821 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32822 PyObject
*resultobj
;
32823 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32825 PyObject
* obj0
= 0 ;
32826 char *kwnames
[] = {
32827 (char *) "self", NULL
32830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
32831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32835 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
32837 wxPyEndAllowThreads(__tstate
);
32838 if (PyErr_Occurred()) SWIG_fail
;
32842 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32844 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32853 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32854 PyObject
*resultobj
;
32855 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32857 PyObject
* obj0
= 0 ;
32858 char *kwnames
[] = {
32859 (char *) "self", NULL
32862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
32863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32868 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
32869 result
= (wxString
*) &_result_ref
;
32872 wxPyEndAllowThreads(__tstate
);
32873 if (PyErr_Occurred()) SWIG_fail
;
32877 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32879 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32888 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32889 PyObject
*resultobj
;
32890 wxString
*arg1
= 0 ;
32892 bool temp1
= false ;
32893 PyObject
* obj0
= 0 ;
32894 char *kwnames
[] = {
32895 (char *) "text", NULL
32898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
32900 arg1
= wxString_in_helper(obj0
);
32901 if (arg1
== NULL
) SWIG_fail
;
32905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32906 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
32908 wxPyEndAllowThreads(__tstate
);
32909 if (PyErr_Occurred()) SWIG_fail
;
32913 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32915 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32932 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32933 PyObject
*resultobj
;
32934 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32936 PyObject
* obj0
= 0 ;
32937 char *kwnames
[] = {
32938 (char *) "self", NULL
32941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
32942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32946 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
32948 wxPyEndAllowThreads(__tstate
);
32949 if (PyErr_Occurred()) SWIG_fail
;
32951 resultobj
= SWIG_From_int((int)result
);
32958 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32959 PyObject
*resultobj
;
32960 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32962 PyObject
* obj0
= 0 ;
32963 PyObject
* obj1
= 0 ;
32964 char *kwnames
[] = {
32965 (char *) "self",(char *) "kind", NULL
32968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
32969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32971 arg2
= (int)SWIG_As_int(obj1
);
32972 if (PyErr_Occurred()) SWIG_fail
;
32974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32975 (arg1
)->SetKind((wxItemKind
)arg2
);
32977 wxPyEndAllowThreads(__tstate
);
32978 if (PyErr_Occurred()) SWIG_fail
;
32980 Py_INCREF(Py_None
); resultobj
= Py_None
;
32987 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32988 PyObject
*resultobj
;
32989 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32991 PyObject
* obj0
= 0 ;
32992 PyObject
* obj1
= 0 ;
32993 char *kwnames
[] = {
32994 (char *) "self",(char *) "checkable", NULL
32997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
32998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33000 arg2
= (bool)SWIG_As_bool(obj1
);
33001 if (PyErr_Occurred()) SWIG_fail
;
33003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33004 (arg1
)->SetCheckable(arg2
);
33006 wxPyEndAllowThreads(__tstate
);
33007 if (PyErr_Occurred()) SWIG_fail
;
33009 Py_INCREF(Py_None
); resultobj
= Py_None
;
33016 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33017 PyObject
*resultobj
;
33018 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33020 PyObject
* obj0
= 0 ;
33021 char *kwnames
[] = {
33022 (char *) "self", NULL
33025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
33026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33030 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
33032 wxPyEndAllowThreads(__tstate
);
33033 if (PyErr_Occurred()) SWIG_fail
;
33036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33044 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33045 PyObject
*resultobj
;
33046 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33048 PyObject
* obj0
= 0 ;
33049 char *kwnames
[] = {
33050 (char *) "self", NULL
33053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
33054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33058 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
33060 wxPyEndAllowThreads(__tstate
);
33061 if (PyErr_Occurred()) SWIG_fail
;
33064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33072 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33073 PyObject
*resultobj
;
33074 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33075 wxMenu
*arg2
= (wxMenu
*) 0 ;
33076 PyObject
* obj0
= 0 ;
33077 PyObject
* obj1
= 0 ;
33078 char *kwnames
[] = {
33079 (char *) "self",(char *) "menu", NULL
33082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
33083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33085 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
33086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33089 (arg1
)->SetSubMenu(arg2
);
33091 wxPyEndAllowThreads(__tstate
);
33092 if (PyErr_Occurred()) SWIG_fail
;
33094 Py_INCREF(Py_None
); resultobj
= Py_None
;
33101 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33102 PyObject
*resultobj
;
33103 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33105 PyObject
* obj0
= 0 ;
33106 char *kwnames
[] = {
33107 (char *) "self", NULL
33110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
33111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33115 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
33117 wxPyEndAllowThreads(__tstate
);
33118 if (PyErr_Occurred()) SWIG_fail
;
33121 resultobj
= wxPyMake_wxObject(result
, 0);
33129 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33130 PyObject
*resultobj
;
33131 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33132 bool arg2
= (bool) true ;
33133 PyObject
* obj0
= 0 ;
33134 PyObject
* obj1
= 0 ;
33135 char *kwnames
[] = {
33136 (char *) "self",(char *) "enable", NULL
33139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
33140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33143 arg2
= (bool)SWIG_As_bool(obj1
);
33144 if (PyErr_Occurred()) SWIG_fail
;
33147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33148 (arg1
)->Enable(arg2
);
33150 wxPyEndAllowThreads(__tstate
);
33151 if (PyErr_Occurred()) SWIG_fail
;
33153 Py_INCREF(Py_None
); resultobj
= Py_None
;
33160 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33161 PyObject
*resultobj
;
33162 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33164 PyObject
* obj0
= 0 ;
33165 char *kwnames
[] = {
33166 (char *) "self", NULL
33169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
33170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33174 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
33176 wxPyEndAllowThreads(__tstate
);
33177 if (PyErr_Occurred()) SWIG_fail
;
33180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33188 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33189 PyObject
*resultobj
;
33190 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33191 bool arg2
= (bool) true ;
33192 PyObject
* obj0
= 0 ;
33193 PyObject
* obj1
= 0 ;
33194 char *kwnames
[] = {
33195 (char *) "self",(char *) "check", NULL
33198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
33199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33202 arg2
= (bool)SWIG_As_bool(obj1
);
33203 if (PyErr_Occurred()) SWIG_fail
;
33206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33207 (arg1
)->Check(arg2
);
33209 wxPyEndAllowThreads(__tstate
);
33210 if (PyErr_Occurred()) SWIG_fail
;
33212 Py_INCREF(Py_None
); resultobj
= Py_None
;
33219 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33220 PyObject
*resultobj
;
33221 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33223 PyObject
* obj0
= 0 ;
33224 char *kwnames
[] = {
33225 (char *) "self", NULL
33228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
33229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33233 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
33235 wxPyEndAllowThreads(__tstate
);
33236 if (PyErr_Occurred()) SWIG_fail
;
33239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33247 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33248 PyObject
*resultobj
;
33249 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33250 PyObject
* obj0
= 0 ;
33251 char *kwnames
[] = {
33252 (char *) "self", NULL
33255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
33256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33262 wxPyEndAllowThreads(__tstate
);
33263 if (PyErr_Occurred()) SWIG_fail
;
33265 Py_INCREF(Py_None
); resultobj
= Py_None
;
33272 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33273 PyObject
*resultobj
;
33274 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33275 wxString
*arg2
= 0 ;
33276 bool temp2
= false ;
33277 PyObject
* obj0
= 0 ;
33278 PyObject
* obj1
= 0 ;
33279 char *kwnames
[] = {
33280 (char *) "self",(char *) "str", NULL
33283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
33284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33287 arg2
= wxString_in_helper(obj1
);
33288 if (arg2
== NULL
) SWIG_fail
;
33292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33293 (arg1
)->SetHelp((wxString
const &)*arg2
);
33295 wxPyEndAllowThreads(__tstate
);
33296 if (PyErr_Occurred()) SWIG_fail
;
33298 Py_INCREF(Py_None
); resultobj
= Py_None
;
33313 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33314 PyObject
*resultobj
;
33315 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33317 PyObject
* obj0
= 0 ;
33318 char *kwnames
[] = {
33319 (char *) "self", NULL
33322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
33323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33328 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
33329 result
= (wxString
*) &_result_ref
;
33332 wxPyEndAllowThreads(__tstate
);
33333 if (PyErr_Occurred()) SWIG_fail
;
33337 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33339 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33348 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33349 PyObject
*resultobj
;
33350 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33351 wxAcceleratorEntry
*result
;
33352 PyObject
* obj0
= 0 ;
33353 char *kwnames
[] = {
33354 (char *) "self", NULL
33357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
33358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33362 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
33364 wxPyEndAllowThreads(__tstate
);
33365 if (PyErr_Occurred()) SWIG_fail
;
33367 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
33374 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33375 PyObject
*resultobj
;
33376 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33377 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
33378 PyObject
* obj0
= 0 ;
33379 PyObject
* obj1
= 0 ;
33380 char *kwnames
[] = {
33381 (char *) "self",(char *) "accel", NULL
33384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
33385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33387 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
33388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33391 (arg1
)->SetAccel(arg2
);
33393 wxPyEndAllowThreads(__tstate
);
33394 if (PyErr_Occurred()) SWIG_fail
;
33396 Py_INCREF(Py_None
); resultobj
= Py_None
;
33403 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33404 PyObject
*resultobj
;
33406 char *kwnames
[] = {
33410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
33412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33413 result
= (int)MenuItem_GetDefaultMarginWidth();
33415 wxPyEndAllowThreads(__tstate
);
33416 if (PyErr_Occurred()) SWIG_fail
;
33418 resultobj
= SWIG_From_int((int)result
);
33425 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33426 PyObject
*resultobj
;
33427 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33428 wxBitmap
*arg2
= 0 ;
33429 PyObject
* obj0
= 0 ;
33430 PyObject
* obj1
= 0 ;
33431 char *kwnames
[] = {
33432 (char *) "self",(char *) "bitmap", NULL
33435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
33436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33438 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33439 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33441 if (arg2
== NULL
) {
33442 PyErr_SetString(PyExc_TypeError
,"null reference");
33446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33447 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
33449 wxPyEndAllowThreads(__tstate
);
33450 if (PyErr_Occurred()) SWIG_fail
;
33452 Py_INCREF(Py_None
); resultobj
= Py_None
;
33459 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33460 PyObject
*resultobj
;
33461 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33463 PyObject
* obj0
= 0 ;
33464 char *kwnames
[] = {
33465 (char *) "self", NULL
33468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
33469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33474 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
33475 result
= (wxBitmap
*) &_result_ref
;
33478 wxPyEndAllowThreads(__tstate
);
33479 if (PyErr_Occurred()) SWIG_fail
;
33482 wxBitmap
* resultptr
= new wxBitmap(*result
);
33483 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
33491 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
33493 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33494 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
33496 return Py_BuildValue((char *)"");
33498 static int _wrap_ControlNameStr_set(PyObject
*) {
33499 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
33504 static PyObject
*_wrap_ControlNameStr_get() {
33509 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33511 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33518 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33519 PyObject
*resultobj
;
33520 wxWindow
*arg1
= (wxWindow
*) 0 ;
33521 int arg2
= (int) -1 ;
33522 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33523 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33524 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33525 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33526 long arg5
= (long) 0 ;
33527 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33528 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33529 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
33530 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33534 bool temp7
= false ;
33535 PyObject
* obj0
= 0 ;
33536 PyObject
* obj1
= 0 ;
33537 PyObject
* obj2
= 0 ;
33538 PyObject
* obj3
= 0 ;
33539 PyObject
* obj4
= 0 ;
33540 PyObject
* obj5
= 0 ;
33541 PyObject
* obj6
= 0 ;
33542 char *kwnames
[] = {
33543 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
33547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
33548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33550 arg2
= (int)SWIG_As_int(obj1
);
33551 if (PyErr_Occurred()) SWIG_fail
;
33556 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33562 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33566 arg5
= (long)SWIG_As_long(obj4
);
33567 if (PyErr_Occurred()) SWIG_fail
;
33570 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
33571 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33573 if (arg6
== NULL
) {
33574 PyErr_SetString(PyExc_TypeError
,"null reference");
33580 arg7
= wxString_in_helper(obj6
);
33581 if (arg7
== NULL
) SWIG_fail
;
33586 if (!wxPyCheckForApp()) SWIG_fail
;
33587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33588 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33590 wxPyEndAllowThreads(__tstate
);
33591 if (PyErr_Occurred()) SWIG_fail
;
33593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
33608 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33609 PyObject
*resultobj
;
33611 char *kwnames
[] = {
33615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
33617 if (!wxPyCheckForApp()) SWIG_fail
;
33618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33619 result
= (wxControl
*)new wxControl();
33621 wxPyEndAllowThreads(__tstate
);
33622 if (PyErr_Occurred()) SWIG_fail
;
33624 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
33631 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33632 PyObject
*resultobj
;
33633 wxControl
*arg1
= (wxControl
*) 0 ;
33634 wxWindow
*arg2
= (wxWindow
*) 0 ;
33635 int arg3
= (int) -1 ;
33636 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33637 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33638 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33639 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33640 long arg6
= (long) 0 ;
33641 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33642 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33643 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
33644 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33648 bool temp8
= false ;
33649 PyObject
* obj0
= 0 ;
33650 PyObject
* obj1
= 0 ;
33651 PyObject
* obj2
= 0 ;
33652 PyObject
* obj3
= 0 ;
33653 PyObject
* obj4
= 0 ;
33654 PyObject
* obj5
= 0 ;
33655 PyObject
* obj6
= 0 ;
33656 PyObject
* obj7
= 0 ;
33657 char *kwnames
[] = {
33658 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
33662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33664 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
33665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33667 arg3
= (int)SWIG_As_int(obj2
);
33668 if (PyErr_Occurred()) SWIG_fail
;
33673 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33679 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33683 arg6
= (long)SWIG_As_long(obj5
);
33684 if (PyErr_Occurred()) SWIG_fail
;
33687 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
33688 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33690 if (arg7
== NULL
) {
33691 PyErr_SetString(PyExc_TypeError
,"null reference");
33697 arg8
= wxString_in_helper(obj7
);
33698 if (arg8
== NULL
) SWIG_fail
;
33703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33704 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33706 wxPyEndAllowThreads(__tstate
);
33707 if (PyErr_Occurred()) SWIG_fail
;
33710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33726 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33727 PyObject
*resultobj
;
33728 wxControl
*arg1
= (wxControl
*) 0 ;
33729 wxCommandEvent
*arg2
= 0 ;
33730 PyObject
* obj0
= 0 ;
33731 PyObject
* obj1
= 0 ;
33732 char *kwnames
[] = {
33733 (char *) "self",(char *) "event", NULL
33736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
33737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33739 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
33740 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33742 if (arg2
== NULL
) {
33743 PyErr_SetString(PyExc_TypeError
,"null reference");
33747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33748 (arg1
)->Command(*arg2
);
33750 wxPyEndAllowThreads(__tstate
);
33751 if (PyErr_Occurred()) SWIG_fail
;
33753 Py_INCREF(Py_None
); resultobj
= Py_None
;
33760 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33761 PyObject
*resultobj
;
33762 wxControl
*arg1
= (wxControl
*) 0 ;
33764 PyObject
* obj0
= 0 ;
33765 char *kwnames
[] = {
33766 (char *) "self", NULL
33769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
33770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33774 result
= (arg1
)->GetLabel();
33776 wxPyEndAllowThreads(__tstate
);
33777 if (PyErr_Occurred()) SWIG_fail
;
33781 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33783 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33792 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33793 PyObject
*resultobj
;
33794 wxControl
*arg1
= (wxControl
*) 0 ;
33795 wxString
*arg2
= 0 ;
33796 bool temp2
= false ;
33797 PyObject
* obj0
= 0 ;
33798 PyObject
* obj1
= 0 ;
33799 char *kwnames
[] = {
33800 (char *) "self",(char *) "label", NULL
33803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
33804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33807 arg2
= wxString_in_helper(obj1
);
33808 if (arg2
== NULL
) SWIG_fail
;
33812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33813 (arg1
)->SetLabel((wxString
const &)*arg2
);
33815 wxPyEndAllowThreads(__tstate
);
33816 if (PyErr_Occurred()) SWIG_fail
;
33818 Py_INCREF(Py_None
); resultobj
= Py_None
;
33833 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33834 PyObject
*resultobj
;
33835 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
33836 wxVisualAttributes result
;
33837 PyObject
* obj0
= 0 ;
33838 char *kwnames
[] = {
33839 (char *) "variant", NULL
33842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
33844 arg1
= (int)SWIG_As_int(obj0
);
33845 if (PyErr_Occurred()) SWIG_fail
;
33848 if (!wxPyCheckForApp()) SWIG_fail
;
33849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33850 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
33852 wxPyEndAllowThreads(__tstate
);
33853 if (PyErr_Occurred()) SWIG_fail
;
33856 wxVisualAttributes
* resultptr
;
33857 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
33858 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
33866 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
33868 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33869 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
33871 return Py_BuildValue((char *)"");
33873 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33874 PyObject
*resultobj
;
33875 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33876 wxString
*arg2
= 0 ;
33877 PyObject
*arg3
= (PyObject
*) NULL
;
33879 bool temp2
= false ;
33880 PyObject
* obj0
= 0 ;
33881 PyObject
* obj1
= 0 ;
33882 PyObject
* obj2
= 0 ;
33883 char *kwnames
[] = {
33884 (char *) "self",(char *) "item",(char *) "clientData", NULL
33887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33891 arg2
= wxString_in_helper(obj1
);
33892 if (arg2
== NULL
) SWIG_fail
;
33899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33900 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
33902 wxPyEndAllowThreads(__tstate
);
33903 if (PyErr_Occurred()) SWIG_fail
;
33905 resultobj
= SWIG_From_int((int)result
);
33920 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33921 PyObject
*resultobj
;
33922 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33923 wxArrayString
*arg2
= 0 ;
33924 bool temp2
= false ;
33925 PyObject
* obj0
= 0 ;
33926 PyObject
* obj1
= 0 ;
33927 char *kwnames
[] = {
33928 (char *) "self",(char *) "strings", NULL
33931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
33932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33935 if (! PySequence_Check(obj1
)) {
33936 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
33939 arg2
= new wxArrayString
;
33941 int i
, len
=PySequence_Length(obj1
);
33942 for (i
=0; i
<len
; i
++) {
33943 PyObject
* item
= PySequence_GetItem(obj1
, i
);
33945 PyObject
* str
= PyObject_Unicode(item
);
33947 PyObject
* str
= PyObject_Str(item
);
33949 if (PyErr_Occurred()) SWIG_fail
;
33950 arg2
->Add(Py2wxString(str
));
33956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33957 (arg1
)->Append((wxArrayString
const &)*arg2
);
33959 wxPyEndAllowThreads(__tstate
);
33960 if (PyErr_Occurred()) SWIG_fail
;
33962 Py_INCREF(Py_None
); resultobj
= Py_None
;
33964 if (temp2
) delete arg2
;
33969 if (temp2
) delete arg2
;
33975 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33976 PyObject
*resultobj
;
33977 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33978 wxString
*arg2
= 0 ;
33980 PyObject
*arg4
= (PyObject
*) NULL
;
33982 bool temp2
= false ;
33983 PyObject
* obj0
= 0 ;
33984 PyObject
* obj1
= 0 ;
33985 PyObject
* obj2
= 0 ;
33986 PyObject
* obj3
= 0 ;
33987 char *kwnames
[] = {
33988 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
33991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33995 arg2
= wxString_in_helper(obj1
);
33996 if (arg2
== NULL
) SWIG_fail
;
33999 arg3
= (int)SWIG_As_int(obj2
);
34000 if (PyErr_Occurred()) SWIG_fail
;
34005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34006 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
34008 wxPyEndAllowThreads(__tstate
);
34009 if (PyErr_Occurred()) SWIG_fail
;
34011 resultobj
= SWIG_From_int((int)result
);
34026 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34027 PyObject
*resultobj
;
34028 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34029 PyObject
* obj0
= 0 ;
34030 char *kwnames
[] = {
34031 (char *) "self", NULL
34034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
34035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34041 wxPyEndAllowThreads(__tstate
);
34042 if (PyErr_Occurred()) SWIG_fail
;
34044 Py_INCREF(Py_None
); resultobj
= Py_None
;
34051 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34052 PyObject
*resultobj
;
34053 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34055 PyObject
* obj0
= 0 ;
34056 PyObject
* obj1
= 0 ;
34057 char *kwnames
[] = {
34058 (char *) "self",(char *) "n", NULL
34061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
34062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34064 arg2
= (int)SWIG_As_int(obj1
);
34065 if (PyErr_Occurred()) SWIG_fail
;
34067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34068 (arg1
)->Delete(arg2
);
34070 wxPyEndAllowThreads(__tstate
);
34071 if (PyErr_Occurred()) SWIG_fail
;
34073 Py_INCREF(Py_None
); resultobj
= Py_None
;
34080 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34081 PyObject
*resultobj
;
34082 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34084 PyObject
* obj0
= 0 ;
34085 char *kwnames
[] = {
34086 (char *) "self", NULL
34089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
34090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34094 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
34096 wxPyEndAllowThreads(__tstate
);
34097 if (PyErr_Occurred()) SWIG_fail
;
34099 resultobj
= SWIG_From_int((int)result
);
34106 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34107 PyObject
*resultobj
;
34108 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34110 PyObject
* obj0
= 0 ;
34111 char *kwnames
[] = {
34112 (char *) "self", NULL
34115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
34116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34120 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
34122 wxPyEndAllowThreads(__tstate
);
34123 if (PyErr_Occurred()) SWIG_fail
;
34126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34134 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34135 PyObject
*resultobj
;
34136 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34139 PyObject
* obj0
= 0 ;
34140 PyObject
* obj1
= 0 ;
34141 char *kwnames
[] = {
34142 (char *) "self",(char *) "n", NULL
34145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
34146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34148 arg2
= (int)SWIG_As_int(obj1
);
34149 if (PyErr_Occurred()) SWIG_fail
;
34151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34152 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
34154 wxPyEndAllowThreads(__tstate
);
34155 if (PyErr_Occurred()) SWIG_fail
;
34159 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34161 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34170 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34171 PyObject
*resultobj
;
34172 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34173 wxArrayString result
;
34174 PyObject
* obj0
= 0 ;
34175 char *kwnames
[] = {
34176 (char *) "self", NULL
34179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
34180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34184 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
34186 wxPyEndAllowThreads(__tstate
);
34187 if (PyErr_Occurred()) SWIG_fail
;
34190 resultobj
= wxArrayString2PyList_helper(result
);
34198 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34199 PyObject
*resultobj
;
34200 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34202 wxString
*arg3
= 0 ;
34203 bool temp3
= false ;
34204 PyObject
* obj0
= 0 ;
34205 PyObject
* obj1
= 0 ;
34206 PyObject
* obj2
= 0 ;
34207 char *kwnames
[] = {
34208 (char *) "self",(char *) "n",(char *) "s", NULL
34211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34214 arg2
= (int)SWIG_As_int(obj1
);
34215 if (PyErr_Occurred()) SWIG_fail
;
34217 arg3
= wxString_in_helper(obj2
);
34218 if (arg3
== NULL
) SWIG_fail
;
34222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34223 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
34225 wxPyEndAllowThreads(__tstate
);
34226 if (PyErr_Occurred()) SWIG_fail
;
34228 Py_INCREF(Py_None
); resultobj
= Py_None
;
34243 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34244 PyObject
*resultobj
;
34245 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34246 wxString
*arg2
= 0 ;
34248 bool temp2
= false ;
34249 PyObject
* obj0
= 0 ;
34250 PyObject
* obj1
= 0 ;
34251 char *kwnames
[] = {
34252 (char *) "self",(char *) "s", NULL
34255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
34256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34259 arg2
= wxString_in_helper(obj1
);
34260 if (arg2
== NULL
) SWIG_fail
;
34264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34265 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
34267 wxPyEndAllowThreads(__tstate
);
34268 if (PyErr_Occurred()) SWIG_fail
;
34270 resultobj
= SWIG_From_int((int)result
);
34285 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34286 PyObject
*resultobj
;
34287 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34289 PyObject
* obj0
= 0 ;
34290 PyObject
* obj1
= 0 ;
34291 char *kwnames
[] = {
34292 (char *) "self",(char *) "n", NULL
34295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
34296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34298 arg2
= (int)SWIG_As_int(obj1
);
34299 if (PyErr_Occurred()) SWIG_fail
;
34301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34302 (arg1
)->Select(arg2
);
34304 wxPyEndAllowThreads(__tstate
);
34305 if (PyErr_Occurred()) SWIG_fail
;
34307 Py_INCREF(Py_None
); resultobj
= Py_None
;
34314 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34315 PyObject
*resultobj
;
34316 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34318 PyObject
* obj0
= 0 ;
34319 char *kwnames
[] = {
34320 (char *) "self", NULL
34323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
34324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34328 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
34330 wxPyEndAllowThreads(__tstate
);
34331 if (PyErr_Occurred()) SWIG_fail
;
34333 resultobj
= SWIG_From_int((int)result
);
34340 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34341 PyObject
*resultobj
;
34342 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34344 PyObject
* obj0
= 0 ;
34345 char *kwnames
[] = {
34346 (char *) "self", NULL
34349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
34350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34354 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
34356 wxPyEndAllowThreads(__tstate
);
34357 if (PyErr_Occurred()) SWIG_fail
;
34361 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34363 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34372 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34373 PyObject
*resultobj
;
34374 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34377 PyObject
* obj0
= 0 ;
34378 PyObject
* obj1
= 0 ;
34379 char *kwnames
[] = {
34380 (char *) "self",(char *) "n", NULL
34383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
34384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34386 arg2
= (int)SWIG_As_int(obj1
);
34387 if (PyErr_Occurred()) SWIG_fail
;
34389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34390 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
34392 wxPyEndAllowThreads(__tstate
);
34393 if (PyErr_Occurred()) SWIG_fail
;
34395 resultobj
= result
;
34402 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34403 PyObject
*resultobj
;
34404 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34406 PyObject
*arg3
= (PyObject
*) 0 ;
34407 PyObject
* obj0
= 0 ;
34408 PyObject
* obj1
= 0 ;
34409 PyObject
* obj2
= 0 ;
34410 char *kwnames
[] = {
34411 (char *) "self",(char *) "n",(char *) "clientData", NULL
34414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34417 arg2
= (int)SWIG_As_int(obj1
);
34418 if (PyErr_Occurred()) SWIG_fail
;
34421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34422 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
34424 wxPyEndAllowThreads(__tstate
);
34425 if (PyErr_Occurred()) SWIG_fail
;
34427 Py_INCREF(Py_None
); resultobj
= Py_None
;
34434 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
34436 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34437 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
34439 return Py_BuildValue((char *)"");
34441 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
34443 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34444 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
34446 return Py_BuildValue((char *)"");
34448 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34449 PyObject
*resultobj
;
34450 wxSizerItem
*result
;
34451 char *kwnames
[] = {
34455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
34457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34458 result
= (wxSizerItem
*)new wxSizerItem();
34460 wxPyEndAllowThreads(__tstate
);
34461 if (PyErr_Occurred()) SWIG_fail
;
34463 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34470 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34471 PyObject
*resultobj
;
34472 wxWindow
*arg1
= (wxWindow
*) 0 ;
34476 PyObject
*arg5
= (PyObject
*) NULL
;
34477 wxSizerItem
*result
;
34478 PyObject
* obj0
= 0 ;
34479 PyObject
* obj1
= 0 ;
34480 PyObject
* obj2
= 0 ;
34481 PyObject
* obj3
= 0 ;
34482 PyObject
* obj4
= 0 ;
34483 char *kwnames
[] = {
34484 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
34489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34490 arg2
= (int)SWIG_As_int(obj1
);
34491 if (PyErr_Occurred()) SWIG_fail
;
34492 arg3
= (int)SWIG_As_int(obj2
);
34493 if (PyErr_Occurred()) SWIG_fail
;
34494 arg4
= (int)SWIG_As_int(obj3
);
34495 if (PyErr_Occurred()) SWIG_fail
;
34500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34501 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34503 wxPyEndAllowThreads(__tstate
);
34504 if (PyErr_Occurred()) SWIG_fail
;
34506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34513 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34514 PyObject
*resultobj
;
34520 PyObject
*arg6
= (PyObject
*) NULL
;
34521 wxSizerItem
*result
;
34522 PyObject
* obj0
= 0 ;
34523 PyObject
* obj1
= 0 ;
34524 PyObject
* obj2
= 0 ;
34525 PyObject
* obj3
= 0 ;
34526 PyObject
* obj4
= 0 ;
34527 PyObject
* obj5
= 0 ;
34528 char *kwnames
[] = {
34529 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34533 arg1
= (int)SWIG_As_int(obj0
);
34534 if (PyErr_Occurred()) SWIG_fail
;
34535 arg2
= (int)SWIG_As_int(obj1
);
34536 if (PyErr_Occurred()) SWIG_fail
;
34537 arg3
= (int)SWIG_As_int(obj2
);
34538 if (PyErr_Occurred()) SWIG_fail
;
34539 arg4
= (int)SWIG_As_int(obj3
);
34540 if (PyErr_Occurred()) SWIG_fail
;
34541 arg5
= (int)SWIG_As_int(obj4
);
34542 if (PyErr_Occurred()) SWIG_fail
;
34547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34548 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34550 wxPyEndAllowThreads(__tstate
);
34551 if (PyErr_Occurred()) SWIG_fail
;
34553 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34560 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34561 PyObject
*resultobj
;
34562 wxSizer
*arg1
= (wxSizer
*) 0 ;
34566 PyObject
*arg5
= (PyObject
*) NULL
;
34567 wxSizerItem
*result
;
34568 PyObject
* obj0
= 0 ;
34569 PyObject
* obj1
= 0 ;
34570 PyObject
* obj2
= 0 ;
34571 PyObject
* obj3
= 0 ;
34572 PyObject
* obj4
= 0 ;
34573 char *kwnames
[] = {
34574 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34580 arg2
= (int)SWIG_As_int(obj1
);
34581 if (PyErr_Occurred()) SWIG_fail
;
34582 arg3
= (int)SWIG_As_int(obj2
);
34583 if (PyErr_Occurred()) SWIG_fail
;
34584 arg4
= (int)SWIG_As_int(obj3
);
34585 if (PyErr_Occurred()) SWIG_fail
;
34590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34591 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34593 wxPyEndAllowThreads(__tstate
);
34594 if (PyErr_Occurred()) SWIG_fail
;
34596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34603 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34604 PyObject
*resultobj
;
34605 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34606 PyObject
* obj0
= 0 ;
34607 char *kwnames
[] = {
34608 (char *) "self", NULL
34611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
34612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34616 (arg1
)->DeleteWindows();
34618 wxPyEndAllowThreads(__tstate
);
34619 if (PyErr_Occurred()) SWIG_fail
;
34621 Py_INCREF(Py_None
); resultobj
= Py_None
;
34628 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34629 PyObject
*resultobj
;
34630 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34631 PyObject
* obj0
= 0 ;
34632 char *kwnames
[] = {
34633 (char *) "self", NULL
34636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
34637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34641 (arg1
)->DetachSizer();
34643 wxPyEndAllowThreads(__tstate
);
34644 if (PyErr_Occurred()) SWIG_fail
;
34646 Py_INCREF(Py_None
); resultobj
= Py_None
;
34653 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34654 PyObject
*resultobj
;
34655 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34657 PyObject
* obj0
= 0 ;
34658 char *kwnames
[] = {
34659 (char *) "self", NULL
34662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
34663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34667 result
= (arg1
)->GetSize();
34669 wxPyEndAllowThreads(__tstate
);
34670 if (PyErr_Occurred()) SWIG_fail
;
34673 wxSize
* resultptr
;
34674 resultptr
= new wxSize((wxSize
&) result
);
34675 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34683 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34684 PyObject
*resultobj
;
34685 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34687 PyObject
* obj0
= 0 ;
34688 char *kwnames
[] = {
34689 (char *) "self", NULL
34692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
34693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34697 result
= (arg1
)->CalcMin();
34699 wxPyEndAllowThreads(__tstate
);
34700 if (PyErr_Occurred()) SWIG_fail
;
34703 wxSize
* resultptr
;
34704 resultptr
= new wxSize((wxSize
&) result
);
34705 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34713 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34714 PyObject
*resultobj
;
34715 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34720 PyObject
* obj0
= 0 ;
34721 PyObject
* obj1
= 0 ;
34722 PyObject
* obj2
= 0 ;
34723 char *kwnames
[] = {
34724 (char *) "self",(char *) "pos",(char *) "size", NULL
34727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34730 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
34731 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34733 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
34734 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34738 (arg1
)->SetDimension(arg2
,arg3
);
34740 wxPyEndAllowThreads(__tstate
);
34741 if (PyErr_Occurred()) SWIG_fail
;
34743 Py_INCREF(Py_None
); resultobj
= Py_None
;
34750 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34751 PyObject
*resultobj
;
34752 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34754 PyObject
* obj0
= 0 ;
34755 char *kwnames
[] = {
34756 (char *) "self", NULL
34759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
34760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34764 result
= (arg1
)->GetMinSize();
34766 wxPyEndAllowThreads(__tstate
);
34767 if (PyErr_Occurred()) SWIG_fail
;
34770 wxSize
* resultptr
;
34771 resultptr
= new wxSize((wxSize
&) result
);
34772 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34780 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34781 PyObject
*resultobj
;
34782 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34784 PyObject
* obj0
= 0 ;
34785 char *kwnames
[] = {
34786 (char *) "self", NULL
34789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
34790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34794 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
34796 wxPyEndAllowThreads(__tstate
);
34797 if (PyErr_Occurred()) SWIG_fail
;
34800 wxSize
* resultptr
;
34801 resultptr
= new wxSize((wxSize
&) result
);
34802 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34810 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34811 PyObject
*resultobj
;
34812 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34815 PyObject
* obj0
= 0 ;
34816 PyObject
* obj1
= 0 ;
34817 PyObject
* obj2
= 0 ;
34818 char *kwnames
[] = {
34819 (char *) "self",(char *) "x",(char *) "y", NULL
34822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34825 arg2
= (int)SWIG_As_int(obj1
);
34826 if (PyErr_Occurred()) SWIG_fail
;
34827 arg3
= (int)SWIG_As_int(obj2
);
34828 if (PyErr_Occurred()) SWIG_fail
;
34830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34831 (arg1
)->SetInitSize(arg2
,arg3
);
34833 wxPyEndAllowThreads(__tstate
);
34834 if (PyErr_Occurred()) SWIG_fail
;
34836 Py_INCREF(Py_None
); resultobj
= Py_None
;
34843 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34844 PyObject
*resultobj
;
34845 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34848 PyObject
* obj0
= 0 ;
34849 PyObject
* obj1
= 0 ;
34850 PyObject
* obj2
= 0 ;
34851 char *kwnames
[] = {
34852 (char *) "self",(char *) "width",(char *) "height", NULL
34855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34858 arg2
= (int)SWIG_As_int(obj1
);
34859 if (PyErr_Occurred()) SWIG_fail
;
34860 arg3
= (int)SWIG_As_int(obj2
);
34861 if (PyErr_Occurred()) SWIG_fail
;
34863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34864 (arg1
)->SetRatio(arg2
,arg3
);
34866 wxPyEndAllowThreads(__tstate
);
34867 if (PyErr_Occurred()) SWIG_fail
;
34869 Py_INCREF(Py_None
); resultobj
= Py_None
;
34876 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34877 PyObject
*resultobj
;
34878 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34881 PyObject
* obj0
= 0 ;
34882 PyObject
* obj1
= 0 ;
34883 char *kwnames
[] = {
34884 (char *) "self",(char *) "size", NULL
34887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
34888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34890 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
34891 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34895 (arg1
)->SetRatio(arg2
);
34897 wxPyEndAllowThreads(__tstate
);
34898 if (PyErr_Occurred()) SWIG_fail
;
34900 Py_INCREF(Py_None
); resultobj
= Py_None
;
34907 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34908 PyObject
*resultobj
;
34909 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34911 PyObject
* obj0
= 0 ;
34912 PyObject
* obj1
= 0 ;
34913 char *kwnames
[] = {
34914 (char *) "self",(char *) "ratio", NULL
34917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
34918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34920 arg2
= (float)SWIG_As_float(obj1
);
34921 if (PyErr_Occurred()) SWIG_fail
;
34923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34924 (arg1
)->SetRatio(arg2
);
34926 wxPyEndAllowThreads(__tstate
);
34927 if (PyErr_Occurred()) SWIG_fail
;
34929 Py_INCREF(Py_None
); resultobj
= Py_None
;
34936 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34937 PyObject
*resultobj
;
34938 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34940 PyObject
* obj0
= 0 ;
34941 char *kwnames
[] = {
34942 (char *) "self", NULL
34945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
34946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34950 result
= (float)(arg1
)->GetRatio();
34952 wxPyEndAllowThreads(__tstate
);
34953 if (PyErr_Occurred()) SWIG_fail
;
34955 resultobj
= SWIG_From_float((float)result
);
34962 static PyObject
*_wrap_SizerItem_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34963 PyObject
*resultobj
;
34964 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34966 PyObject
* obj0
= 0 ;
34967 char *kwnames
[] = {
34968 (char *) "self", NULL
34971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRect",kwnames
,&obj0
)) goto fail
;
34972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34976 result
= (arg1
)->GetRect();
34978 wxPyEndAllowThreads(__tstate
);
34979 if (PyErr_Occurred()) SWIG_fail
;
34982 wxRect
* resultptr
;
34983 resultptr
= new wxRect((wxRect
&) result
);
34984 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
34992 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34993 PyObject
*resultobj
;
34994 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34996 PyObject
* obj0
= 0 ;
34997 char *kwnames
[] = {
34998 (char *) "self", NULL
35001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
35002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35006 result
= (bool)(arg1
)->IsWindow();
35008 wxPyEndAllowThreads(__tstate
);
35009 if (PyErr_Occurred()) SWIG_fail
;
35012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35020 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35021 PyObject
*resultobj
;
35022 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35024 PyObject
* obj0
= 0 ;
35025 char *kwnames
[] = {
35026 (char *) "self", NULL
35029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
35030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35034 result
= (bool)(arg1
)->IsSizer();
35036 wxPyEndAllowThreads(__tstate
);
35037 if (PyErr_Occurred()) SWIG_fail
;
35040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35048 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35049 PyObject
*resultobj
;
35050 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35052 PyObject
* obj0
= 0 ;
35053 char *kwnames
[] = {
35054 (char *) "self", NULL
35057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
35058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35062 result
= (bool)(arg1
)->IsSpacer();
35064 wxPyEndAllowThreads(__tstate
);
35065 if (PyErr_Occurred()) SWIG_fail
;
35068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35076 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35077 PyObject
*resultobj
;
35078 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35080 PyObject
* obj0
= 0 ;
35081 PyObject
* obj1
= 0 ;
35082 char *kwnames
[] = {
35083 (char *) "self",(char *) "proportion", NULL
35086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
35087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35089 arg2
= (int)SWIG_As_int(obj1
);
35090 if (PyErr_Occurred()) SWIG_fail
;
35092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35093 (arg1
)->SetProportion(arg2
);
35095 wxPyEndAllowThreads(__tstate
);
35096 if (PyErr_Occurred()) SWIG_fail
;
35098 Py_INCREF(Py_None
); resultobj
= Py_None
;
35105 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35106 PyObject
*resultobj
;
35107 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35109 PyObject
* obj0
= 0 ;
35110 char *kwnames
[] = {
35111 (char *) "self", NULL
35114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
35115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35119 result
= (int)(arg1
)->GetProportion();
35121 wxPyEndAllowThreads(__tstate
);
35122 if (PyErr_Occurred()) SWIG_fail
;
35124 resultobj
= SWIG_From_int((int)result
);
35131 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35132 PyObject
*resultobj
;
35133 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35135 PyObject
* obj0
= 0 ;
35136 PyObject
* obj1
= 0 ;
35137 char *kwnames
[] = {
35138 (char *) "self",(char *) "flag", NULL
35141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
35142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35144 arg2
= (int)SWIG_As_int(obj1
);
35145 if (PyErr_Occurred()) SWIG_fail
;
35147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35148 (arg1
)->SetFlag(arg2
);
35150 wxPyEndAllowThreads(__tstate
);
35151 if (PyErr_Occurred()) SWIG_fail
;
35153 Py_INCREF(Py_None
); resultobj
= Py_None
;
35160 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35161 PyObject
*resultobj
;
35162 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35164 PyObject
* obj0
= 0 ;
35165 char *kwnames
[] = {
35166 (char *) "self", NULL
35169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
35170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35174 result
= (int)(arg1
)->GetFlag();
35176 wxPyEndAllowThreads(__tstate
);
35177 if (PyErr_Occurred()) SWIG_fail
;
35179 resultobj
= SWIG_From_int((int)result
);
35186 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35187 PyObject
*resultobj
;
35188 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35190 PyObject
* obj0
= 0 ;
35191 PyObject
* obj1
= 0 ;
35192 char *kwnames
[] = {
35193 (char *) "self",(char *) "border", NULL
35196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
35197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35199 arg2
= (int)SWIG_As_int(obj1
);
35200 if (PyErr_Occurred()) SWIG_fail
;
35202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35203 (arg1
)->SetBorder(arg2
);
35205 wxPyEndAllowThreads(__tstate
);
35206 if (PyErr_Occurred()) SWIG_fail
;
35208 Py_INCREF(Py_None
); resultobj
= Py_None
;
35215 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35216 PyObject
*resultobj
;
35217 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35219 PyObject
* obj0
= 0 ;
35220 char *kwnames
[] = {
35221 (char *) "self", NULL
35224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
35225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35229 result
= (int)(arg1
)->GetBorder();
35231 wxPyEndAllowThreads(__tstate
);
35232 if (PyErr_Occurred()) SWIG_fail
;
35234 resultobj
= SWIG_From_int((int)result
);
35241 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35242 PyObject
*resultobj
;
35243 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35245 PyObject
* obj0
= 0 ;
35246 char *kwnames
[] = {
35247 (char *) "self", NULL
35250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
35251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35255 result
= (wxWindow
*)(arg1
)->GetWindow();
35257 wxPyEndAllowThreads(__tstate
);
35258 if (PyErr_Occurred()) SWIG_fail
;
35261 resultobj
= wxPyMake_wxObject(result
, 0);
35269 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35270 PyObject
*resultobj
;
35271 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35272 wxWindow
*arg2
= (wxWindow
*) 0 ;
35273 PyObject
* obj0
= 0 ;
35274 PyObject
* obj1
= 0 ;
35275 char *kwnames
[] = {
35276 (char *) "self",(char *) "window", NULL
35279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
35280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35282 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35286 (arg1
)->SetWindow(arg2
);
35288 wxPyEndAllowThreads(__tstate
);
35289 if (PyErr_Occurred()) SWIG_fail
;
35291 Py_INCREF(Py_None
); resultobj
= Py_None
;
35298 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35299 PyObject
*resultobj
;
35300 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35302 PyObject
* obj0
= 0 ;
35303 char *kwnames
[] = {
35304 (char *) "self", NULL
35307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
35308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35312 result
= (wxSizer
*)(arg1
)->GetSizer();
35314 wxPyEndAllowThreads(__tstate
);
35315 if (PyErr_Occurred()) SWIG_fail
;
35318 resultobj
= wxPyMake_wxSizer(result
, 0);
35326 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35327 PyObject
*resultobj
;
35328 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35329 wxSizer
*arg2
= (wxSizer
*) 0 ;
35330 PyObject
* obj0
= 0 ;
35331 PyObject
* obj1
= 0 ;
35332 char *kwnames
[] = {
35333 (char *) "self",(char *) "sizer", NULL
35336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
35337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35339 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
35340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35343 (arg1
)->SetSizer(arg2
);
35345 wxPyEndAllowThreads(__tstate
);
35346 if (PyErr_Occurred()) SWIG_fail
;
35348 Py_INCREF(Py_None
); resultobj
= Py_None
;
35355 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35356 PyObject
*resultobj
;
35357 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35359 PyObject
* obj0
= 0 ;
35360 char *kwnames
[] = {
35361 (char *) "self", NULL
35364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
35365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35370 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
35371 result
= (wxSize
*) &_result_ref
;
35374 wxPyEndAllowThreads(__tstate
);
35375 if (PyErr_Occurred()) SWIG_fail
;
35377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
35384 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35385 PyObject
*resultobj
;
35386 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35389 PyObject
* obj0
= 0 ;
35390 PyObject
* obj1
= 0 ;
35391 char *kwnames
[] = {
35392 (char *) "self",(char *) "size", NULL
35395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
35396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35400 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35404 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
35406 wxPyEndAllowThreads(__tstate
);
35407 if (PyErr_Occurred()) SWIG_fail
;
35409 Py_INCREF(Py_None
); resultobj
= Py_None
;
35416 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35417 PyObject
*resultobj
;
35418 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35420 PyObject
* obj0
= 0 ;
35421 PyObject
* obj1
= 0 ;
35422 char *kwnames
[] = {
35423 (char *) "self",(char *) "show", NULL
35426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
35427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35429 arg2
= (bool)SWIG_As_bool(obj1
);
35430 if (PyErr_Occurred()) SWIG_fail
;
35432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35433 (arg1
)->Show(arg2
);
35435 wxPyEndAllowThreads(__tstate
);
35436 if (PyErr_Occurred()) SWIG_fail
;
35438 Py_INCREF(Py_None
); resultobj
= Py_None
;
35445 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35446 PyObject
*resultobj
;
35447 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35449 PyObject
* obj0
= 0 ;
35450 char *kwnames
[] = {
35451 (char *) "self", NULL
35454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
35455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35459 result
= (bool)(arg1
)->IsShown();
35461 wxPyEndAllowThreads(__tstate
);
35462 if (PyErr_Occurred()) SWIG_fail
;
35465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35473 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35474 PyObject
*resultobj
;
35475 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35477 PyObject
* obj0
= 0 ;
35478 char *kwnames
[] = {
35479 (char *) "self", NULL
35482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
35483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35487 result
= (arg1
)->GetPosition();
35489 wxPyEndAllowThreads(__tstate
);
35490 if (PyErr_Occurred()) SWIG_fail
;
35493 wxPoint
* resultptr
;
35494 resultptr
= new wxPoint((wxPoint
&) result
);
35495 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35503 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35504 PyObject
*resultobj
;
35505 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35507 PyObject
* obj0
= 0 ;
35508 char *kwnames
[] = {
35509 (char *) "self", NULL
35512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
35513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35517 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
35519 wxPyEndAllowThreads(__tstate
);
35520 if (PyErr_Occurred()) SWIG_fail
;
35522 resultobj
= result
;
35529 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
35531 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35532 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
35534 return Py_BuildValue((char *)"");
35536 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35537 PyObject
*resultobj
;
35538 wxSizer
*arg1
= (wxSizer
*) 0 ;
35539 PyObject
*arg2
= (PyObject
*) 0 ;
35540 PyObject
* obj0
= 0 ;
35541 PyObject
* obj1
= 0 ;
35542 char *kwnames
[] = {
35543 (char *) "self",(char *) "_self", NULL
35546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
35547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35552 wxSizer__setOORInfo(arg1
,arg2
);
35554 wxPyEndAllowThreads(__tstate
);
35555 if (PyErr_Occurred()) SWIG_fail
;
35557 Py_INCREF(Py_None
); resultobj
= Py_None
;
35564 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35565 PyObject
*resultobj
;
35566 wxSizer
*arg1
= (wxSizer
*) 0 ;
35567 PyObject
*arg2
= (PyObject
*) 0 ;
35568 int arg3
= (int) 0 ;
35569 int arg4
= (int) 0 ;
35570 int arg5
= (int) 0 ;
35571 PyObject
*arg6
= (PyObject
*) NULL
;
35572 wxSizerItem
*result
;
35573 PyObject
* obj0
= 0 ;
35574 PyObject
* obj1
= 0 ;
35575 PyObject
* obj2
= 0 ;
35576 PyObject
* obj3
= 0 ;
35577 PyObject
* obj4
= 0 ;
35578 PyObject
* obj5
= 0 ;
35579 char *kwnames
[] = {
35580 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35588 arg3
= (int)SWIG_As_int(obj2
);
35589 if (PyErr_Occurred()) SWIG_fail
;
35592 arg4
= (int)SWIG_As_int(obj3
);
35593 if (PyErr_Occurred()) SWIG_fail
;
35596 arg5
= (int)SWIG_As_int(obj4
);
35597 if (PyErr_Occurred()) SWIG_fail
;
35603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35604 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35606 wxPyEndAllowThreads(__tstate
);
35607 if (PyErr_Occurred()) SWIG_fail
;
35609 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
35616 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35617 PyObject
*resultobj
;
35618 wxSizer
*arg1
= (wxSizer
*) 0 ;
35620 PyObject
*arg3
= (PyObject
*) 0 ;
35621 int arg4
= (int) 0 ;
35622 int arg5
= (int) 0 ;
35623 int arg6
= (int) 0 ;
35624 PyObject
*arg7
= (PyObject
*) NULL
;
35625 wxSizerItem
*result
;
35626 PyObject
* obj0
= 0 ;
35627 PyObject
* obj1
= 0 ;
35628 PyObject
* obj2
= 0 ;
35629 PyObject
* obj3
= 0 ;
35630 PyObject
* obj4
= 0 ;
35631 PyObject
* obj5
= 0 ;
35632 PyObject
* obj6
= 0 ;
35633 char *kwnames
[] = {
35634 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
35638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35640 arg2
= (int)SWIG_As_int(obj1
);
35641 if (PyErr_Occurred()) SWIG_fail
;
35644 arg4
= (int)SWIG_As_int(obj3
);
35645 if (PyErr_Occurred()) SWIG_fail
;
35648 arg5
= (int)SWIG_As_int(obj4
);
35649 if (PyErr_Occurred()) SWIG_fail
;
35652 arg6
= (int)SWIG_As_int(obj5
);
35653 if (PyErr_Occurred()) SWIG_fail
;
35659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35660 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
35662 wxPyEndAllowThreads(__tstate
);
35663 if (PyErr_Occurred()) SWIG_fail
;
35665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
35672 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35673 PyObject
*resultobj
;
35674 wxSizer
*arg1
= (wxSizer
*) 0 ;
35675 PyObject
*arg2
= (PyObject
*) 0 ;
35676 int arg3
= (int) 0 ;
35677 int arg4
= (int) 0 ;
35678 int arg5
= (int) 0 ;
35679 PyObject
*arg6
= (PyObject
*) NULL
;
35680 wxSizerItem
*result
;
35681 PyObject
* obj0
= 0 ;
35682 PyObject
* obj1
= 0 ;
35683 PyObject
* obj2
= 0 ;
35684 PyObject
* obj3
= 0 ;
35685 PyObject
* obj4
= 0 ;
35686 PyObject
* obj5
= 0 ;
35687 char *kwnames
[] = {
35688 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35696 arg3
= (int)SWIG_As_int(obj2
);
35697 if (PyErr_Occurred()) SWIG_fail
;
35700 arg4
= (int)SWIG_As_int(obj3
);
35701 if (PyErr_Occurred()) SWIG_fail
;
35704 arg5
= (int)SWIG_As_int(obj4
);
35705 if (PyErr_Occurred()) SWIG_fail
;
35711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35712 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35714 wxPyEndAllowThreads(__tstate
);
35715 if (PyErr_Occurred()) SWIG_fail
;
35717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
35724 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35725 PyObject
*resultobj
;
35726 wxSizer
*arg1
= (wxSizer
*) 0 ;
35727 PyObject
*arg2
= (PyObject
*) 0 ;
35729 PyObject
* obj0
= 0 ;
35730 PyObject
* obj1
= 0 ;
35731 char *kwnames
[] = {
35732 (char *) "self",(char *) "item", NULL
35735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35741 result
= (bool)wxSizer_Remove(arg1
,arg2
);
35743 wxPyEndAllowThreads(__tstate
);
35744 if (PyErr_Occurred()) SWIG_fail
;
35747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35755 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35756 PyObject
*resultobj
;
35757 wxSizer
*arg1
= (wxSizer
*) 0 ;
35758 PyObject
*arg2
= (PyObject
*) 0 ;
35760 PyObject
* obj0
= 0 ;
35761 PyObject
* obj1
= 0 ;
35762 char *kwnames
[] = {
35763 (char *) "self",(char *) "item", NULL
35766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
35767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35772 result
= (bool)wxSizer_Detach(arg1
,arg2
);
35774 wxPyEndAllowThreads(__tstate
);
35775 if (PyErr_Occurred()) SWIG_fail
;
35778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35786 static PyObject
*_wrap_Sizer_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35787 PyObject
*resultobj
;
35788 wxSizer
*arg1
= (wxSizer
*) 0 ;
35789 PyObject
*arg2
= (PyObject
*) 0 ;
35790 wxSizerItem
*result
;
35791 PyObject
* obj0
= 0 ;
35792 PyObject
* obj1
= 0 ;
35793 char *kwnames
[] = {
35794 (char *) "self",(char *) "item", NULL
35797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35803 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
35805 wxPyEndAllowThreads(__tstate
);
35806 if (PyErr_Occurred()) SWIG_fail
;
35808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
35815 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35816 PyObject
*resultobj
;
35817 wxSizer
*arg1
= (wxSizer
*) 0 ;
35818 PyObject
*arg2
= (PyObject
*) 0 ;
35821 PyObject
* obj0
= 0 ;
35822 PyObject
* obj1
= 0 ;
35823 PyObject
* obj2
= 0 ;
35824 char *kwnames
[] = {
35825 (char *) "self",(char *) "item",(char *) "size", NULL
35828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35834 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
35837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35838 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
35840 wxPyEndAllowThreads(__tstate
);
35841 if (PyErr_Occurred()) SWIG_fail
;
35843 Py_INCREF(Py_None
); resultobj
= Py_None
;
35850 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35851 PyObject
*resultobj
;
35852 wxSizer
*arg1
= (wxSizer
*) 0 ;
35853 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35854 wxSizerItem
*result
;
35855 PyObject
* obj0
= 0 ;
35856 PyObject
* obj1
= 0 ;
35857 char *kwnames
[] = {
35858 (char *) "self",(char *) "item", NULL
35861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35864 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35868 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
35870 wxPyEndAllowThreads(__tstate
);
35871 if (PyErr_Occurred()) SWIG_fail
;
35873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
35880 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35881 PyObject
*resultobj
;
35882 wxSizer
*arg1
= (wxSizer
*) 0 ;
35884 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
35885 wxSizerItem
*result
;
35886 PyObject
* obj0
= 0 ;
35887 PyObject
* obj1
= 0 ;
35888 PyObject
* obj2
= 0 ;
35889 char *kwnames
[] = {
35890 (char *) "self",(char *) "index",(char *) "item", NULL
35893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35896 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
35897 if (PyErr_Occurred()) SWIG_fail
;
35898 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
35899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35902 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
35904 wxPyEndAllowThreads(__tstate
);
35905 if (PyErr_Occurred()) SWIG_fail
;
35907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
35914 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35915 PyObject
*resultobj
;
35916 wxSizer
*arg1
= (wxSizer
*) 0 ;
35917 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35918 wxSizerItem
*result
;
35919 PyObject
* obj0
= 0 ;
35920 PyObject
* obj1
= 0 ;
35921 char *kwnames
[] = {
35922 (char *) "self",(char *) "item", NULL
35925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35928 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35932 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
35934 wxPyEndAllowThreads(__tstate
);
35935 if (PyErr_Occurred()) SWIG_fail
;
35937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
35944 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35945 PyObject
*resultobj
;
35946 wxSizer
*arg1
= (wxSizer
*) 0 ;
35951 PyObject
* obj0
= 0 ;
35952 PyObject
* obj1
= 0 ;
35953 PyObject
* obj2
= 0 ;
35954 PyObject
* obj3
= 0 ;
35955 PyObject
* obj4
= 0 ;
35956 char *kwnames
[] = {
35957 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
35960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35963 arg2
= (int)SWIG_As_int(obj1
);
35964 if (PyErr_Occurred()) SWIG_fail
;
35965 arg3
= (int)SWIG_As_int(obj2
);
35966 if (PyErr_Occurred()) SWIG_fail
;
35967 arg4
= (int)SWIG_As_int(obj3
);
35968 if (PyErr_Occurred()) SWIG_fail
;
35969 arg5
= (int)SWIG_As_int(obj4
);
35970 if (PyErr_Occurred()) SWIG_fail
;
35972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35973 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
35975 wxPyEndAllowThreads(__tstate
);
35976 if (PyErr_Occurred()) SWIG_fail
;
35978 Py_INCREF(Py_None
); resultobj
= Py_None
;
35985 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35986 PyObject
*resultobj
;
35987 wxSizer
*arg1
= (wxSizer
*) 0 ;
35990 PyObject
* obj0
= 0 ;
35991 PyObject
* obj1
= 0 ;
35992 char *kwnames
[] = {
35993 (char *) "self",(char *) "size", NULL
35996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
35997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36001 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
36004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36005 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
36007 wxPyEndAllowThreads(__tstate
);
36008 if (PyErr_Occurred()) SWIG_fail
;
36010 Py_INCREF(Py_None
); resultobj
= Py_None
;
36017 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36018 PyObject
*resultobj
;
36019 wxSizer
*arg1
= (wxSizer
*) 0 ;
36021 PyObject
* obj0
= 0 ;
36022 char *kwnames
[] = {
36023 (char *) "self", NULL
36026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
36027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36031 result
= (arg1
)->GetSize();
36033 wxPyEndAllowThreads(__tstate
);
36034 if (PyErr_Occurred()) SWIG_fail
;
36037 wxSize
* resultptr
;
36038 resultptr
= new wxSize((wxSize
&) result
);
36039 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36047 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36048 PyObject
*resultobj
;
36049 wxSizer
*arg1
= (wxSizer
*) 0 ;
36051 PyObject
* obj0
= 0 ;
36052 char *kwnames
[] = {
36053 (char *) "self", NULL
36056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
36057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36061 result
= (arg1
)->GetPosition();
36063 wxPyEndAllowThreads(__tstate
);
36064 if (PyErr_Occurred()) SWIG_fail
;
36067 wxPoint
* resultptr
;
36068 resultptr
= new wxPoint((wxPoint
&) result
);
36069 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
36077 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36078 PyObject
*resultobj
;
36079 wxSizer
*arg1
= (wxSizer
*) 0 ;
36081 PyObject
* obj0
= 0 ;
36082 char *kwnames
[] = {
36083 (char *) "self", NULL
36086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
36087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36091 result
= (arg1
)->GetMinSize();
36093 wxPyEndAllowThreads(__tstate
);
36094 if (PyErr_Occurred()) SWIG_fail
;
36097 wxSize
* resultptr
;
36098 resultptr
= new wxSize((wxSize
&) result
);
36099 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36107 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36108 PyObject
*resultobj
;
36109 wxSizer
*arg1
= (wxSizer
*) 0 ;
36110 PyObject
* obj0
= 0 ;
36111 char *kwnames
[] = {
36112 (char *) "self", NULL
36115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36120 (arg1
)->RecalcSizes();
36122 wxPyEndAllowThreads(__tstate
);
36123 if (PyErr_Occurred()) SWIG_fail
;
36125 Py_INCREF(Py_None
); resultobj
= Py_None
;
36132 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36133 PyObject
*resultobj
;
36134 wxSizer
*arg1
= (wxSizer
*) 0 ;
36136 PyObject
* obj0
= 0 ;
36137 char *kwnames
[] = {
36138 (char *) "self", NULL
36141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36146 result
= (arg1
)->CalcMin();
36148 wxPyEndAllowThreads(__tstate
);
36149 if (PyErr_Occurred()) SWIG_fail
;
36152 wxSize
* resultptr
;
36153 resultptr
= new wxSize((wxSize
&) result
);
36154 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36162 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36163 PyObject
*resultobj
;
36164 wxSizer
*arg1
= (wxSizer
*) 0 ;
36165 PyObject
* obj0
= 0 ;
36166 char *kwnames
[] = {
36167 (char *) "self", NULL
36170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
36171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36177 wxPyEndAllowThreads(__tstate
);
36178 if (PyErr_Occurred()) SWIG_fail
;
36180 Py_INCREF(Py_None
); resultobj
= Py_None
;
36187 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36188 PyObject
*resultobj
;
36189 wxSizer
*arg1
= (wxSizer
*) 0 ;
36190 wxWindow
*arg2
= (wxWindow
*) 0 ;
36192 PyObject
* obj0
= 0 ;
36193 PyObject
* obj1
= 0 ;
36194 char *kwnames
[] = {
36195 (char *) "self",(char *) "window", NULL
36198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
36199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36201 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36205 result
= (arg1
)->Fit(arg2
);
36207 wxPyEndAllowThreads(__tstate
);
36208 if (PyErr_Occurred()) SWIG_fail
;
36211 wxSize
* resultptr
;
36212 resultptr
= new wxSize((wxSize
&) result
);
36213 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36221 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36222 PyObject
*resultobj
;
36223 wxSizer
*arg1
= (wxSizer
*) 0 ;
36224 wxWindow
*arg2
= (wxWindow
*) 0 ;
36225 PyObject
* obj0
= 0 ;
36226 PyObject
* obj1
= 0 ;
36227 char *kwnames
[] = {
36228 (char *) "self",(char *) "window", NULL
36231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
36232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36234 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36238 (arg1
)->FitInside(arg2
);
36240 wxPyEndAllowThreads(__tstate
);
36241 if (PyErr_Occurred()) SWIG_fail
;
36243 Py_INCREF(Py_None
); resultobj
= Py_None
;
36250 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36251 PyObject
*resultobj
;
36252 wxSizer
*arg1
= (wxSizer
*) 0 ;
36253 wxWindow
*arg2
= (wxWindow
*) 0 ;
36254 PyObject
* obj0
= 0 ;
36255 PyObject
* obj1
= 0 ;
36256 char *kwnames
[] = {
36257 (char *) "self",(char *) "window", NULL
36260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
36261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36263 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36267 (arg1
)->SetSizeHints(arg2
);
36269 wxPyEndAllowThreads(__tstate
);
36270 if (PyErr_Occurred()) SWIG_fail
;
36272 Py_INCREF(Py_None
); resultobj
= Py_None
;
36279 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36280 PyObject
*resultobj
;
36281 wxSizer
*arg1
= (wxSizer
*) 0 ;
36282 wxWindow
*arg2
= (wxWindow
*) 0 ;
36283 PyObject
* obj0
= 0 ;
36284 PyObject
* obj1
= 0 ;
36285 char *kwnames
[] = {
36286 (char *) "self",(char *) "window", NULL
36289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
36290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36292 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36296 (arg1
)->SetVirtualSizeHints(arg2
);
36298 wxPyEndAllowThreads(__tstate
);
36299 if (PyErr_Occurred()) SWIG_fail
;
36301 Py_INCREF(Py_None
); resultobj
= Py_None
;
36308 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36309 PyObject
*resultobj
;
36310 wxSizer
*arg1
= (wxSizer
*) 0 ;
36311 bool arg2
= (bool) false ;
36312 PyObject
* obj0
= 0 ;
36313 PyObject
* obj1
= 0 ;
36314 char *kwnames
[] = {
36315 (char *) "self",(char *) "deleteWindows", NULL
36318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
36319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36322 arg2
= (bool)SWIG_As_bool(obj1
);
36323 if (PyErr_Occurred()) SWIG_fail
;
36326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36327 (arg1
)->Clear(arg2
);
36329 wxPyEndAllowThreads(__tstate
);
36330 if (PyErr_Occurred()) SWIG_fail
;
36332 Py_INCREF(Py_None
); resultobj
= Py_None
;
36339 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36340 PyObject
*resultobj
;
36341 wxSizer
*arg1
= (wxSizer
*) 0 ;
36342 PyObject
* obj0
= 0 ;
36343 char *kwnames
[] = {
36344 (char *) "self", NULL
36347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
36348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36352 (arg1
)->DeleteWindows();
36354 wxPyEndAllowThreads(__tstate
);
36355 if (PyErr_Occurred()) SWIG_fail
;
36357 Py_INCREF(Py_None
); resultobj
= Py_None
;
36364 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36365 PyObject
*resultobj
;
36366 wxSizer
*arg1
= (wxSizer
*) 0 ;
36368 PyObject
* obj0
= 0 ;
36369 char *kwnames
[] = {
36370 (char *) "self", NULL
36373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
36374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36378 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
36380 wxPyEndAllowThreads(__tstate
);
36381 if (PyErr_Occurred()) SWIG_fail
;
36383 resultobj
= result
;
36390 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36391 PyObject
*resultobj
;
36392 wxSizer
*arg1
= (wxSizer
*) 0 ;
36393 PyObject
*arg2
= (PyObject
*) 0 ;
36394 bool arg3
= (bool) true ;
36395 bool arg4
= (bool) false ;
36397 PyObject
* obj0
= 0 ;
36398 PyObject
* obj1
= 0 ;
36399 PyObject
* obj2
= 0 ;
36400 PyObject
* obj3
= 0 ;
36401 char *kwnames
[] = {
36402 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
36405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36410 arg3
= (bool)SWIG_As_bool(obj2
);
36411 if (PyErr_Occurred()) SWIG_fail
;
36414 arg4
= (bool)SWIG_As_bool(obj3
);
36415 if (PyErr_Occurred()) SWIG_fail
;
36418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36419 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
36421 wxPyEndAllowThreads(__tstate
);
36422 if (PyErr_Occurred()) SWIG_fail
;
36425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36433 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36434 PyObject
*resultobj
;
36435 wxSizer
*arg1
= (wxSizer
*) 0 ;
36436 PyObject
*arg2
= (PyObject
*) 0 ;
36438 PyObject
* obj0
= 0 ;
36439 PyObject
* obj1
= 0 ;
36440 char *kwnames
[] = {
36441 (char *) "self",(char *) "item", NULL
36444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
36445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36450 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
36452 wxPyEndAllowThreads(__tstate
);
36453 if (PyErr_Occurred()) SWIG_fail
;
36456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36464 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36465 PyObject
*resultobj
;
36466 wxSizer
*arg1
= (wxSizer
*) 0 ;
36468 PyObject
* obj0
= 0 ;
36469 PyObject
* obj1
= 0 ;
36470 char *kwnames
[] = {
36471 (char *) "self",(char *) "show", NULL
36474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
36475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36477 arg2
= (bool)SWIG_As_bool(obj1
);
36478 if (PyErr_Occurred()) SWIG_fail
;
36480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36481 (arg1
)->ShowItems(arg2
);
36483 wxPyEndAllowThreads(__tstate
);
36484 if (PyErr_Occurred()) SWIG_fail
;
36486 Py_INCREF(Py_None
); resultobj
= Py_None
;
36493 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
36495 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36496 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
36498 return Py_BuildValue((char *)"");
36500 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36501 PyObject
*resultobj
;
36503 char *kwnames
[] = {
36507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
36509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36510 result
= (wxPySizer
*)new wxPySizer();
36512 wxPyEndAllowThreads(__tstate
);
36513 if (PyErr_Occurred()) SWIG_fail
;
36515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
36522 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36523 PyObject
*resultobj
;
36524 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
36525 PyObject
*arg2
= (PyObject
*) 0 ;
36526 PyObject
*arg3
= (PyObject
*) 0 ;
36527 PyObject
* obj0
= 0 ;
36528 PyObject
* obj1
= 0 ;
36529 PyObject
* obj2
= 0 ;
36530 char *kwnames
[] = {
36531 (char *) "self",(char *) "self",(char *) "_class", NULL
36534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
36536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36541 (arg1
)->_setCallbackInfo(arg2
,arg3
);
36543 wxPyEndAllowThreads(__tstate
);
36544 if (PyErr_Occurred()) SWIG_fail
;
36546 Py_INCREF(Py_None
); resultobj
= Py_None
;
36553 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
36555 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36556 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
36558 return Py_BuildValue((char *)"");
36560 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36561 PyObject
*resultobj
;
36562 int arg1
= (int) wxHORIZONTAL
;
36563 wxBoxSizer
*result
;
36564 PyObject
* obj0
= 0 ;
36565 char *kwnames
[] = {
36566 (char *) "orient", NULL
36569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
36571 arg1
= (int)SWIG_As_int(obj0
);
36572 if (PyErr_Occurred()) SWIG_fail
;
36575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36576 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
36578 wxPyEndAllowThreads(__tstate
);
36579 if (PyErr_Occurred()) SWIG_fail
;
36581 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
36588 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36589 PyObject
*resultobj
;
36590 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36592 PyObject
* obj0
= 0 ;
36593 char *kwnames
[] = {
36594 (char *) "self", NULL
36597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
36598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36602 result
= (int)(arg1
)->GetOrientation();
36604 wxPyEndAllowThreads(__tstate
);
36605 if (PyErr_Occurred()) SWIG_fail
;
36607 resultobj
= SWIG_From_int((int)result
);
36614 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36615 PyObject
*resultobj
;
36616 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36618 PyObject
* obj0
= 0 ;
36619 PyObject
* obj1
= 0 ;
36620 char *kwnames
[] = {
36621 (char *) "self",(char *) "orient", NULL
36624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
36625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36627 arg2
= (int)SWIG_As_int(obj1
);
36628 if (PyErr_Occurred()) SWIG_fail
;
36630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36631 (arg1
)->SetOrientation(arg2
);
36633 wxPyEndAllowThreads(__tstate
);
36634 if (PyErr_Occurred()) SWIG_fail
;
36636 Py_INCREF(Py_None
); resultobj
= Py_None
;
36643 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
36645 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36646 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
36648 return Py_BuildValue((char *)"");
36650 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36651 PyObject
*resultobj
;
36652 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
36653 int arg2
= (int) wxHORIZONTAL
;
36654 wxStaticBoxSizer
*result
;
36655 PyObject
* obj0
= 0 ;
36656 PyObject
* obj1
= 0 ;
36657 char *kwnames
[] = {
36658 (char *) "box",(char *) "orient", NULL
36661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
36662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
36663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36665 arg2
= (int)SWIG_As_int(obj1
);
36666 if (PyErr_Occurred()) SWIG_fail
;
36669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36670 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
36672 wxPyEndAllowThreads(__tstate
);
36673 if (PyErr_Occurred()) SWIG_fail
;
36675 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
36682 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36683 PyObject
*resultobj
;
36684 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
36685 wxStaticBox
*result
;
36686 PyObject
* obj0
= 0 ;
36687 char *kwnames
[] = {
36688 (char *) "self", NULL
36691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
36692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
36693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36696 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
36698 wxPyEndAllowThreads(__tstate
);
36699 if (PyErr_Occurred()) SWIG_fail
;
36702 resultobj
= wxPyMake_wxObject(result
, 0);
36710 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
36712 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36713 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
36715 return Py_BuildValue((char *)"");
36717 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36718 PyObject
*resultobj
;
36719 int arg1
= (int) 1 ;
36720 int arg2
= (int) 0 ;
36721 int arg3
= (int) 0 ;
36722 int arg4
= (int) 0 ;
36723 wxGridSizer
*result
;
36724 PyObject
* obj0
= 0 ;
36725 PyObject
* obj1
= 0 ;
36726 PyObject
* obj2
= 0 ;
36727 PyObject
* obj3
= 0 ;
36728 char *kwnames
[] = {
36729 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36734 arg1
= (int)SWIG_As_int(obj0
);
36735 if (PyErr_Occurred()) SWIG_fail
;
36738 arg2
= (int)SWIG_As_int(obj1
);
36739 if (PyErr_Occurred()) SWIG_fail
;
36742 arg3
= (int)SWIG_As_int(obj2
);
36743 if (PyErr_Occurred()) SWIG_fail
;
36746 arg4
= (int)SWIG_As_int(obj3
);
36747 if (PyErr_Occurred()) SWIG_fail
;
36750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36751 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
36753 wxPyEndAllowThreads(__tstate
);
36754 if (PyErr_Occurred()) SWIG_fail
;
36756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
36763 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36764 PyObject
*resultobj
;
36765 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36767 PyObject
* obj0
= 0 ;
36768 PyObject
* obj1
= 0 ;
36769 char *kwnames
[] = {
36770 (char *) "self",(char *) "cols", NULL
36773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
36774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36776 arg2
= (int)SWIG_As_int(obj1
);
36777 if (PyErr_Occurred()) SWIG_fail
;
36779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36780 (arg1
)->SetCols(arg2
);
36782 wxPyEndAllowThreads(__tstate
);
36783 if (PyErr_Occurred()) SWIG_fail
;
36785 Py_INCREF(Py_None
); resultobj
= Py_None
;
36792 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36793 PyObject
*resultobj
;
36794 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36796 PyObject
* obj0
= 0 ;
36797 PyObject
* obj1
= 0 ;
36798 char *kwnames
[] = {
36799 (char *) "self",(char *) "rows", NULL
36802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
36803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36805 arg2
= (int)SWIG_As_int(obj1
);
36806 if (PyErr_Occurred()) SWIG_fail
;
36808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36809 (arg1
)->SetRows(arg2
);
36811 wxPyEndAllowThreads(__tstate
);
36812 if (PyErr_Occurred()) SWIG_fail
;
36814 Py_INCREF(Py_None
); resultobj
= Py_None
;
36821 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36822 PyObject
*resultobj
;
36823 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36825 PyObject
* obj0
= 0 ;
36826 PyObject
* obj1
= 0 ;
36827 char *kwnames
[] = {
36828 (char *) "self",(char *) "gap", NULL
36831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36834 arg2
= (int)SWIG_As_int(obj1
);
36835 if (PyErr_Occurred()) SWIG_fail
;
36837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36838 (arg1
)->SetVGap(arg2
);
36840 wxPyEndAllowThreads(__tstate
);
36841 if (PyErr_Occurred()) SWIG_fail
;
36843 Py_INCREF(Py_None
); resultobj
= Py_None
;
36850 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36851 PyObject
*resultobj
;
36852 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36854 PyObject
* obj0
= 0 ;
36855 PyObject
* obj1
= 0 ;
36856 char *kwnames
[] = {
36857 (char *) "self",(char *) "gap", NULL
36860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36863 arg2
= (int)SWIG_As_int(obj1
);
36864 if (PyErr_Occurred()) SWIG_fail
;
36866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36867 (arg1
)->SetHGap(arg2
);
36869 wxPyEndAllowThreads(__tstate
);
36870 if (PyErr_Occurred()) SWIG_fail
;
36872 Py_INCREF(Py_None
); resultobj
= Py_None
;
36879 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36880 PyObject
*resultobj
;
36881 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36883 PyObject
* obj0
= 0 ;
36884 char *kwnames
[] = {
36885 (char *) "self", NULL
36888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
36889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36893 result
= (int)(arg1
)->GetCols();
36895 wxPyEndAllowThreads(__tstate
);
36896 if (PyErr_Occurred()) SWIG_fail
;
36898 resultobj
= SWIG_From_int((int)result
);
36905 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36906 PyObject
*resultobj
;
36907 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36909 PyObject
* obj0
= 0 ;
36910 char *kwnames
[] = {
36911 (char *) "self", NULL
36914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
36915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36919 result
= (int)(arg1
)->GetRows();
36921 wxPyEndAllowThreads(__tstate
);
36922 if (PyErr_Occurred()) SWIG_fail
;
36924 resultobj
= SWIG_From_int((int)result
);
36931 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36932 PyObject
*resultobj
;
36933 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36935 PyObject
* obj0
= 0 ;
36936 char *kwnames
[] = {
36937 (char *) "self", NULL
36940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
36941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36945 result
= (int)(arg1
)->GetVGap();
36947 wxPyEndAllowThreads(__tstate
);
36948 if (PyErr_Occurred()) SWIG_fail
;
36950 resultobj
= SWIG_From_int((int)result
);
36957 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36958 PyObject
*resultobj
;
36959 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36961 PyObject
* obj0
= 0 ;
36962 char *kwnames
[] = {
36963 (char *) "self", NULL
36966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
36967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36971 result
= (int)(arg1
)->GetHGap();
36973 wxPyEndAllowThreads(__tstate
);
36974 if (PyErr_Occurred()) SWIG_fail
;
36976 resultobj
= SWIG_From_int((int)result
);
36983 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
36985 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36986 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
36988 return Py_BuildValue((char *)"");
36990 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36991 PyObject
*resultobj
;
36992 int arg1
= (int) 1 ;
36993 int arg2
= (int) 0 ;
36994 int arg3
= (int) 0 ;
36995 int arg4
= (int) 0 ;
36996 wxFlexGridSizer
*result
;
36997 PyObject
* obj0
= 0 ;
36998 PyObject
* obj1
= 0 ;
36999 PyObject
* obj2
= 0 ;
37000 PyObject
* obj3
= 0 ;
37001 char *kwnames
[] = {
37002 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
37005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37007 arg1
= (int)SWIG_As_int(obj0
);
37008 if (PyErr_Occurred()) SWIG_fail
;
37011 arg2
= (int)SWIG_As_int(obj1
);
37012 if (PyErr_Occurred()) SWIG_fail
;
37015 arg3
= (int)SWIG_As_int(obj2
);
37016 if (PyErr_Occurred()) SWIG_fail
;
37019 arg4
= (int)SWIG_As_int(obj3
);
37020 if (PyErr_Occurred()) SWIG_fail
;
37023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37024 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
37026 wxPyEndAllowThreads(__tstate
);
37027 if (PyErr_Occurred()) SWIG_fail
;
37029 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
37036 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37037 PyObject
*resultobj
;
37038 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37040 int arg3
= (int) 0 ;
37041 PyObject
* obj0
= 0 ;
37042 PyObject
* obj1
= 0 ;
37043 PyObject
* obj2
= 0 ;
37044 char *kwnames
[] = {
37045 (char *) "self",(char *) "idx",(char *) "proportion", NULL
37048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37051 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37052 if (PyErr_Occurred()) SWIG_fail
;
37054 arg3
= (int)SWIG_As_int(obj2
);
37055 if (PyErr_Occurred()) SWIG_fail
;
37058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37059 (arg1
)->AddGrowableRow(arg2
,arg3
);
37061 wxPyEndAllowThreads(__tstate
);
37062 if (PyErr_Occurred()) SWIG_fail
;
37064 Py_INCREF(Py_None
); resultobj
= Py_None
;
37071 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37072 PyObject
*resultobj
;
37073 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37075 PyObject
* obj0
= 0 ;
37076 PyObject
* obj1
= 0 ;
37077 char *kwnames
[] = {
37078 (char *) "self",(char *) "idx", NULL
37081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
37082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37084 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37085 if (PyErr_Occurred()) SWIG_fail
;
37087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37088 (arg1
)->RemoveGrowableRow(arg2
);
37090 wxPyEndAllowThreads(__tstate
);
37091 if (PyErr_Occurred()) SWIG_fail
;
37093 Py_INCREF(Py_None
); resultobj
= Py_None
;
37100 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37101 PyObject
*resultobj
;
37102 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37104 int arg3
= (int) 0 ;
37105 PyObject
* obj0
= 0 ;
37106 PyObject
* obj1
= 0 ;
37107 PyObject
* obj2
= 0 ;
37108 char *kwnames
[] = {
37109 (char *) "self",(char *) "idx",(char *) "proportion", NULL
37112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37115 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37116 if (PyErr_Occurred()) SWIG_fail
;
37118 arg3
= (int)SWIG_As_int(obj2
);
37119 if (PyErr_Occurred()) SWIG_fail
;
37122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37123 (arg1
)->AddGrowableCol(arg2
,arg3
);
37125 wxPyEndAllowThreads(__tstate
);
37126 if (PyErr_Occurred()) SWIG_fail
;
37128 Py_INCREF(Py_None
); resultobj
= Py_None
;
37135 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37136 PyObject
*resultobj
;
37137 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37139 PyObject
* obj0
= 0 ;
37140 PyObject
* obj1
= 0 ;
37141 char *kwnames
[] = {
37142 (char *) "self",(char *) "idx", NULL
37145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
37146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37148 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
37149 if (PyErr_Occurred()) SWIG_fail
;
37151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37152 (arg1
)->RemoveGrowableCol(arg2
);
37154 wxPyEndAllowThreads(__tstate
);
37155 if (PyErr_Occurred()) SWIG_fail
;
37157 Py_INCREF(Py_None
); resultobj
= Py_None
;
37164 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37165 PyObject
*resultobj
;
37166 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37168 PyObject
* obj0
= 0 ;
37169 PyObject
* obj1
= 0 ;
37170 char *kwnames
[] = {
37171 (char *) "self",(char *) "direction", NULL
37174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
37175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37177 arg2
= (int)SWIG_As_int(obj1
);
37178 if (PyErr_Occurred()) SWIG_fail
;
37180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37181 (arg1
)->SetFlexibleDirection(arg2
);
37183 wxPyEndAllowThreads(__tstate
);
37184 if (PyErr_Occurred()) SWIG_fail
;
37186 Py_INCREF(Py_None
); resultobj
= Py_None
;
37193 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37194 PyObject
*resultobj
;
37195 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37197 PyObject
* obj0
= 0 ;
37198 char *kwnames
[] = {
37199 (char *) "self", NULL
37202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
37203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37207 result
= (int)(arg1
)->GetFlexibleDirection();
37209 wxPyEndAllowThreads(__tstate
);
37210 if (PyErr_Occurred()) SWIG_fail
;
37212 resultobj
= SWIG_From_int((int)result
);
37219 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37220 PyObject
*resultobj
;
37221 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37223 PyObject
* obj0
= 0 ;
37224 PyObject
* obj1
= 0 ;
37225 char *kwnames
[] = {
37226 (char *) "self",(char *) "mode", NULL
37229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
37230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37232 arg2
= (int)SWIG_As_int(obj1
);
37233 if (PyErr_Occurred()) SWIG_fail
;
37235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37236 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
37238 wxPyEndAllowThreads(__tstate
);
37239 if (PyErr_Occurred()) SWIG_fail
;
37241 Py_INCREF(Py_None
); resultobj
= Py_None
;
37248 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37249 PyObject
*resultobj
;
37250 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37252 PyObject
* obj0
= 0 ;
37253 char *kwnames
[] = {
37254 (char *) "self", NULL
37257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
37258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37262 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
37264 wxPyEndAllowThreads(__tstate
);
37265 if (PyErr_Occurred()) SWIG_fail
;
37267 resultobj
= SWIG_From_int((int)result
);
37274 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37275 PyObject
*resultobj
;
37276 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37277 wxArrayInt
*result
;
37278 PyObject
* obj0
= 0 ;
37279 char *kwnames
[] = {
37280 (char *) "self", NULL
37283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
37284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37289 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
37290 result
= (wxArrayInt
*) &_result_ref
;
37293 wxPyEndAllowThreads(__tstate
);
37294 if (PyErr_Occurred()) SWIG_fail
;
37297 resultobj
= PyList_New(0);
37299 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
37300 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
37301 PyList_Append(resultobj
, val
);
37311 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37312 PyObject
*resultobj
;
37313 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37314 wxArrayInt
*result
;
37315 PyObject
* obj0
= 0 ;
37316 char *kwnames
[] = {
37317 (char *) "self", NULL
37320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
37321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37326 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
37327 result
= (wxArrayInt
*) &_result_ref
;
37330 wxPyEndAllowThreads(__tstate
);
37331 if (PyErr_Occurred()) SWIG_fail
;
37334 resultobj
= PyList_New(0);
37336 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
37337 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
37338 PyList_Append(resultobj
, val
);
37348 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
37350 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37351 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
37353 return Py_BuildValue((char *)"");
37355 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37356 PyObject
*resultobj
;
37357 int arg1
= (int) 0 ;
37358 int arg2
= (int) 0 ;
37359 wxGBPosition
*result
;
37360 PyObject
* obj0
= 0 ;
37361 PyObject
* obj1
= 0 ;
37362 char *kwnames
[] = {
37363 (char *) "row",(char *) "col", NULL
37366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
37368 arg1
= (int)SWIG_As_int(obj0
);
37369 if (PyErr_Occurred()) SWIG_fail
;
37372 arg2
= (int)SWIG_As_int(obj1
);
37373 if (PyErr_Occurred()) SWIG_fail
;
37376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37377 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
37379 wxPyEndAllowThreads(__tstate
);
37380 if (PyErr_Occurred()) SWIG_fail
;
37382 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
37389 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37390 PyObject
*resultobj
;
37391 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37393 PyObject
* obj0
= 0 ;
37394 char *kwnames
[] = {
37395 (char *) "self", NULL
37398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
37399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37403 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
37405 wxPyEndAllowThreads(__tstate
);
37406 if (PyErr_Occurred()) SWIG_fail
;
37408 resultobj
= SWIG_From_int((int)result
);
37415 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37416 PyObject
*resultobj
;
37417 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37419 PyObject
* obj0
= 0 ;
37420 char *kwnames
[] = {
37421 (char *) "self", NULL
37424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
37425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37429 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
37431 wxPyEndAllowThreads(__tstate
);
37432 if (PyErr_Occurred()) SWIG_fail
;
37434 resultobj
= SWIG_From_int((int)result
);
37441 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37442 PyObject
*resultobj
;
37443 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37445 PyObject
* obj0
= 0 ;
37446 PyObject
* obj1
= 0 ;
37447 char *kwnames
[] = {
37448 (char *) "self",(char *) "row", NULL
37451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
37452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37454 arg2
= (int)SWIG_As_int(obj1
);
37455 if (PyErr_Occurred()) SWIG_fail
;
37457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37458 (arg1
)->SetRow(arg2
);
37460 wxPyEndAllowThreads(__tstate
);
37461 if (PyErr_Occurred()) SWIG_fail
;
37463 Py_INCREF(Py_None
); resultobj
= Py_None
;
37470 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37471 PyObject
*resultobj
;
37472 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37474 PyObject
* obj0
= 0 ;
37475 PyObject
* obj1
= 0 ;
37476 char *kwnames
[] = {
37477 (char *) "self",(char *) "col", NULL
37480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
37481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37483 arg2
= (int)SWIG_As_int(obj1
);
37484 if (PyErr_Occurred()) SWIG_fail
;
37486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37487 (arg1
)->SetCol(arg2
);
37489 wxPyEndAllowThreads(__tstate
);
37490 if (PyErr_Occurred()) SWIG_fail
;
37492 Py_INCREF(Py_None
); resultobj
= Py_None
;
37499 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37500 PyObject
*resultobj
;
37501 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37502 wxGBPosition
*arg2
= 0 ;
37504 wxGBPosition temp2
;
37505 PyObject
* obj0
= 0 ;
37506 PyObject
* obj1
= 0 ;
37507 char *kwnames
[] = {
37508 (char *) "self",(char *) "other", NULL
37511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37516 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37520 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
37522 wxPyEndAllowThreads(__tstate
);
37523 if (PyErr_Occurred()) SWIG_fail
;
37526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37534 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37535 PyObject
*resultobj
;
37536 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37537 wxGBPosition
*arg2
= 0 ;
37539 wxGBPosition temp2
;
37540 PyObject
* obj0
= 0 ;
37541 PyObject
* obj1
= 0 ;
37542 char *kwnames
[] = {
37543 (char *) "self",(char *) "other", NULL
37546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37551 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37555 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
37557 wxPyEndAllowThreads(__tstate
);
37558 if (PyErr_Occurred()) SWIG_fail
;
37561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37569 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37570 PyObject
*resultobj
;
37571 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37572 int arg2
= (int) 0 ;
37573 int arg3
= (int) 0 ;
37574 PyObject
* obj0
= 0 ;
37575 PyObject
* obj1
= 0 ;
37576 PyObject
* obj2
= 0 ;
37577 char *kwnames
[] = {
37578 (char *) "self",(char *) "row",(char *) "col", NULL
37581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37585 arg2
= (int)SWIG_As_int(obj1
);
37586 if (PyErr_Occurred()) SWIG_fail
;
37589 arg3
= (int)SWIG_As_int(obj2
);
37590 if (PyErr_Occurred()) SWIG_fail
;
37593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37594 wxGBPosition_Set(arg1
,arg2
,arg3
);
37596 wxPyEndAllowThreads(__tstate
);
37597 if (PyErr_Occurred()) SWIG_fail
;
37599 Py_INCREF(Py_None
); resultobj
= Py_None
;
37606 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37607 PyObject
*resultobj
;
37608 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37610 PyObject
* obj0
= 0 ;
37611 char *kwnames
[] = {
37612 (char *) "self", NULL
37615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
37616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37620 result
= (PyObject
*)wxGBPosition_Get(arg1
);
37622 wxPyEndAllowThreads(__tstate
);
37623 if (PyErr_Occurred()) SWIG_fail
;
37625 resultobj
= result
;
37632 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
37634 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37635 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
37637 return Py_BuildValue((char *)"");
37639 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37640 PyObject
*resultobj
;
37641 int arg1
= (int) 1 ;
37642 int arg2
= (int) 1 ;
37644 PyObject
* obj0
= 0 ;
37645 PyObject
* obj1
= 0 ;
37646 char *kwnames
[] = {
37647 (char *) "rowspan",(char *) "colspan", NULL
37650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37652 arg1
= (int)SWIG_As_int(obj0
);
37653 if (PyErr_Occurred()) SWIG_fail
;
37656 arg2
= (int)SWIG_As_int(obj1
);
37657 if (PyErr_Occurred()) SWIG_fail
;
37660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37661 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
37663 wxPyEndAllowThreads(__tstate
);
37664 if (PyErr_Occurred()) SWIG_fail
;
37666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
37673 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37674 PyObject
*resultobj
;
37675 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37677 PyObject
* obj0
= 0 ;
37678 char *kwnames
[] = {
37679 (char *) "self", NULL
37682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
37683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37687 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
37689 wxPyEndAllowThreads(__tstate
);
37690 if (PyErr_Occurred()) SWIG_fail
;
37692 resultobj
= SWIG_From_int((int)result
);
37699 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37700 PyObject
*resultobj
;
37701 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37703 PyObject
* obj0
= 0 ;
37704 char *kwnames
[] = {
37705 (char *) "self", NULL
37708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
37709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37713 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
37715 wxPyEndAllowThreads(__tstate
);
37716 if (PyErr_Occurred()) SWIG_fail
;
37718 resultobj
= SWIG_From_int((int)result
);
37725 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37726 PyObject
*resultobj
;
37727 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37729 PyObject
* obj0
= 0 ;
37730 PyObject
* obj1
= 0 ;
37731 char *kwnames
[] = {
37732 (char *) "self",(char *) "rowspan", NULL
37735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37738 arg2
= (int)SWIG_As_int(obj1
);
37739 if (PyErr_Occurred()) SWIG_fail
;
37741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37742 (arg1
)->SetRowspan(arg2
);
37744 wxPyEndAllowThreads(__tstate
);
37745 if (PyErr_Occurred()) SWIG_fail
;
37747 Py_INCREF(Py_None
); resultobj
= Py_None
;
37754 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37755 PyObject
*resultobj
;
37756 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37758 PyObject
* obj0
= 0 ;
37759 PyObject
* obj1
= 0 ;
37760 char *kwnames
[] = {
37761 (char *) "self",(char *) "colspan", NULL
37764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37767 arg2
= (int)SWIG_As_int(obj1
);
37768 if (PyErr_Occurred()) SWIG_fail
;
37770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37771 (arg1
)->SetColspan(arg2
);
37773 wxPyEndAllowThreads(__tstate
);
37774 if (PyErr_Occurred()) SWIG_fail
;
37776 Py_INCREF(Py_None
); resultobj
= Py_None
;
37783 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37784 PyObject
*resultobj
;
37785 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37786 wxGBSpan
*arg2
= 0 ;
37789 PyObject
* obj0
= 0 ;
37790 PyObject
* obj1
= 0 ;
37791 char *kwnames
[] = {
37792 (char *) "self",(char *) "other", NULL
37795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37800 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37804 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
37806 wxPyEndAllowThreads(__tstate
);
37807 if (PyErr_Occurred()) SWIG_fail
;
37810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37818 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37819 PyObject
*resultobj
;
37820 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37821 wxGBSpan
*arg2
= 0 ;
37824 PyObject
* obj0
= 0 ;
37825 PyObject
* obj1
= 0 ;
37826 char *kwnames
[] = {
37827 (char *) "self",(char *) "other", NULL
37830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37835 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37839 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
37841 wxPyEndAllowThreads(__tstate
);
37842 if (PyErr_Occurred()) SWIG_fail
;
37845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37853 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37854 PyObject
*resultobj
;
37855 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37856 int arg2
= (int) 1 ;
37857 int arg3
= (int) 1 ;
37858 PyObject
* obj0
= 0 ;
37859 PyObject
* obj1
= 0 ;
37860 PyObject
* obj2
= 0 ;
37861 char *kwnames
[] = {
37862 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
37865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37869 arg2
= (int)SWIG_As_int(obj1
);
37870 if (PyErr_Occurred()) SWIG_fail
;
37873 arg3
= (int)SWIG_As_int(obj2
);
37874 if (PyErr_Occurred()) SWIG_fail
;
37877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37878 wxGBSpan_Set(arg1
,arg2
,arg3
);
37880 wxPyEndAllowThreads(__tstate
);
37881 if (PyErr_Occurred()) SWIG_fail
;
37883 Py_INCREF(Py_None
); resultobj
= Py_None
;
37890 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37891 PyObject
*resultobj
;
37892 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37894 PyObject
* obj0
= 0 ;
37895 char *kwnames
[] = {
37896 (char *) "self", NULL
37899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
37900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37904 result
= (PyObject
*)wxGBSpan_Get(arg1
);
37906 wxPyEndAllowThreads(__tstate
);
37907 if (PyErr_Occurred()) SWIG_fail
;
37909 resultobj
= result
;
37916 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
37918 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37919 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
37921 return Py_BuildValue((char *)"");
37923 static int _wrap_DefaultSpan_set(PyObject
*) {
37924 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
37929 static PyObject
*_wrap_DefaultSpan_get() {
37932 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
37937 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37938 PyObject
*resultobj
;
37939 wxGBSizerItem
*result
;
37940 char *kwnames
[] = {
37944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
37946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37947 result
= (wxGBSizerItem
*)new wxGBSizerItem();
37949 wxPyEndAllowThreads(__tstate
);
37950 if (PyErr_Occurred()) SWIG_fail
;
37952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37959 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37960 PyObject
*resultobj
;
37961 wxWindow
*arg1
= (wxWindow
*) 0 ;
37962 wxGBPosition
*arg2
= 0 ;
37963 wxGBSpan
*arg3
= 0 ;
37966 PyObject
*arg6
= (PyObject
*) NULL
;
37967 wxGBSizerItem
*result
;
37968 wxGBPosition temp2
;
37970 PyObject
* obj0
= 0 ;
37971 PyObject
* obj1
= 0 ;
37972 PyObject
* obj2
= 0 ;
37973 PyObject
* obj3
= 0 ;
37974 PyObject
* obj4
= 0 ;
37975 PyObject
* obj5
= 0 ;
37976 char *kwnames
[] = {
37977 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
37982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37985 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37989 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37991 arg4
= (int)SWIG_As_int(obj3
);
37992 if (PyErr_Occurred()) SWIG_fail
;
37993 arg5
= (int)SWIG_As_int(obj4
);
37994 if (PyErr_Occurred()) SWIG_fail
;
37999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38000 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
38002 wxPyEndAllowThreads(__tstate
);
38003 if (PyErr_Occurred()) SWIG_fail
;
38005 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38012 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38013 PyObject
*resultobj
;
38014 wxSizer
*arg1
= (wxSizer
*) 0 ;
38015 wxGBPosition
*arg2
= 0 ;
38016 wxGBSpan
*arg3
= 0 ;
38019 PyObject
*arg6
= (PyObject
*) NULL
;
38020 wxGBSizerItem
*result
;
38021 wxGBPosition temp2
;
38023 PyObject
* obj0
= 0 ;
38024 PyObject
* obj1
= 0 ;
38025 PyObject
* obj2
= 0 ;
38026 PyObject
* obj3
= 0 ;
38027 PyObject
* obj4
= 0 ;
38028 PyObject
* obj5
= 0 ;
38029 char *kwnames
[] = {
38030 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
38035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38038 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38042 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38044 arg4
= (int)SWIG_As_int(obj3
);
38045 if (PyErr_Occurred()) SWIG_fail
;
38046 arg5
= (int)SWIG_As_int(obj4
);
38047 if (PyErr_Occurred()) SWIG_fail
;
38052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38053 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
38055 wxPyEndAllowThreads(__tstate
);
38056 if (PyErr_Occurred()) SWIG_fail
;
38058 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38065 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38066 PyObject
*resultobj
;
38069 wxGBPosition
*arg3
= 0 ;
38070 wxGBSpan
*arg4
= 0 ;
38073 PyObject
*arg7
= (PyObject
*) NULL
;
38074 wxGBSizerItem
*result
;
38075 wxGBPosition temp3
;
38077 PyObject
* obj0
= 0 ;
38078 PyObject
* obj1
= 0 ;
38079 PyObject
* obj2
= 0 ;
38080 PyObject
* obj3
= 0 ;
38081 PyObject
* obj4
= 0 ;
38082 PyObject
* obj5
= 0 ;
38083 PyObject
* obj6
= 0 ;
38084 char *kwnames
[] = {
38085 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38089 arg1
= (int)SWIG_As_int(obj0
);
38090 if (PyErr_Occurred()) SWIG_fail
;
38091 arg2
= (int)SWIG_As_int(obj1
);
38092 if (PyErr_Occurred()) SWIG_fail
;
38095 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38099 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
38101 arg5
= (int)SWIG_As_int(obj4
);
38102 if (PyErr_Occurred()) SWIG_fail
;
38103 arg6
= (int)SWIG_As_int(obj5
);
38104 if (PyErr_Occurred()) SWIG_fail
;
38109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38110 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
38112 wxPyEndAllowThreads(__tstate
);
38113 if (PyErr_Occurred()) SWIG_fail
;
38115 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
38122 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38123 PyObject
*resultobj
;
38124 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38125 wxGBPosition result
;
38126 PyObject
* obj0
= 0 ;
38127 char *kwnames
[] = {
38128 (char *) "self", NULL
38131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
38132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38136 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
38138 wxPyEndAllowThreads(__tstate
);
38139 if (PyErr_Occurred()) SWIG_fail
;
38142 wxGBPosition
* resultptr
;
38143 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38144 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38152 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38153 PyObject
*resultobj
;
38154 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38156 PyObject
* obj0
= 0 ;
38157 char *kwnames
[] = {
38158 (char *) "self", NULL
38161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
38162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38166 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
38168 wxPyEndAllowThreads(__tstate
);
38169 if (PyErr_Occurred()) SWIG_fail
;
38172 wxGBSpan
* resultptr
;
38173 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38174 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38182 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38183 PyObject
*resultobj
;
38184 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38185 wxGBPosition
*arg2
= 0 ;
38187 wxGBPosition temp2
;
38188 PyObject
* obj0
= 0 ;
38189 PyObject
* obj1
= 0 ;
38190 char *kwnames
[] = {
38191 (char *) "self",(char *) "pos", NULL
38194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
38195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38199 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38203 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
38205 wxPyEndAllowThreads(__tstate
);
38206 if (PyErr_Occurred()) SWIG_fail
;
38209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38217 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38218 PyObject
*resultobj
;
38219 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38220 wxGBSpan
*arg2
= 0 ;
38223 PyObject
* obj0
= 0 ;
38224 PyObject
* obj1
= 0 ;
38225 char *kwnames
[] = {
38226 (char *) "self",(char *) "span", NULL
38229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
38230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38234 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
38237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38238 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
38240 wxPyEndAllowThreads(__tstate
);
38241 if (PyErr_Occurred()) SWIG_fail
;
38244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38252 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38253 PyObject
*resultobj
;
38254 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38255 wxGBSizerItem
*arg2
= 0 ;
38257 PyObject
* obj0
= 0 ;
38258 PyObject
* obj1
= 0 ;
38259 char *kwnames
[] = {
38260 (char *) "self",(char *) "other", NULL
38263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
38264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38266 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38267 SWIG_POINTER_EXCEPTION
| 0)) == -1)
38269 if (arg2
== NULL
) {
38270 PyErr_SetString(PyExc_TypeError
,"null reference");
38274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38275 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
38277 wxPyEndAllowThreads(__tstate
);
38278 if (PyErr_Occurred()) SWIG_fail
;
38281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38289 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38290 PyObject
*resultobj
;
38291 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38292 wxGBPosition
*arg2
= 0 ;
38293 wxGBSpan
*arg3
= 0 ;
38295 wxGBPosition temp2
;
38297 PyObject
* obj0
= 0 ;
38298 PyObject
* obj1
= 0 ;
38299 PyObject
* obj2
= 0 ;
38300 char *kwnames
[] = {
38301 (char *) "self",(char *) "pos",(char *) "span", NULL
38304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38309 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38313 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38317 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
38319 wxPyEndAllowThreads(__tstate
);
38320 if (PyErr_Occurred()) SWIG_fail
;
38323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38331 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38332 PyObject
*resultobj
;
38333 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38334 wxGBPosition result
;
38335 PyObject
* obj0
= 0 ;
38336 char *kwnames
[] = {
38337 (char *) "self", NULL
38340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
38341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38345 result
= wxGBSizerItem_GetEndPos(arg1
);
38347 wxPyEndAllowThreads(__tstate
);
38348 if (PyErr_Occurred()) SWIG_fail
;
38351 wxGBPosition
* resultptr
;
38352 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38353 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38361 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38362 PyObject
*resultobj
;
38363 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38364 wxGridBagSizer
*result
;
38365 PyObject
* obj0
= 0 ;
38366 char *kwnames
[] = {
38367 (char *) "self", NULL
38370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
38371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38375 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
38377 wxPyEndAllowThreads(__tstate
);
38378 if (PyErr_Occurred()) SWIG_fail
;
38380 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
38387 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38388 PyObject
*resultobj
;
38389 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38390 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
38391 PyObject
* obj0
= 0 ;
38392 PyObject
* obj1
= 0 ;
38393 char *kwnames
[] = {
38394 (char *) "self",(char *) "sizer", NULL
38397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38400 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
38401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38404 (arg1
)->SetGBSizer(arg2
);
38406 wxPyEndAllowThreads(__tstate
);
38407 if (PyErr_Occurred()) SWIG_fail
;
38409 Py_INCREF(Py_None
); resultobj
= Py_None
;
38416 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
38418 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38419 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
38421 return Py_BuildValue((char *)"");
38423 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38424 PyObject
*resultobj
;
38425 int arg1
= (int) 0 ;
38426 int arg2
= (int) 0 ;
38427 wxGridBagSizer
*result
;
38428 PyObject
* obj0
= 0 ;
38429 PyObject
* obj1
= 0 ;
38430 char *kwnames
[] = {
38431 (char *) "vgap",(char *) "hgap", NULL
38434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38436 arg1
= (int)SWIG_As_int(obj0
);
38437 if (PyErr_Occurred()) SWIG_fail
;
38440 arg2
= (int)SWIG_As_int(obj1
);
38441 if (PyErr_Occurred()) SWIG_fail
;
38444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38445 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
38447 wxPyEndAllowThreads(__tstate
);
38448 if (PyErr_Occurred()) SWIG_fail
;
38450 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
38457 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38458 PyObject
*resultobj
;
38459 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38460 PyObject
*arg2
= (PyObject
*) 0 ;
38461 wxGBPosition
*arg3
= 0 ;
38462 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
38463 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
38464 int arg5
= (int) 0 ;
38465 int arg6
= (int) 0 ;
38466 PyObject
*arg7
= (PyObject
*) NULL
;
38467 wxGBSizerItem
*result
;
38468 wxGBPosition temp3
;
38470 PyObject
* obj0
= 0 ;
38471 PyObject
* obj1
= 0 ;
38472 PyObject
* obj2
= 0 ;
38473 PyObject
* obj3
= 0 ;
38474 PyObject
* obj4
= 0 ;
38475 PyObject
* obj5
= 0 ;
38476 PyObject
* obj6
= 0 ;
38477 char *kwnames
[] = {
38478 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38487 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38492 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
38496 arg5
= (int)SWIG_As_int(obj4
);
38497 if (PyErr_Occurred()) SWIG_fail
;
38500 arg6
= (int)SWIG_As_int(obj5
);
38501 if (PyErr_Occurred()) SWIG_fail
;
38507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38508 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
38510 wxPyEndAllowThreads(__tstate
);
38511 if (PyErr_Occurred()) SWIG_fail
;
38513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38520 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38521 PyObject
*resultobj
;
38522 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38523 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
38524 wxGBSizerItem
*result
;
38525 PyObject
* obj0
= 0 ;
38526 PyObject
* obj1
= 0 ;
38527 char *kwnames
[] = {
38528 (char *) "self",(char *) "item", NULL
38531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
38532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38534 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38538 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
38540 wxPyEndAllowThreads(__tstate
);
38541 if (PyErr_Occurred()) SWIG_fail
;
38543 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38550 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38551 PyObject
*resultobj
;
38552 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38556 PyObject
* obj0
= 0 ;
38557 PyObject
* obj1
= 0 ;
38558 PyObject
* obj2
= 0 ;
38559 char *kwnames
[] = {
38560 (char *) "self",(char *) "row",(char *) "col", NULL
38563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38566 arg2
= (int)SWIG_As_int(obj1
);
38567 if (PyErr_Occurred()) SWIG_fail
;
38568 arg3
= (int)SWIG_As_int(obj2
);
38569 if (PyErr_Occurred()) SWIG_fail
;
38571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38572 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
38574 wxPyEndAllowThreads(__tstate
);
38575 if (PyErr_Occurred()) SWIG_fail
;
38578 wxSize
* resultptr
;
38579 resultptr
= new wxSize((wxSize
&) result
);
38580 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38588 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38589 PyObject
*resultobj
;
38590 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38592 PyObject
* obj0
= 0 ;
38593 char *kwnames
[] = {
38594 (char *) "self", NULL
38597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
38598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38602 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
38604 wxPyEndAllowThreads(__tstate
);
38605 if (PyErr_Occurred()) SWIG_fail
;
38608 wxSize
* resultptr
;
38609 resultptr
= new wxSize((wxSize
&) result
);
38610 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38618 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38619 PyObject
*resultobj
;
38620 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38623 PyObject
* obj0
= 0 ;
38624 PyObject
* obj1
= 0 ;
38625 char *kwnames
[] = {
38626 (char *) "self",(char *) "sz", NULL
38629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38634 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38638 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
38640 wxPyEndAllowThreads(__tstate
);
38641 if (PyErr_Occurred()) SWIG_fail
;
38643 Py_INCREF(Py_None
); resultobj
= Py_None
;
38650 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
38651 PyObject
*resultobj
;
38652 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38653 wxWindow
*arg2
= (wxWindow
*) 0 ;
38654 wxGBPosition result
;
38655 PyObject
* obj0
= 0 ;
38656 PyObject
* obj1
= 0 ;
38658 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38661 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38665 result
= (arg1
)->GetItemPosition(arg2
);
38667 wxPyEndAllowThreads(__tstate
);
38668 if (PyErr_Occurred()) SWIG_fail
;
38671 wxGBPosition
* resultptr
;
38672 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38673 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38681 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
38682 PyObject
*resultobj
;
38683 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38684 wxSizer
*arg2
= (wxSizer
*) 0 ;
38685 wxGBPosition result
;
38686 PyObject
* obj0
= 0 ;
38687 PyObject
* obj1
= 0 ;
38689 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38692 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38696 result
= (arg1
)->GetItemPosition(arg2
);
38698 wxPyEndAllowThreads(__tstate
);
38699 if (PyErr_Occurred()) SWIG_fail
;
38702 wxGBPosition
* resultptr
;
38703 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38704 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38712 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
38713 PyObject
*resultobj
;
38714 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38716 wxGBPosition result
;
38717 PyObject
* obj0
= 0 ;
38718 PyObject
* obj1
= 0 ;
38720 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38723 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
38724 if (PyErr_Occurred()) SWIG_fail
;
38726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38727 result
= (arg1
)->GetItemPosition(arg2
);
38729 wxPyEndAllowThreads(__tstate
);
38730 if (PyErr_Occurred()) SWIG_fail
;
38733 wxGBPosition
* resultptr
;
38734 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38735 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38743 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
38748 argc
= PyObject_Length(args
);
38749 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38750 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38756 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38766 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38774 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
38782 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38792 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38800 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
38808 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38816 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
38818 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
38823 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
38828 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
38829 PyObject
*resultobj
;
38830 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38831 wxWindow
*arg2
= (wxWindow
*) 0 ;
38832 wxGBPosition
*arg3
= 0 ;
38834 wxGBPosition temp3
;
38835 PyObject
* obj0
= 0 ;
38836 PyObject
* obj1
= 0 ;
38837 PyObject
* obj2
= 0 ;
38839 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38842 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38846 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38850 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38852 wxPyEndAllowThreads(__tstate
);
38853 if (PyErr_Occurred()) SWIG_fail
;
38856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38864 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
38865 PyObject
*resultobj
;
38866 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38867 wxSizer
*arg2
= (wxSizer
*) 0 ;
38868 wxGBPosition
*arg3
= 0 ;
38870 wxGBPosition temp3
;
38871 PyObject
* obj0
= 0 ;
38872 PyObject
* obj1
= 0 ;
38873 PyObject
* obj2
= 0 ;
38875 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38878 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38882 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38886 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38888 wxPyEndAllowThreads(__tstate
);
38889 if (PyErr_Occurred()) SWIG_fail
;
38892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38900 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
38901 PyObject
*resultobj
;
38902 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38904 wxGBPosition
*arg3
= 0 ;
38906 wxGBPosition temp3
;
38907 PyObject
* obj0
= 0 ;
38908 PyObject
* obj1
= 0 ;
38909 PyObject
* obj2
= 0 ;
38911 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38914 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
38915 if (PyErr_Occurred()) SWIG_fail
;
38918 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38922 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38924 wxPyEndAllowThreads(__tstate
);
38925 if (PyErr_Occurred()) SWIG_fail
;
38928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38936 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
38941 argc
= PyObject_Length(args
);
38942 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38943 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38949 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38959 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38968 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38971 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
38980 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38990 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38999 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
39002 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
39011 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39019 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39022 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
39025 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
39031 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
39036 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
39037 PyObject
*resultobj
;
39038 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39039 wxWindow
*arg2
= (wxWindow
*) 0 ;
39041 PyObject
* obj0
= 0 ;
39042 PyObject
* obj1
= 0 ;
39044 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
39045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39047 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39051 result
= (arg1
)->GetItemSpan(arg2
);
39053 wxPyEndAllowThreads(__tstate
);
39054 if (PyErr_Occurred()) SWIG_fail
;
39057 wxGBSpan
* resultptr
;
39058 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
39059 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
39067 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
39068 PyObject
*resultobj
;
39069 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39070 wxSizer
*arg2
= (wxSizer
*) 0 ;
39072 PyObject
* obj0
= 0 ;
39073 PyObject
* obj1
= 0 ;
39075 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
39076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39078 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39082 result
= (arg1
)->GetItemSpan(arg2
);
39084 wxPyEndAllowThreads(__tstate
);
39085 if (PyErr_Occurred()) SWIG_fail
;
39088 wxGBSpan
* resultptr
;
39089 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
39090 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
39098 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
39099 PyObject
*resultobj
;
39100 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39103 PyObject
* obj0
= 0 ;
39104 PyObject
* obj1
= 0 ;
39106 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
39107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39109 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
39110 if (PyErr_Occurred()) SWIG_fail
;
39112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39113 result
= (arg1
)->GetItemSpan(arg2
);
39115 wxPyEndAllowThreads(__tstate
);
39116 if (PyErr_Occurred()) SWIG_fail
;
39119 wxGBSpan
* resultptr
;
39120 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
39121 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
39129 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
39134 argc
= PyObject_Length(args
);
39135 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
39136 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39142 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39152 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39160 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
39168 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39178 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39186 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
39194 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39202 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39204 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
39209 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
39214 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
39215 PyObject
*resultobj
;
39216 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39217 wxWindow
*arg2
= (wxWindow
*) 0 ;
39218 wxGBSpan
*arg3
= 0 ;
39221 PyObject
* obj0
= 0 ;
39222 PyObject
* obj1
= 0 ;
39223 PyObject
* obj2
= 0 ;
39225 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39228 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39232 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39236 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39238 wxPyEndAllowThreads(__tstate
);
39239 if (PyErr_Occurred()) SWIG_fail
;
39242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39250 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
39251 PyObject
*resultobj
;
39252 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39253 wxSizer
*arg2
= (wxSizer
*) 0 ;
39254 wxGBSpan
*arg3
= 0 ;
39257 PyObject
* obj0
= 0 ;
39258 PyObject
* obj1
= 0 ;
39259 PyObject
* obj2
= 0 ;
39261 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39264 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39268 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39272 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39274 wxPyEndAllowThreads(__tstate
);
39275 if (PyErr_Occurred()) SWIG_fail
;
39278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39286 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
39287 PyObject
*resultobj
;
39288 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39290 wxGBSpan
*arg3
= 0 ;
39293 PyObject
* obj0
= 0 ;
39294 PyObject
* obj1
= 0 ;
39295 PyObject
* obj2
= 0 ;
39297 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39300 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
39301 if (PyErr_Occurred()) SWIG_fail
;
39304 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39308 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39310 wxPyEndAllowThreads(__tstate
);
39311 if (PyErr_Occurred()) SWIG_fail
;
39314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39322 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
39327 argc
= PyObject_Length(args
);
39328 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
39329 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39335 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39345 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39354 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39357 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
39366 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39376 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39385 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39388 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
39397 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39405 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
39408 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39411 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
39417 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
39422 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
39423 PyObject
*resultobj
;
39424 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39425 wxWindow
*arg2
= (wxWindow
*) 0 ;
39426 wxGBSizerItem
*result
;
39427 PyObject
* obj0
= 0 ;
39428 PyObject
* obj1
= 0 ;
39430 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39433 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39437 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39439 wxPyEndAllowThreads(__tstate
);
39440 if (PyErr_Occurred()) SWIG_fail
;
39442 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39449 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
39450 PyObject
*resultobj
;
39451 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39452 wxSizer
*arg2
= (wxSizer
*) 0 ;
39453 wxGBSizerItem
*result
;
39454 PyObject
* obj0
= 0 ;
39455 PyObject
* obj1
= 0 ;
39457 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39460 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39464 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39466 wxPyEndAllowThreads(__tstate
);
39467 if (PyErr_Occurred()) SWIG_fail
;
39469 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39476 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
39481 argc
= PyObject_Length(args
);
39482 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
39483 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39489 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39499 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39507 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
39515 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39525 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39533 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
39538 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
39543 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39544 PyObject
*resultobj
;
39545 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39546 wxGBPosition
*arg2
= 0 ;
39547 wxGBSizerItem
*result
;
39548 wxGBPosition temp2
;
39549 PyObject
* obj0
= 0 ;
39550 PyObject
* obj1
= 0 ;
39551 char *kwnames
[] = {
39552 (char *) "self",(char *) "pos", NULL
39555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
39556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39560 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39564 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
39566 wxPyEndAllowThreads(__tstate
);
39567 if (PyErr_Occurred()) SWIG_fail
;
39569 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39576 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39577 PyObject
*resultobj
;
39578 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39579 wxPoint
*arg2
= 0 ;
39580 wxGBSizerItem
*result
;
39582 PyObject
* obj0
= 0 ;
39583 PyObject
* obj1
= 0 ;
39584 char *kwnames
[] = {
39585 (char *) "self",(char *) "pt", NULL
39588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
39589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39593 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39597 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
39599 wxPyEndAllowThreads(__tstate
);
39600 if (PyErr_Occurred()) SWIG_fail
;
39602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39609 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39610 PyObject
*resultobj
;
39611 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39612 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
39613 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
39615 PyObject
* obj0
= 0 ;
39616 PyObject
* obj1
= 0 ;
39617 PyObject
* obj2
= 0 ;
39618 char *kwnames
[] = {
39619 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
39622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39625 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
39626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39628 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
39629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39633 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
39635 wxPyEndAllowThreads(__tstate
);
39636 if (PyErr_Occurred()) SWIG_fail
;
39639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39647 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39648 PyObject
*resultobj
;
39649 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39650 wxGBPosition
*arg2
= 0 ;
39651 wxGBSpan
*arg3
= 0 ;
39652 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
39654 wxGBPosition temp2
;
39656 PyObject
* obj0
= 0 ;
39657 PyObject
* obj1
= 0 ;
39658 PyObject
* obj2
= 0 ;
39659 PyObject
* obj3
= 0 ;
39660 char *kwnames
[] = {
39661 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
39664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39669 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39673 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39676 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
39677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39681 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
39683 wxPyEndAllowThreads(__tstate
);
39684 if (PyErr_Occurred()) SWIG_fail
;
39687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39695 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
39697 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39698 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
39700 return Py_BuildValue((char *)"");
39702 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39703 PyObject
*resultobj
;
39704 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39706 wxWindow
*arg3
= (wxWindow
*) 0 ;
39708 int arg5
= (int) 0 ;
39709 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
39710 PyObject
* obj0
= 0 ;
39711 PyObject
* obj1
= 0 ;
39712 PyObject
* obj2
= 0 ;
39713 PyObject
* obj3
= 0 ;
39714 PyObject
* obj4
= 0 ;
39715 PyObject
* obj5
= 0 ;
39716 char *kwnames
[] = {
39717 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
39720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39723 arg2
= (int)SWIG_As_int(obj1
);
39724 if (PyErr_Occurred()) SWIG_fail
;
39725 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39727 arg4
= (int)SWIG_As_int(obj3
);
39728 if (PyErr_Occurred()) SWIG_fail
;
39730 arg5
= (int)SWIG_As_int(obj4
);
39731 if (PyErr_Occurred()) SWIG_fail
;
39734 arg6
= (int)SWIG_As_int(obj5
);
39735 if (PyErr_Occurred()) SWIG_fail
;
39738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39739 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
39741 wxPyEndAllowThreads(__tstate
);
39742 if (PyErr_Occurred()) SWIG_fail
;
39744 Py_INCREF(Py_None
); resultobj
= Py_None
;
39751 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39752 PyObject
*resultobj
;
39753 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39754 wxWindow
*arg2
= (wxWindow
*) 0 ;
39755 int arg3
= (int) 0 ;
39756 PyObject
* obj0
= 0 ;
39757 PyObject
* obj1
= 0 ;
39758 PyObject
* obj2
= 0 ;
39759 char *kwnames
[] = {
39760 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39766 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39769 arg3
= (int)SWIG_As_int(obj2
);
39770 if (PyErr_Occurred()) SWIG_fail
;
39773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39774 (arg1
)->LeftOf(arg2
,arg3
);
39776 wxPyEndAllowThreads(__tstate
);
39777 if (PyErr_Occurred()) SWIG_fail
;
39779 Py_INCREF(Py_None
); resultobj
= Py_None
;
39786 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39787 PyObject
*resultobj
;
39788 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39789 wxWindow
*arg2
= (wxWindow
*) 0 ;
39790 int arg3
= (int) 0 ;
39791 PyObject
* obj0
= 0 ;
39792 PyObject
* obj1
= 0 ;
39793 PyObject
* obj2
= 0 ;
39794 char *kwnames
[] = {
39795 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39801 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39804 arg3
= (int)SWIG_As_int(obj2
);
39805 if (PyErr_Occurred()) SWIG_fail
;
39808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39809 (arg1
)->RightOf(arg2
,arg3
);
39811 wxPyEndAllowThreads(__tstate
);
39812 if (PyErr_Occurred()) SWIG_fail
;
39814 Py_INCREF(Py_None
); resultobj
= Py_None
;
39821 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39822 PyObject
*resultobj
;
39823 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39824 wxWindow
*arg2
= (wxWindow
*) 0 ;
39825 int arg3
= (int) 0 ;
39826 PyObject
* obj0
= 0 ;
39827 PyObject
* obj1
= 0 ;
39828 PyObject
* obj2
= 0 ;
39829 char *kwnames
[] = {
39830 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39836 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39839 arg3
= (int)SWIG_As_int(obj2
);
39840 if (PyErr_Occurred()) SWIG_fail
;
39843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39844 (arg1
)->Above(arg2
,arg3
);
39846 wxPyEndAllowThreads(__tstate
);
39847 if (PyErr_Occurred()) SWIG_fail
;
39849 Py_INCREF(Py_None
); resultobj
= Py_None
;
39856 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39857 PyObject
*resultobj
;
39858 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39859 wxWindow
*arg2
= (wxWindow
*) 0 ;
39860 int arg3
= (int) 0 ;
39861 PyObject
* obj0
= 0 ;
39862 PyObject
* obj1
= 0 ;
39863 PyObject
* obj2
= 0 ;
39864 char *kwnames
[] = {
39865 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39871 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39874 arg3
= (int)SWIG_As_int(obj2
);
39875 if (PyErr_Occurred()) SWIG_fail
;
39878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39879 (arg1
)->Below(arg2
,arg3
);
39881 wxPyEndAllowThreads(__tstate
);
39882 if (PyErr_Occurred()) SWIG_fail
;
39884 Py_INCREF(Py_None
); resultobj
= Py_None
;
39891 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39892 PyObject
*resultobj
;
39893 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39894 wxWindow
*arg2
= (wxWindow
*) 0 ;
39896 int arg4
= (int) 0 ;
39897 PyObject
* obj0
= 0 ;
39898 PyObject
* obj1
= 0 ;
39899 PyObject
* obj2
= 0 ;
39900 PyObject
* obj3
= 0 ;
39901 char *kwnames
[] = {
39902 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
39905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39908 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39910 arg3
= (int)SWIG_As_int(obj2
);
39911 if (PyErr_Occurred()) SWIG_fail
;
39913 arg4
= (int)SWIG_As_int(obj3
);
39914 if (PyErr_Occurred()) SWIG_fail
;
39917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39918 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
39920 wxPyEndAllowThreads(__tstate
);
39921 if (PyErr_Occurred()) SWIG_fail
;
39923 Py_INCREF(Py_None
); resultobj
= Py_None
;
39930 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39931 PyObject
*resultobj
;
39932 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39933 wxWindow
*arg2
= (wxWindow
*) 0 ;
39936 PyObject
* obj0
= 0 ;
39937 PyObject
* obj1
= 0 ;
39938 PyObject
* obj2
= 0 ;
39939 PyObject
* obj3
= 0 ;
39940 char *kwnames
[] = {
39941 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
39944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39947 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39949 arg3
= (int)SWIG_As_int(obj2
);
39950 if (PyErr_Occurred()) SWIG_fail
;
39951 arg4
= (int)SWIG_As_int(obj3
);
39952 if (PyErr_Occurred()) SWIG_fail
;
39954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39955 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
39957 wxPyEndAllowThreads(__tstate
);
39958 if (PyErr_Occurred()) SWIG_fail
;
39960 Py_INCREF(Py_None
); resultobj
= Py_None
;
39967 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39968 PyObject
*resultobj
;
39969 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39971 PyObject
* obj0
= 0 ;
39972 PyObject
* obj1
= 0 ;
39973 char *kwnames
[] = {
39974 (char *) "self",(char *) "val", NULL
39977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
39978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39980 arg2
= (int)SWIG_As_int(obj1
);
39981 if (PyErr_Occurred()) SWIG_fail
;
39983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39984 (arg1
)->Absolute(arg2
);
39986 wxPyEndAllowThreads(__tstate
);
39987 if (PyErr_Occurred()) SWIG_fail
;
39989 Py_INCREF(Py_None
); resultobj
= Py_None
;
39996 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39997 PyObject
*resultobj
;
39998 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39999 PyObject
* obj0
= 0 ;
40000 char *kwnames
[] = {
40001 (char *) "self", NULL
40004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
40005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40009 (arg1
)->Unconstrained();
40011 wxPyEndAllowThreads(__tstate
);
40012 if (PyErr_Occurred()) SWIG_fail
;
40014 Py_INCREF(Py_None
); resultobj
= Py_None
;
40021 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40022 PyObject
*resultobj
;
40023 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40024 PyObject
* obj0
= 0 ;
40025 char *kwnames
[] = {
40026 (char *) "self", NULL
40029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
40030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40036 wxPyEndAllowThreads(__tstate
);
40037 if (PyErr_Occurred()) SWIG_fail
;
40039 Py_INCREF(Py_None
); resultobj
= Py_None
;
40046 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40047 PyObject
*resultobj
;
40048 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40050 PyObject
* obj0
= 0 ;
40051 char *kwnames
[] = {
40052 (char *) "self", NULL
40055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
40056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40060 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
40062 wxPyEndAllowThreads(__tstate
);
40063 if (PyErr_Occurred()) SWIG_fail
;
40066 resultobj
= wxPyMake_wxObject(result
, 0);
40074 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40075 PyObject
*resultobj
;
40076 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40078 PyObject
* obj0
= 0 ;
40079 char *kwnames
[] = {
40080 (char *) "self", NULL
40083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
40084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40088 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
40090 wxPyEndAllowThreads(__tstate
);
40091 if (PyErr_Occurred()) SWIG_fail
;
40093 resultobj
= SWIG_From_int((int)result
);
40100 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40101 PyObject
*resultobj
;
40102 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40104 PyObject
* obj0
= 0 ;
40105 PyObject
* obj1
= 0 ;
40106 char *kwnames
[] = {
40107 (char *) "self",(char *) "which", NULL
40110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
40111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40113 arg2
= (int)SWIG_As_int(obj1
);
40114 if (PyErr_Occurred()) SWIG_fail
;
40116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40117 (arg1
)->SetEdge((wxEdge
)arg2
);
40119 wxPyEndAllowThreads(__tstate
);
40120 if (PyErr_Occurred()) SWIG_fail
;
40122 Py_INCREF(Py_None
); resultobj
= Py_None
;
40129 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40130 PyObject
*resultobj
;
40131 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40133 PyObject
* obj0
= 0 ;
40134 PyObject
* obj1
= 0 ;
40135 char *kwnames
[] = {
40136 (char *) "self",(char *) "v", NULL
40139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
40140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40142 arg2
= (int)SWIG_As_int(obj1
);
40143 if (PyErr_Occurred()) SWIG_fail
;
40145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40146 (arg1
)->SetValue(arg2
);
40148 wxPyEndAllowThreads(__tstate
);
40149 if (PyErr_Occurred()) SWIG_fail
;
40151 Py_INCREF(Py_None
); resultobj
= Py_None
;
40158 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40159 PyObject
*resultobj
;
40160 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40162 PyObject
* obj0
= 0 ;
40163 char *kwnames
[] = {
40164 (char *) "self", NULL
40167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
40168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40172 result
= (int)(arg1
)->GetMargin();
40174 wxPyEndAllowThreads(__tstate
);
40175 if (PyErr_Occurred()) SWIG_fail
;
40177 resultobj
= SWIG_From_int((int)result
);
40184 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40185 PyObject
*resultobj
;
40186 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40188 PyObject
* obj0
= 0 ;
40189 PyObject
* obj1
= 0 ;
40190 char *kwnames
[] = {
40191 (char *) "self",(char *) "m", NULL
40194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
40195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40197 arg2
= (int)SWIG_As_int(obj1
);
40198 if (PyErr_Occurred()) SWIG_fail
;
40200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40201 (arg1
)->SetMargin(arg2
);
40203 wxPyEndAllowThreads(__tstate
);
40204 if (PyErr_Occurred()) SWIG_fail
;
40206 Py_INCREF(Py_None
); resultobj
= Py_None
;
40213 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40214 PyObject
*resultobj
;
40215 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40217 PyObject
* obj0
= 0 ;
40218 char *kwnames
[] = {
40219 (char *) "self", NULL
40222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
40223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40227 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
40229 wxPyEndAllowThreads(__tstate
);
40230 if (PyErr_Occurred()) SWIG_fail
;
40232 resultobj
= SWIG_From_int((int)result
);
40239 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40240 PyObject
*resultobj
;
40241 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40243 PyObject
* obj0
= 0 ;
40244 char *kwnames
[] = {
40245 (char *) "self", NULL
40248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
40249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40253 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
40255 wxPyEndAllowThreads(__tstate
);
40256 if (PyErr_Occurred()) SWIG_fail
;
40258 resultobj
= SWIG_From_int((int)result
);
40265 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40266 PyObject
*resultobj
;
40267 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40269 PyObject
* obj0
= 0 ;
40270 char *kwnames
[] = {
40271 (char *) "self", NULL
40274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
40275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40279 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
40281 wxPyEndAllowThreads(__tstate
);
40282 if (PyErr_Occurred()) SWIG_fail
;
40284 resultobj
= SWIG_From_int((int)result
);
40291 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40292 PyObject
*resultobj
;
40293 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40295 PyObject
* obj0
= 0 ;
40296 char *kwnames
[] = {
40297 (char *) "self", NULL
40300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
40301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40305 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
40307 wxPyEndAllowThreads(__tstate
);
40308 if (PyErr_Occurred()) SWIG_fail
;
40311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40319 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40320 PyObject
*resultobj
;
40321 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40323 PyObject
* obj0
= 0 ;
40324 PyObject
* obj1
= 0 ;
40325 char *kwnames
[] = {
40326 (char *) "self",(char *) "d", NULL
40329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
40330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40332 arg2
= (bool)SWIG_As_bool(obj1
);
40333 if (PyErr_Occurred()) SWIG_fail
;
40335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40336 (arg1
)->SetDone(arg2
);
40338 wxPyEndAllowThreads(__tstate
);
40339 if (PyErr_Occurred()) SWIG_fail
;
40341 Py_INCREF(Py_None
); resultobj
= Py_None
;
40348 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40349 PyObject
*resultobj
;
40350 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40352 PyObject
* obj0
= 0 ;
40353 char *kwnames
[] = {
40354 (char *) "self", NULL
40357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
40358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40362 result
= (int)(arg1
)->GetRelationship();
40364 wxPyEndAllowThreads(__tstate
);
40365 if (PyErr_Occurred()) SWIG_fail
;
40367 resultobj
= SWIG_From_int((int)result
);
40374 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40375 PyObject
*resultobj
;
40376 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40378 PyObject
* obj0
= 0 ;
40379 PyObject
* obj1
= 0 ;
40380 char *kwnames
[] = {
40381 (char *) "self",(char *) "r", NULL
40384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
40385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40387 arg2
= (int)SWIG_As_int(obj1
);
40388 if (PyErr_Occurred()) SWIG_fail
;
40390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40391 (arg1
)->SetRelationship((wxRelationship
)arg2
);
40393 wxPyEndAllowThreads(__tstate
);
40394 if (PyErr_Occurred()) SWIG_fail
;
40396 Py_INCREF(Py_None
); resultobj
= Py_None
;
40403 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40404 PyObject
*resultobj
;
40405 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40406 wxWindow
*arg2
= (wxWindow
*) 0 ;
40408 PyObject
* obj0
= 0 ;
40409 PyObject
* obj1
= 0 ;
40410 char *kwnames
[] = {
40411 (char *) "self",(char *) "otherW", NULL
40414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
40415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40417 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40421 result
= (bool)(arg1
)->ResetIfWin(arg2
);
40423 wxPyEndAllowThreads(__tstate
);
40424 if (PyErr_Occurred()) SWIG_fail
;
40427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40435 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40436 PyObject
*resultobj
;
40437 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40438 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
40439 wxWindow
*arg3
= (wxWindow
*) 0 ;
40441 PyObject
* obj0
= 0 ;
40442 PyObject
* obj1
= 0 ;
40443 PyObject
* obj2
= 0 ;
40444 char *kwnames
[] = {
40445 (char *) "self",(char *) "constraints",(char *) "win", NULL
40448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40451 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
40452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40453 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40457 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
40459 wxPyEndAllowThreads(__tstate
);
40460 if (PyErr_Occurred()) SWIG_fail
;
40463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40471 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40472 PyObject
*resultobj
;
40473 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40475 wxWindow
*arg3
= (wxWindow
*) 0 ;
40476 wxWindow
*arg4
= (wxWindow
*) 0 ;
40478 PyObject
* obj0
= 0 ;
40479 PyObject
* obj1
= 0 ;
40480 PyObject
* obj2
= 0 ;
40481 PyObject
* obj3
= 0 ;
40482 char *kwnames
[] = {
40483 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
40486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40489 arg2
= (int)SWIG_As_int(obj1
);
40490 if (PyErr_Occurred()) SWIG_fail
;
40491 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40493 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
40494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40497 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
40499 wxPyEndAllowThreads(__tstate
);
40500 if (PyErr_Occurred()) SWIG_fail
;
40502 resultobj
= SWIG_From_int((int)result
);
40509 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
40511 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40512 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
40514 return Py_BuildValue((char *)"");
40516 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40517 PyObject
*resultobj
;
40518 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40519 wxIndividualLayoutConstraint
*result
;
40520 PyObject
* obj0
= 0 ;
40521 char *kwnames
[] = {
40522 (char *) "self", NULL
40525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
40526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40528 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
40530 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40537 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40538 PyObject
*resultobj
;
40539 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40540 wxIndividualLayoutConstraint
*result
;
40541 PyObject
* obj0
= 0 ;
40542 char *kwnames
[] = {
40543 (char *) "self", NULL
40546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
40547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40549 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
40551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40558 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40559 PyObject
*resultobj
;
40560 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40561 wxIndividualLayoutConstraint
*result
;
40562 PyObject
* obj0
= 0 ;
40563 char *kwnames
[] = {
40564 (char *) "self", NULL
40567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
40568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40570 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
40572 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40579 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40580 PyObject
*resultobj
;
40581 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40582 wxIndividualLayoutConstraint
*result
;
40583 PyObject
* obj0
= 0 ;
40584 char *kwnames
[] = {
40585 (char *) "self", NULL
40588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
40589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40591 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
40593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40600 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40601 PyObject
*resultobj
;
40602 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40603 wxIndividualLayoutConstraint
*result
;
40604 PyObject
* obj0
= 0 ;
40605 char *kwnames
[] = {
40606 (char *) "self", NULL
40609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
40610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40612 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
40614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40621 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40622 PyObject
*resultobj
;
40623 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40624 wxIndividualLayoutConstraint
*result
;
40625 PyObject
* obj0
= 0 ;
40626 char *kwnames
[] = {
40627 (char *) "self", NULL
40630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
40631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40633 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
40635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40642 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40643 PyObject
*resultobj
;
40644 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40645 wxIndividualLayoutConstraint
*result
;
40646 PyObject
* obj0
= 0 ;
40647 char *kwnames
[] = {
40648 (char *) "self", NULL
40651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
40652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40654 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
40656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40663 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40664 PyObject
*resultobj
;
40665 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40666 wxIndividualLayoutConstraint
*result
;
40667 PyObject
* obj0
= 0 ;
40668 char *kwnames
[] = {
40669 (char *) "self", NULL
40672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
40673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40675 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
40677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40684 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40685 PyObject
*resultobj
;
40686 wxLayoutConstraints
*result
;
40687 char *kwnames
[] = {
40691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
40693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40694 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
40696 wxPyEndAllowThreads(__tstate
);
40697 if (PyErr_Occurred()) SWIG_fail
;
40699 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
40706 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40707 PyObject
*resultobj
;
40708 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40709 wxWindow
*arg2
= (wxWindow
*) 0 ;
40710 int *arg3
= (int *) 0 ;
40714 PyObject
* obj0
= 0 ;
40715 PyObject
* obj1
= 0 ;
40716 char *kwnames
[] = {
40717 (char *) "self",(char *) "win", NULL
40720 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
40721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
40722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40724 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40728 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
40730 wxPyEndAllowThreads(__tstate
);
40731 if (PyErr_Occurred()) SWIG_fail
;
40734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40736 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
40737 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
40744 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40745 PyObject
*resultobj
;
40746 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40748 PyObject
* obj0
= 0 ;
40749 char *kwnames
[] = {
40750 (char *) "self", NULL
40753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
40754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40758 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
40760 wxPyEndAllowThreads(__tstate
);
40761 if (PyErr_Occurred()) SWIG_fail
;
40764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40772 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
40774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40775 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
40777 return Py_BuildValue((char *)"");
40779 static PyMethodDef SwigMethods
[] = {
40780 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
40781 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
40782 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40783 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40784 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
40785 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40786 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40787 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40788 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40789 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40790 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40791 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40792 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40793 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40794 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40795 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40796 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40797 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40798 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40799 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40800 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40801 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40802 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40803 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40804 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40805 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
40806 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40807 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40808 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40809 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40810 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40811 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40812 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40813 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40814 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40815 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40816 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40817 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40818 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
40819 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40820 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40821 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40822 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40823 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40824 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40825 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40826 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40827 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40828 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40829 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40830 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40831 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40832 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40833 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
40834 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40835 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40836 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40837 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40838 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40839 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40840 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40841 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40842 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40843 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40844 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40845 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40846 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40847 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40848 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40849 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40850 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40851 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40852 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40853 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40854 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40855 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40856 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40857 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40858 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40859 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40860 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40861 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40862 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40863 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40864 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40865 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40866 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40867 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40868 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40869 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40870 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40871 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40872 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40873 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40874 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40875 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40876 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40877 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40878 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40879 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40880 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40881 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40882 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40883 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40884 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40885 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
40886 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40887 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40888 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40889 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40890 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40891 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40892 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40893 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40894 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40895 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40896 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40897 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40898 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40899 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40900 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40901 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40902 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40903 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40904 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40905 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40906 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40907 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40908 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40909 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40910 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40911 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40912 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40913 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
40914 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40915 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40916 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40917 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40918 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40919 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40920 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40921 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40922 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40923 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40924 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40925 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40926 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40927 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40928 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40929 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40930 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40931 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
40932 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40933 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
40934 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40935 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40936 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40937 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40938 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40939 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40940 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40941 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
40942 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
40943 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40944 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40945 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40946 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40947 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40948 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40949 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40950 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40951 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40952 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40953 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40954 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
40955 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40956 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40957 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40958 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40959 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40960 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40961 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40962 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40963 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40964 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40965 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40966 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
40967 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40968 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40969 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40970 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
40971 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40972 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40973 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40974 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40975 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40976 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
40977 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40978 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40979 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40980 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40981 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40982 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40983 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40984 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40985 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40986 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
40987 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40988 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40989 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40990 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40991 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40992 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40993 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40994 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40995 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40996 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
40997 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40998 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40999 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41000 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
41001 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41002 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41003 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41004 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41005 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41006 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41007 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41008 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41009 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41010 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41011 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41012 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41013 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41014 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41015 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41016 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41017 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41018 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41019 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41020 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41021 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41022 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41023 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41024 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41025 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41026 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41027 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41028 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41029 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41030 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41031 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41032 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41033 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41034 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41035 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41036 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41037 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41038 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41039 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41040 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41041 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41042 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41043 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41044 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41045 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41046 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41047 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41048 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41049 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41050 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41051 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41052 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41053 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41054 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41055 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41056 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41057 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41058 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41059 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41060 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41061 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41062 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41063 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41064 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41065 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41066 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41067 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41068 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41069 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41070 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41071 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41072 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
41073 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41074 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
41075 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41076 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
41077 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41078 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
41079 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41080 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
41081 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41082 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
41083 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41084 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
41085 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41086 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
41087 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41088 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
41089 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41090 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
41091 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41092 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
41093 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41094 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
41095 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41096 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
41097 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41098 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41099 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41100 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41101 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41102 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41103 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41104 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41105 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41106 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41107 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41108 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41109 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41110 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
41111 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41112 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41113 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41114 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41115 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41116 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41117 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41118 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41119 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41120 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41121 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41122 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41123 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41124 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41125 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41126 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41127 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41128 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
41129 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41130 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41131 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
41132 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41133 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41134 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
41135 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41136 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41137 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41138 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41139 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41140 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41141 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41142 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41143 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41144 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41145 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41146 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
41147 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41148 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41149 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41150 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41151 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
41152 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41153 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41154 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41155 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41156 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41157 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
41158 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41159 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41160 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41161 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41162 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41163 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
41164 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41165 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41166 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41167 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41168 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41169 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41170 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41171 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41172 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41173 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41174 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41175 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41176 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41177 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41178 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41179 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41180 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41181 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41182 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41183 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41184 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41185 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41186 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41187 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41188 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41189 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41190 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41191 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41192 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41193 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41194 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41195 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41196 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41197 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41198 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41199 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41200 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41201 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41202 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41203 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41204 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41205 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41206 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41207 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41208 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41209 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41210 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41211 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41212 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41213 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41214 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41215 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41216 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41217 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41218 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41219 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41220 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41221 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41222 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41223 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41224 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41225 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41226 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
41227 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41228 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41229 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41230 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41231 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41232 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41233 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
41234 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41235 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41236 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41237 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41238 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41239 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41240 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41241 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41242 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41243 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41244 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41245 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41246 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41247 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41248 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41249 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41250 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41251 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41252 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41253 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41254 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41255 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41256 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41257 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41258 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41259 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41260 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41261 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41262 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41263 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41264 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41265 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41266 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41267 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41268 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41269 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
41270 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41271 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41272 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41273 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41274 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41275 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41276 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41277 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41278 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41279 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
41280 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41281 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41282 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41283 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41284 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41285 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41286 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41287 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41288 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41289 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
41290 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41291 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
41292 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41293 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
41294 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41295 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41296 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
41297 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41298 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41299 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41300 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
41301 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41302 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41303 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
41304 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41305 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41306 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
41307 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41308 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
41309 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41310 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41311 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41312 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41313 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
41314 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41315 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41316 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41317 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41318 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41319 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41320 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41321 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
41322 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41323 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41324 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41325 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
41326 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41327 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41328 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
41329 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41330 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
41331 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41332 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41333 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41334 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
41335 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41336 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41337 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41338 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41339 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41340 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41341 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41342 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41343 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41344 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41345 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41346 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41347 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41348 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41349 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41350 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41351 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
41352 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41353 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41354 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41355 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41356 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41357 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41358 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41359 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41360 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41361 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41362 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
41363 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41364 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41365 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41366 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
41367 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41368 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41369 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41370 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41371 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41372 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41373 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41374 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41375 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
41376 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41377 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41378 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
41379 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41380 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41381 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
41382 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41383 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41384 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41385 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
41386 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41387 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41388 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41389 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41390 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41391 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41392 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
41393 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41394 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41395 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41396 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41397 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
41398 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41399 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41400 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41401 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41402 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
41403 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41404 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41405 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41406 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41407 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41408 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41409 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41410 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41411 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41412 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41413 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41414 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41415 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41416 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41417 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41418 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41419 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41420 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41421 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41422 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41423 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41424 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41425 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41426 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41427 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41428 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41429 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41430 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41431 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41432 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41433 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41434 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41435 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41436 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41437 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41438 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41439 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41440 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41441 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41442 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41443 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41444 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41445 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41446 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41447 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
41448 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41449 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41450 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41451 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41452 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41453 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41454 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41455 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41456 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41457 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41458 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41459 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41460 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41461 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41462 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41463 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41464 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41465 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
41466 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41467 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41468 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41469 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41470 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41471 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41472 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
41473 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41474 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41475 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41476 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
41477 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41478 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41479 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41480 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41481 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41482 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41483 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41484 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41485 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41486 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
41487 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41488 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41489 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41490 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41491 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41492 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41493 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41494 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41495 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41496 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41497 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41498 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41499 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41500 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41501 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41502 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41503 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41504 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41505 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41506 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41507 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41508 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41509 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41510 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41511 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41512 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41513 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41514 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41515 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41516 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41517 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41518 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41519 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41520 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41521 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41522 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41523 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41524 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41525 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41526 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41527 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41528 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41529 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41530 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41531 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41532 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41533 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41534 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41535 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41536 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41537 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41538 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41539 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41540 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41541 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41542 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41543 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41544 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41545 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41546 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41547 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41548 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41549 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41550 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41551 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41552 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41553 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41554 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41555 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41556 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41557 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41558 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41559 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41560 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41561 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41562 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41563 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41564 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41565 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41566 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41567 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41568 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41569 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41570 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41571 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41572 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41573 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41574 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41575 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41576 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41577 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41578 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41579 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41580 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41581 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41582 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41583 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41584 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41585 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41586 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41587 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41588 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41589 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41590 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41591 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41592 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41593 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41594 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41595 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41596 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41597 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41598 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41599 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41600 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41601 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41602 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41603 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41604 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41605 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41606 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41607 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41608 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41609 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41610 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41611 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41612 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41613 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41614 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41615 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41616 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41617 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41618 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41619 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41620 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41621 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41622 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41623 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41624 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41625 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41626 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41627 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41628 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41629 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41630 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41631 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41632 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41633 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41634 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41635 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41636 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41637 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41638 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41639 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41640 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41641 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41642 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41643 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41644 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41645 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41646 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41647 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41648 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41649 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41650 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41651 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41652 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41653 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41654 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41655 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
41656 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41657 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41658 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41659 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41660 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41661 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41662 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41663 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41664 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41665 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41666 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41667 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41668 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41669 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41670 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41671 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41672 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41673 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41674 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41675 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41676 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41677 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41678 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41679 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41680 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41681 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41682 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41683 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41684 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41685 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41686 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41687 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41688 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41689 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41690 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41691 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41692 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41693 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41694 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41695 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
41696 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41697 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41698 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41699 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41700 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41701 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41702 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41703 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41704 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41705 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41706 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41707 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41708 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41709 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
41710 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41711 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41712 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
41713 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41714 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41715 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41716 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41717 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41718 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41719 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41720 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41721 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41722 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41723 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41724 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41725 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41726 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41727 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41728 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41729 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41730 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41731 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41732 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41733 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41734 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41735 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41736 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41737 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41738 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41739 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41740 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41741 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41742 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41743 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41744 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41745 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41746 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41747 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41748 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41749 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41750 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41751 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41752 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41753 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41754 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41755 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41756 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41757 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41758 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41759 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41760 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41761 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41762 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41763 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41764 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41765 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41766 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41767 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
41768 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41769 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41770 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41771 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41772 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41773 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41774 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41775 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41776 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41777 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41778 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41779 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41780 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41781 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41782 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41783 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41784 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41785 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41786 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41787 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41788 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41789 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41790 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41791 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41792 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41793 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41794 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
41795 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41796 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41797 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41798 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41799 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41800 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41801 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41802 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41803 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41804 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41805 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41806 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41807 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41808 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41809 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41810 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41811 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41812 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41813 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41814 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41815 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41816 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41817 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41818 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41819 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41820 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41821 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41822 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41823 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41824 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
41825 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41826 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41827 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41828 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41829 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41830 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41831 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41832 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
41833 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41834 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41835 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41836 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41837 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41838 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41839 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41840 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41841 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41842 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41843 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41844 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41845 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41846 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41847 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41848 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41849 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
41850 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
41851 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41852 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41853 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41854 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41855 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41856 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41857 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41858 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41859 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41860 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41861 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41862 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41863 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41864 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41865 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41866 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41867 { (char *)"SizerItem_GetRect", (PyCFunction
) _wrap_SizerItem_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41868 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41869 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41870 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41871 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41872 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41873 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41874 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41875 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41876 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41877 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41878 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41879 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41880 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41881 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41882 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41883 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41884 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41885 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41886 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41887 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
41888 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41889 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41890 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41891 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41892 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41893 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41894 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41895 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41896 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41897 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41898 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41899 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41900 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41901 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41902 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41903 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41904 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41905 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41906 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41907 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41908 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41909 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41910 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41911 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41912 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41913 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41914 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41915 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41916 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41917 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
41918 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41919 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41920 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
41921 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41922 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41923 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41924 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
41925 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41926 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41927 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
41928 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41929 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41930 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41931 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41932 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41933 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41934 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41935 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41936 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41937 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
41938 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41939 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41940 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41941 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41942 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41943 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41944 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41945 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41946 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41947 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41948 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41949 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
41950 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41951 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41952 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41953 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41954 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41955 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41956 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41957 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41958 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41959 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
41960 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41961 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41962 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41963 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41964 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41965 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41966 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41967 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41968 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41969 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
41970 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41971 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41972 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41973 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41974 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41975 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41976 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41977 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41978 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41979 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41980 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41981 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41982 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41983 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
41984 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41985 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41986 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41987 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41988 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41989 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41990 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
41991 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
41992 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
41993 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
41994 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
41995 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41996 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41997 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41998 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41999 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
42000 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42001 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42002 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42003 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42004 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42005 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42006 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42007 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42008 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42009 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42010 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42011 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42012 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42013 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42014 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42015 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42016 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42017 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42018 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42019 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42020 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42021 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42022 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42023 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42024 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42025 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42026 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
42027 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42028 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42029 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42030 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42031 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42032 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42033 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42034 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42035 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42036 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42037 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
42038 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
42039 { NULL
, NULL
, 0, NULL
}
42043 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
42045 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
42046 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
42048 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
42049 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
42051 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
42052 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42054 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
42055 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42057 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
42058 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
42060 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
42061 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42063 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
42064 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
42066 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
42067 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42069 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
42070 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42072 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
42073 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
42075 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
42076 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
42078 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
42079 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
42081 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
42082 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
42084 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
42085 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
42087 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
42088 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
42090 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
42091 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
42093 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
42094 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
42096 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
42097 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42099 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
42100 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
42102 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
42103 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42105 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
42106 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42108 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
42109 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
42111 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
42112 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
42114 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
42115 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
42117 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
42118 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
42120 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
42121 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
42123 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
42124 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
42126 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
42127 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
42129 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
42130 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42132 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
42133 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42135 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
42136 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42138 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
42139 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42141 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
42142 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42144 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
42145 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
42147 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
42148 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
42150 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
42151 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42153 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
42154 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
42156 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
42157 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
42159 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
42160 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42162 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
42163 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42165 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
42166 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42168 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
42169 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
42171 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
42172 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
42174 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
42175 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42177 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
42178 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42180 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
42181 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42183 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
42184 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
42186 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
42187 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
42189 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
42190 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
42192 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
42193 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
42195 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
42196 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42198 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
42199 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
42201 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
42202 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
42204 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
42205 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
42207 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
42208 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
42210 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
42211 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
42213 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
42214 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
42216 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
42217 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
42219 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
42220 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
42222 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
42223 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
42225 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
42226 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
42228 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
42229 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42231 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
42232 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
42234 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
42235 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
42237 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
42238 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42240 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
42241 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42243 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
42244 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
42246 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
42247 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
42249 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
42250 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
42252 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
42253 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
42255 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
42256 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
42258 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
42259 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
42261 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
42262 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
42264 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
42265 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
42267 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42268 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
42270 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42271 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
42273 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42274 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
42276 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
42277 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
42279 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
42280 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
42282 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
42283 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42285 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
42286 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
42288 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
42289 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
42291 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
42292 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
42294 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
42295 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
42297 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
42298 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
42300 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
42301 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
42303 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
42304 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
42306 static void *_p_wxSizerTo_p_wxObject(void *x
) {
42307 return (void *)((wxObject
*) ((wxSizer
*) x
));
42309 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
42310 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
42312 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
42313 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42315 static void *_p_wxMenuTo_p_wxObject(void *x
) {
42316 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
42318 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
42319 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
42321 static void *_p_wxImageTo_p_wxObject(void *x
) {
42322 return (void *)((wxObject
*) ((wxImage
*) x
));
42324 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
42325 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
42327 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
42328 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42330 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
42331 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
42333 static void *_p_wxWindowTo_p_wxObject(void *x
) {
42334 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
42336 static void *_p_wxControlTo_p_wxObject(void *x
) {
42337 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
42339 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
42340 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
42342 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
42343 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
42345 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
42346 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42348 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
42349 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
42351 static void *_p_wxEventTo_p_wxObject(void *x
) {
42352 return (void *)((wxObject
*) ((wxEvent
*) x
));
42354 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
42355 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
42357 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
42358 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
42360 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
42361 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
42363 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
42364 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
42366 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
42367 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
42369 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
42370 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42372 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
42373 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42375 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
42376 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
42378 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
42379 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42381 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
42382 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
42384 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
42385 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
42387 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
42388 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
42390 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
42391 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
42393 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
42394 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
42396 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
42397 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42399 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
42400 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42402 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
42403 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
42405 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
42406 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
42408 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
42409 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
42411 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
42412 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
42414 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
42415 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
42417 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
42418 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
42420 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
42421 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
42423 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
42424 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
42426 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
42427 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42429 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
42430 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42432 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
42433 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42435 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
42436 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42438 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
42439 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42441 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
42442 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
42444 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
42445 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
42447 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
42448 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42450 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
42451 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
42453 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
42454 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
42456 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
42457 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
42459 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
42460 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
42462 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
42463 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
42465 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
42466 return (void *)((wxObject
*) ((wxFSFile
*) x
));
42468 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
42469 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
42471 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
42472 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42474 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
42475 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
42477 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
42478 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42480 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
42481 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42483 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
42484 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42486 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
42487 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
42489 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
42490 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
42492 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
42493 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
42495 static void *_p_wxControlTo_p_wxWindow(void *x
) {
42496 return (void *)((wxWindow
*) ((wxControl
*) x
));
42498 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
42499 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
42501 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
42502 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
42504 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
42505 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42507 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
42508 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
42510 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
42511 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42513 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
42514 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42516 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
42517 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42519 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
42520 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42522 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
42523 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42525 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
42526 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42528 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
42529 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
42531 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}};
42532 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}};
42533 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}};
42534 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}};
42535 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}};
42536 static swig_type_info _swigt__p_wxEventLoop
[] = {{"_p_wxEventLoop", 0, "wxEventLoop *", 0, 0, 0, 0},{"_p_wxEventLoop", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42537 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}};
42538 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}};
42539 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}};
42540 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}};
42541 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}};
42542 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}};
42543 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}};
42544 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}};
42545 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}};
42546 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}};
42547 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}};
42548 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}};
42549 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}};
42550 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}};
42551 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}};
42552 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}};
42553 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}};
42554 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}};
42555 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}};
42556 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}};
42557 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}};
42558 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}};
42559 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}};
42560 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}};
42561 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}};
42562 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}};
42563 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}};
42564 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}};
42565 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}};
42566 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}};
42567 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}};
42568 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}};
42569 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}};
42570 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}};
42571 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}};
42572 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}};
42573 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}};
42574 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}};
42575 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}};
42576 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}};
42577 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}};
42578 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}};
42579 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}};
42580 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}};
42581 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}};
42582 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}};
42583 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}};
42584 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}};
42585 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}};
42586 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}};
42587 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}};
42588 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}};
42589 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}};
42590 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}};
42591 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}};
42592 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}};
42593 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}};
42594 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}};
42595 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}};
42596 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}};
42597 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}};
42598 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}};
42599 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}};
42600 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}};
42601 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}};
42602 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}};
42603 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}};
42604 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}};
42605 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}};
42606 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}};
42607 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}};
42608 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}};
42609 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}};
42610 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}};
42611 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}};
42612 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}};
42613 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}};
42614 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}};
42615 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}};
42616 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}};
42617 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}};
42618 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}};
42619 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}};
42620 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}};
42621 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}};
42622 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}};
42623 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}};
42624 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}};
42625 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}};
42626 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}};
42627 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}};
42628 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}};
42629 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}};
42630 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}};
42631 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}};
42632 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}};
42633 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}};
42634 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}};
42635 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}};
42636 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}};
42637 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}};
42638 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}};
42639 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}};
42640 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}};
42641 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}};
42642 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}};
42643 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}};
42644 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}};
42645 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}};
42646 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}};
42647 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}};
42649 static swig_type_info
*swig_types_initial
[] = {
42650 _swigt__p_wxLayoutConstraints
,
42651 _swigt__p_wxRealPoint
,
42652 _swigt__p_wxSizerItem
,
42653 _swigt__p_wxGBSizerItem
,
42654 _swigt__p_wxScrollEvent
,
42655 _swigt__p_wxEventLoop
,
42656 _swigt__p_wxIndividualLayoutConstraint
,
42658 _swigt__p_wxBoxSizer
,
42659 _swigt__p_wxStaticBoxSizer
,
42660 _swigt__p_wxGridBagSizer
,
42661 _swigt__p_wxAcceleratorEntry
,
42662 _swigt__p_wxUpdateUIEvent
,
42665 _swigt__p_wxGridSizer
,
42666 _swigt__p_wxFlexGridSizer
,
42667 _swigt__p_wxInitDialogEvent
,
42668 _swigt__p_wxItemContainer
,
42669 _swigt__p_wxNcPaintEvent
,
42670 _swigt__p_wxPaintEvent
,
42671 _swigt__p_wxSysColourChangedEvent
,
42672 _swigt__p_wxMouseCaptureChangedEvent
,
42673 _swigt__p_wxDisplayChangedEvent
,
42674 _swigt__p_wxPaletteChangedEvent
,
42675 _swigt__p_wxControl
,
42677 _swigt__p_wxMenuBarBase
,
42678 _swigt__p_wxSetCursorEvent
,
42679 _swigt__p_wxFSFile
,
42681 _swigt__p_wxRegion
,
42682 _swigt__p_wxPoint2D
,
42686 _swigt__p_wxPySizer
,
42687 _swigt__p_wxVisualAttributes
,
42688 _swigt__p_wxNotifyEvent
,
42689 _swigt__p_wxPyEvent
,
42690 _swigt__p_wxPropagationDisabler
,
42691 _swigt__p_wxAppTraits
,
42692 _swigt__p_wxArrayString
,
42693 _swigt__p_wxShowEvent
,
42694 _swigt__p_wxToolTip
,
42695 _swigt__p_wxIconizeEvent
,
42696 _swigt__p_wxActivateEvent
,
42697 _swigt__p_wxMoveEvent
,
42698 _swigt__p_wxSizeEvent
,
42699 _swigt__p_wxMaximizeEvent
,
42700 _swigt__p_wxQueryNewPaletteEvent
,
42701 _swigt__p_wxWindowCreateEvent
,
42702 _swigt__p_wxIdleEvent
,
42703 _swigt__p_wxMenuItem
,
42704 _swigt__p_wxStaticBox
,
42706 _swigt__p_wxTIFFHandler
,
42707 _swigt__p_wxXPMHandler
,
42708 _swigt__p_wxPNMHandler
,
42709 _swigt__p_wxJPEGHandler
,
42710 _swigt__p_wxPCXHandler
,
42711 _swigt__p_wxGIFHandler
,
42712 _swigt__p_wxPNGHandler
,
42713 _swigt__p_wxANIHandler
,
42714 _swigt__p_wxMemoryFSHandler
,
42715 _swigt__p_wxEvtHandler
,
42716 _swigt__p_wxCURHandler
,
42717 _swigt__p_wxICOHandler
,
42718 _swigt__p_wxBMPHandler
,
42719 _swigt__p_wxImageHandler
,
42720 _swigt__p_wxFileSystemHandler
,
42721 _swigt__p_wxPyFileSystemHandler
,
42722 _swigt__p_wxInternetFSHandler
,
42723 _swigt__p_wxZipFSHandler
,
42725 _swigt__p_wxGBSpan
,
42726 _swigt__p_wxPropagateOnce
,
42727 _swigt__p_wxAcceleratorTable
,
42729 _swigt__p_wxGBPosition
,
42732 _swigt__p_wxScrollWinEvent
,
42733 _swigt__p_wxImageHistogram
,
42736 _swigt__p_wxCursor
,
42737 _swigt__p_wxObject
,
42738 _swigt__p_wxPyInputStream
,
42739 _swigt__p_wxOutputStream
,
42740 _swigt__p_wxInputStream
,
42741 _swigt__p_wxDateTime
,
42742 _swigt__p_wxKeyEvent
,
42743 _swigt__p_wxNavigationKeyEvent
,
42744 _swigt__p_wxWindowDestroyEvent
,
42745 _swigt__p_wxWindow
,
42746 _swigt__p_wxMenuBar
,
42747 _swigt__p_wxFileSystem
,
42748 _swigt__p_wxBitmap
,
42749 _swigt__p_wxMenuEvent
,
42750 _swigt__p_wxContextMenuEvent
,
42751 _swigt__p_unsigned_char
,
42752 _swigt__p_wxCloseEvent
,
42753 _swigt__p_wxEraseEvent
,
42754 _swigt__p_wxMouseEvent
,
42756 _swigt__p_wxCommandEvent
,
42757 _swigt__p_wxPyCommandEvent
,
42758 _swigt__p_wxPyDropTarget
,
42759 _swigt__p_wxQuantize
,
42760 _swigt__p_wxChildFocusEvent
,
42761 _swigt__p_wxFocusEvent
,
42762 _swigt__p_wxDropFilesEvent
,
42763 _swigt__p_wxControlWithItems
,
42764 _swigt__p_wxColour
,
42765 _swigt__p_wxValidator
,
42766 _swigt__p_wxPyValidator
,
42771 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
42773 static swig_const_info swig_const_table
[] = {
42774 {0, 0, 0, 0.0, 0, 0}};
42783 SWIGEXPORT(void) SWIG_init(void) {
42784 static PyObject
*SWIG_globals
= 0;
42785 static int typeinit
= 0;
42788 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
42789 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
42790 d
= PyModule_GetDict(m
);
42793 for (i
= 0; swig_types_initial
[i
]; i
++) {
42794 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
42798 SWIG_InstallConstants(d
,swig_const_table
);
42801 #ifndef wxPyUSE_EXPORT
42802 // Make our API structure a CObject so other modules can import it
42803 // from this module.
42804 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
42805 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
42809 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)wxNOT_FOUND
));
42810 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)wxVSCROLL
));
42811 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)wxHSCROLL
));
42812 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)wxCAPTION
));
42813 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)wxDOUBLE_BORDER
));
42814 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)wxSUNKEN_BORDER
));
42815 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)wxRAISED_BORDER
));
42816 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)wxBORDER
));
42817 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)wxSIMPLE_BORDER
));
42818 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)wxSTATIC_BORDER
));
42819 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)wxTRANSPARENT_WINDOW
));
42820 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)wxNO_BORDER
));
42821 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)wxTAB_TRAVERSAL
));
42822 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)wxWANTS_CHARS
));
42823 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)wxPOPUP_WINDOW
));
42824 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)wxCENTER_FRAME
));
42825 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)wxCENTRE_ON_SCREEN
));
42826 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)wxCENTER_ON_SCREEN
));
42827 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_From_int((int)wxED_CLIENT_MARGIN
));
42828 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_From_int((int)wxED_BUTTONS_BOTTOM
));
42829 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_From_int((int)wxED_BUTTONS_RIGHT
));
42830 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_From_int((int)wxED_STATIC_LINE
));
42831 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_From_int((int)wxEXT_DIALOG_STYLE
));
42832 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)wxCLIP_CHILDREN
));
42833 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)wxCLIP_SIBLINGS
));
42834 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)wxALWAYS_SHOW_SB
));
42835 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)wxRETAINED
));
42836 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)wxBACKINGSTORE
));
42837 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)wxCOLOURED
));
42838 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)wxFIXED_LENGTH
));
42839 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)wxLB_NEEDED_SB
));
42840 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)wxLB_ALWAYS_SB
));
42841 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)wxLB_SORT
));
42842 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)wxLB_SINGLE
));
42843 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)wxLB_MULTIPLE
));
42844 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)wxLB_EXTENDED
));
42845 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)wxLB_OWNERDRAW
));
42846 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)wxLB_HSCROLL
));
42847 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)wxPROCESS_ENTER
));
42848 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)wxPASSWORD
));
42849 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)wxCB_SIMPLE
));
42850 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)wxCB_DROPDOWN
));
42851 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)wxCB_SORT
));
42852 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)wxCB_READONLY
));
42853 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)wxRA_HORIZONTAL
));
42854 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)wxRA_VERTICAL
));
42855 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)wxRA_SPECIFY_ROWS
));
42856 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)wxRA_SPECIFY_COLS
));
42857 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)wxRB_GROUP
));
42858 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)wxRB_SINGLE
));
42859 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int((int)wxSL_HORIZONTAL
));
42860 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int((int)wxSL_VERTICAL
));
42861 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int((int)wxSL_AUTOTICKS
));
42862 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int((int)wxSL_LABELS
));
42863 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int((int)wxSL_LEFT
));
42864 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int((int)wxSL_TOP
));
42865 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int((int)wxSL_RIGHT
));
42866 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int((int)wxSL_BOTTOM
));
42867 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int((int)wxSL_BOTH
));
42868 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int((int)wxSL_SELRANGE
));
42869 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)wxSB_HORIZONTAL
));
42870 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)wxSB_VERTICAL
));
42871 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)wxST_SIZEGRIP
));
42872 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)wxST_NO_AUTORESIZE
));
42873 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)wxFLOOD_SURFACE
));
42874 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)wxFLOOD_BORDER
));
42875 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)wxODDEVEN_RULE
));
42876 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)wxWINDING_RULE
));
42877 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)wxTOOL_TOP
));
42878 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)wxTOOL_BOTTOM
));
42879 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)wxTOOL_LEFT
));
42880 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)wxTOOL_RIGHT
));
42881 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)wxOK
));
42882 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)wxYES_NO
));
42883 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)wxCANCEL
));
42884 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)wxYES
));
42885 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)wxNO
));
42886 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)wxNO_DEFAULT
));
42887 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)wxYES_DEFAULT
));
42888 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)wxICON_EXCLAMATION
));
42889 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)wxICON_HAND
));
42890 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)wxICON_QUESTION
));
42891 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)wxICON_INFORMATION
));
42892 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)wxICON_STOP
));
42893 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)wxICON_ASTERISK
));
42894 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)wxICON_MASK
));
42895 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)wxICON_WARNING
));
42896 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)wxICON_ERROR
));
42897 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)wxFORWARD
));
42898 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)wxBACKWARD
));
42899 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)wxRESET
));
42900 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)wxHELP
));
42901 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)wxMORE
));
42902 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)wxSETUP
));
42903 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)wxSIZE_AUTO_WIDTH
));
42904 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)wxSIZE_AUTO_HEIGHT
));
42905 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)wxSIZE_AUTO
));
42906 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)wxSIZE_USE_EXISTING
));
42907 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)wxSIZE_ALLOW_MINUS_ONE
));
42908 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)wxPORTRAIT
));
42909 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)wxLANDSCAPE
));
42910 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)wxPRINT_QUALITY_HIGH
));
42911 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)wxPRINT_QUALITY_MEDIUM
));
42912 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)wxPRINT_QUALITY_LOW
));
42913 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)wxPRINT_QUALITY_DRAFT
));
42914 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)wxID_ANY
));
42915 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)wxID_SEPARATOR
));
42916 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)wxID_LOWEST
));
42917 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)wxID_OPEN
));
42918 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)wxID_CLOSE
));
42919 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)wxID_NEW
));
42920 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)wxID_SAVE
));
42921 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)wxID_SAVEAS
));
42922 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)wxID_REVERT
));
42923 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)wxID_EXIT
));
42924 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)wxID_UNDO
));
42925 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)wxID_REDO
));
42926 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)wxID_HELP
));
42927 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)wxID_PRINT
));
42928 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)wxID_PRINT_SETUP
));
42929 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)wxID_PREVIEW
));
42930 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)wxID_ABOUT
));
42931 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)wxID_HELP_CONTENTS
));
42932 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)wxID_HELP_COMMANDS
));
42933 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)wxID_HELP_PROCEDURES
));
42934 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)wxID_HELP_CONTEXT
));
42935 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)wxID_CLOSE_ALL
));
42936 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)wxID_PREFERENCES
));
42937 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)wxID_CUT
));
42938 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)wxID_COPY
));
42939 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)wxID_PASTE
));
42940 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)wxID_CLEAR
));
42941 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)wxID_FIND
));
42942 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)wxID_DUPLICATE
));
42943 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)wxID_SELECTALL
));
42944 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)wxID_DELETE
));
42945 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)wxID_REPLACE
));
42946 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)wxID_REPLACE_ALL
));
42947 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)wxID_PROPERTIES
));
42948 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)wxID_VIEW_DETAILS
));
42949 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)wxID_VIEW_LARGEICONS
));
42950 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)wxID_VIEW_SMALLICONS
));
42951 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)wxID_VIEW_LIST
));
42952 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)wxID_VIEW_SORTDATE
));
42953 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)wxID_VIEW_SORTNAME
));
42954 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)wxID_VIEW_SORTSIZE
));
42955 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)wxID_VIEW_SORTTYPE
));
42956 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)wxID_FILE1
));
42957 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)wxID_FILE2
));
42958 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)wxID_FILE3
));
42959 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)wxID_FILE4
));
42960 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)wxID_FILE5
));
42961 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)wxID_FILE6
));
42962 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)wxID_FILE7
));
42963 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)wxID_FILE8
));
42964 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)wxID_FILE9
));
42965 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)wxID_OK
));
42966 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)wxID_CANCEL
));
42967 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)wxID_APPLY
));
42968 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)wxID_YES
));
42969 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)wxID_NO
));
42970 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)wxID_STATIC
));
42971 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)wxID_FORWARD
));
42972 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)wxID_BACKWARD
));
42973 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)wxID_DEFAULT
));
42974 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)wxID_MORE
));
42975 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)wxID_SETUP
));
42976 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)wxID_RESET
));
42977 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)wxID_CONTEXT_HELP
));
42978 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)wxID_YESTOALL
));
42979 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)wxID_NOTOALL
));
42980 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)wxID_ABORT
));
42981 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)wxID_RETRY
));
42982 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)wxID_IGNORE
));
42983 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)wxID_ADD
));
42984 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)wxID_REMOVE
));
42985 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)wxID_UP
));
42986 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)wxID_DOWN
));
42987 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)wxID_HOME
));
42988 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)wxID_REFRESH
));
42989 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)wxID_STOP
));
42990 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)wxID_INDEX
));
42991 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)wxID_BOLD
));
42992 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)wxID_ITALIC
));
42993 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)wxID_JUSTIFY_CENTER
));
42994 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)wxID_JUSTIFY_FILL
));
42995 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)wxID_JUSTIFY_RIGHT
));
42996 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)wxID_JUSTIFY_LEFT
));
42997 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)wxID_UNDERLINE
));
42998 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)wxID_INDENT
));
42999 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)wxID_UNINDENT
));
43000 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)wxID_ZOOM_100
));
43001 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)wxID_ZOOM_FIT
));
43002 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)wxID_ZOOM_IN
));
43003 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)wxID_ZOOM_OUT
));
43004 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)wxID_UNDELETE
));
43005 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)wxID_REVERT_TO_SAVED
));
43006 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)wxID_HIGHEST
));
43007 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)wxOPEN
));
43008 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)wxSAVE
));
43009 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)wxHIDE_READONLY
));
43010 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)wxOVERWRITE_PROMPT
));
43011 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)wxFILE_MUST_EXIST
));
43012 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)wxMULTIPLE
));
43013 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)wxCHANGE_DIR
));
43014 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)wxACCEL_ALT
));
43015 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)wxACCEL_CTRL
));
43016 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)wxACCEL_SHIFT
));
43017 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)wxACCEL_NORMAL
));
43018 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)wxPD_AUTO_HIDE
));
43019 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)wxPD_APP_MODAL
));
43020 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)wxPD_CAN_ABORT
));
43021 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)wxPD_ELAPSED_TIME
));
43022 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)wxPD_ESTIMATED_TIME
));
43023 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)wxPD_REMAINING_TIME
));
43024 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)wxDD_NEW_DIR_BUTTON
));
43025 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)wxDD_DEFAULT_STYLE
));
43026 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)wxMENU_TEAROFF
));
43027 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)wxMB_DOCKABLE
));
43028 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)wxNO_FULL_REPAINT_ON_RESIZE
));
43029 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)wxFULL_REPAINT_ON_RESIZE
));
43030 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)wxLI_HORIZONTAL
));
43031 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)wxLI_VERTICAL
));
43032 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)wxWS_EX_VALIDATE_RECURSIVELY
));
43033 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)wxWS_EX_BLOCK_EVENTS
));
43034 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)wxWS_EX_TRANSIENT
));
43035 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)wxWS_EX_THEMED_BACKGROUND
));
43036 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)wxWS_EX_PROCESS_IDLE
));
43037 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)wxWS_EX_PROCESS_UI_UPDATES
));
43038 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)wxMM_TEXT
));
43039 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)wxMM_LOMETRIC
));
43040 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)wxMM_HIMETRIC
));
43041 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)wxMM_LOENGLISH
));
43042 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)wxMM_HIENGLISH
));
43043 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)wxMM_TWIPS
));
43044 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)wxMM_ISOTROPIC
));
43045 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)wxMM_ANISOTROPIC
));
43046 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)wxMM_POINTS
));
43047 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)wxMM_METRIC
));
43048 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)wxCENTRE
));
43049 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)wxCENTER
));
43050 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)wxHORIZONTAL
));
43051 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)wxVERTICAL
));
43052 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)wxBOTH
));
43053 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)wxLEFT
));
43054 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)wxRIGHT
));
43055 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)wxUP
));
43056 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)wxDOWN
));
43057 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)wxTOP
));
43058 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)wxBOTTOM
));
43059 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)wxNORTH
));
43060 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)wxSOUTH
));
43061 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)wxWEST
));
43062 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)wxEAST
));
43063 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)wxALL
));
43064 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)wxALIGN_NOT
));
43065 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)wxALIGN_CENTER_HORIZONTAL
));
43066 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)wxALIGN_CENTRE_HORIZONTAL
));
43067 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)wxALIGN_LEFT
));
43068 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)wxALIGN_TOP
));
43069 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)wxALIGN_RIGHT
));
43070 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)wxALIGN_BOTTOM
));
43071 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)wxALIGN_CENTER_VERTICAL
));
43072 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)wxALIGN_CENTRE_VERTICAL
));
43073 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)wxALIGN_CENTER
));
43074 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)wxALIGN_CENTRE
));
43075 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)wxALIGN_MASK
));
43076 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)wxSTRETCH_NOT
));
43077 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)wxSHRINK
));
43078 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)wxGROW
));
43079 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)wxEXPAND
));
43080 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)wxSHAPED
));
43081 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)wxFIXED_MINSIZE
));
43082 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)wxTILE
));
43083 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)wxADJUST_MINSIZE
));
43084 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)wxBORDER_DEFAULT
));
43085 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)wxBORDER_NONE
));
43086 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)wxBORDER_STATIC
));
43087 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)wxBORDER_SIMPLE
));
43088 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)wxBORDER_RAISED
));
43089 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)wxBORDER_SUNKEN
));
43090 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)wxBORDER_DOUBLE
));
43091 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)wxBORDER_MASK
));
43092 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)wxBG_STYLE_SYSTEM
));
43093 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)wxBG_STYLE_COLOUR
));
43094 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)wxBG_STYLE_CUSTOM
));
43095 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)wxDEFAULT
));
43096 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)wxDECORATIVE
));
43097 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)wxROMAN
));
43098 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)wxSCRIPT
));
43099 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)wxSWISS
));
43100 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)wxMODERN
));
43101 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)wxTELETYPE
));
43102 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)wxVARIABLE
));
43103 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)wxFIXED
));
43104 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)wxNORMAL
));
43105 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)wxLIGHT
));
43106 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)wxBOLD
));
43107 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)wxITALIC
));
43108 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)wxSLANT
));
43109 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)wxSOLID
));
43110 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)wxDOT
));
43111 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)wxLONG_DASH
));
43112 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)wxSHORT_DASH
));
43113 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)wxDOT_DASH
));
43114 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)wxUSER_DASH
));
43115 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)wxTRANSPARENT
));
43116 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)wxSTIPPLE
));
43117 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)wxBDIAGONAL_HATCH
));
43118 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)wxCROSSDIAG_HATCH
));
43119 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)wxFDIAGONAL_HATCH
));
43120 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)wxCROSS_HATCH
));
43121 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)wxHORIZONTAL_HATCH
));
43122 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)wxVERTICAL_HATCH
));
43123 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)wxJOIN_BEVEL
));
43124 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)wxJOIN_MITER
));
43125 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)wxJOIN_ROUND
));
43126 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)wxCAP_ROUND
));
43127 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)wxCAP_PROJECTING
));
43128 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)wxCAP_BUTT
));
43129 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)wxCLEAR
));
43130 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)wxXOR
));
43131 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)wxINVERT
));
43132 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)wxOR_REVERSE
));
43133 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)wxAND_REVERSE
));
43134 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)wxCOPY
));
43135 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)wxAND
));
43136 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)wxAND_INVERT
));
43137 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)wxNO_OP
));
43138 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)wxNOR
));
43139 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)wxEQUIV
));
43140 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)wxSRC_INVERT
));
43141 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)wxOR_INVERT
));
43142 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)wxNAND
));
43143 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)wxOR
));
43144 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)wxSET
));
43145 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)WXK_BACK
));
43146 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)WXK_TAB
));
43147 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)WXK_RETURN
));
43148 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)WXK_ESCAPE
));
43149 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)WXK_SPACE
));
43150 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)WXK_DELETE
));
43151 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)WXK_START
));
43152 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)WXK_LBUTTON
));
43153 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)WXK_RBUTTON
));
43154 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)WXK_CANCEL
));
43155 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)WXK_MBUTTON
));
43156 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)WXK_CLEAR
));
43157 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)WXK_SHIFT
));
43158 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)WXK_ALT
));
43159 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)WXK_CONTROL
));
43160 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)WXK_MENU
));
43161 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)WXK_PAUSE
));
43162 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)WXK_CAPITAL
));
43163 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)WXK_PRIOR
));
43164 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)WXK_NEXT
));
43165 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)WXK_END
));
43166 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)WXK_HOME
));
43167 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)WXK_LEFT
));
43168 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)WXK_UP
));
43169 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)WXK_RIGHT
));
43170 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)WXK_DOWN
));
43171 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)WXK_SELECT
));
43172 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)WXK_PRINT
));
43173 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)WXK_EXECUTE
));
43174 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)WXK_SNAPSHOT
));
43175 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)WXK_INSERT
));
43176 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)WXK_HELP
));
43177 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)WXK_NUMPAD0
));
43178 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)WXK_NUMPAD1
));
43179 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)WXK_NUMPAD2
));
43180 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)WXK_NUMPAD3
));
43181 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)WXK_NUMPAD4
));
43182 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)WXK_NUMPAD5
));
43183 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)WXK_NUMPAD6
));
43184 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)WXK_NUMPAD7
));
43185 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)WXK_NUMPAD8
));
43186 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)WXK_NUMPAD9
));
43187 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)WXK_MULTIPLY
));
43188 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)WXK_ADD
));
43189 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)WXK_SEPARATOR
));
43190 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)WXK_SUBTRACT
));
43191 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)WXK_DECIMAL
));
43192 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)WXK_DIVIDE
));
43193 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)WXK_F1
));
43194 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)WXK_F2
));
43195 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)WXK_F3
));
43196 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)WXK_F4
));
43197 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)WXK_F5
));
43198 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)WXK_F6
));
43199 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)WXK_F7
));
43200 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)WXK_F8
));
43201 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)WXK_F9
));
43202 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)WXK_F10
));
43203 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)WXK_F11
));
43204 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)WXK_F12
));
43205 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)WXK_F13
));
43206 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)WXK_F14
));
43207 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)WXK_F15
));
43208 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)WXK_F16
));
43209 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)WXK_F17
));
43210 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)WXK_F18
));
43211 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)WXK_F19
));
43212 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)WXK_F20
));
43213 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)WXK_F21
));
43214 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)WXK_F22
));
43215 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)WXK_F23
));
43216 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)WXK_F24
));
43217 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)WXK_NUMLOCK
));
43218 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)WXK_SCROLL
));
43219 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)WXK_PAGEUP
));
43220 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)WXK_PAGEDOWN
));
43221 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)WXK_NUMPAD_SPACE
));
43222 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)WXK_NUMPAD_TAB
));
43223 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)WXK_NUMPAD_ENTER
));
43224 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)WXK_NUMPAD_F1
));
43225 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)WXK_NUMPAD_F2
));
43226 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)WXK_NUMPAD_F3
));
43227 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)WXK_NUMPAD_F4
));
43228 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)WXK_NUMPAD_HOME
));
43229 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)WXK_NUMPAD_LEFT
));
43230 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)WXK_NUMPAD_UP
));
43231 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)WXK_NUMPAD_RIGHT
));
43232 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)WXK_NUMPAD_DOWN
));
43233 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)WXK_NUMPAD_PRIOR
));
43234 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)WXK_NUMPAD_PAGEUP
));
43235 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)WXK_NUMPAD_NEXT
));
43236 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)WXK_NUMPAD_PAGEDOWN
));
43237 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)WXK_NUMPAD_END
));
43238 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)WXK_NUMPAD_BEGIN
));
43239 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)WXK_NUMPAD_INSERT
));
43240 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)WXK_NUMPAD_DELETE
));
43241 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)WXK_NUMPAD_EQUAL
));
43242 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)WXK_NUMPAD_MULTIPLY
));
43243 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)WXK_NUMPAD_ADD
));
43244 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)WXK_NUMPAD_SEPARATOR
));
43245 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)WXK_NUMPAD_SUBTRACT
));
43246 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)WXK_NUMPAD_DECIMAL
));
43247 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)WXK_NUMPAD_DIVIDE
));
43248 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)WXK_WINDOWS_LEFT
));
43249 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)WXK_WINDOWS_RIGHT
));
43250 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)WXK_WINDOWS_MENU
));
43251 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)wxPAPER_NONE
));
43252 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)wxPAPER_LETTER
));
43253 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)wxPAPER_LEGAL
));
43254 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)wxPAPER_A4
));
43255 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)wxPAPER_CSHEET
));
43256 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)wxPAPER_DSHEET
));
43257 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)wxPAPER_ESHEET
));
43258 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)wxPAPER_LETTERSMALL
));
43259 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)wxPAPER_TABLOID
));
43260 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)wxPAPER_LEDGER
));
43261 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)wxPAPER_STATEMENT
));
43262 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)wxPAPER_EXECUTIVE
));
43263 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)wxPAPER_A3
));
43264 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)wxPAPER_A4SMALL
));
43265 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)wxPAPER_A5
));
43266 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)wxPAPER_B4
));
43267 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)wxPAPER_B5
));
43268 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)wxPAPER_FOLIO
));
43269 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)wxPAPER_QUARTO
));
43270 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)wxPAPER_10X14
));
43271 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)wxPAPER_11X17
));
43272 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)wxPAPER_NOTE
));
43273 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)wxPAPER_ENV_9
));
43274 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)wxPAPER_ENV_10
));
43275 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)wxPAPER_ENV_11
));
43276 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)wxPAPER_ENV_12
));
43277 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)wxPAPER_ENV_14
));
43278 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)wxPAPER_ENV_DL
));
43279 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)wxPAPER_ENV_C5
));
43280 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)wxPAPER_ENV_C3
));
43281 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)wxPAPER_ENV_C4
));
43282 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)wxPAPER_ENV_C6
));
43283 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)wxPAPER_ENV_C65
));
43284 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)wxPAPER_ENV_B4
));
43285 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)wxPAPER_ENV_B5
));
43286 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)wxPAPER_ENV_B6
));
43287 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)wxPAPER_ENV_ITALY
));
43288 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)wxPAPER_ENV_MONARCH
));
43289 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)wxPAPER_ENV_PERSONAL
));
43290 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)wxPAPER_FANFOLD_US
));
43291 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)wxPAPER_FANFOLD_STD_GERMAN
));
43292 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)wxPAPER_FANFOLD_LGL_GERMAN
));
43293 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)wxPAPER_ISO_B4
));
43294 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)wxPAPER_JAPANESE_POSTCARD
));
43295 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)wxPAPER_9X11
));
43296 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)wxPAPER_10X11
));
43297 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)wxPAPER_15X11
));
43298 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)wxPAPER_ENV_INVITE
));
43299 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)wxPAPER_LETTER_EXTRA
));
43300 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)wxPAPER_LEGAL_EXTRA
));
43301 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)wxPAPER_TABLOID_EXTRA
));
43302 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)wxPAPER_A4_EXTRA
));
43303 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)wxPAPER_LETTER_TRANSVERSE
));
43304 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)wxPAPER_A4_TRANSVERSE
));
43305 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
43306 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)wxPAPER_A_PLUS
));
43307 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)wxPAPER_B_PLUS
));
43308 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)wxPAPER_LETTER_PLUS
));
43309 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)wxPAPER_A4_PLUS
));
43310 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)wxPAPER_A5_TRANSVERSE
));
43311 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)wxPAPER_B5_TRANSVERSE
));
43312 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)wxPAPER_A3_EXTRA
));
43313 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)wxPAPER_A5_EXTRA
));
43314 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)wxPAPER_B5_EXTRA
));
43315 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)wxPAPER_A2
));
43316 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)wxPAPER_A3_TRANSVERSE
));
43317 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
43318 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)wxDUPLEX_SIMPLEX
));
43319 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)wxDUPLEX_HORIZONTAL
));
43320 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)wxDUPLEX_VERTICAL
));
43321 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)wxITEM_SEPARATOR
));
43322 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)wxITEM_NORMAL
));
43323 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)wxITEM_CHECK
));
43324 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)wxITEM_RADIO
));
43325 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)wxITEM_MAX
));
43326 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)wxHT_NOWHERE
));
43327 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)wxHT_SCROLLBAR_FIRST
));
43328 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
43329 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
43330 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
43331 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
43332 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)wxHT_SCROLLBAR_THUMB
));
43333 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)wxHT_SCROLLBAR_BAR_1
));
43334 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)wxHT_SCROLLBAR_BAR_2
));
43335 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)wxHT_SCROLLBAR_LAST
));
43336 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)wxHT_WINDOW_OUTSIDE
));
43337 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)wxHT_WINDOW_INSIDE
));
43338 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)wxHT_WINDOW_VERT_SCROLLBAR
));
43339 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
43340 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)wxHT_WINDOW_CORNER
));
43341 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)wxHT_MAX
));
43342 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)wxMOD_NONE
));
43343 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)wxMOD_ALT
));
43344 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)wxMOD_CONTROL
));
43345 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)wxMOD_SHIFT
));
43346 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)wxMOD_WIN
));
43347 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)wxUPDATE_UI_NONE
));
43348 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)wxUPDATE_UI_RECURSE
));
43349 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)wxUPDATE_UI_FROMIDLE
));
43350 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
43351 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
43352 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)wxBITMAP_TYPE_INVALID
));
43353 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)wxBITMAP_TYPE_BMP
));
43354 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)wxBITMAP_TYPE_ICO
));
43355 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)wxBITMAP_TYPE_CUR
));
43356 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)wxBITMAP_TYPE_XBM
));
43357 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)wxBITMAP_TYPE_XBM_DATA
));
43358 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)wxBITMAP_TYPE_XPM
));
43359 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)wxBITMAP_TYPE_XPM_DATA
));
43360 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)wxBITMAP_TYPE_TIF
));
43361 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)wxBITMAP_TYPE_GIF
));
43362 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)wxBITMAP_TYPE_PNG
));
43363 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)wxBITMAP_TYPE_JPEG
));
43364 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)wxBITMAP_TYPE_PNM
));
43365 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)wxBITMAP_TYPE_PCX
));
43366 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)wxBITMAP_TYPE_PICT
));
43367 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)wxBITMAP_TYPE_ICON
));
43368 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)wxBITMAP_TYPE_ANI
));
43369 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)wxBITMAP_TYPE_IFF
));
43370 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)wxBITMAP_TYPE_MACCURSOR
));
43371 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)wxBITMAP_TYPE_ANY
));
43372 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)wxCURSOR_NONE
));
43373 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)wxCURSOR_ARROW
));
43374 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)wxCURSOR_RIGHT_ARROW
));
43375 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)wxCURSOR_BULLSEYE
));
43376 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)wxCURSOR_CHAR
));
43377 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)wxCURSOR_CROSS
));
43378 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)wxCURSOR_HAND
));
43379 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)wxCURSOR_IBEAM
));
43380 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)wxCURSOR_LEFT_BUTTON
));
43381 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)wxCURSOR_MAGNIFIER
));
43382 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)wxCURSOR_MIDDLE_BUTTON
));
43383 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)wxCURSOR_NO_ENTRY
));
43384 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)wxCURSOR_PAINT_BRUSH
));
43385 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)wxCURSOR_PENCIL
));
43386 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)wxCURSOR_POINT_LEFT
));
43387 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)wxCURSOR_POINT_RIGHT
));
43388 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)wxCURSOR_QUESTION_ARROW
));
43389 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)wxCURSOR_RIGHT_BUTTON
));
43390 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)wxCURSOR_SIZENESW
));
43391 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)wxCURSOR_SIZENS
));
43392 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)wxCURSOR_SIZENWSE
));
43393 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)wxCURSOR_SIZEWE
));
43394 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)wxCURSOR_SIZING
));
43395 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)wxCURSOR_SPRAYCAN
));
43396 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)wxCURSOR_WAIT
));
43397 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)wxCURSOR_WATCH
));
43398 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)wxCURSOR_BLANK
));
43399 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)wxCURSOR_DEFAULT
));
43400 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)wxCURSOR_COPY_ARROW
));
43401 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)wxCURSOR_ARROWWAIT
));
43402 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)wxCURSOR_MAX
));
43403 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
43404 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
43405 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)wxFromStart
));
43406 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)wxFromCurrent
));
43407 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)wxFromEnd
));
43409 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
43412 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
43414 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
43415 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
43416 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
43417 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
43418 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
43419 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
43420 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)wxIMAGE_RESOLUTION_INCHES
));
43421 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)wxIMAGE_RESOLUTION_CM
));
43422 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)wxBMP_24BPP
));
43423 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)wxBMP_8BPP
));
43424 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)wxBMP_8BPP_GREY
));
43425 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)wxBMP_8BPP_GRAY
));
43426 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)wxBMP_8BPP_RED
));
43427 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)wxBMP_8BPP_PALETTE
));
43428 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)wxBMP_4BPP
));
43429 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)wxBMP_1BPP
));
43430 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)wxBMP_1BPP_BW
));
43431 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
));
43432 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)wxQUANTIZE_FILL_DESTINATION_IMAGE
));
43433 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)wxEVENT_PROPAGATE_NONE
));
43434 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)wxEVENT_PROPAGATE_MAX
));
43435 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
43436 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
43437 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
43438 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
43439 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
43440 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
43441 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
43442 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
43443 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
43444 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
43445 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
43446 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
43447 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
43448 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
43449 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
43450 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
43451 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
43452 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
43453 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
43454 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
43455 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
43456 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
43457 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
43458 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
43459 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
43460 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
43461 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
43462 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
43463 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
43464 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
43465 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
43466 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
43467 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
43468 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
43469 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
43470 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
43471 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
43472 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
43473 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
43474 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
43475 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
43476 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
43477 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
43478 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
43479 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
43480 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
43481 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
43482 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
43483 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
43484 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
43485 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
43486 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
43487 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
43488 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
43489 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
43490 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
43491 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
43492 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
43493 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
43494 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
43495 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
43496 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
43497 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
43498 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
43499 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
43500 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
43501 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
43502 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
43503 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
43504 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
43505 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
43506 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
43507 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
43508 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
43509 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
43510 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
43511 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
43512 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
43513 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
43514 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
43515 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
43516 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
43517 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
43518 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
43519 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
43520 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
43521 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
43522 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
43523 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
43524 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
43525 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
43526 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
43527 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
43528 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
43529 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
43530 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
43531 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
43532 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
43533 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
43534 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
43535 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
43536 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
43537 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
43538 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
43539 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
43540 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
43541 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
43542 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
43543 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
43544 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
43545 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
43546 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
43547 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
43548 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
43549 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)wxMOUSE_BTN_ANY
));
43550 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)wxMOUSE_BTN_NONE
));
43551 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)wxMOUSE_BTN_LEFT
));
43552 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)wxMOUSE_BTN_MIDDLE
));
43553 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)wxMOUSE_BTN_RIGHT
));
43554 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)wxUPDATE_UI_PROCESS_ALL
));
43555 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
43556 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)wxNavigationKeyEvent::IsBackward
));
43557 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)wxNavigationKeyEvent::IsForward
));
43558 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)wxNavigationKeyEvent::WinChange
));
43559 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)wxIDLE_PROCESS_ALL
));
43560 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)wxIDLE_PROCESS_SPECIFIED
));
43561 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)wxPYAPP_ASSERT_SUPPRESS
));
43562 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)wxPYAPP_ASSERT_EXCEPTION
));
43563 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)wxPYAPP_ASSERT_DIALOG
));
43564 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)wxPYAPP_ASSERT_LOG
));
43565 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)wxPRINT_WINDOWS
));
43566 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)wxPRINT_POSTSCRIPT
));
43567 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
43568 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
43569 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)wxWINDOW_VARIANT_NORMAL
));
43570 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)wxWINDOW_VARIANT_SMALL
));
43571 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)wxWINDOW_VARIANT_MINI
));
43572 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)wxWINDOW_VARIANT_LARGE
));
43573 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)wxWINDOW_VARIANT_MAX
));
43574 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
43575 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
43576 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)wxFLEX_GROWMODE_NONE
));
43577 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)wxFLEX_GROWMODE_SPECIFIED
));
43578 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)wxFLEX_GROWMODE_ALL
));
43579 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
43580 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)wxLeft
));
43581 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)wxTop
));
43582 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)wxRight
));
43583 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)wxBottom
));
43584 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)wxWidth
));
43585 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)wxHeight
));
43586 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)wxCentre
));
43587 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)wxCenter
));
43588 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)wxCentreX
));
43589 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)wxCentreY
));
43590 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)wxUnconstrained
));
43591 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)wxAsIs
));
43592 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)wxPercentOf
));
43593 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)wxAbove
));
43594 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)wxBelow
));
43595 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)wxLeftOf
));
43596 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)wxRightOf
));
43597 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)wxSameAs
));
43598 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)wxAbsolute
));
43600 // Initialize threading, some globals and such
43604 // Although these are defined in __version__ they need to be here too so
43605 // that an assert can be done to ensure that the wxPython and the wxWindows
43607 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
43608 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
43609 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));